Optimal. Leaf size=26 \[ 2 e^{-16 \log ^2\left (-2-x+\frac {1}{3} \left (2+\frac {2}{e^4}+x\right )\right )} \]
________________________________________________________________________________________
Rubi [A] time = 35.64, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 6, integrand size = 59, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.102, Rules used = {12, 2444, 1, 2276, 2205, 6706} \begin {gather*} 2 e^{-16 \log ^2\left (\frac {2 \left (1-e^4 (x+2)\right )}{3 e^4}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1
Rule 12
Rule 2205
Rule 2276
Rule 2444
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-\left (64 \int \frac {e^{4-16 \log ^2\left (\frac {2+e^4 (-4-2 x)}{3 e^4}\right )} \log \left (\frac {2+e^4 (-4-2 x)}{3 e^4}\right )}{-1+e^4 (2+x)} \, dx\right )\\ &=-\left (64 \int \frac {e^{4-16 \log ^2\left (\frac {2+e^4 (-4-2 x)}{3 e^4}\right )} \log \left (\frac {2 \left (1-2 e^4\right )-2 e^4 x}{3 e^4}\right )}{-1+e^4 (2+x)} \, dx\right )\\ &=2 e^{-16 \log ^2\left (\frac {2 \left (1-e^4 (2+x)\right )}{3 e^4}\right )}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 8.87, size = 21, normalized size = 0.81 \begin {gather*} 2 e^{-16 \log ^2\left (\frac {2}{3} \left (-2+\frac {1}{e^4}-x\right )\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.87, size = 20, normalized size = 0.77 \begin {gather*} 2 \, e^{\left (-16 \, \log \left (-\frac {2}{3} \, {\left ({\left (x + 2\right )} e^{4} - 1\right )} e^{\left (-4\right )}\right )^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 17, normalized size = 0.65 \begin {gather*} 2 \, e^{\left (-16 \, \log \left (-\frac {2}{3} \, x + \frac {2}{3} \, e^{\left (-4\right )} - \frac {4}{3}\right )^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.13, size = 23, normalized size = 0.88
method | result | size |
risch | \(2 \,{\mathrm e}^{-16 \ln \left (\frac {\left (\left (-2 x -4\right ) {\mathrm e}^{4}+2\right ) {\mathrm e}^{-4}}{3}\right )^{2}}\) | \(23\) |
norman | \(2 \,{\mathrm e}^{-16 \ln \left (\frac {\left (\left (-2 x -4\right ) {\mathrm e}^{4}+2\right ) {\mathrm e}^{-4}}{3}\right )^{2}}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 20, normalized size = 0.77 \begin {gather*} 2 \, e^{\left (-16 \, \log \left (-\frac {2}{3} \, {\left ({\left (x + 2\right )} e^{4} - 1\right )} e^{\left (-4\right )}\right )^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.26, size = 17, normalized size = 0.65 \begin {gather*} 2\,{\mathrm {e}}^{-16\,{\ln \left (\frac {2\,{\mathrm {e}}^{-4}}{3}-\frac {2\,x}{3}-\frac {4}{3}\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 73.23, size = 26, normalized size = 1.00 \begin {gather*} 2 e^{- 16 \log {\left (\frac {\frac {\left (- 2 x - 4\right ) e^{4}}{3} + \frac {2}{3}}{e^{4}} \right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________