Re: integral of Bessel function, bug in Mathematica 4.0

*To*: mathgroup at smc.vnet.net*Subject*: [mg25650] Re: integral of Bessel function, bug in Mathematica 4.0*From*: Viorel Negoita <viorel at magnum.phyast.pitt.edu>*Date*: Wed, 18 Oct 2000 02:52:24 -0400 (EDT)*Organization*: University of Pittsburgh*References*: <8s175p$ihq@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

On 11 Oct 2000, GS wrote: > Here is a bug in Mathematica 4.0 > In[1]:= > Integrate[BesselJ[1, x]^2 x, {x, 0, Infinity}] > Out[1]= > 0 > > The integral cannot be zero because the integrand is positive. > Actually, this integral diverges, as is known, and can be checked > by numerical integration > > Gennady. > > I get the right answer with Mathematica 4.0.2.0 on both Windows and Mac OS. -- Viorel