Re: bug in Integrate

*To*: mathgroup at smc.vnet.net*Subject*: [mg74786] Re: bug in Integrate*From*: Bhuvanesh <lalu_bhatt at yahoo.com>*Date*: Thu, 5 Apr 2007 04:10:15 -0400 (EDT)

Thanks for the report. This has already been fixed in the development version for quite a while. In this case, you can get the expected divergence using GenerateConditions->True, which does more extensive checking: In[1]:= $Version Out[1]= 5.2 for Microsoft Windows (June 10, 2005) In[2]:= Integrate[x*BesselJ[0, x]*Cos[x], {x, 0, Infinity}, GenerateConditions->True] Integrate::idiv: Integral of x BesselJ[0, x] Cos[x] does not converge on {0, Infinity}. Out[2]= Integrate[x BesselJ[0, x] Cos[x], {x, 0, Infinity}, GenerateConditions -> True] In[3]:= Integrate[x*BesselJ[0, x]*Sin[x], {x, 0, Infinity}, GenerateConditions->True] Integrate::gener: Unable to check convergence. Integrate::idiv: Integral of x BesselJ[0, x] Sin[x] does not converge on {0, Infinity}. Out[3]= Integrate[x BesselJ[0, x] Sin[x], {x, 0, Infinity}, GenerateConditions -> True] Bhuvanesh, Wolfram Research.