Re: Strange results from Mathematica

*To*: mathgroup at smc.vnet.net*Subject*: [mg75018] Re: Strange results from Mathematica*From*: "Raj" <rajanikanth at gmail.com>*Date*: Sat, 14 Apr 2007 01:09:31 -0400 (EDT)*References*: <evn8cr$s7$1@smc.vnet.net>

The Infinity in Mathematics starts with a capital I..so check if thats the problem. Cheers, Raj On Apr 12, 11:36 pm, "Jung-Tsung Shen" <jus... at gmail.com> wrote: > Hi, I encountered a rather strange results from Mathematica today. > > When evaluating the following integration > > (1) Integrate[x (BesselJ[0, x])^2, {x,0, infinity}] > > my Mathematica gave the answer 0. That's very weird, since if you plot > out the function x (BesselJ[0, x])^2, apparently the integral should > not be zero ... > > Moreover, for the following integration > > (2) Integrate[ (BesselJ[0, x])^2, {x,0, infinity}] > > My Mathematica says it's some finite value. However, once you did > this, and then did (1), and then came back to do (1), the answer > became 0 ... > > My Mathematica version is 5.0.1.0 on Mac Powerbook. > > Thanks. > > JT