3.17 \(\int (a c e+(b c e+a d e+a c f) x+(b d e+b c f+a d f) x^2+b d f x^3) \, dx\)

Optimal. Leaf size=56 \[ \frac {1}{3} x^3 (a d f+b c f+b d e)+\frac {1}{2} x^2 (a c f+a d e+b c e)+a c e x+\frac {1}{4} b d f x^4 \]

[Out]

a*c*e*x+1/2*(a*c*f+a*d*e+b*c*e)*x^2+1/3*(a*d*f+b*c*f+b*d*e)*x^3+1/4*b*d*f*x^4

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 0, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \frac {1}{3} x^3 (a d f+b c f+b d e)+\frac {1}{2} x^2 (a c f+a d e+b c e)+a c e x+\frac {1}{4} b d f x^4 \]

Antiderivative was successfully verified.

[In]

Int[a*c*e + (b*c*e + a*d*e + a*c*f)*x + (b*d*e + b*c*f + a*d*f)*x^2 + b*d*f*x^3,x]

[Out]

a*c*e*x + ((b*c*e + a*d*e + a*c*f)*x^2)/2 + ((b*d*e + b*c*f + a*d*f)*x^3)/3 + (b*d*f*x^4)/4

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 76, normalized size = 1.36 \[ a c e x+\frac {1}{2} a c f x^2+\frac {1}{2} a d e x^2+\frac {1}{3} a d f x^3+\frac {1}{2} b c e x^2+\frac {1}{3} b c f x^3+\frac {1}{3} b d e x^3+\frac {1}{4} b d f x^4 \]

Antiderivative was successfully verified.

[In]

Integrate[a*c*e + (b*c*e + a*d*e + a*c*f)*x + (b*d*e + b*c*f + a*d*f)*x^2 + b*d*f*x^3,x]

[Out]

a*c*e*x + (b*c*e*x^2)/2 + (a*d*e*x^2)/2 + (a*c*f*x^2)/2 + (b*d*e*x^3)/3 + (b*c*f*x^3)/3 + (a*d*f*x^3)/3 + (b*d
*f*x^4)/4

________________________________________________________________________________________

fricas [A]  time = 0.70, size = 62, normalized size = 1.11 \[ \frac {1}{4} x^{4} f d b + \frac {1}{3} x^{3} e d b + \frac {1}{3} x^{3} f c b + \frac {1}{3} x^{3} f d a + \frac {1}{2} x^{2} e c b + \frac {1}{2} x^{2} e d a + \frac {1}{2} x^{2} f c a + x e c a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*f*d*b + 1/3*x^3*e*d*b + 1/3*x^3*f*c*b + 1/3*x^3*f*d*a + 1/2*x^2*e*c*b + 1/2*x^2*e*d*a + 1/2*x^2*f*c*a
+ x*e*c*a

________________________________________________________________________________________

giac [A]  time = 0.23, size = 54, normalized size = 0.96 \[ \frac {1}{4} \, b d f x^{4} + \frac {1}{3} \, {\left (b c f + a d f + b d e\right )} x^{3} + a c x e + \frac {1}{2} \, {\left (a c f + b c e + a d e\right )} x^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*b*d*f*x^4 + 1/3*(b*c*f + a*d*f + b*d*e)*x^3 + a*c*x*e + 1/2*(a*c*f + b*c*e + a*d*e)*x^2

________________________________________________________________________________________

maple [A]  time = 0.00, size = 51, normalized size = 0.91 \[ \frac {b d f \,x^{4}}{4}+a c e x +\frac {\left (a d f +b c f +b d e \right ) x^{3}}{3}+\frac {\left (a c f +a d e +b c e \right ) x^{2}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a*c*e+(a*c*f+a*d*e+b*c*e)*x+(a*d*f+b*c*f+b*d*e)*x^2+b*d*f*x^3,x)

[Out]

a*c*e*x+1/2*(a*c*f+a*d*e+b*c*e)*x^2+1/3*(a*d*f+b*c*f+b*d*e)*x^3+1/4*b*d*f*x^4

________________________________________________________________________________________

maxima [A]  time = 0.83, size = 50, normalized size = 0.89 \[ \frac {1}{4} \, b d f x^{4} + a c e x + \frac {1}{3} \, {\left (b d e + b c f + a d f\right )} x^{3} + \frac {1}{2} \, {\left (b c e + a d e + a c f\right )} x^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*b*d*f*x^4 + a*c*e*x + 1/3*(b*d*e + b*c*f + a*d*f)*x^3 + 1/2*(b*c*e + a*d*e + a*c*f)*x^2

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 54, normalized size = 0.96 \[ \frac {b\,d\,f\,x^4}{4}+\left (\frac {a\,d\,f}{3}+\frac {b\,c\,f}{3}+\frac {b\,d\,e}{3}\right )\,x^3+\left (\frac {a\,c\,f}{2}+\frac {a\,d\,e}{2}+\frac {b\,c\,e}{2}\right )\,x^2+a\,c\,e\,x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a*d*f + b*c*f + b*d*e) + x*(a*c*f + a*d*e + b*c*e) + a*c*e + b*d*f*x^3,x)

[Out]

x^2*((a*c*f)/2 + (a*d*e)/2 + (b*c*e)/2) + x^3*((a*d*f)/3 + (b*c*f)/3 + (b*d*e)/3) + a*c*e*x + (b*d*f*x^4)/4

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 63, normalized size = 1.12 \[ a c e x + \frac {b d f x^{4}}{4} + x^{3} \left (\frac {a d f}{3} + \frac {b c f}{3} + \frac {b d e}{3}\right ) + x^{2} \left (\frac {a c f}{2} + \frac {a d e}{2} + \frac {b c e}{2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a*c*e+(a*c*f+a*d*e+b*c*e)*x+(a*d*f+b*c*f+b*d*e)*x**2+b*d*f*x**3,x)

[Out]

a*c*e*x + b*d*f*x**4/4 + x**3*(a*d*f/3 + b*c*f/3 + b*d*e/3) + x**2*(a*c*f/2 + a*d*e/2 + b*c*e/2)

________________________________________________________________________________________