Optimal. Leaf size=29 \[ x \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right )+\tan ^{-1}\left (\sqrt {1-2 x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {4924, 455, 65,
209} \begin {gather*} x \text {ArcSin}\left (\frac {x}{\sqrt {1-x^2}}\right )+\text {ArcTan}\left (\sqrt {1-2 x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 209
Rule 455
Rule 4924
Rubi steps
\begin {align*} \int \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right ) \, dx &=x \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right )-\int \frac {x}{\sqrt {1-2 x^2} \left (1-x^2\right )} \, dx\\ &=x \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1-2 x} (1-x)} \, dx,x,x^2\right )\\ &=x \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right )+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\frac {1}{2}+\frac {x^2}{2}} \, dx,x,\sqrt {1-2 x^2}\right )\\ &=x \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right )+\tan ^{-1}\left (\sqrt {1-2 x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 29, normalized size = 1.00 \begin {gather*} x \sin ^{-1}\left (\frac {x}{\sqrt {1-x^2}}\right )+\tan ^{-1}\left (\sqrt {1-2 x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(137\) vs.
\(2(25)=50\).
time = 0.07, size = 138, normalized size = 4.76
method | result | size |
default | \(x \arcsin \left (\frac {x}{\sqrt {-x^{2}+1}}\right )+\frac {\sqrt {\frac {2 x^{2}-1}{x^{2}-1}}\, \left (\sqrt {-2 x^{2}+1}+\arctan \left (\frac {2 x -1}{\sqrt {-2 x^{2}+1}}\right )-\arctan \left (\frac {1+2 x}{\sqrt {-2 x^{2}+1}}\right )\right ) \sqrt {-x^{2}+1}}{\sqrt {-2 x^{2}+1}\, \left (2+\sqrt {2}\right ) \left (-2+\sqrt {2}\right )}+\frac {\sqrt {\frac {2 x^{2}-1}{x^{2}-1}}\, \sqrt {-x^{2}+1}}{2}\) | \(138\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 60 vs.
\(2 (25) = 50\).
time = 1.20, size = 60, normalized size = 2.07 \begin {gather*} -x \arcsin \left (\frac {\sqrt {-x^{2} + 1} x}{x^{2} - 1}\right ) + \arctan \left (\frac {x^{2} + \sqrt {-x^{2} + 1} \sqrt {\frac {2 \, x^{2} - 1}{x^{2} - 1}} - 1}{x^{2}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \operatorname {asin}{\left (\frac {x}{\sqrt {1 - x^{2}}} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.61, size = 34, normalized size = 1.17 \begin {gather*} x \arcsin \left (\frac {x}{\sqrt {-x^{2} + 1}}\right ) + \frac {\arctan \left (\sqrt {-2 \, x^{2} + 1}\right )}{\mathrm {sgn}\left (x^{2} - 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \mathrm {asin}\left (\frac {x}{\sqrt {1-x^2}}\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________