3.1.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\) [17]

Optimal. Leaf size=56 \[ 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 \]

[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.01, 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 = {} \begin {gather*} \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 \end {gather*}

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 \begin {gather*} a c e x+\frac {1}{2} b c e x^2+\frac {1}{2} a d e x^2+\frac {1}{2} a c f x^2+\frac {1}{3} b d e x^3+\frac {1}{3} b c f x^3+\frac {1}{3} a d f x^3+\frac {1}{4} b d f x^4 \end {gather*}

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

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 53, normalized size = 0.95

method result size
default \(\frac {b d f \,x^{4}}{4}+\frac {\left (\left (c f +d e \right ) b +d a f \right ) x^{3}}{3}+\frac {\left (b c e +\left (c f +d e \right ) a \right ) x^{2}}{2}+a c e x\) \(53\)
norman \(\frac {b d f \,x^{4}}{4}+\left (\frac {1}{3} d a f +\frac {1}{3} f b c +\frac {1}{3} d e b \right ) x^{3}+\left (\frac {1}{2} a c f +\frac {1}{2} a d e +\frac {1}{2} b c e \right ) x^{2}+a c e x\) \(55\)
gosper \(\frac {x \left (3 b d f \,x^{3}+4 a d f \,x^{2}+4 b c f \,x^{2}+4 b d e \,x^{2}+6 a c f x +6 a d e x +6 b c e x +12 a c e \right )}{12}\) \(60\)
risch \(a c e x +\frac {1}{2} a c f \,x^{2}+\frac {1}{2} a d e \,x^{2}+\frac {1}{2} b c e \,x^{2}+\frac {1}{3} a d f \,x^{3}+\frac {1}{3} b c f \,x^{3}+\frac {1}{3} b d e \,x^{3}+\frac {1}{4} b d f \,x^{4}\) \(63\)

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,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.26, size = 54, normalized size = 0.96 \begin {gather*} \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} \end {gather*}

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 + 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

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 52, normalized size = 0.93 \begin {gather*} \frac {1}{4} \, b d f x^{4} + a c e x + \frac {1}{3} \, {\left (b d e + {\left (b c + a d\right )} f\right )} x^{3} + \frac {1}{2} \, {\left (a c f + {\left (b c + a d\right )} e\right )} x^{2} \end {gather*}

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*b*d*f*x^4 + a*c*e*x + 1/3*(b*d*e + (b*c + a*d)*f)*x^3 + 1/2*(a*c*f + (b*c + a*d)*e)*x^2

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 63, normalized size = 1.12 \begin {gather*} 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 ) \end {gather*}

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)

________________________________________________________________________________________

Giac [A]
time = 3.27, size = 54, normalized size = 0.96 \begin {gather*} \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} \end {gather*}

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

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 54, normalized size = 0.96 \begin {gather*} \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 \end {gather*}

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

________________________________________________________________________________________