MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Mathematica, Assumptions and Abramowitz & Stegun

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8496] Mathematica, Assumptions and Abramowitz & Stegun
  • From: Paul E Howland <PEHowland at dera.gov.uk>
  • Date: Tue, 2 Sep 1997 16:15:44 -0400
  • Organization: DERA (Malvern)
  • Sender: owner-wri-mathgroup at wolfram.com

--------------7C63BC940BB8A56C31D5986E

I've been playing with the new Assumptions option for Integrate in
Mathematica v3,
and comparing the results of it with the integral given in equation
3.3.26 of Abromowitz and Stegun, p.12:

  Integrate[1/Sqrt[(a+b x)(c+d x)],x]

The attached notebook indicates the results of my efforts, which are
clearly at odds with those given by Abramowitz and Stegun.  Am I missing
something, or is Mathematica getting it wrong, or are the assumptions
simply too complex?  Can anyone from Wolfram offer any guidance on the
scope of the Assumptions option?

As a matter of interest, I tried the same integral and assumptions in
MapleV R4, using the assume() command.  Maple too returned results at
odds with Abramowitz and Stegun, and sometimes at odds with Mathematica!

Words of wisdom anyone?

Paul

Paul E Howland MEng CEng MIEE            Room BY209
Senior Scientist                         DERA (Malvern)
Land Systems Sector                      St Andrews Road
Defence Evaluation & Research Agency     Malvern
tel. +44-(0)1684-895767                  Worcestershire
fax. +44-(0)1684-896315                  UK

Email PEHowland at dera.gov.uk
Web Site http://www.dera.gov.uk


--------------7C63BC940BB8A56C31D5986E

KCoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqDQoNCiAgICAgICAgICAgICAgICAgICAgTWF0aGVtYXRpY2Et
Q29tcGF0aWJsZSBOb3RlYm9vaw0KDQpUaGlzIG5vdGVib29rIGNhbiBiZSB1c2VkIG9uIGFu
eSBjb21wdXRlciBzeXN0ZW0gd2l0aCBNYXRoZW1hdGljYSAzLjAsDQpNYXRoUmVhZGVyIDMu
MCwgb3IgYW55IGNvbXBhdGlibGUgYXBwbGljYXRpb24uIFRo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lYm9vayBmaWxlLg0KKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKiopDQoNCg==
--------------7C63BC940BB8A56C31D5986E--


  • Prev by Date: Limit bug in Calculus\Limit ???
  • Next by Date: Correct TeXForm of matrices, customizing TeX output.
  • Previous by thread: Re: Limit bug in Calculus\Limit ???
  • Next by thread: Re: Mathematica, Assumptions and Abramowitz & Stegun