Optimal. Leaf size=22 \[ 2 x \left (x+x^2+\frac {1}{12} e^{3+2 x} x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 25, normalized size of antiderivative = 1.14, number of steps used = 12, number of rules used = 5, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.156, Rules used = {12, 1593, 2196, 2176, 2194} \begin {gather*} \frac {1}{6} e^{2 x+3} x^3+2 x^3+2 x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1593
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{6} \int \left (24 x+36 x^2+e^{3+2 x} \left (3 x^2+2 x^3\right )\right ) \, dx\\ &=2 x^2+2 x^3+\frac {1}{6} \int e^{3+2 x} \left (3 x^2+2 x^3\right ) \, dx\\ &=2 x^2+2 x^3+\frac {1}{6} \int e^{3+2 x} x^2 (3+2 x) \, dx\\ &=2 x^2+2 x^3+\frac {1}{6} \int \left (3 e^{3+2 x} x^2+2 e^{3+2 x} x^3\right ) \, dx\\ &=2 x^2+2 x^3+\frac {1}{3} \int e^{3+2 x} x^3 \, dx+\frac {1}{2} \int e^{3+2 x} x^2 \, dx\\ &=2 x^2+\frac {1}{4} e^{3+2 x} x^2+2 x^3+\frac {1}{6} e^{3+2 x} x^3-\frac {1}{2} \int e^{3+2 x} x \, dx-\frac {1}{2} \int e^{3+2 x} x^2 \, dx\\ &=-\frac {1}{4} e^{3+2 x} x+2 x^2+2 x^3+\frac {1}{6} e^{3+2 x} x^3+\frac {1}{4} \int e^{3+2 x} \, dx+\frac {1}{2} \int e^{3+2 x} x \, dx\\ &=\frac {1}{8} e^{3+2 x}+2 x^2+2 x^3+\frac {1}{6} e^{3+2 x} x^3-\frac {1}{4} \int e^{3+2 x} \, dx\\ &=2 x^2+2 x^3+\frac {1}{6} e^{3+2 x} x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{6} x^2 \left (12+\left (12+e^{3+2 x}\right ) x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 22, normalized size = 1.00 \begin {gather*} \frac {1}{6} \, x^{3} e^{\left (2 \, x + 3\right )} + 2 \, x^{3} + 2 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 22, normalized size = 1.00 \begin {gather*} \frac {1}{6} \, x^{3} e^{\left (2 \, x + 3\right )} + 2 \, x^{3} + 2 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 23, normalized size = 1.05
method | result | size |
norman | \(2 x^{2}+2 x^{3}+\frac {x^{3} {\mathrm e}^{3} {\mathrm e}^{2 x}}{6}\) | \(23\) |
risch | \(2 x^{2}+2 x^{3}+\frac {x^{3} {\mathrm e}^{2 x +3}}{6}\) | \(23\) |
default | \(2 x^{3}+2 x^{2}+\frac {{\mathrm e}^{3} \left (\frac {{\mathrm e}^{2 x} x^{2}}{2}-\frac {x \,{\mathrm e}^{2 x}}{2}+\frac {{\mathrm e}^{2 x}}{4}\right )}{2}+\frac {{\mathrm e}^{3} \left (\frac {{\mathrm e}^{2 x} x^{3}}{2}-\frac {3 \,{\mathrm e}^{2 x} x^{2}}{4}+\frac {3 x \,{\mathrm e}^{2 x}}{4}-\frac {3 \,{\mathrm e}^{2 x}}{8}\right )}{3}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 22, normalized size = 1.00 \begin {gather*} \frac {1}{6} \, x^{3} e^{\left (2 \, x + 3\right )} + 2 \, x^{3} + 2 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.60, size = 18, normalized size = 0.82 \begin {gather*} \frac {x^2\,\left (12\,x+x\,{\mathrm {e}}^{2\,x+3}+12\right )}{6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 22, normalized size = 1.00 \begin {gather*} \frac {x^{3} e^{3} e^{2 x}}{6} + 2 x^{3} + 2 x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________