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}}-\text {ArcTan}\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.06, 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]
________________________________________________________________________________________
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 = 1.17, 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.47, 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 [C] Result contains complex when optimal does not.
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.79, size = 24, normalized size = 0.71 \begin {gather*} -\arcsin \left (\frac {x}{a}\right ) \mathrm {sgn}\left (a\right ) + \frac {x}{\sqrt {a^{2} - x^{2}}} \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]
________________________________________________________________________________________