Optimal. Leaf size=122 \[ -\frac{\tan ^{-1}\left (\frac{1-2 x^2}{\sqrt{3}}\right )}{\sqrt{3}}-\frac{\tan ^{-1}\left (\frac{x}{\sqrt{-\frac{-\sqrt{3}+i}{\sqrt{3}+i}} \sqrt{1-x^2}}\right )}{\sqrt{3}}-\frac{\tan ^{-1}\left (\frac{\sqrt{-\frac{-\sqrt{3}+i}{\sqrt{3}+i}} x}{\sqrt{1-x^2}}\right )}{\sqrt{3}}+\sin ^{-1}(x) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.775428, antiderivative size = 149, normalized size of antiderivative = 1.22, number of steps used = 13, number of rules used = 10, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.303 \[ -\frac{x^2}{2}-\frac{\tan ^{-1}\left (\frac{1-2 x^2}{\sqrt{3}}\right )}{\sqrt{3}}-\frac{\tan ^{-1}\left (\frac{x}{\sqrt{-\frac{-\sqrt{3}+i}{\sqrt{3}+i}} \sqrt{1-x^2}}\right )}{\sqrt{3}}-\frac{\tan ^{-1}\left (\frac{\sqrt{-\frac{-\sqrt{3}+i}{\sqrt{3}+i}} x}{\sqrt{1-x^2}}\right )}{\sqrt{3}}+\frac{1}{4} (1-x)^2+\frac{1}{4} (x+1)^2+\sin ^{-1}(x) \]
Warning: Unable to verify antiderivative.
[In] Int[(x*Sqrt[1 - x^2])/(x - x^3 + Sqrt[1 - x^2]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x \sqrt{- x^{2} + 1}}{- x^{3} + x + \sqrt{- x^{2} + 1}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(-x**2+1)**(1/2)/(x-x**3+(-x**2+1)**(1/2)),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 6.56211, size = 2155, normalized size = 17.66 \[ \text{Result too large to show} \]
Antiderivative was successfully verified.
[In] Integrate[(x*Sqrt[1 - x^2])/(x - x^3 + Sqrt[1 - x^2]),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.082, size = 234, normalized size = 1.9 \[{\frac{i}{6}}\sqrt{3}\ln \left ({\frac{1}{{x}^{2}} \left ( \sqrt{-{x}^{2}+1}-1 \right ) ^{2}}+{\frac{i\sqrt{3}+1}{x} \left ( \sqrt{-{x}^{2}+1}-1 \right ) }-1 \right ) -{\frac{i}{6}}\sqrt{3}\ln \left ({\frac{1}{{x}^{2}} \left ( \sqrt{-{x}^{2}+1}-1 \right ) ^{2}}+{\frac{1-i\sqrt{3}}{x} \left ( \sqrt{-{x}^{2}+1}-1 \right ) }-1 \right ) -2\,\arctan \left ({\frac{\sqrt{-{x}^{2}+1}-1}{x}} \right ) +{\frac{i}{6}}\sqrt{3}\ln \left ({\frac{1}{{x}^{2}} \left ( \sqrt{-{x}^{2}+1}-1 \right ) ^{2}}+{\frac{-1+i\sqrt{3}}{x} \left ( \sqrt{-{x}^{2}+1}-1 \right ) }-1 \right ) -{\frac{i}{6}}\sqrt{3}\ln \left ({\frac{1}{{x}^{2}} \left ( \sqrt{-{x}^{2}+1}-1 \right ) ^{2}}+{\frac{-i\sqrt{3}-1}{x} \left ( \sqrt{-{x}^{2}+1}-1 \right ) }-1 \right ) +{\frac{\sqrt{3}}{3}\arctan \left ({\frac{ \left ( 2\,{x}^{2}-1 \right ) \sqrt{3}}{3}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(-x^2+1)^(1/2)/(x-x^3+(-x^2+1)^(1/2)),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \frac{1}{2} \, x^{2} + \int -\frac{x^{4} - x^{2}}{x^{3} - x - \sqrt{x + 1} \sqrt{-x + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-sqrt(-x^2 + 1)*x/(x^3 - x - sqrt(-x^2 + 1)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.268776, size = 151, normalized size = 1.24 \[ -\frac{1}{3} \, \sqrt{3}{\left (2 \, \sqrt{3} \arctan \left (\frac{\sqrt{-x^{2} + 1} - 1}{x}\right ) - \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x^{2} - 1\right )}\right ) + \arctan \left (-\frac{2 \, \sqrt{3}{\left (2 \, x^{2} - 1\right )} \sqrt{-x^{2} + 1} + \sqrt{3}{\left (2 \, x^{4} - 5 \, x^{2} + 2\right )}}{3 \,{\left (2 \, x^{3} -{\left (x^{3} - 2 \, x\right )} \sqrt{-x^{2} + 1} - 2 \, x\right )}}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-sqrt(-x^2 + 1)*x/(x^3 - x - sqrt(-x^2 + 1)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(-x**2+1)**(1/2)/(x-x**3+(-x**2+1)**(1/2)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.294657, size = 261, normalized size = 2.14 \[ \frac{1}{2} \, \pi{\rm sign}\left (x\right ) - \frac{1}{6} \, \sqrt{3}{\left (\pi{\rm sign}\left (x\right ) + 2 \, \arctan \left (-\frac{\sqrt{3} x{\left (\frac{\sqrt{-x^{2} + 1} - 1}{x} + \frac{{\left (\sqrt{-x^{2} + 1} - 1\right )}^{2}}{x^{2}} - 1\right )}}{3 \,{\left (\sqrt{-x^{2} + 1} - 1\right )}}\right )\right )} - \frac{1}{6} \, \sqrt{3}{\left (\pi{\rm sign}\left (x\right ) + 2 \, \arctan \left (\frac{\sqrt{3} x{\left (\frac{\sqrt{-x^{2} + 1} - 1}{x} - \frac{{\left (\sqrt{-x^{2} + 1} - 1\right )}^{2}}{x^{2}} + 1\right )}}{3 \,{\left (\sqrt{-x^{2} + 1} - 1\right )}}\right )\right )} + \frac{1}{3} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x^{2} - 1\right )}\right ) + \arctan \left (-\frac{x{\left (\frac{{\left (\sqrt{-x^{2} + 1} - 1\right )}^{2}}{x^{2}} - 1\right )}}{2 \,{\left (\sqrt{-x^{2} + 1} - 1\right )}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-sqrt(-x^2 + 1)*x/(x^3 - x - sqrt(-x^2 + 1)),x, algorithm="giac")
[Out]