Optimal. Leaf size=26 \[ e \left (-4+4 \left (1+\frac {\frac {e^x}{x}-2 x}{x}\right ) x^3\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 24, normalized size of antiderivative = 0.92, number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2176, 2194} \begin {gather*} -4 e x^3-4 e^{x+1}+4 e^{x+1} (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-4 e x^3+\int e^{1+x} (4+4 x) \, dx\\ &=-4 e x^3+4 e^{1+x} (1+x)-4 \int e^{1+x} \, dx\\ &=-4 e^{1+x}-4 e x^3+4 e^{1+x} (1+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 0.54 \begin {gather*} 4 e \left (e^x x-x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.72, size = 15, normalized size = 0.58 \begin {gather*} -4 \, x^{3} e + 4 \, x e^{\left (x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.38, size = 15, normalized size = 0.58 \begin {gather*} -4 \, x^{3} e + 4 \, x e^{\left (x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 16, normalized size = 0.62
method | result | size |
default | \(4 x \,{\mathrm e} \,{\mathrm e}^{x}-4 x^{3} {\mathrm e}\) | \(16\) |
norman | \(4 x \,{\mathrm e} \,{\mathrm e}^{x}-4 x^{3} {\mathrm e}\) | \(16\) |
risch | \(4 x \,{\mathrm e}^{x +1}-4 x^{3} {\mathrm e}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 27, normalized size = 1.04 \begin {gather*} -4 \, x^{3} e + 4 \, {\left (x e - e\right )} e^{x} + 4 \, e^{\left (x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 13, normalized size = 0.50 \begin {gather*} 4\,x\,\mathrm {e}\,\left ({\mathrm {e}}^x-x^2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 17, normalized size = 0.65 \begin {gather*} - 4 e x^{3} + 4 e x e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________