Optimal. Leaf size=35 \[ e^{-2-x^2 \left (6-e^x+2 x\right )^2+\frac {5}{\log \left (\frac {1}{2} \left (4+e^x\right )\right )}} \]
________________________________________________________________________________________
Rubi [A] time = 6.59, antiderivative size = 49, normalized size of antiderivative = 1.40, number of steps used = 2, number of rules used = 2, integrand size = 171, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.012, Rules used = {6688, 6706} \begin {gather*} \exp \left (-4 x^4-4 \left (6-e^x\right ) x^3-\left (6-e^x\right )^2 x^2+\frac {5}{\log \left (\frac {1}{2} \left (e^x+4\right )\right )}-2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6688
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {\exp \left (-2-\left (-6+e^x\right )^2 x^2+4 \left (-6+e^x\right ) x^3-4 x^4+\frac {5}{\log \left (\frac {1}{2} \left (4+e^x\right )\right )}\right ) \left (-5 e^x-2 \left (4+e^x\right ) x \left (e^{2 x} (1+x)-2 e^x \left (6+6 x+x^2\right )+4 \left (9+9 x+2 x^2\right )\right ) \log ^2\left (\frac {1}{2} \left (4+e^x\right )\right )\right )}{\left (4+e^x\right ) \log ^2\left (\frac {1}{2} \left (4+e^x\right )\right )} \, dx\\ &=\exp \left (-2-\left (6-e^x\right )^2 x^2-4 \left (6-e^x\right ) x^3-4 x^4+\frac {5}{\log \left (\frac {1}{2} \left (4+e^x\right )\right )}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.39, size = 45, normalized size = 1.29 \begin {gather*} e^{-2-\left (-6+e^x\right )^2 x^2+4 \left (-6+e^x\right ) x^3-4 x^4+\frac {5}{\log \left (\frac {1}{2} \left (4+e^x\right )\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.38, size = 60, normalized size = 1.71 \begin {gather*} e^{\left (-\frac {{\left (4 \, x^{4} + 24 \, x^{3} + x^{2} e^{\left (2 \, x\right )} + 36 \, x^{2} - 4 \, {\left (x^{3} + 3 \, x^{2}\right )} e^{x} + 2\right )} \log \left (\frac {1}{2} \, e^{x} + 2\right ) - 5}{\log \left (\frac {1}{2} \, e^{x} + 2\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.12, size = 103, normalized size = 2.94
method | result | size |
risch | \({\mathrm e}^{\frac {4 \,{\mathrm e}^{x} \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right ) x^{3}-4 \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right ) x^{4}-{\mathrm e}^{2 x} \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right ) x^{2}+12 \,{\mathrm e}^{x} \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right ) x^{2}-24 \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right ) x^{3}-36 \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right ) x^{2}-2 \ln \left (\frac {{\mathrm e}^{x}}{2}+2\right )+5}{\ln \left (\frac {{\mathrm e}^{x}}{2}+2\right )}}\) | \(103\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.98, size = 55, normalized size = 1.57 \begin {gather*} e^{\left (-4 \, x^{4} + 4 \, x^{3} e^{x} - 24 \, x^{3} - x^{2} e^{\left (2 \, x\right )} + 12 \, x^{2} e^{x} - 36 \, x^{2} - \frac {5}{\log \relax (2) - \log \left (e^{x} + 4\right )} - 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.60, size = 59, normalized size = 1.69 \begin {gather*} {\mathrm {e}}^{\frac {5}{\ln \left (\frac {{\mathrm {e}}^x}{2}+2\right )}}\,{\mathrm {e}}^{-2}\,{\mathrm {e}}^{4\,x^3\,{\mathrm {e}}^x}\,{\mathrm {e}}^{12\,x^2\,{\mathrm {e}}^x}\,{\mathrm {e}}^{-4\,x^4}\,{\mathrm {e}}^{-24\,x^3}\,{\mathrm {e}}^{-36\,x^2}\,{\mathrm {e}}^{-x^2\,{\mathrm {e}}^{2\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________