Optimal. Leaf size=14 \[ e^{1-e^x+x} x^2 \]
________________________________________________________________________________________
Rubi [B] time = 0.07, antiderivative size = 29, normalized size of antiderivative = 2.07, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {12, 2288} \begin {gather*} \frac {e^{x-e^x+1} x \left (x-e^x x\right )}{1-e^x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{4} \int e^{1-e^x+x} x \left (8+4 x-4 e^x x\right ) \, dx\\ &=\frac {e^{1-e^x+x} x \left (x-e^x x\right )}{1-e^x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 14, normalized size = 1.00 \begin {gather*} e^{1-e^x+x} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 16, normalized size = 1.14 \begin {gather*} 4 \, e^{\left (x - e^{x} + \log \left (\frac {1}{4} \, x^{2}\right ) + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 12, normalized size = 0.86 \begin {gather*} x^{2} e^{\left (x - e^{x} + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.16, size = 17, normalized size = 1.21
method | result | size |
default | \(4 \,{\mathrm e}^{\ln \left (\frac {x^{2}}{4}\right )+1-{\mathrm e}^{x}+x}\) | \(17\) |
norman | \(4 \,{\mathrm e}^{\ln \left (\frac {x^{2}}{4}\right )+1-{\mathrm e}^{x}+x}\) | \(17\) |
risch | \(x^{2} {\mathrm e}^{1-\frac {i \pi \mathrm {csgn}\left (i x^{2}\right )^{3}}{2}+i \pi \mathrm {csgn}\left (i x^{2}\right )^{2} \mathrm {csgn}\left (i x \right )-\frac {i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x \right )^{2}}{2}-{\mathrm e}^{x}+x}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 12, normalized size = 0.86 \begin {gather*} x^{2} e^{\left (x - e^{x} + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.89, size = 13, normalized size = 0.93 \begin {gather*} x^2\,\mathrm {e}\,{\mathrm {e}}^{-{\mathrm {e}}^x}\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 10, normalized size = 0.71 \begin {gather*} x^{2} e^{x - e^{x} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________