Optimal. Leaf size=49 \[ \frac{2 x^{13/2}}{13}-\frac{2 x^6}{3}+\frac{8 x^{11/2}}{11}+\frac{2 x^{9/2}}{9}-x^4+\frac{8 x^{7/2}}{7} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0566495, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1584, 1820, 266, 43} \[ \frac{2 x^{13/2}}{13}-\frac{2 x^6}{3}+\frac{8 x^{11/2}}{11}+\frac{2 x^{9/2}}{9}-x^4+\frac{8 x^{7/2}}{7} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 1820
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \left (2 \sqrt{x}-x\right )^2 x^{3/2} \left (1+x^2\right ) \, dx &=\int \left (2-\sqrt{x}\right )^2 x^{5/2} \left (1+x^2\right ) \, dx\\ &=\int \left (\left (-2+\sqrt{x}\right )^2 x^{5/2}+\left (-2+\sqrt{x}\right )^2 x^{9/2}\right ) \, dx\\ &=\int \left (-2+\sqrt{x}\right )^2 x^{5/2} \, dx+\int \left (-2+\sqrt{x}\right )^2 x^{9/2} \, dx\\ &=2 \operatorname{Subst}\left (\int (-2+x)^2 x^6 \, dx,x,\sqrt{x}\right )+2 \operatorname{Subst}\left (\int (-2+x)^2 x^{10} \, dx,x,\sqrt{x}\right )\\ &=2 \operatorname{Subst}\left (\int \left (4 x^6-4 x^7+x^8\right ) \, dx,x,\sqrt{x}\right )+2 \operatorname{Subst}\left (\int \left (4 x^{10}-4 x^{11}+x^{12}\right ) \, dx,x,\sqrt{x}\right )\\ &=\frac{8 x^{7/2}}{7}-x^4+\frac{2 x^{9/2}}{9}+\frac{8 x^{11/2}}{11}-\frac{2 x^6}{3}+\frac{2 x^{13/2}}{13}\\ \end{align*}
Mathematica [A] time = 0.0218665, size = 49, normalized size = 1. \[ \frac{2 x^{13/2}}{13}-\frac{2 x^6}{3}+\frac{8 x^{11/2}}{11}+\frac{2 x^{9/2}}{9}-x^4+\frac{8 x^{7/2}}{7} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 32, normalized size = 0.7 \begin{align*}{\frac{8}{7}{x}^{{\frac{7}{2}}}}-{x}^{4}+{\frac{2}{9}{x}^{{\frac{9}{2}}}}+{\frac{8}{11}{x}^{{\frac{11}{2}}}}-{\frac{2\,{x}^{6}}{3}}+{\frac{2}{13}{x}^{{\frac{13}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.957597, size = 42, normalized size = 0.86 \begin{align*} \frac{2}{13} \, x^{\frac{13}{2}} - \frac{2}{3} \, x^{6} + \frac{8}{11} \, x^{\frac{11}{2}} + \frac{2}{9} \, x^{\frac{9}{2}} - x^{4} + \frac{8}{7} \, x^{\frac{7}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.68706, size = 103, normalized size = 2.1 \begin{align*} -\frac{2}{3} \, x^{6} - x^{4} + \frac{2}{9009} \,{\left (693 \, x^{6} + 3276 \, x^{5} + 1001 \, x^{4} + 5148 \, x^{3}\right )} \sqrt{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.23406, size = 42, normalized size = 0.86 \begin{align*} \frac{2 x^{\frac{13}{2}}}{13} + \frac{8 x^{\frac{11}{2}}}{11} + \frac{2 x^{\frac{9}{2}}}{9} + \frac{8 x^{\frac{7}{2}}}{7} - \frac{2 x^{6}}{3} - x^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.05136, size = 42, normalized size = 0.86 \begin{align*} \frac{2}{13} \, x^{\frac{13}{2}} - \frac{2}{3} \, x^{6} + \frac{8}{11} \, x^{\frac{11}{2}} + \frac{2}{9} \, x^{\frac{9}{2}} - x^{4} + \frac{8}{7} \, x^{\frac{7}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]