Optimal. Leaf size=17 \[ -\frac {x}{\sqrt {1-x^2}}+\sin ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {294, 222}
\begin {gather*} \text {ArcSin}(x)-\frac {x}{\sqrt {1-x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 294
Rubi steps
\begin {align*} \int -\frac {x^2}{\left (1-x^2\right )^{3/2}} \, dx &=-\frac {x}{\sqrt {1-x^2}}+\int \frac {1}{\sqrt {1-x^2}} \, dx\\ &=-\frac {x}{\sqrt {1-x^2}}+\sin ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(35\) vs. \(2(17)=34\).
time = 0.05, size = 35, normalized size = 2.06 \begin {gather*} -\frac {x}{\sqrt {1-x^2}}+2 \tan ^{-1}\left (\frac {x}{-1+\sqrt {1-x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 16, normalized size = 0.94
method | result | size |
default | \(\arcsin \left (x \right )-\frac {x}{\sqrt {-x^{2}+1}}\) | \(16\) |
risch | \(\arcsin \left (x \right )-\frac {x}{\sqrt {-x^{2}+1}}\) | \(16\) |
meijerg | \(-\frac {i \left (-\frac {i \sqrt {\pi }\, x}{\sqrt {-x^{2}+1}}+i \sqrt {\pi }\, \arcsin \left (x \right )\right )}{\sqrt {\pi }}\) | \(32\) |
trager | \(\frac {x \sqrt {-x^{2}+1}}{x^{2}-1}+\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{2}+1}+x \right )\) | \(46\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.60, size = 15, normalized size = 0.88 \begin {gather*} -\frac {x}{\sqrt {-x^{2} + 1}} + \arcsin \left (x\right ) \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. 45 vs.
\(2 (15) = 30\).
time = 0.61, size = 45, normalized size = 2.65 \begin {gather*} -\frac {2 \, {\left (x^{2} - 1\right )} \arctan \left (\frac {\sqrt {-x^{2} + 1} - 1}{x}\right ) - \sqrt {-x^{2} + 1} x}{x^{2} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 34 vs.
\(2 (12) = 24\).
time = 0.19, size = 34, normalized size = 2.00 \begin {gather*} \frac {x^{2} \operatorname {asin}{\left (x \right )}}{x^{2} - 1} + \frac {x \sqrt {1 - x^{2}}}{x^{2} - 1} - \frac {\operatorname {asin}{\left (x \right )}}{x^{2} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.53, size = 21, normalized size = 1.24 \begin {gather*} \frac {\sqrt {-x^{2} + 1} x}{x^{2} - 1} + \arcsin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 37, normalized size = 2.18 \begin {gather*} \mathrm {asin}\left (x\right )+\frac {\sqrt {1-x^2}}{2\,\left (x-1\right )}+\frac {\sqrt {1-x^2}}{2\,\left (x+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________