Optimal. Leaf size=11 \[ 1-2 \left (e^x-2 x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 9, normalized size of antiderivative = 0.82, number of steps used = 2, number of rules used = 1, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2194} \begin {gather*} 4 x-2 e^x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=4 x-2 \int e^x \, dx\\ &=-2 e^x+4 x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 9, normalized size = 0.82 \begin {gather*} -2 e^x+4 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 8, normalized size = 0.73 \begin {gather*} 4 \, x - 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.27, size = 8, normalized size = 0.73 \begin {gather*} 4 \, x - 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 9, normalized size = 0.82
method | result | size |
default | \(4 x -2 \,{\mathrm e}^{x}\) | \(9\) |
norman | \(4 x -2 \,{\mathrm e}^{x}\) | \(9\) |
risch | \(4 x -2 \,{\mathrm e}^{x}\) | \(9\) |
derivativedivides | \(-2 \,{\mathrm e}^{x}+4 \ln \left ({\mathrm e}^{x}\right )\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 8, normalized size = 0.73 \begin {gather*} 4 \, x - 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.07, size = 8, normalized size = 0.73 \begin {gather*} 4\,x-2\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 7, normalized size = 0.64 \begin {gather*} 4 x - 2 e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________