Optimal. Leaf size=34 \[ \frac {2}{3} (1+x)^{3/2}-\frac {4}{5} (1+x)^{5/2}+\frac {2}{7} (1+x)^{7/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} \frac {2}{7} (x+1)^{7/2}-\frac {4}{5} (x+1)^{5/2}+\frac {2}{3} (x+1)^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int x^2 \sqrt {1+x} \, dx &=\int \left (\sqrt {1+x}-2 (1+x)^{3/2}+(1+x)^{5/2}\right ) \, dx\\ &=\frac {2}{3} (1+x)^{3/2}-\frac {4}{5} (1+x)^{5/2}+\frac {2}{7} (1+x)^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 21, normalized size = 0.62 \begin {gather*} \frac {2}{105} (1+x)^{3/2} \left (8-12 x+15 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 23, normalized size = 0.68
method | result | size |
gosper | \(\frac {2 \left (1+x \right )^{\frac {3}{2}} \left (15 x^{2}-12 x +8\right )}{105}\) | \(18\) |
trager | \(\left (\frac {2}{7} x^{3}+\frac {2}{35} x^{2}-\frac {8}{105} x +\frac {16}{105}\right ) \sqrt {1+x}\) | \(22\) |
derivativedivides | \(\frac {2 \left (1+x \right )^{\frac {3}{2}}}{3}-\frac {4 \left (1+x \right )^{\frac {5}{2}}}{5}+\frac {2 \left (1+x \right )^{\frac {7}{2}}}{7}\) | \(23\) |
default | \(\frac {2 \left (1+x \right )^{\frac {3}{2}}}{3}-\frac {4 \left (1+x \right )^{\frac {5}{2}}}{5}+\frac {2 \left (1+x \right )^{\frac {7}{2}}}{7}\) | \(23\) |
risch | \(\frac {2 \left (15 x^{3}+3 x^{2}-4 x +8\right ) \sqrt {1+x}}{105}\) | \(23\) |
meijerg | \(-\frac {\frac {32 \sqrt {\pi }}{105}-\frac {4 \sqrt {\pi }\, \left (1+x \right )^{\frac {3}{2}} \left (15 x^{2}-12 x +8\right )}{105}}{2 \sqrt {\pi }}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 4.79, size = 22, normalized size = 0.65 \begin {gather*} \frac {2}{7} \, {\left (x + 1\right )}^{\frac {7}{2}} - \frac {4}{5} \, {\left (x + 1\right )}^{\frac {5}{2}} + \frac {2}{3} \, {\left (x + 1\right )}^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.61, size = 22, normalized size = 0.65 \begin {gather*} \frac {2}{105} \, {\left (15 \, x^{3} + 3 \, x^{2} - 4 \, x + 8\right )} \sqrt {x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.65, size = 48, normalized size = 1.41 \begin {gather*} \frac {2 x^{3} \sqrt {x + 1}}{7} + \frac {2 x^{2} \sqrt {x + 1}}{35} - \frac {8 x \sqrt {x + 1}}{105} + \frac {16 \sqrt {x + 1}}{105} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.79, size = 22, normalized size = 0.65 \begin {gather*} \frac {2}{7} \, {\left (x + 1\right )}^{\frac {7}{2}} - \frac {4}{5} \, {\left (x + 1\right )}^{\frac {5}{2}} + \frac {2}{3} \, {\left (x + 1\right )}^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 19, normalized size = 0.56 \begin {gather*} -\frac {2\,{\left (x+1\right )}^{3/2}\,\left (42\,x-15\,{\left (x+1\right )}^2+7\right )}{105} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________