MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Question about an integral

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

  • Prev by Date: nonlinear differential equation
  • Next by Date: Plots for publishing
  • Previous by thread: Re: Question about an integral
  • Next by thread: Bug in 5.1??