Optimal. Leaf size=34 \[ \frac {x}{\sqrt {a^2-x^2}}-\tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {294, 223, 209}
\begin {gather*} \frac {x}{\sqrt {a^2-x^2}}-\tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 223
Rule 294
Rubi steps
\begin {align*} \int \frac {x^2}{\left (a^2-x^2\right )^{3/2}} \, dx &=\frac {x}{\sqrt {a^2-x^2}}-\int \frac {1}{\sqrt {a^2-x^2}} \, dx\\ &=\frac {x}{\sqrt {a^2-x^2}}-\text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt {a^2-x^2}}\right )\\ &=\frac {x}{\sqrt {a^2-x^2}}-\tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 34, normalized size = 1.00 \begin {gather*} \frac {x}{\sqrt {a^2-x^2}}-\tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 2.78, size = 65, normalized size = 1.91 \begin {gather*} \text {Piecewise}\left [\left \{\left \{-\frac {I x}{a \sqrt {-1+\frac {x^2}{a^2}}}+I \text {ArcCosh}\left [\frac {x}{a}\right ],\text {Abs}\left [\frac {x^2}{a^2}\right ]>1\right \}\right \},\frac {x}{a \sqrt {1-\frac {x^2}{a^2}}}-\text {ArcSin}\left [\frac {x}{a}\right ]\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 31, normalized size = 0.91
method | result | size |
default | \(-\arctan \left (\frac {x}{\sqrt {a^{2}-x^{2}}}\right )+\frac {x}{\sqrt {a^{2}-x^{2}}}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 22, normalized size = 0.65 \begin {gather*} \frac {x}{\sqrt {a^{2} - x^{2}}} - \arcsin \left (\frac {x}{a}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 58, normalized size = 1.71 \begin {gather*} \frac {2 \, {\left (a^{2} - x^{2}\right )} \arctan \left (-\frac {a - \sqrt {a^{2} - x^{2}}}{x}\right ) + \sqrt {a^{2} - x^{2}} x}{a^{2} - x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.76, size = 49, normalized size = 1.44 \begin {gather*} \begin {cases} i \operatorname {acosh}{\left (\frac {x}{a} \right )} - \frac {i x}{a \sqrt {-1 + \frac {x^{2}}{a^{2}}}} & \text {for}\: \left |{\frac {x^{2}}{a^{2}}}\right | > 1 \\- \operatorname {asin}{\left (\frac {x}{a} \right )} + \frac {x}{a \sqrt {1 - \frac {x^{2}}{a^{2}}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 36, normalized size = 1.06 \begin {gather*} \frac {2 x \sqrt {a^{2}-x^{2}}}{2 \left (a^{2}-x^{2}\right )}-\mathrm {sign}\left (a\right ) \arcsin \left (\frac {x}{a}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.22, size = 34, normalized size = 1.00 \begin {gather*} \frac {x}{\sqrt {a^2-x^2}}+\ln \left (\sqrt {a^2-x^2}+x\,1{}\mathrm {i}\right )\,1{}\mathrm {i} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________