Optimal. Leaf size=84 \[ \frac {5}{16} a^4 x \sqrt {a^2-x^2}+\frac {5}{24} a^2 x \left (a^2-x^2\right )^{3/2}+\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {5}{16} a^6 \tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 84, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {201, 223, 209}
\begin {gather*} \frac {5}{24} a^2 x \left (a^2-x^2\right )^{3/2}+\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {5}{16} a^6 \text {ArcTan}\left (\frac {x}{\sqrt {a^2-x^2}}\right )+\frac {5}{16} a^4 x \sqrt {a^2-x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 209
Rule 223
Rubi steps
\begin {align*} \int \left (a^2-x^2\right )^{5/2} \, dx &=\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {1}{6} \left (5 a^2\right ) \int \left (a^2-x^2\right )^{3/2} \, dx\\ &=\frac {5}{24} a^2 x \left (a^2-x^2\right )^{3/2}+\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {1}{8} \left (5 a^4\right ) \int \sqrt {a^2-x^2} \, dx\\ &=\frac {5}{16} a^4 x \sqrt {a^2-x^2}+\frac {5}{24} a^2 x \left (a^2-x^2\right )^{3/2}+\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {1}{16} \left (5 a^6\right ) \int \frac {1}{\sqrt {a^2-x^2}} \, dx\\ &=\frac {5}{16} a^4 x \sqrt {a^2-x^2}+\frac {5}{24} a^2 x \left (a^2-x^2\right )^{3/2}+\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {1}{16} \left (5 a^6\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt {a^2-x^2}}\right )\\ &=\frac {5}{16} a^4 x \sqrt {a^2-x^2}+\frac {5}{24} a^2 x \left (a^2-x^2\right )^{3/2}+\frac {1}{6} x \left (a^2-x^2\right )^{5/2}+\frac {5}{16} a^6 \tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 61, normalized size = 0.73 \begin {gather*} \frac {1}{48} \sqrt {a^2-x^2} \left (33 a^4 x-26 a^2 x^3+8 x^5\right )+\frac {5}{16} a^6 \tan ^{-1}\left (\frac {x}{\sqrt {a^2-x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 75, normalized size = 0.89
method | result | size |
risch | \(\frac {x \left (33 a^{4}-26 a^{2} x^{2}+8 x^{4}\right ) \sqrt {a^{2}-x^{2}}}{48}+\frac {5 a^{6} \arctan \left (\frac {x}{\sqrt {a^{2}-x^{2}}}\right )}{16}\) | \(54\) |
default | \(\frac {x \left (a^{2}-x^{2}\right )^{\frac {5}{2}}}{6}+\frac {5 a^{2} \left (\frac {\left (a^{2}-x^{2}\right )^{\frac {3}{2}} x}{4}+\frac {3 a^{2} \left (\frac {x \sqrt {a^{2}-x^{2}}}{2}+\frac {a^{2} \arctan \left (\frac {x}{\sqrt {a^{2}-x^{2}}}\right )}{2}\right )}{4}\right )}{6}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.44, size = 60, normalized size = 0.71 \begin {gather*} \frac {5}{16} \, a^{6} \arcsin \left (\frac {x}{a}\right ) + \frac {5}{16} \, \sqrt {a^{2} - x^{2}} a^{4} x + \frac {5}{24} \, {\left (a^{2} - x^{2}\right )}^{\frac {3}{2}} a^{2} x + \frac {1}{6} \, {\left (a^{2} - x^{2}\right )}^{\frac {5}{2}} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.70, size = 60, normalized size = 0.71 \begin {gather*} -\frac {5}{8} \, a^{6} \arctan \left (-\frac {a - \sqrt {a^{2} - x^{2}}}{x}\right ) + \frac {1}{48} \, {\left (33 \, a^{4} x - 26 \, a^{2} x^{3} + 8 \, x^{5}\right )} \sqrt {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 = 2.33, size = 180, normalized size = 2.14 \begin {gather*} \begin {cases} - \frac {5 i a^{6} \operatorname {acosh}{\left (\frac {x}{a} \right )}}{16} - \frac {11 i a^{5} x}{16 \sqrt {-1 + \frac {x^{2}}{a^{2}}}} + \frac {59 i a^{3} x^{3}}{48 \sqrt {-1 + \frac {x^{2}}{a^{2}}}} - \frac {17 i a x^{5}}{24 \sqrt {-1 + \frac {x^{2}}{a^{2}}}} + \frac {i x^{7}}{6 a \sqrt {-1 + \frac {x^{2}}{a^{2}}}} & \text {for}\: \left |{\frac {x^{2}}{a^{2}}}\right | > 1 \\\frac {5 a^{6} \operatorname {asin}{\left (\frac {x}{a} \right )}}{16} + \frac {11 a^{5} x \sqrt {1 - \frac {x^{2}}{a^{2}}}}{16} - \frac {13 a^{3} x^{3} \sqrt {1 - \frac {x^{2}}{a^{2}}}}{24} + \frac {a x^{5} \sqrt {1 - \frac {x^{2}}{a^{2}}}}{6} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.49, size = 50, normalized size = 0.60 \begin {gather*} \frac {5}{16} \, a^{6} \arcsin \left (\frac {x}{a}\right ) \mathrm {sgn}\left (a\right ) + \frac {1}{48} \, {\left (33 \, a^{4} - 2 \, {\left (13 \, a^{2} - 4 \, x^{2}\right )} x^{2}\right )} \sqrt {a^{2} - x^{2}} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.21, size = 37, normalized size = 0.44 \begin {gather*} \frac {x\,{\left (a^2-x^2\right )}^{5/2}\,{{}}_2{\mathrm {F}}_1\left (-\frac {5}{2},\frac {1}{2};\ \frac {3}{2};\ \frac {x^2}{a^2}\right )}{{\left (1-\frac {x^2}{a^2}\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________