Optimal. Leaf size=17 \[ e^{-2-4 e+(2-2 (x+\log (4)))^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 34, normalized size of antiderivative = 2.00, number of steps used = 2, number of rules used = 2, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.051, Rules used = {2244, 2236} \begin {gather*} \exp \left (4 x^2-8 x (1-\log (4))+2 \left (1-2 e+2 \log ^2(4)-4 \log (4)\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2236
Rule 2244
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \exp \left (4 x^2-8 x (1-\log (4))+2 \left (1-2 e-4 \log (4)+2 \log ^2(4)\right )\right ) (8 x-8 (1-\log (4))) \, dx\\ &=\exp \left (4 x^2-8 x (1-\log (4))+2 \left (1-2 e-4 \log (4)+2 \log ^2(4)\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.63, size = 33, normalized size = 1.94 \begin {gather*} 65536^{-1+x} e^{2-4 e-8 x+4 x^2-16 \log ^2(2)+8 \log ^2(4)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 28, normalized size = 1.65 \begin {gather*} e^{\left (4 \, x^{2} + 16 \, {\left (x - 1\right )} \log \relax (2) + 16 \, \log \relax (2)^{2} - 8 \, x - 4 \, e + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 30, normalized size = 1.76 \begin {gather*} e^{\left (4 \, x^{2} + 16 \, x \log \relax (2) + 16 \, \log \relax (2)^{2} - 8 \, x - 4 \, e - 16 \, \log \relax (2) + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 30, normalized size = 1.76
method | result | size |
risch | \(2^{16 x -16} {\mathrm e}^{16 \ln \relax (2)^{2}+2-4 \,{\mathrm e}+4 x^{2}-8 x}\) | \(30\) |
gosper | \({\mathrm e}^{16 \ln \relax (2)^{2}+16 x \ln \relax (2)+4 x^{2}-16 \ln \relax (2)-4 \,{\mathrm e}-8 x +2}\) | \(31\) |
derivativedivides | \({\mathrm e}^{16 \ln \relax (2)^{2}+2 \left (8 x -8\right ) \ln \relax (2)-4 \,{\mathrm e}+4 x^{2}-8 x +2}\) | \(31\) |
norman | \({\mathrm e}^{16 \ln \relax (2)^{2}+2 \left (8 x -8\right ) \ln \relax (2)-4 \,{\mathrm e}+4 x^{2}-8 x +2}\) | \(31\) |
default | \({\mathrm e}^{4 x^{2}+\left (16 \ln \relax (2)-8\right ) x +16 \ln \relax (2)^{2}-16 \ln \relax (2)-4 \,{\mathrm e}+2}+\frac {i \left (16 \ln \relax (2)-8\right ) \sqrt {\pi }\, {\mathrm e}^{16 \ln \relax (2)^{2}-16 \ln \relax (2)-4 \,{\mathrm e}+2-\frac {\left (16 \ln \relax (2)-8\right )^{2}}{16}} \erf \left (2 i x +\frac {i \left (16 \ln \relax (2)-8\right )}{4}\right )}{4}-4 i \ln \relax (2) \sqrt {\pi }\, {\mathrm e}^{16 \ln \relax (2)^{2}-16 \ln \relax (2)-4 \,{\mathrm e}+2-\frac {\left (16 \ln \relax (2)-8\right )^{2}}{16}} \erf \left (2 i x +\frac {i \left (16 \ln \relax (2)-8\right )}{4}\right )+2 i \sqrt {\pi }\, {\mathrm e}^{16 \ln \relax (2)^{2}-16 \ln \relax (2)-4 \,{\mathrm e}+2-\frac {\left (16 \ln \relax (2)-8\right )^{2}}{16}} \erf \left (2 i x +\frac {i \left (16 \ln \relax (2)-8\right )}{4}\right )\) | \(184\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 28, normalized size = 1.65 \begin {gather*} e^{\left (4 \, x^{2} + 16 \, {\left (x - 1\right )} \log \relax (2) + 16 \, \log \relax (2)^{2} - 8 \, x - 4 \, e + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.14, size = 31, normalized size = 1.82 \begin {gather*} \frac {2^{16\,x}\,{\mathrm {e}}^{-4\,\mathrm {e}}\,{\mathrm {e}}^{-8\,x}\,{\mathrm {e}}^2\,{\mathrm {e}}^{16\,{\ln \relax (2)}^2}\,{\mathrm {e}}^{4\,x^2}}{65536} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 31, normalized size = 1.82 \begin {gather*} e^{4 x^{2} - 8 x + \left (16 x - 16\right ) \log {\relax (2 )} - 4 e + 2 + 16 \log {\relax (2 )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________