Optimal. Leaf size=12 \[ -1+e^{2-x}-x \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 11, normalized size of antiderivative = 0.92, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2194} \begin {gather*} e^{2-x}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-x-\int e^{2-x} \, dx\\ &=e^{2-x}-x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 11, normalized size = 0.92 \begin {gather*} e^{2-x}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.72, size = 10, normalized size = 0.83 \begin {gather*} -x + e^{\left (-x + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 10, normalized size = 0.83 \begin {gather*} -x + e^{\left (-x + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 11, normalized size = 0.92
method | result | size |
default | \({\mathrm e}^{2-x}-x\) | \(11\) |
norman | \({\mathrm e}^{2-x}-x\) | \(11\) |
risch | \({\mathrm e}^{2-x}-x\) | \(11\) |
derivativedivides | \({\mathrm e}^{2-x}+\ln \left ({\mathrm e}^{2-x}\right )\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 10, normalized size = 0.83 \begin {gather*} -x + e^{\left (-x + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 10, normalized size = 0.83 \begin {gather*} {\mathrm {e}}^{2-x}-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.07, size = 5, normalized size = 0.42 \begin {gather*} - x + e^{2 - x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________