Re: Question about an integral

*To*: mathgroup at smc.vnet.net*Subject*: [mg54577] Re: Question about an integral*From*: dh <dh at metrohm.ch>*Date*: Wed, 23 Feb 2005 03:11:52 -0500 (EST)*References*: <cv6ssi$6qb$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

richard speers wrote: > The previous version of Mathematica integrated 1/x^2 from x=2 to x=A > very nicely, giving 1/2-1/A. The new > version won't do the integral. Please help. > If A <0 your answer is wrong! The integral does diverge. You are assuming that A>2. So simply tell this to Mathematica and you get the right answer: Integrate[1/x^2, {x, 2, A}, Assumptions -> A > 2] gives: 1/2-1/A Sincerely, Daniel