3.465 \(\int (2+x^3)^2 \, dx\)

Optimal. Leaf size=14 \[ \frac {x^7}{7}+x^4+4 x \]

[Out]

4*x+x^4+1/7*x^7

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {194} \[ \frac {x^7}{7}+x^4+4 x \]

Antiderivative was successfully verified.

[In]

Int[(2 + x^3)^2,x]

[Out]

4*x + x^4 + x^7/7

Rule 194

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n)^p, x], x] /; FreeQ[{a, b}, x]
&& IGtQ[n, 0] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \left (2+x^3\right )^2 \, dx &=\int \left (4+4 x^3+x^6\right ) \, dx\\ &=4 x+x^4+\frac {x^7}{7}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 14, normalized size = 1.00 \[ \frac {x^7}{7}+x^4+4 x \]

Antiderivative was successfully verified.

[In]

Integrate[(2 + x^3)^2,x]

[Out]

4*x + x^4 + x^7/7

________________________________________________________________________________________

fricas [A]  time = 0.49, size = 12, normalized size = 0.86 \[ \frac {1}{7} x^{7} + x^{4} + 4 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3+2)^2,x, algorithm="fricas")

[Out]

1/7*x^7 + x^4 + 4*x

________________________________________________________________________________________

giac [A]  time = 0.36, size = 12, normalized size = 0.86 \[ \frac {1}{7} \, x^{7} + x^{4} + 4 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3+2)^2,x, algorithm="giac")

[Out]

1/7*x^7 + x^4 + 4*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 13, normalized size = 0.93 \[ \frac {1}{7} x^{7}+x^{4}+4 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3+2)^2,x)

[Out]

4*x+x^4+1/7*x^7

________________________________________________________________________________________

maxima [A]  time = 0.47, size = 12, normalized size = 0.86 \[ \frac {1}{7} \, x^{7} + x^{4} + 4 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3+2)^2,x, algorithm="maxima")

[Out]

1/7*x^7 + x^4 + 4*x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 13, normalized size = 0.93 \[ \frac {x\,\left (x^6+7\,x^3+28\right )}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3 + 2)^2,x)

[Out]

(x*(7*x^3 + x^6 + 28))/7

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 10, normalized size = 0.71 \[ \frac {x^{7}}{7} + x^{4} + 4 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x**3+2)**2,x)

[Out]

x**7/7 + x**4 + 4*x

________________________________________________________________________________________