Optimal. Leaf size=27 \[ \left (5-e^{\frac {e^e-2 x^2}{e^5}}-x\right ) (x+\log (4)) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 45, normalized size of antiderivative = 1.67, number of steps used = 3, number of rules used = 2, integrand size = 53, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {12, 2288} \begin {gather*} -\frac {e^{\frac {e^e-2 x^2}{e^5}} \left (x^2+x \log (4)\right )}{x}-\frac {1}{4} (5-2 x)^2-x \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \left (e^5 (5-2 x)-e^5 \log (4)+e^{\frac {e^e-2 x^2}{e^5}} \left (-e^5+4 x^2+4 x \log (4)\right )\right ) \, dx}{e^5}\\ &=-\frac {1}{4} (5-2 x)^2-x \log (4)+\frac {\int e^{\frac {e^e-2 x^2}{e^5}} \left (-e^5+4 x^2+4 x \log (4)\right ) \, dx}{e^5}\\ &=-\frac {1}{4} (5-2 x)^2-x \log (4)-\frac {e^{\frac {e^e-2 x^2}{e^5}} \left (x^2+x \log (4)\right )}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 34, normalized size = 1.26 \begin {gather*} -x (-5+x+\log (4))-\frac {1}{4} e^{\frac {e^e-2 x^2}{e^5}} (4 x+\log (256)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, size = 38, normalized size = 1.41 \begin {gather*} -x^{2} - {\left (x + 2 \, \log \relax (2)\right )} e^{\left (-{\left (2 \, x^{2} - e^{e}\right )} e^{\left (-5\right )}\right )} - 2 \, x \log \relax (2) + 5 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 50, normalized size = 1.85 \begin {gather*} -{\left (2 \, x e^{5} \log \relax (2) + {\left (x^{2} - 5 \, x\right )} e^{5} + {\left (x e^{5} + 2 \, e^{5} \log \relax (2)\right )} e^{\left (-{\left (2 \, x^{2} - e^{e}\right )} e^{\left (-5\right )}\right )}\right )} e^{\left (-5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 44, normalized size = 1.63
method | result | size |
risch | \(-2 x \ln \relax (2)-x^{2}+5 x +\left (-2 \,{\mathrm e}^{5} \ln \relax (2)-x \,{\mathrm e}^{5}\right ) {\mathrm e}^{-2 x^{2} {\mathrm e}^{-5}+{\mathrm e}^{{\mathrm e}} {\mathrm e}^{-5}-5}\) | \(44\) |
norman | \(\left (-2 \ln \relax (2)+5\right ) x -x^{2}-x \,{\mathrm e}^{\left ({\mathrm e}^{{\mathrm e}}-2 x^{2}\right ) {\mathrm e}^{-5}}-2 \ln \relax (2) {\mathrm e}^{\left ({\mathrm e}^{{\mathrm e}}-2 x^{2}\right ) {\mathrm e}^{-5}}\) | \(52\) |
default | \({\mathrm e}^{-5} \left ({\mathrm e}^{5} \left (-x^{2}+5 x \right )-{\mathrm e}^{{\mathrm e}^{{\mathrm e}} {\mathrm e}^{-5}} {\mathrm e}^{5} x \,{\mathrm e}^{-2 x^{2} {\mathrm e}^{-5}}-2 \,{\mathrm e}^{{\mathrm e}^{{\mathrm e}} {\mathrm e}^{-5}} \ln \relax (2) {\mathrm e}^{-2 x^{2} {\mathrm e}^{-5}} {\mathrm e}^{5}-2 x \,{\mathrm e}^{5} \ln \relax (2)\right )\) | \(76\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 54, normalized size = 2.00 \begin {gather*} -{\left (2 \, x e^{5} \log \relax (2) + {\left (x^{2} - 5 \, x\right )} e^{5} + {\left (x e^{\left (e^{\left (e - 5\right )} + 5\right )} + 2 \, e^{\left (e^{\left (e - 5\right )} + 5\right )} \log \relax (2)\right )} e^{\left (-2 \, x^{2} e^{\left (-5\right )}\right )}\right )} e^{\left (-5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.18, size = 51, normalized size = 1.89 \begin {gather*} 5\,x-2\,x\,\ln \relax (2)-2\,{\mathrm {e}}^{{\mathrm {e}}^{-5}\,{\mathrm {e}}^{\mathrm {e}}-2\,x^2\,{\mathrm {e}}^{-5}}\,\ln \relax (2)-x\,{\mathrm {e}}^{{\mathrm {e}}^{-5}\,{\mathrm {e}}^{\mathrm {e}}-2\,x^2\,{\mathrm {e}}^{-5}}-x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 34, normalized size = 1.26 \begin {gather*} - x^{2} + x \left (5 - 2 \log {\relax (2 )}\right ) + \left (- x - 2 \log {\relax (2 )}\right ) e^{\frac {- 2 x^{2} + e^{e}}{e^{5}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________