Optimal. Leaf size=11 \[ 4+e^{2+x} x^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 9, normalized size of antiderivative = 0.82, number of steps used = 8, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {1593, 2196, 2176, 2194} \begin {gather*} e^{x+2} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int e^{2+x} x (2+x) \, dx\\ &=\int \left (2 e^{2+x} x+e^{2+x} x^2\right ) \, dx\\ &=2 \int e^{2+x} x \, dx+\int e^{2+x} x^2 \, dx\\ &=2 e^{2+x} x+e^{2+x} x^2-2 \int e^{2+x} \, dx-2 \int e^{2+x} x \, dx\\ &=-2 e^{2+x}+e^{2+x} x^2+2 \int e^{2+x} \, dx\\ &=e^{2+x} x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 9, normalized size = 0.82 \begin {gather*} e^{2+x} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.00, size = 8, normalized size = 0.73 \begin {gather*} x^{2} e^{\left (x + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 8, normalized size = 0.73 \begin {gather*} x^{2} e^{\left (x + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 9, normalized size = 0.82
method | result | size |
gosper | \(x^{2} {\mathrm e}^{2+x}\) | \(9\) |
default | \(x^{2} {\mathrm e}^{2} {\mathrm e}^{x}\) | \(9\) |
norman | \(x^{2} {\mathrm e}^{2} {\mathrm e}^{x}\) | \(9\) |
risch | \(x^{2} {\mathrm e}^{2+x}\) | \(9\) |
meijerg | \(-{\mathrm e}^{2} \left (2-\frac {\left (3 x^{2}-6 x +6\right ) {\mathrm e}^{x}}{3}\right )+2 \,{\mathrm e}^{2} \left (1-\frac {\left (-2 x +2\right ) {\mathrm e}^{x}}{2}\right )\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.37, size = 33, normalized size = 3.00 \begin {gather*} {\left (x^{2} e^{2} - 2 \, x e^{2} + 2 \, e^{2}\right )} e^{x} + 2 \, {\left (x e^{2} - e^{2}\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.65, size = 8, normalized size = 0.73 \begin {gather*} x^2\,{\mathrm {e}}^2\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 8, normalized size = 0.73 \begin {gather*} x^{2} e^{2} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________