Optimal. Leaf size=20 \[ -10-\frac {e^2}{5}+x-\left (1+e^x\right ) (1+x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 12, normalized size of antiderivative = 0.60, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2176, 2194} \begin {gather*} e^x-e^x (x+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-e^x (2+x)+\int e^x \, dx\\ &=e^x-e^x (2+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 8, normalized size = 0.40 \begin {gather*} -e^x (1+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.48, size = 7, normalized size = 0.35 \begin {gather*} -{\left (x + 1\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 2.18, size = 7, normalized size = 0.35 \begin {gather*} -{\left (x + 1\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 8, normalized size = 0.40
method | result | size |
gosper | \(-\left (x +1\right ) {\mathrm e}^{x}\) | \(8\) |
risch | \(\left (-x -1\right ) {\mathrm e}^{x}\) | \(9\) |
default | \(-{\mathrm e}^{x} x -{\mathrm e}^{x}\) | \(11\) |
norman | \(-{\mathrm e}^{x} x -{\mathrm e}^{x}\) | \(11\) |
meijerg | \(1+\frac {\left (-2 x +2\right ) {\mathrm e}^{x}}{2}-2 \,{\mathrm e}^{x}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 12, normalized size = 0.60 \begin {gather*} -{\left (x - 1\right )} e^{x} - 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.34, size = 7, normalized size = 0.35 \begin {gather*} -{\mathrm {e}}^x\,\left (x+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 7, normalized size = 0.35 \begin {gather*} \left (- x - 1\right ) e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________