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: Integrate bug in v 9.0.0
Replies: 3   Last Post: Feb 4, 2013 10:23 PM

Advanced Search

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

Posts: 265
Registered: 6/14/08
Integrate bug in v 9.0.0
Posted: Feb 2, 2013 1:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In version 9.0.0 the following integral is reported as divergent:

In[71]:= Integrate[x^2/(x^2 - x0^2), {x, x1, x2},
Assumptions -> x0 > x2 > x1 >= 0]

During evaluation of In[71]:= Integrate::idiv: Integral of x^2/(x^2-x0^2)
does not converge on {x1,x2}. >>

Out[71]= Integrate[x^2/(x^2 - x0^2), {x, x1, x2},
Assumptions -> x0 > x2 > x1 >= 0]

Versions 8.0.4 and 5.2 give equivalent expressions:

In[2]:= Integrate[x^2/(x^2 - x0^2), {x, x1, x2},
Assumptions -> x0 > x2 > x1 >= 0]

Out[2]= -x1 + x2 + x0 ArcTanh[(x0 (x1 - x2))/(x0^2 - x1 x2)]

In[9]:=
Integrate[x^2/(x^2-x0^2),{x,x1,x2},Assumptions->x0>x2>x1>=0]
Out[9]=
-x1+x2+1/2 x0 (Log[x0+x1]+Log[x0-x2]-Log[(x0-x1) (x0+x2)])

In[8]:= FullSimplify[-x1 + x2 +
1/2 x0 (Log[x0 + x1] + Log[x0 - x2] -
Log[(x0 - x1) (x0 + x2)]) == -x1 + x2 +
x0 ArcTanh[(x0 (x1 - x2))/(x0^2 - x1 x2)],
Assumptions -> x0 > x2 > x1 >= 0]

Out[8]= True

Alexey





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.