Optimal. Leaf size=25 \[ -1+e^x+\frac {1}{2} (-8+x)-x-\log (3)+5 \log ^2(3) \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 9, normalized size of antiderivative = 0.36, number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {12, 2194} \begin {gather*} e^x-\frac {x}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \left (-1+2 e^x\right ) \, dx\\ &=-\frac {x}{2}+\int e^x \, dx\\ &=e^x-\frac {x}{2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 9, normalized size = 0.36 \begin {gather*} e^x-\frac {x}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.73, size = 6, normalized size = 0.24 \begin {gather*} -\frac {1}{2} \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 6, normalized size = 0.24 \begin {gather*} -\frac {1}{2} \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 7, normalized size = 0.28
method | result | size |
default | \(-\frac {x}{2}+{\mathrm e}^{x}\) | \(7\) |
norman | \(-\frac {x}{2}+{\mathrm e}^{x}\) | \(7\) |
risch | \(-\frac {x}{2}+{\mathrm e}^{x}\) | \(7\) |
derivativedivides | \({\mathrm e}^{x}-\frac {\ln \left ({\mathrm e}^{x}\right )}{2}\) | \(9\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 6, normalized size = 0.24 \begin {gather*} -\frac {1}{2} \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 6, normalized size = 0.24 \begin {gather*} {\mathrm {e}}^x-\frac {x}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 5, normalized size = 0.20 \begin {gather*} - \frac {x}{2} + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________