Optimal. Leaf size=21 \[ 2 e^{-4+e^x-x-e^x x} x^2 \]
________________________________________________________________________________________
Rubi [B] time = 0.06, antiderivative size = 46, normalized size of antiderivative = 2.19, number of steps used = 1, number of rules used = 1, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.030, Rules used = {2288} \begin {gather*} \frac {2 e^{e^x (1-x)-x-4} \left (e^x x^3+x^2\right )}{-e^x (1-x)+e^x+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {2 e^{-4+e^x (1-x)-x} \left (x^2+e^x x^3\right )}{1+e^x-e^x (1-x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 20, normalized size = 0.95 \begin {gather*} 2 e^{-4-e^x (-1+x)-x} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 18, normalized size = 0.86 \begin {gather*} 2 \, x^{2} e^{\left (-{\left (x - 1\right )} e^{x} - x - 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 18, normalized size = 0.86 \begin {gather*} 2 \, x^{2} e^{\left (-x e^{x} - x + e^{x} - 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 19, normalized size = 0.90
method | result | size |
risch | \(2 x^{2} {\mathrm e}^{-4-{\mathrm e}^{x} x +{\mathrm e}^{x}-x}\) | \(19\) |
norman | \(2 x^{2} {\mathrm e}^{-4} {\mathrm e}^{-\left (x -1\right ) {\mathrm e}^{x}-x}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 18, normalized size = 0.86 \begin {gather*} 2 \, x^{2} e^{\left (-x e^{x} - x + e^{x} - 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.74, size = 20, normalized size = 0.95 \begin {gather*} 2\,x^2\,{\mathrm {e}}^{-x\,{\mathrm {e}}^x}\,{\mathrm {e}}^{-x}\,{\mathrm {e}}^{{\mathrm {e}}^x}\,{\mathrm {e}}^{-4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.22, size = 19, normalized size = 0.90 \begin {gather*} \frac {2 x^{2} e^{- x - \left (x - 1\right ) e^{x}}}{e^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________