Optimal. Leaf size=30 \[ \frac {e^{-5+\frac {3-e^x}{x}+x}}{-2-x+4 \log \left (x^2\right )} \]
________________________________________________________________________________________
Rubi [F] time = 11.19, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {e^{\frac {3-e^x-5 x+x^2}{x}} \left (6-5 x-x^2-x^3+e^x \left (-2+x+x^2\right )+\left (-12+e^x (4-4 x)+4 x^2\right ) \log \left (x^2\right )\right )}{4 x^2+4 x^3+x^4+\left (-16 x^2-8 x^3\right ) \log \left (x^2\right )+16 x^2 \log ^2\left (x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} \left (6-5 x-x^2-x^3+e^x \left (-2+x+x^2\right )-4 \left (3+e^x (-1+x)-x^2\right ) \log \left (x^2\right )\right )}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx\\ &=\int \left (-\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2}+\frac {6 e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2}-\frac {5 e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2}-\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} x}{\left (2+x-4 \log \left (x^2\right )\right )^2}+\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x} (-1+x)}{x^2 \left (2+x-4 \log \left (x^2\right )\right )}+\frac {4 e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} \log \left (x^2\right )}{\left (2+x-4 \log \left (x^2\right )\right )^2}-\frac {12 e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} \log \left (x^2\right )}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2}\right ) \, dx\\ &=4 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} \log \left (x^2\right )}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-5 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+6 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-12 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} \log \left (x^2\right )}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} x}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x} (-1+x)}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx\\ &=4 \int \left (\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} (2+x)}{4 \left (2+x-4 \log \left (x^2\right )\right )^2}-\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{4 \left (2+x-4 \log \left (x^2\right )\right )}\right ) \, dx-5 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+6 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-12 \int \left (\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} (2+x)}{4 x^2 \left (2+x-4 \log \left (x^2\right )\right )^2}-\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{4 x^2 \left (2+x-4 \log \left (x^2\right )\right )}\right ) \, dx+\int \left (-\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )}+\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x \left (2+x-4 \log \left (x^2\right )\right )}\right ) \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} x}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx\\ &=-\left (3 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} (2+x)}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx\right )+3 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx-5 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+6 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} x}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} (2+x)}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{2+x-4 \log \left (x^2\right )} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx+\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x \left (2+x-4 \log \left (x^2\right )\right )} \, dx\\ &=-\left (3 \int \left (\frac {2 e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2}+\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2}\right ) \, dx\right )+3 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx-5 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+6 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+\int \left (\frac {2 e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2}+\frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} x}{\left (2+x-4 \log \left (x^2\right )\right )^2}\right ) \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x} x}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{2+x-4 \log \left (x^2\right )} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx+\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x \left (2+x-4 \log \left (x^2\right )\right )} \, dx\\ &=2 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-3 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx+3 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx-5 \int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{x \left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{\left (2+x-4 \log \left (x^2\right )\right )^2} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{2+x-4 \log \left (x^2\right )} \, dx-\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x^2 \left (2+x-4 \log \left (x^2\right )\right )} \, dx+\int \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+2 x}}{x \left (2+x-4 \log \left (x^2\right )\right )} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 5.11, size = 32, normalized size = 1.07 \begin {gather*} \frac {e^{-5+\frac {3}{x}-\frac {e^x}{x}+x}}{-2-x+4 \log \left (x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.82, size = 30, normalized size = 1.00 \begin {gather*} -\frac {e^{\left (\frac {x^{2} - 5 \, x - e^{x} + 3}{x}\right )}}{x - 4 \, \log \left (x^{2}\right ) + 2} \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 [F] time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {\left (\left (\left (-4 x +4\right ) {\mathrm e}^{x}+4 x^{2}-12\right ) \ln \left (x^{2}\right )+\left (x^{2}+x -2\right ) {\mathrm e}^{x}-x^{3}-x^{2}-5 x +6\right ) {\mathrm e}^{\frac {-{\mathrm e}^{x}+x^{2}-5 x +3}{x}}}{16 x^{2} \ln \left (x^{2}\right )^{2}+\left (-8 x^{3}-16 x^{2}\right ) \ln \left (x^{2}\right )+x^{4}+4 x^{3}+4 x^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.64, size = 34, normalized size = 1.13 \begin {gather*} -\frac {e^{\left (x - \frac {e^{x}}{x} + \frac {3}{x}\right )}}{x e^{5} - 8 \, e^{5} \log \relax (x) + 2 \, e^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.95, size = 31, normalized size = 1.03 \begin {gather*} -\frac {{\mathrm {e}}^{-5}\,{\mathrm {e}}^{-\frac {{\mathrm {e}}^x}{x}}\,{\mathrm {e}}^{3/x}\,{\mathrm {e}}^x}{x-4\,\ln \left (x^2\right )+2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.47, size = 26, normalized size = 0.87 \begin {gather*} - \frac {e^{\frac {x^{2} - 5 x - e^{x} + 3}{x}}}{x - 4 \log {\left (x^{2} \right )} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________