Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13341 > unrolled thread

Integrate bug in v 9.0.0

Started by"Alexey Popkov" <lehin.p@gmail.com>
First post2013-02-02 06:15 +0000
Last post2013-02-05 03:23 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Integrate bug in v 9.0.0 "Alexey Popkov" <lehin.p@gmail.com> - 2013-02-02 06:15 +0000
    Re: Integrate bug in v 9.0.0 DC <b.gatessucks@gmail.com> - 2013-02-04 01:19 +0000
    Re: Integrate bug in v 9.0.0 Bob Hanlon <hanlonr357@gmail.com> - 2013-02-04 06:25 +0000
    Re: Integrate bug in v 9.0.0 danl@wolfram.com - 2013-02-05 03:23 +0000

#13341 — Integrate bug in v 9.0.0

From"Alexey Popkov" <lehin.p@gmail.com>
Date2013-02-02 06:15 +0000
SubjectIntegrate bug in v 9.0.0
Message-ID<keiaug$qqn$1@smc.vnet.net>
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 

[toc] | [next] | [standalone]


#13358

FromDC <b.gatessucks@gmail.com>
Date2013-02-04 01:19 +0000
Message-ID<ken2b1$7em$1@smc.vnet.net>
In reply to#13341
Not fixed in 9.0.1 but it works with :

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

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

[toc] | [prev] | [next] | [standalone]


#13378

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-02-04 06:25 +0000
Message-ID<kenk91$951$1@smc.vnet.net>
In reply to#13341
$Version

"9.0 for Mac OS X x86 (64-bit) (January 24, 2013)"

The use of Apart isn't necessary


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

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


Assuming[
 x0 > x2 > x1 >= 0,
 Integrate[
  x^2/(x^2 - x0^2),
  {x, x1, x2},
  GenerateConditions -> False]]

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


Bob Hanlon


On Sun, Feb 3, 2013 at 8:20 PM, DC <b.gatessucks@gmail.com> wrote:
> Not fixed in 9.0.1 but it works with :
>
> Integrate[Apart[x^2/(x^2 - x0^2)], {x, x1, x2},
>  Assumptions -> x0 > x2 > x1 >= 0, GenerateConditions -> False]
>
> (* -x1 + x2 + x0 ArcTanh[(x0 (x1 - x2))/(x0^2 - x1 x2)] *)
>
>

[toc] | [prev] | [next] | [standalone]


#13388

Fromdanl@wolfram.com
Date2013-02-05 03:23 +0000
Message-ID<kepu02$dht$1@smc.vnet.net>
In reply to#13341
On Saturday, February 2, 2013 12:15:44 AM UTC-6, Alexey Popkov wrote:
> 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

Appears to be substantially the same underlying issue as was reported here.

http://mathematica.stackexchange.com/questions/18348/mathematica-9-cannot-solve-this-integral-mathematica-8-could-is-this-a-bug

It is provisionally fixed in the version currently under development.

Daniel Lichtblau
Wolfram Research

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web