Search All of the Math Forum:

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

Topic: strange GCD error from Rubi 4.8, Mathematica 10.1
Replies: 9   Last Post: Sep 24, 2015 10:57 PM

 Messages: [ Previous | Next ]
 Nasser Abbasi Posts: 6,674 Registered: 2/7/05
strange GCD error from Rubi 4.8, Mathematica 10.1
Posted: Sep 12, 2015 3:59 AM

Fyi,

Mathematica 10.1, on windows 7:

-----------------------
Clear[a, x];
a = 0.3;
solM = Integrate[x/Sqrt[2 a x - x^2], x]
--------------------------

No error and gives a result. But with Rubi 4.8, I get

---------------------------
ShowSteps = False;
Clear[x];
a = 0.3;
solRubi = Int[x/Sqrt[2 a x - x^2], x]
-------------------------------

GCD::exact: Argument 0.6` in GCD[-1,0.6] is not an exact number. >>
General::stop: Further output of GCD::exact will be suppressed during this calculation. >>
Out[88]= -0.3 ArcSin[1-3.33333 x]-Sqrt[((0.6 x)/GCD[-1,0.6]-x^2/GCD[-1,0.6]) GCD[-1,0.6]]

When `a` is made symbolic (or rational number, such as 1/3) then it works:

----------------------
ShowSteps = False;
Clear[x, a];
solRubi = Int[x/Sqrt[2 a x - x^2], x]
---------------------------
No error and gives result.

thanks,
--Nasser

Date Subject Author
9/12/15 Nasser Abbasi
9/13/15 Albert D. Rich
9/15/15 Waldek Hebisch
9/19/15 Richard Fateman
9/20/15 clicliclic@freenet.de
9/20/15 Waldek Hebisch
9/21/15 clicliclic@freenet.de
9/21/15 Waldek Hebisch
9/24/15 clicliclic@freenet.de
9/24/15 Waldek Hebisch