3.2.37 \(\int (-13824+4608 x+e^{4 x} (4320-3168 x+576 x^2)+e^{3 x} (24192-18432 x+3456 x^2)+e^x (13824-18432 x+4608 x^2)+e^{2 x} (41472-34560 x+6912 x^2)) \, dx\) [137]

3.2.37.1 Optimal result
3.2.37.2 Mathematica [B] (verified)
3.2.37.3 Rubi [B] (verified)
3.2.37.4 Maple [B] (verified)
3.2.37.5 Fricas [B] (verification not implemented)
3.2.37.6 Sympy [B] (verification not implemented)
3.2.37.7 Maxima [B] (verification not implemented)
3.2.37.8 Giac [B] (verification not implemented)
3.2.37.9 Mupad [B] (verification not implemented)

3.2.37.1 Optimal result

Integrand size = 67, antiderivative size = 19 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=9 (-3+x)^2 \left (4+\log \left (e^{2 e^x}\right )\right )^4 \end {dmath*}

output
9*(-3+x)^2*(ln(exp(exp(x))^2)+4)^4
 
3.2.37.2 Mathematica [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(57\) vs. \(2(19)=38\).

Time = 0.28 (sec) , antiderivative size = 57, normalized size of antiderivative = 3.00 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=288 \left (16 e^x (-3+x)^2+12 e^{2 x} (-3+x)^2+4 e^{3 x} (-3+x)^2+\frac {1}{2} e^{4 x} (-3+x)^2+8 (-6+x) x\right ) \end {dmath*}

input
Integrate[-13824 + 4608*x + E^(4*x)*(4320 - 3168*x + 576*x^2) + E^(3*x)*(2 
4192 - 18432*x + 3456*x^2) + E^x*(13824 - 18432*x + 4608*x^2) + E^(2*x)*(4 
1472 - 34560*x + 6912*x^2),x]
 
output
288*(16*E^x*(-3 + x)^2 + 12*E^(2*x)*(-3 + x)^2 + 4*E^(3*x)*(-3 + x)^2 + (E 
^(4*x)*(-3 + x)^2)/2 + 8*(-6 + x)*x)
 
3.2.37.3 Rubi [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(103\) vs. \(2(19)=38\).

Time = 0.35 (sec) , antiderivative size = 103, normalized size of antiderivative = 5.42, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.015, Rules used = {2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \left (e^{4 x} \left (576 x^2-3168 x+4320\right )+e^{3 x} \left (3456 x^2-18432 x+24192\right )+e^x \left (4608 x^2-18432 x+13824\right )+e^{2 x} \left (6912 x^2-34560 x+41472\right )+4608 x-13824\right ) \, dx\)

\(\Big \downarrow \) 2009

\(\displaystyle 4608 e^x x^2+3456 e^{2 x} x^2+1152 e^{3 x} x^2+144 e^{4 x} x^2+2304 x^2-27648 e^x x-20736 e^{2 x} x-6912 e^{3 x} x-864 e^{4 x} x-13824 x+41472 e^x+31104 e^{2 x}+10368 e^{3 x}+1296 e^{4 x}\)

input
Int[-13824 + 4608*x + E^(4*x)*(4320 - 3168*x + 576*x^2) + E^(3*x)*(24192 - 
 18432*x + 3456*x^2) + E^x*(13824 - 18432*x + 4608*x^2) + E^(2*x)*(41472 - 
 34560*x + 6912*x^2),x]
 
output
41472*E^x + 31104*E^(2*x) + 10368*E^(3*x) + 1296*E^(4*x) - 13824*x - 27648 
*E^x*x - 20736*E^(2*x)*x - 6912*E^(3*x)*x - 864*E^(4*x)*x + 2304*x^2 + 460 
8*E^x*x^2 + 3456*E^(2*x)*x^2 + 1152*E^(3*x)*x^2 + 144*E^(4*x)*x^2
 

3.2.37.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 
3.2.37.4 Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(67\) vs. \(2(17)=34\).

Time = 0.14 (sec) , antiderivative size = 68, normalized size of antiderivative = 3.58

method result size
risch \(\left (144 x^{2}-864 x +1296\right ) {\mathrm e}^{4 x}+\left (1152 x^{2}-6912 x +10368\right ) {\mathrm e}^{3 x}+\left (3456 x^{2}-20736 x +31104\right ) {\mathrm e}^{2 x}+\left (4608 x^{2}-27648 x +41472\right ) {\mathrm e}^{x}+2304 x^{2}-13824 x\) \(68\)
default \(4608 \,{\mathrm e}^{x} x^{2}+144 x^{2} {\mathrm e}^{4 x}+1152 x^{2} {\mathrm e}^{3 x}+3456 \,{\mathrm e}^{2 x} x^{2}-27648 \,{\mathrm e}^{x} x -864 x \,{\mathrm e}^{4 x}-6912 x \,{\mathrm e}^{3 x}-20736 x \,{\mathrm e}^{2 x}+2304 x^{2}+41472 \,{\mathrm e}^{x}+1296 \,{\mathrm e}^{4 x}+10368 \,{\mathrm e}^{3 x}+31104 \,{\mathrm e}^{2 x}-13824 x\) \(92\)
norman \(4608 \,{\mathrm e}^{x} x^{2}+144 x^{2} {\mathrm e}^{4 x}+1152 x^{2} {\mathrm e}^{3 x}+3456 \,{\mathrm e}^{2 x} x^{2}-27648 \,{\mathrm e}^{x} x -864 x \,{\mathrm e}^{4 x}-6912 x \,{\mathrm e}^{3 x}-20736 x \,{\mathrm e}^{2 x}+2304 x^{2}+41472 \,{\mathrm e}^{x}+1296 \,{\mathrm e}^{4 x}+10368 \,{\mathrm e}^{3 x}+31104 \,{\mathrm e}^{2 x}-13824 x\) \(92\)
parallelrisch \(4608 \,{\mathrm e}^{x} x^{2}+144 x^{2} {\mathrm e}^{4 x}+1152 x^{2} {\mathrm e}^{3 x}+3456 \,{\mathrm e}^{2 x} x^{2}-27648 \,{\mathrm e}^{x} x -864 x \,{\mathrm e}^{4 x}-6912 x \,{\mathrm e}^{3 x}-20736 x \,{\mathrm e}^{2 x}+2304 x^{2}+41472 \,{\mathrm e}^{x}+1296 \,{\mathrm e}^{4 x}+10368 \,{\mathrm e}^{3 x}+31104 \,{\mathrm e}^{2 x}-13824 x\) \(92\)
parts \(4608 \,{\mathrm e}^{x} x^{2}+144 x^{2} {\mathrm e}^{4 x}+1152 x^{2} {\mathrm e}^{3 x}+3456 \,{\mathrm e}^{2 x} x^{2}-27648 \,{\mathrm e}^{x} x -864 x \,{\mathrm e}^{4 x}-6912 x \,{\mathrm e}^{3 x}-20736 x \,{\mathrm e}^{2 x}+2304 x^{2}+41472 \,{\mathrm e}^{x}+1296 \,{\mathrm e}^{4 x}+10368 \,{\mathrm e}^{3 x}+31104 \,{\mathrm e}^{2 x}-13824 x\) \(92\)

input
int((576*x^2-3168*x+4320)*exp(x)^4+(3456*x^2-18432*x+24192)*exp(x)^3+(6912 
*x^2-34560*x+41472)*exp(x)^2+(4608*x^2-18432*x+13824)*exp(x)+4608*x-13824, 
x,method=_RETURNVERBOSE)
 
output
(144*x^2-864*x+1296)*exp(x)^4+(1152*x^2-6912*x+10368)*exp(x)^3+(3456*x^2-2 
0736*x+31104)*exp(x)^2+(4608*x^2-27648*x+41472)*exp(x)+2304*x^2-13824*x
 
3.2.37.5 Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (17) = 34\).

Time = 0.25 (sec) , antiderivative size = 63, normalized size of antiderivative = 3.32 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=2304 \, x^{2} + 144 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (4 \, x\right )} + 1152 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (3 \, x\right )} + 3456 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (2 \, x\right )} + 4608 \, {\left (x^{2} - 6 \, x + 9\right )} e^{x} - 13824 \, x \end {dmath*}

input
integrate((576*x^2-3168*x+4320)*exp(x)^4+(3456*x^2-18432*x+24192)*exp(x)^3 
+(6912*x^2-34560*x+41472)*exp(x)^2+(4608*x^2-18432*x+13824)*exp(x)+4608*x- 
13824,x, algorithm=\
 
output
2304*x^2 + 144*(x^2 - 6*x + 9)*e^(4*x) + 1152*(x^2 - 6*x + 9)*e^(3*x) + 34 
56*(x^2 - 6*x + 9)*e^(2*x) + 4608*(x^2 - 6*x + 9)*e^x - 13824*x
 
3.2.37.6 Sympy [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 66 vs. \(2 (17) = 34\).

Time = 0.08 (sec) , antiderivative size = 66, normalized size of antiderivative = 3.47 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=2304 x^{2} - 13824 x + \left (144 x^{2} - 864 x + 1296\right ) e^{4 x} + \left (1152 x^{2} - 6912 x + 10368\right ) e^{3 x} + \left (3456 x^{2} - 20736 x + 31104\right ) e^{2 x} + \left (4608 x^{2} - 27648 x + 41472\right ) e^{x} \end {dmath*}

input
integrate((576*x**2-3168*x+4320)*exp(x)**4+(3456*x**2-18432*x+24192)*exp(x 
)**3+(6912*x**2-34560*x+41472)*exp(x)**2+(4608*x**2-18432*x+13824)*exp(x)+ 
4608*x-13824,x)
 
output
2304*x**2 - 13824*x + (144*x**2 - 864*x + 1296)*exp(4*x) + (1152*x**2 - 69 
12*x + 10368)*exp(3*x) + (3456*x**2 - 20736*x + 31104)*exp(2*x) + (4608*x* 
*2 - 27648*x + 41472)*exp(x)
 
3.2.37.7 Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (17) = 34\).

Time = 0.20 (sec) , antiderivative size = 63, normalized size of antiderivative = 3.32 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=2304 \, x^{2} + 144 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (4 \, x\right )} + 1152 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (3 \, x\right )} + 3456 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (2 \, x\right )} + 4608 \, {\left (x^{2} - 6 \, x + 9\right )} e^{x} - 13824 \, x \end {dmath*}

input
integrate((576*x^2-3168*x+4320)*exp(x)^4+(3456*x^2-18432*x+24192)*exp(x)^3 
+(6912*x^2-34560*x+41472)*exp(x)^2+(4608*x^2-18432*x+13824)*exp(x)+4608*x- 
13824,x, algorithm=\
 
output
2304*x^2 + 144*(x^2 - 6*x + 9)*e^(4*x) + 1152*(x^2 - 6*x + 9)*e^(3*x) + 34 
56*(x^2 - 6*x + 9)*e^(2*x) + 4608*(x^2 - 6*x + 9)*e^x - 13824*x
 
3.2.37.8 Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (17) = 34\).

Time = 0.29 (sec) , antiderivative size = 63, normalized size of antiderivative = 3.32 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=2304 \, x^{2} + 144 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (4 \, x\right )} + 1152 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (3 \, x\right )} + 3456 \, {\left (x^{2} - 6 \, x + 9\right )} e^{\left (2 \, x\right )} + 4608 \, {\left (x^{2} - 6 \, x + 9\right )} e^{x} - 13824 \, x \end {dmath*}

input
integrate((576*x^2-3168*x+4320)*exp(x)^4+(3456*x^2-18432*x+24192)*exp(x)^3 
+(6912*x^2-34560*x+41472)*exp(x)^2+(4608*x^2-18432*x+13824)*exp(x)+4608*x- 
13824,x, algorithm=\
 
output
2304*x^2 + 144*(x^2 - 6*x + 9)*e^(4*x) + 1152*(x^2 - 6*x + 9)*e^(3*x) + 34 
56*(x^2 - 6*x + 9)*e^(2*x) + 4608*(x^2 - 6*x + 9)*e^x - 13824*x
 
3.2.37.9 Mupad [B] (verification not implemented)

Time = 15.16 (sec) , antiderivative size = 91, normalized size of antiderivative = 4.79 \begin {dmath*} \int \left (-13824+4608 x+e^{4 x} \left (4320-3168 x+576 x^2\right )+e^{3 x} \left (24192-18432 x+3456 x^2\right )+e^x \left (13824-18432 x+4608 x^2\right )+e^{2 x} \left (41472-34560 x+6912 x^2\right )\right ) \, dx=31104\,{\mathrm {e}}^{2\,x}-13824\,x+10368\,{\mathrm {e}}^{3\,x}+1296\,{\mathrm {e}}^{4\,x}+41472\,{\mathrm {e}}^x-20736\,x\,{\mathrm {e}}^{2\,x}-6912\,x\,{\mathrm {e}}^{3\,x}-864\,x\,{\mathrm {e}}^{4\,x}+4608\,x^2\,{\mathrm {e}}^x+3456\,x^2\,{\mathrm {e}}^{2\,x}+1152\,x^2\,{\mathrm {e}}^{3\,x}+144\,x^2\,{\mathrm {e}}^{4\,x}-27648\,x\,{\mathrm {e}}^x+2304\,x^2 \end {dmath*}

input
int(4608*x + exp(4*x)*(576*x^2 - 3168*x + 4320) + exp(3*x)*(3456*x^2 - 184 
32*x + 24192) + exp(2*x)*(6912*x^2 - 34560*x + 41472) + exp(x)*(4608*x^2 - 
 18432*x + 13824) - 13824,x)
 
output
31104*exp(2*x) - 13824*x + 10368*exp(3*x) + 1296*exp(4*x) + 41472*exp(x) - 
 20736*x*exp(2*x) - 6912*x*exp(3*x) - 864*x*exp(4*x) + 4608*x^2*exp(x) + 3 
456*x^2*exp(2*x) + 1152*x^2*exp(3*x) + 144*x^2*exp(4*x) - 27648*x*exp(x) + 
 2304*x^2