Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't Mathematica solve this definite integral?

When I try to calculate the following integral in Mathematica 8, I get this strange result:

In[1]:= Integrate[y/((1 + x^2 + y^2)^(3/2)), {y, 0, 1}]

Mathematica graphics

Maple 14 can solve this one easily:


Why is Mathematica giving me a different result?

like image 707
Martin Koller Avatar asked Jan 01 '12 10:01

Martin Koller


People also ask

Why is Mathematica not solving the integral?

The integration you are trying to compute will not give you any answer because the constant 'sigma v' has a subscript v which is considered as a variable v which runs from (-) Infinity to (+) Infinity. As Mathematica does not know that it is a subscript or a notation,it can not compute.

Why is my definite integral negative?

If your a is less than b, but your function over that interval is below the horizontal axis, then your definite integral is going to be negative.


1 Answers

Try this

r = Integrate[y/((1 + x^2 + y^2)^(3/2)), {y, 0, 1}]
r = Assuming[Element[x, Reals], Simplify[r]];
Together[r]

which gives

(-Sqrt[1+x^2]+Sqrt[2+x^2])/(Sqrt[1+x^2] Sqrt[2+x^2])

Which is the same as Maple's :

enter image description here

like image 200
Nasser Avatar answered Sep 21 '22 08:09

Nasser