Optimal. Leaf size=61 \[ 100 \sqrt {-10+x^2}-\frac {10}{3} \left (-10+x^2\right )^{3/2}+\frac {1}{5} \left (-10+x^2\right )^{5/2}-100 \sqrt {10} \tan ^{-1}\left (\frac {\sqrt {-10+x^2}}{\sqrt {10}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {272, 52, 65,
209} \begin {gather*} -100 \sqrt {10} \text {ArcTan}\left (\frac {\sqrt {x^2-10}}{\sqrt {10}}\right )+\frac {1}{5} \left (x^2-10\right )^{5/2}-\frac {10}{3} \left (x^2-10\right )^{3/2}+100 \sqrt {x^2-10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 209
Rule 272
Rubi steps
\begin {align*} \int \frac {\left (-10+x^2\right )^{5/2}}{x} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(-10+x)^{5/2}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{5} \left (-10+x^2\right )^{5/2}-5 \text {Subst}\left (\int \frac {(-10+x)^{3/2}}{x} \, dx,x,x^2\right )\\ &=-\frac {10}{3} \left (-10+x^2\right )^{3/2}+\frac {1}{5} \left (-10+x^2\right )^{5/2}+50 \text {Subst}\left (\int \frac {\sqrt {-10+x}}{x} \, dx,x,x^2\right )\\ &=100 \sqrt {-10+x^2}-\frac {10}{3} \left (-10+x^2\right )^{3/2}+\frac {1}{5} \left (-10+x^2\right )^{5/2}-500 \text {Subst}\left (\int \frac {1}{\sqrt {-10+x} x} \, dx,x,x^2\right )\\ &=100 \sqrt {-10+x^2}-\frac {10}{3} \left (-10+x^2\right )^{3/2}+\frac {1}{5} \left (-10+x^2\right )^{5/2}-1000 \text {Subst}\left (\int \frac {1}{10+x^2} \, dx,x,\sqrt {-10+x^2}\right )\\ &=100 \sqrt {-10+x^2}-\frac {10}{3} \left (-10+x^2\right )^{3/2}+\frac {1}{5} \left (-10+x^2\right )^{5/2}-100 \sqrt {10} \tan ^{-1}\left (\frac {\sqrt {-10+x^2}}{\sqrt {10}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 49, normalized size = 0.80 \begin {gather*} \frac {1}{15} \sqrt {-10+x^2} \left (2300-110 x^2+3 x^4\right )-100 \sqrt {10} \tan ^{-1}\left (\frac {\sqrt {-10+x^2}}{\sqrt {10}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 46, normalized size = 0.75
method | result | size |
default | \(\frac {\left (x^{2}-10\right )^{\frac {5}{2}}}{5}-\frac {10 \left (x^{2}-10\right )^{\frac {3}{2}}}{3}+100 \sqrt {x^{2}-10}+100 \sqrt {10}\, \arctan \left (\frac {\sqrt {10}}{\sqrt {x^{2}-10}}\right )\) | \(46\) |
trager | \(\left (\frac {1}{5} x^{4}-\frac {22}{3} x^{2}+\frac {460}{3}\right ) \sqrt {x^{2}-10}-100 \RootOf \left (\textit {\_Z}^{2}+10\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+10\right )+\sqrt {x^{2}-10}}{x}\right )\) | \(49\) |
meijerg | \(-\frac {375 \sqrt {2}\, \sqrt {5}\, \mathrm {signum}\left (-1+\frac {x^{2}}{10}\right )^{\frac {5}{2}} \left (-\frac {8 \left (\frac {46}{15}-3 \ln \left (2\right )+2 \ln \left (x \right )-\ln \left (5\right )+i \pi \right ) \sqrt {\pi }}{15}+\frac {368 \sqrt {\pi }}{225}-\frac {4 \sqrt {\pi }\, \left (\frac {3}{25} x^{4}-\frac {22}{5} x^{2}+92\right ) \sqrt {1-\frac {x^{2}}{10}}}{225}+\frac {16 \sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {1-\frac {x^{2}}{10}}}{2}\right )}{15}\right )}{4 \sqrt {\pi }\, \left (-\mathrm {signum}\left (-1+\frac {x^{2}}{10}\right )\right )^{\frac {5}{2}}}\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.96, size = 42, normalized size = 0.69 \begin {gather*} \frac {1}{5} \, {\left (x^{2} - 10\right )}^{\frac {5}{2}} - \frac {10}{3} \, {\left (x^{2} - 10\right )}^{\frac {3}{2}} + 100 \, \sqrt {10} \arcsin \left (\frac {\sqrt {10}}{{\left | x \right |}}\right ) + 100 \, \sqrt {x^{2} - 10} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.74, size = 47, normalized size = 0.77 \begin {gather*} \frac {1}{15} \, {\left (3 \, x^{4} - 110 \, x^{2} + 2300\right )} \sqrt {x^{2} - 10} - 200 \, \sqrt {10} \arctan \left (-\frac {1}{10} \, \sqrt {10} x + \frac {1}{10} \, \sqrt {10} \sqrt {x^{2} - 10}\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 = 3.88, size = 165, normalized size = 2.70 \begin {gather*} \begin {cases} \frac {x^{4} \sqrt {x^{2} - 10}}{5} - \frac {22 x^{2} \sqrt {x^{2} - 10}}{3} + \frac {460 \sqrt {x^{2} - 10}}{3} - 100 \sqrt {10} i \log {\left (x \right )} + 50 \sqrt {10} i \log {\left (x^{2} \right )} + 100 \sqrt {10} \operatorname {asin}{\left (\frac {\sqrt {10}}{x} \right )} & \text {for}\: \left |{x^{2}}\right | > 10 \\\frac {i x^{4} \sqrt {10 - x^{2}}}{5} - \frac {22 i x^{2} \sqrt {10 - x^{2}}}{3} + \frac {460 i \sqrt {10 - x^{2}}}{3} + 50 \sqrt {10} i \log {\left (x^{2} \right )} - 100 \sqrt {10} i \log {\left (\sqrt {1 - \frac {x^{2}}{10}} + 1 \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.76, size = 46, normalized size = 0.75 \begin {gather*} \frac {1}{5} \, {\left (x^{2} - 10\right )}^{\frac {5}{2}} - \frac {10}{3} \, {\left (x^{2} - 10\right )}^{\frac {3}{2}} - 100 \, \sqrt {10} \arctan \left (\frac {1}{10} \, \sqrt {10} \sqrt {x^{2} - 10}\right ) + 100 \, \sqrt {x^{2} - 10} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.47, size = 46, normalized size = 0.75 \begin {gather*} 100\,\sqrt {x^2-10}-100\,\sqrt {10}\,\mathrm {atan}\left (\frac {\sqrt {10}\,\sqrt {x^2-10}}{10}\right )-\frac {10\,{\left (x^2-10\right )}^{3/2}}{3}+\frac {{\left (x^2-10\right )}^{5/2}}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________