home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!convex!darwin.sura.net!spool.mu.edu!uwm.edu!rpi!sarah!vidar.albany.edu!hibrown
- From: hibrown@vidar.albany.edu (Herb Brown)
- Subject: Re: A problem with Maple integration ..
- Message-ID: <1992Sep14.145008.22561@sarah.albany.edu>
- Sender: news@sarah.albany.edu (News Administrator)
- Organization: State University of New York at Albany
- References: <1992Sep12.160849.14864@vax5.cit.cornell.edu> <1992Sep13.125316.7423@sarah.albany.edu>
- Distribution: sci
- Date: Mon, 14 Sep 92 14:50:08 GMT
- Lines: 62
-
- In article <1992Sep13.125316.7423@sarah.albany.edu> hibrown@thor.albany.edu (Herb Brown) writes:
- >In article <1992Sep12.160849.14864@vax5.cit.cornell.edu> fnvy@vax5.cit.cornell.edu writes:
- >>Possible Maple error in integration
- >>
- >>This is what I did with xmaple (Maple V) on a sparc station:
- >>
- >>> f:=sqrt((1+s)/(1-s));
- >> 1/2
- >> (1 + s)
- >> f := ----------
- >> 1/2
- >> (1 - s)
- >>
- >>_____________________________________________________________________________
- >>> int(f*s,s=-1..1,continuous);
- >> - 1/2 Pi
- >>
- >>Whereas the correct answer should be
- >>
- >> Pi/2
- >>
- >>Did I do something wrong? Or, is this a bug on the current version Maple?
- >>All discussion or advice are welcome. Many thanks for your attention.
- >>
- >>Wei-Yan
- >>
- >
- >Perhaps the following may help understand what Maple is attempting to do:
- >
- >
- >> F := int( x*sqrt((1 + x)/(1 - x)), x);
- >
- > 2 1/2 2 1/2
- > F := 1/2 x (1 - x ) - 1/2 arcsin(x) + (1 - x )
- >
- >> subs( x = 1, F) - subs( x = -1, F);
- >
- > ans := - 1/2 arcsin(1) + 1/2 arcsin(-1)
- >
- >> simplify(");
- > - 1/2 Pi
- >
- >
- >Herb
- >
- >--
-
- What I neglected to point out was that Maple does not correctly integrate the
- function x*sqrt((1 + x)/(1 - x)).
-
- However, it is a curious phenomenon that Maple computes the correct integral
- of x*sqrt((1 + x)^2/(1 - x^2)) , which is the original function with the
- denominator rationalized!!!
-
- Herb
-
-
- --
- ---------------------------------------------------------------------------
- Herb Brown Math Dept The Univ at Albany Albany, NY 12222 (518) 442-4640
- Director, hibrown@math.albany.edu
- Computer Assisted Instruction in Mathematics hibrown@thor.albany.edu
-