Optimal. Leaf size=17 \[ e^{-2-4 e+(2-2 (x+\log (4)))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, 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 = {2276, 2268}
\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 2268
Rule 2276
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.43, 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]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 0.35, size = 184, normalized size = 10.82
method | result | size |
risch | \(2^{16 x -16} {\mathrm e}^{16 \ln \left (2\right )^{2}+2-4 \,{\mathrm e}+4 x^{2}-8 x}\) | \(30\) |
gosper | \({\mathrm e}^{16 \ln \left (2\right )^{2}+16 x \ln \left (2\right )+4 x^{2}-4 \,{\mathrm e}-16 \ln \left (2\right )-8 x +2}\) | \(31\) |
derivativedivides | \({\mathrm e}^{16 \ln \left (2\right )^{2}+2 \left (8 x -8\right ) \ln \left (2\right )-4 \,{\mathrm e}+4 x^{2}-8 x +2}\) | \(31\) |
norman | \({\mathrm e}^{16 \ln \left (2\right )^{2}+2 \left (8 x -8\right ) \ln \left (2\right )-4 \,{\mathrm e}+4 x^{2}-8 x +2}\) | \(31\) |
default | \({\mathrm e}^{4 x^{2}+\left (16 \ln \left (2\right )-8\right ) x +16 \ln \left (2\right )^{2}-4 \,{\mathrm e}-16 \ln \left (2\right )+2}+\frac {i \left (16 \ln \left (2\right )-8\right ) \sqrt {\pi }\, {\mathrm e}^{16 \ln \left (2\right )^{2}-4 \,{\mathrm e}-16 \ln \left (2\right )+2-\frac {\left (16 \ln \left (2\right )-8\right )^{2}}{16}} \erf \left (2 i x +\frac {i \left (16 \ln \left (2\right )-8\right )}{4}\right )}{4}-4 i \ln \left (2\right ) \sqrt {\pi }\, {\mathrm e}^{16 \ln \left (2\right )^{2}-4 \,{\mathrm e}-16 \ln \left (2\right )+2-\frac {\left (16 \ln \left (2\right )-8\right )^{2}}{16}} \erf \left (2 i x +\frac {i \left (16 \ln \left (2\right )-8\right )}{4}\right )+2 i \sqrt {\pi }\, {\mathrm e}^{16 \ln \left (2\right )^{2}-4 \,{\mathrm e}-16 \ln \left (2\right )+2-\frac {\left (16 \ln \left (2\right )-8\right )^{2}}{16}} \erf \left (2 i x +\frac {i \left (16 \ln \left (2\right )-8\right )}{4}\right )\) | \(184\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 28, normalized size = 1.65 \begin {gather*} e^{\left (4 \, x^{2} + 16 \, {\left (x - 1\right )} \log \left (2\right ) + 16 \, \log \left (2\right )^{2} - 8 \, x - 4 \, e + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 28, normalized size = 1.65 \begin {gather*} e^{\left (4 \, x^{2} + 16 \, {\left (x - 1\right )} \log \left (2\right ) + 16 \, \log \left (2\right )^{2} - 8 \, x - 4 \, e + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 31, normalized size = 1.82 \begin {gather*} e^{4 x^{2} - 8 x + \left (16 x - 16\right ) \log {\left (2 \right )} - 4 e + 2 + 16 \log {\left (2 \right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 30, normalized size = 1.76 \begin {gather*} e^{\left (4 \, x^{2} + 16 \, x \log \left (2\right ) + 16 \, \log \left (2\right )^{2} - 8 \, x - 4 \, e - 16 \, \log \left (2\right ) + 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 \left (2\right )}^2}\,{\mathrm {e}}^{4\,x^2}}{65536} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________