home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!spool.mu.edu!news.cs.indiana.edu!lynx!spectre.unm.edu!jpg
- From: jpg@spectre.unm.edu (Jeffrey P. Golden)
- Subject: Re: Help wanted in integration.
- Message-ID: <y1cqvvk@lynx.unm.edu>
- Date: Thu, 12 Nov 92 00:50:13 GMT
- Organization: Dept. of Math & Stat, University of New Mexico, Albuquerque
- Lines: 73
-
- Reply-To: jpg@macsyma.com
-
- In article <Nov.6.00.08.18.1992.2647@gandalf.rutgers.edu>
- amarmahb@gandalf.rutgers.edu (Amar Mahboob Ali) writes:
- >
- > Can anyone please help me in integrating the following.
- >
- > infinity
- >
- > / 4 2 2
- > | x sin (Pi a x) sin (Pi b x)
- > | ---------------------------- dx
- > | 2 2 2 2 2 2
- > / (x - d ) (x - c )
- >
- > -infinity
- >
- > Where a,b,c and d are positive integers.
-
-
- I computed the integral using Macsyma as follows. The answers
- obtained agree with Victor Adamchik's last version and John
- Cordes' last version. I only show the case a>b . (The integrand
- is symmetric in a and b.)
-
-
- (c1) x^4*sin(%pi*a*x)^2*sin(%pi*b*x)^2/((x^2-d^2)^2*(x^2-c^2)^2);
-
- 4 2 2
- x sin (%pi a x) sin (%pi b x)
- (d1) ------------------------------
- 2 2 2 2 2 2
- (x - c ) (x - d )
-
- (c2) declare([a,b,c,d],integer)$
-
- (c3) assume(a>0,b>0,a>b)$
-
- (c4) /* case 1: not(c=d) . Macsyma appears to be assuming this! */
- factor(integrate(d1,x,minf,inf));
-
- 2 2 2
- %pi b (d + c )
- (d4) -------------------
- 2 2
- 4 (d - c) (d + c)
-
- (c5) /* case 2: c=d . */ subst(d=c,d1);
-
- 4 2 2
- x sin (%pi a x) sin (%pi b x)
- (d5) ------------------------------
- 2 2 4
- (x - c )
-
- (c6) factor(integrate(d5,x,minf,inf));
-
- 2 2 2 2 2 2
- %pi b (4 %pi b c - 12 %pi a b c - 3)
- (d6) - ------------------------------------------
- 2
- 96 c
-
- (c7) /* Compare this with John Cordes' last answer, which follows. */
- (1/32)*%pi^2*b/c^2 + %pi^4*b^2*(a-b/3)/8$
-
- (c8) expand(d6-%);
-
- (d8) 0
-
- From: Jeffrey P. Golden <jpg@macsyma.com>
- Organization: Macsyma Inc.
- Reply-To: jpg@macsyma.com
-