Optimal. Leaf size=65 \[ -\frac {25}{16} x \sqrt {5-x^2}-\frac {5}{24} x^3 \sqrt {5-x^2}+\frac {1}{6} x^5 \sqrt {5-x^2}+\frac {125}{16} \sin ^{-1}\left (\frac {x}{\sqrt {5}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {285, 327, 222}
\begin {gather*} \frac {125}{16} \text {ArcSin}\left (\frac {x}{\sqrt {5}}\right )-\frac {25}{16} \sqrt {5-x^2} x+\frac {1}{6} \sqrt {5-x^2} x^5-\frac {5}{24} \sqrt {5-x^2} x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 285
Rule 327
Rubi steps
\begin {align*} \int x^4 \sqrt {5-x^2} \, dx &=\frac {1}{6} x^5 \sqrt {5-x^2}+\frac {5}{6} \int \frac {x^4}{\sqrt {5-x^2}} \, dx\\ &=-\frac {5}{24} x^3 \sqrt {5-x^2}+\frac {1}{6} x^5 \sqrt {5-x^2}+\frac {25}{8} \int \frac {x^2}{\sqrt {5-x^2}} \, dx\\ &=-\frac {25}{16} x \sqrt {5-x^2}-\frac {5}{24} x^3 \sqrt {5-x^2}+\frac {1}{6} x^5 \sqrt {5-x^2}+\frac {125}{16} \int \frac {1}{\sqrt {5-x^2}} \, dx\\ &=-\frac {25}{16} x \sqrt {5-x^2}-\frac {5}{24} x^3 \sqrt {5-x^2}+\frac {1}{6} x^5 \sqrt {5-x^2}+\frac {125}{16} \sin ^{-1}\left (\frac {x}{\sqrt {5}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 47, normalized size = 0.72 \begin {gather*} \frac {1}{48} x \sqrt {5-x^2} \left (-75-10 x^2+8 x^4\right )+\frac {125}{16} \tan ^{-1}\left (\frac {x}{\sqrt {5-x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 49, normalized size = 0.75
method | result | size |
risch | \(-\frac {x \left (8 x^{4}-10 x^{2}-75\right ) \left (x^{2}-5\right )}{48 \sqrt {-x^{2}+5}}+\frac {125 \arcsin \left (\frac {x \sqrt {5}}{5}\right )}{16}\) | \(40\) |
default | \(-\frac {x^{3} \left (-x^{2}+5\right )^{\frac {3}{2}}}{6}-\frac {5 x \left (-x^{2}+5\right )^{\frac {3}{2}}}{8}+\frac {25 x \sqrt {-x^{2}+5}}{16}+\frac {125 \arcsin \left (\frac {x \sqrt {5}}{5}\right )}{16}\) | \(49\) |
meijerg | \(\frac {125 i \left (\frac {i \sqrt {\pi }\, x \sqrt {5}\, \left (-\frac {8}{5} x^{4}+2 x^{2}+15\right ) \sqrt {-\frac {x^{2}}{5}+1}}{300}-\frac {i \sqrt {\pi }\, \arcsin \left (\frac {x \sqrt {5}}{5}\right )}{4}\right )}{4 \sqrt {\pi }}\) | \(52\) |
trager | \(\frac {x \left (8 x^{4}-10 x^{2}-75\right ) \sqrt {-x^{2}+5}}{48}+\frac {125 \RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{2}+5}+x \right )}{16}\) | \(53\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.39, size = 48, normalized size = 0.74 \begin {gather*} -\frac {1}{6} \, {\left (-x^{2} + 5\right )}^{\frac {3}{2}} x^{3} - \frac {5}{8} \, {\left (-x^{2} + 5\right )}^{\frac {3}{2}} x + \frac {25}{16} \, \sqrt {-x^{2} + 5} x + \frac {125}{16} \, \arcsin \left (\frac {1}{5} \, \sqrt {5} x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.53, size = 42, normalized size = 0.65 \begin {gather*} \frac {1}{48} \, {\left (8 \, x^{5} - 10 \, x^{3} - 75 \, x\right )} \sqrt {-x^{2} + 5} - \frac {125}{16} \, \arctan \left (\frac {\sqrt {-x^{2} + 5}}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 4.51, size = 153, normalized size = 2.35 \begin {gather*} \begin {cases} \frac {i x^{7}}{6 \sqrt {x^{2} - 5}} - \frac {25 i x^{5}}{24 \sqrt {x^{2} - 5}} - \frac {25 i x^{3}}{48 \sqrt {x^{2} - 5}} + \frac {125 i x}{16 \sqrt {x^{2} - 5}} - \frac {125 i \operatorname {acosh}{\left (\frac {\sqrt {5} x}{5} \right )}}{16} & \text {for}\: \left |{x^{2}}\right | > 5 \\- \frac {x^{7}}{6 \sqrt {5 - x^{2}}} + \frac {25 x^{5}}{24 \sqrt {5 - x^{2}}} + \frac {25 x^{3}}{48 \sqrt {5 - x^{2}}} - \frac {125 x}{16 \sqrt {5 - x^{2}}} + \frac {125 \operatorname {asin}{\left (\frac {\sqrt {5} x}{5} \right )}}{16} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.80, size = 36, normalized size = 0.55 \begin {gather*} \frac {1}{48} \, {\left (2 \, {\left (4 \, x^{2} - 5\right )} x^{2} - 75\right )} \sqrt {-x^{2} + 5} x + \frac {125}{16} \, \arcsin \left (\frac {1}{5} \, \sqrt {5} x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 35, normalized size = 0.54 \begin {gather*} \frac {125\,\mathrm {asin}\left (\frac {\sqrt {5}\,x}{5}\right )}{16}-\sqrt {5-x^2}\,\left (-\frac {x^5}{6}+\frac {5\,x^3}{24}+\frac {25\,x}{16}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________