Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15187
| From | Alain Cochard <Alain.Cochard@unistra.fr> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Wrong result of Integrate with assumptions -- my fault? |
| Date | 2013-07-18 06:44 +0000 |
| Message-ID | <ks82sr$jnp$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
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
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Wrong result of Integrate with assumptions -- my fault? Alain Cochard <Alain.Cochard@unistra.fr> - 2013-07-18 06:44 +0000 Re: Wrong result of Integrate with assumptions -- my fault? Youngjoo Chung <ychung12@gmail.com> - 2013-09-09 03:53 +0000 Re: Wrong result of Integrate with assumptions -- my Alex Krasnov <akrasnov@cory.eecs.berkeley.edu> - 2013-09-11 07:44 +0000
csiph-web