Optimal. Leaf size=26 \[ \frac {1}{4} \left (e^{4 (2+x)}+\left (e^{e^4}-x\right )^2+x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 29, normalized size of antiderivative = 1.12, number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {12, 2194} \begin {gather*} \frac {x^2}{2}-\frac {e^{e^4} x}{2}+\frac {1}{4} e^{4 x+8} \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 (-e^{e^4}+2 e^{8+4 x}+2 x\right ) \, dx\\ &=-\frac {1}{2} e^{e^4} x+\frac {x^2}{2}+\int e^{8+4 x} \, dx\\ &=\frac {1}{4} e^{8+4 x}-\frac {e^{e^4} x}{2}+\frac {x^2}{2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 29, normalized size = 1.12 \begin {gather*} \frac {1}{4} e^{8+4 x}-\frac {e^{e^4} x}{2}+\frac {x^2}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 20, normalized size = 0.77 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {1}{2} \, x e^{\left (e^{4}\right )} + \frac {1}{4} \, e^{\left (4 \, x + 8\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 20, normalized size = 0.77 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {1}{2} \, x e^{\left (e^{4}\right )} + \frac {1}{4} \, e^{\left (4 \, x + 8\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 21, normalized size = 0.81
method | result | size |
default | \(\frac {x^{2}}{2}-\frac {x \,{\mathrm e}^{{\mathrm e}^{4}}}{2}+\frac {{\mathrm e}^{4 x +8}}{4}\) | \(21\) |
norman | \(\frac {x^{2}}{2}-\frac {x \,{\mathrm e}^{{\mathrm e}^{4}}}{2}+\frac {{\mathrm e}^{4 x +8}}{4}\) | \(21\) |
risch | \(\frac {x^{2}}{2}-\frac {x \,{\mathrm e}^{{\mathrm e}^{4}}}{2}+\frac {{\mathrm e}^{4 x +8}}{4}\) | \(21\) |
derivativedivides | \(-2 x -4+\frac {\left (4 x +8\right )^{2}}{32}+\frac {{\mathrm e}^{4 x +8}}{4}-\frac {{\mathrm e}^{{\mathrm e}^{4}} \left (4 x +8\right )}{8}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 20, normalized size = 0.77 \begin {gather*} \frac {1}{2} \, x^{2} - \frac {1}{2} \, x e^{\left (e^{4}\right )} + \frac {1}{4} \, e^{\left (4 \, x + 8\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.27, size = 20, normalized size = 0.77 \begin {gather*} \frac {{\mathrm {e}}^{4\,x}\,{\mathrm {e}}^8}{4}-\frac {x\,{\mathrm {e}}^{{\mathrm {e}}^4}}{2}+\frac {x^2}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 20, normalized size = 0.77 \begin {gather*} \frac {x^{2}}{2} - \frac {x e^{e^{4}}}{2} + \frac {e^{4 x + 8}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________