Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Wrong result of Integrate with assumptions -- my fault?
Replies: 3   Last Post: Sep 11, 2013 3:44 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alain Cochard

Posts: 7
Registered: 5/6/13
Wrong result of Integrate with assumptions -- my fault?
Posted: Jul 18, 2013 2:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Dear group --

In the following, it seems adding the assumption that w is real spoils
the result:

res1=Integrate[t*Exp[I w t],{t,a,b}, Assumptions-> a<b] ;
res2=Integrate[t*Exp[I w t],{t,a,b}, Assumptions-> a<b && Element[w,Reals]];
Chop[N[res1-res2/.{a->-1, b->2, w->3}]]

gives 0. + 0.691355 I (I tried Mathematica 7, 8, 9 installed on 3 different
GNU/Linux machines).

>From the various tests I did, it seems that the real parts are always
identical while the imaginary parts differ in the case a < 0.

Was this to be expected? Am I not allowed to make this assumption?

Thank you.



--
EOST (École et Observatoire des Sciences de la Terre)
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.