Integrand size = 33, antiderivative size = 27 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=x \left (5-x+x \left (e^2+2 e^{3 x} \left (-x+x^2\right )\right )\right ) \]
[Out]
Time = 0.09 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.33, number of steps used = 17, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.152, Rules used = {6, 1608, 2227, 2207, 2225} \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=2 e^{3 x} x^4-2 e^{3 x} x^3-\left (1-e^2\right ) x^2+5 x \]
[In]
[Out]
Rule 6
Rule 1608
Rule 2207
Rule 2225
Rule 2227
Rubi steps \begin{align*} \text {integral}& = \int \left (5+\left (-2+2 e^2\right ) x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx \\ & = 5 x-\left (1-e^2\right ) x^2+\int e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right ) \, dx \\ & = 5 x-\left (1-e^2\right ) x^2+\int e^{3 x} x^2 \left (-6+2 x+6 x^2\right ) \, dx \\ & = 5 x-\left (1-e^2\right ) x^2+\int \left (-6 e^{3 x} x^2+2 e^{3 x} x^3+6 e^{3 x} x^4\right ) \, dx \\ & = 5 x-\left (1-e^2\right ) x^2+2 \int e^{3 x} x^3 \, dx-6 \int e^{3 x} x^2 \, dx+6 \int e^{3 x} x^4 \, dx \\ & = 5 x-2 e^{3 x} x^2-\left (1-e^2\right ) x^2+\frac {2}{3} e^{3 x} x^3+2 e^{3 x} x^4-2 \int e^{3 x} x^2 \, dx+4 \int e^{3 x} x \, dx-8 \int e^{3 x} x^3 \, dx \\ & = 5 x+\frac {4}{3} e^{3 x} x-\frac {8}{3} e^{3 x} x^2-\left (1-e^2\right ) x^2-2 e^{3 x} x^3+2 e^{3 x} x^4-\frac {4}{3} \int e^{3 x} \, dx+\frac {4}{3} \int e^{3 x} x \, dx+8 \int e^{3 x} x^2 \, dx \\ & = -\frac {4 e^{3 x}}{9}+5 x+\frac {16}{9} e^{3 x} x-\left (1-e^2\right ) x^2-2 e^{3 x} x^3+2 e^{3 x} x^4-\frac {4}{9} \int e^{3 x} \, dx-\frac {16}{3} \int e^{3 x} x \, dx \\ & = -\frac {16 e^{3 x}}{27}+5 x-\left (1-e^2\right ) x^2-2 e^{3 x} x^3+2 e^{3 x} x^4+\frac {16}{9} \int e^{3 x} \, dx \\ & = 5 x-\left (1-e^2\right ) x^2-2 e^{3 x} x^3+2 e^{3 x} x^4 \\ \end{align*}
Time = 0.10 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.19 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=5 x-x^2+e^2 x^2+2 e^{3 x} \left (-x^3+x^4\right ) \]
[In]
[Out]
Time = 0.07 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.15
method | result | size |
norman | \(\left ({\mathrm e}^{2}-1\right ) x^{2}+5 x -2 x^{3} {\mathrm e}^{3 x}+2 \,{\mathrm e}^{3 x} x^{4}\) | \(31\) |
risch | \(\left (2 x^{4}-2 x^{3}\right ) {\mathrm e}^{3 x}+x^{2} {\mathrm e}^{2}-x^{2}+5 x\) | \(32\) |
derivativedivides | \(5 x -x^{2}-2 x^{3} {\mathrm e}^{3 x}+2 \,{\mathrm e}^{3 x} x^{4}+x^{2} {\mathrm e}^{2}\) | \(34\) |
default | \(5 x -x^{2}-2 x^{3} {\mathrm e}^{3 x}+2 \,{\mathrm e}^{3 x} x^{4}+x^{2} {\mathrm e}^{2}\) | \(34\) |
parallelrisch | \(5 x -x^{2}-2 x^{3} {\mathrm e}^{3 x}+2 \,{\mathrm e}^{3 x} x^{4}+x^{2} {\mathrm e}^{2}\) | \(34\) |
parts | \(5 x -x^{2}-2 x^{3} {\mathrm e}^{3 x}+2 \,{\mathrm e}^{3 x} x^{4}+x^{2} {\mathrm e}^{2}\) | \(34\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.11 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=x^{2} e^{2} - x^{2} + 2 \, {\left (x^{4} - x^{3}\right )} e^{\left (3 \, x\right )} + 5 \, x \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.96 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=x^{2} \left (-1 + e^{2}\right ) + 5 x + \left (2 x^{4} - 2 x^{3}\right ) e^{3 x} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.11 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=x^{2} e^{2} - x^{2} + 2 \, {\left (x^{4} - x^{3}\right )} e^{\left (3 \, x\right )} + 5 \, x \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.11 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=x^{2} e^{2} - x^{2} + 2 \, {\left (x^{4} - x^{3}\right )} e^{\left (3 \, x\right )} + 5 \, x \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.11 \[ \int \left (5-2 x+2 e^2 x+e^{3 x} \left (-6 x^2+2 x^3+6 x^4\right )\right ) \, dx=5\,x-2\,x^3\,{\mathrm {e}}^{3\,x}+2\,x^4\,{\mathrm {e}}^{3\,x}+x^2\,\left ({\mathrm {e}}^2-1\right ) \]
[In]
[Out]