Optimal. Leaf size=19 \[ \frac {1}{3} e^{4+4 e^4+x-x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 20, normalized size of antiderivative = 1.05, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {12, 2236} \begin {gather*} \frac {1}{3} e^{-x^2+x+4 \left (1+e^4\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2236
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{3} \int e^{4+4 e^4+x-x^2} (1-2 x) \, dx\\ &=\frac {1}{3} e^{4 \left (1+e^4\right )+x-x^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 19, normalized size = 1.00 \begin {gather*} \frac {1}{3} e^{4+4 e^4+x-x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 17, normalized size = 0.89 \begin {gather*} e^{\left (-x^{2} + x + 4 \, e^{4} - \log \relax (3) + 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 17, normalized size = 0.89 \begin {gather*} e^{\left (-x^{2} + x + 4 \, e^{4} - \log \relax (3) + 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 16, normalized size = 0.84
method | result | size |
risch | \(\frac {{\mathrm e}^{4+4 \,{\mathrm e}^{4}-x^{2}+x}}{3}\) | \(16\) |
gosper | \({\mathrm e}^{-\ln \relax (3)+4 \,{\mathrm e}^{4}-x^{2}+x +4}\) | \(18\) |
derivativedivides | \({\mathrm e}^{-\ln \relax (3)+4 \,{\mathrm e}^{4}-x^{2}+x +2} {\mathrm e}^{2}\) | \(21\) |
default | \({\mathrm e}^{-\ln \relax (3)+4 \,{\mathrm e}^{4}-x^{2}+x +2} {\mathrm e}^{2}\) | \(21\) |
norman | \({\mathrm e}^{-\ln \relax (3)+4 \,{\mathrm e}^{4}-x^{2}+x +2} {\mathrm e}^{2}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 15, normalized size = 0.79 \begin {gather*} \frac {1}{3} \, e^{\left (-x^{2} + x + 4 \, e^{4} + 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.10, size = 17, normalized size = 0.89 \begin {gather*} \frac {{\mathrm {e}}^{4\,{\mathrm {e}}^4}\,{\mathrm {e}}^4\,{\mathrm {e}}^{-x^2}\,{\mathrm {e}}^x}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 17, normalized size = 0.89 \begin {gather*} \frac {e^{2} e^{- x^{2} + x + 2 + 4 e^{4}}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________