Optimal. Leaf size=16 \[ \frac {2 \left (x^3+x\right )^{3/2}}{3 x^3} \]
________________________________________________________________________________________
Rubi [C] time = 0.09, antiderivative size = 78, normalized size of antiderivative = 4.88, number of steps used = 5, number of rules used = 5, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {2048, 2025, 2011, 329, 220} \begin {gather*} \frac {2 \sqrt {x^3+x}}{3}+\frac {2 \sqrt {x^3+x}}{3 x^2}+\frac {\sqrt {x} (x+1) \sqrt {\frac {x^2+1}{(x+1)^2}} F\left (2 \tan ^{-1}\left (\sqrt {x}\right )|\frac {1}{2}\right )}{3 \sqrt {x^3+x}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 220
Rule 329
Rule 2011
Rule 2025
Rule 2048
Rubi steps
\begin {align*} \int \frac {-1+x^4}{x^2 \sqrt {x+x^3}} \, dx &=\frac {2 \sqrt {x+x^3}}{3}-\int \frac {1}{x^2 \sqrt {x+x^3}} \, dx\\ &=\frac {2 \sqrt {x+x^3}}{3}+\frac {2 \sqrt {x+x^3}}{3 x^2}+\frac {1}{3} \int \frac {1}{\sqrt {x+x^3}} \, dx\\ &=\frac {2 \sqrt {x+x^3}}{3}+\frac {2 \sqrt {x+x^3}}{3 x^2}+\frac {\left (\sqrt {x} \sqrt {1+x^2}\right ) \int \frac {1}{\sqrt {x} \sqrt {1+x^2}} \, dx}{3 \sqrt {x+x^3}}\\ &=\frac {2 \sqrt {x+x^3}}{3}+\frac {2 \sqrt {x+x^3}}{3 x^2}+\frac {\left (2 \sqrt {x} \sqrt {1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+x^4}} \, dx,x,\sqrt {x}\right )}{3 \sqrt {x+x^3}}\\ &=\frac {2 \sqrt {x+x^3}}{3}+\frac {2 \sqrt {x+x^3}}{3 x^2}+\frac {\sqrt {x} (1+x) \sqrt {\frac {1+x^2}{(1+x)^2}} F\left (2 \tan ^{-1}\left (\sqrt {x}\right )|\frac {1}{2}\right )}{3 \sqrt {x+x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.06, size = 77, normalized size = 4.81 \begin {gather*} \frac {2 \left (x^2 \left (-\sqrt {x^2+1} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};-x^2\right )+x^2+1\right )+\sqrt {x^2+1} \, _2F_1\left (-\frac {3}{4},\frac {1}{2};\frac {1}{4};-x^2\right )\right )}{3 x \sqrt {x^3+x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.19, size = 16, normalized size = 1.00 \begin {gather*} \frac {2 \left (x^3+x\right )^{3/2}}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 17, normalized size = 1.06 \begin {gather*} \frac {2 \, \sqrt {x^{3} + x} {\left (x^{2} + 1\right )}}{3 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.41, size = 21, normalized size = 1.31 \begin {gather*} \frac {2}{3} \, \sqrt {x^{3} + x} + \frac {2}{3} \, \sqrt {\frac {1}{x} + \frac {1}{x^{3}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 20, normalized size = 1.25 \begin {gather*} \frac {2 \left (x^{2}+1\right )^{2}}{3 \sqrt {x^{3}+x}\, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} - 1}{\sqrt {x^{3} + x} x^{2}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 9, normalized size = 0.56 \begin {gather*} \frac {4\,\sqrt {x^3+x}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}{x^{2} \sqrt {x \left (x^{2} + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________