3.5 \(\int (a^3+3 a^2 b x+3 a b^2 x^2+b^3 x^3) \, dx\)

Optimal. Leaf size=35 \[ a^3 x+\frac {3}{2} a^2 b x^2+a b^2 x^3+\frac {b^3 x^4}{4} \]

[Out]

a^3*x+3/2*a^2*b*x^2+a*b^2*x^3+1/4*b^3*x^4

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 0, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \frac {3}{2} a^2 b x^2+a^3 x+a b^2 x^3+\frac {b^3 x^4}{4} \]

Antiderivative was successfully verified.

[In]

Int[a^3 + 3*a^2*b*x + 3*a*b^2*x^2 + b^3*x^3,x]

[Out]

a^3*x + (3*a^2*b*x^2)/2 + a*b^2*x^3 + (b^3*x^4)/4

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 35, normalized size = 1.00 \[ a^3 x+\frac {3}{2} a^2 b x^2+a b^2 x^3+\frac {b^3 x^4}{4} \]

Antiderivative was successfully verified.

[In]

Integrate[a^3 + 3*a^2*b*x + 3*a*b^2*x^2 + b^3*x^3,x]

[Out]

a^3*x + (3*a^2*b*x^2)/2 + a*b^2*x^3 + (b^3*x^4)/4

________________________________________________________________________________________

fricas [A]  time = 0.52, size = 31, normalized size = 0.89 \[ \frac {1}{4} x^{4} b^{3} + x^{3} b^{2} a + \frac {3}{2} x^{2} b a^{2} + x a^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*b^3 + x^3*b^2*a + 3/2*x^2*b*a^2 + x*a^3

________________________________________________________________________________________

giac [A]  time = 0.28, size = 31, normalized size = 0.89 \[ \frac {1}{4} \, b^{3} x^{4} + a b^{2} x^{3} + \frac {3}{2} \, a^{2} b x^{2} + a^{3} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*b^3*x^4 + a*b^2*x^3 + 3/2*a^2*b*x^2 + a^3*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 32, normalized size = 0.91 \[ \frac {1}{4} b^{3} x^{4}+a \,b^{2} x^{3}+\frac {3}{2} a^{2} b \,x^{2}+a^{3} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(b^3*x^3+3*a*b^2*x^2+3*a^2*b*x+a^3,x)

[Out]

a^3*x+3/2*a^2*b*x^2+a*b^2*x^3+1/4*b^3*x^4

________________________________________________________________________________________

maxima [A]  time = 0.74, size = 31, normalized size = 0.89 \[ \frac {1}{4} \, b^{3} x^{4} + a b^{2} x^{3} + \frac {3}{2} \, a^{2} b x^{2} + a^{3} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*b^3*x^4 + a*b^2*x^3 + 3/2*a^2*b*x^2 + a^3*x

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 31, normalized size = 0.89 \[ a^3\,x+\frac {3\,a^2\,b\,x^2}{2}+a\,b^2\,x^3+\frac {b^3\,x^4}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a^3 + b^3*x^3 + 3*a*b^2*x^2 + 3*a^2*b*x,x)

[Out]

a^3*x + (b^3*x^4)/4 + (3*a^2*b*x^2)/2 + a*b^2*x^3

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 32, normalized size = 0.91 \[ a^{3} x + \frac {3 a^{2} b x^{2}}{2} + a b^{2} x^{3} + \frac {b^{3} x^{4}}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a**3*x + 3*a**2*b*x**2/2 + a*b**2*x**3 + b**3*x**4/4

________________________________________________________________________________________