Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: three different results for an integral, which is correct?
Replies: 1   Last Post: Sep 12, 2015 8:39 AM

 Messages: [ Previous | Next ]
 Nasser Abbasi Posts: 6,677 Registered: 2/7/05
three different results for an integral, which is correct?
Posted: Sep 12, 2015 4:08 AM

Mathematica 10.1, windows 7:

-----------------------------
Clear[a, x];
solM = Integrate[x/Sqrt[2 a x - x^2], x];
solM /. {a -> 0.3, x -> 1}
-------------------------
0. -0.926507 I

Rubi 4.8/Mathematica 10.1:
----------------------
ShowSteps = False;
Clear[x, a];
solRubi = Int[x/Sqrt[2 a x - x^2], x];
solRubi /. {a -> 0.3, x -> 1}
----------------------
-0.942478-1.07975 I

Maple 15.1, windows 7
--------------------
restart;
sol:=int(x/sqrt(2*a*x-x^2),x):
evalf(subs({a=0.3,x=1},sol));
---------------------
-.4712388981-1.079754425*I

Maple and Rubi agree on the complex part but not the real part.
Seems like another brach cut issue?

--Nasser

Date Subject Author
9/12/15 Nasser Abbasi
9/12/15 A N Niel