101.28 Problem number 4950

\[ \int \frac {e^{-x} \left (x-x^2+e^x \left (x-60 x^2\right )-22 e^x x^2 \log (x)-2 e^x x^2 \log ^2(x)+e^{e^x} \left (10 e^x+25 e^{2 x} x+\left (2 e^x+10 e^{2 x} x\right ) \log (x)+e^{2 x} x \log ^2(x)\right )\right )}{x} \, dx \]

Optimal antiderivative \[ x \,{\mathrm e}^{-x}+x +\ln \left (5\right )+2+\left ({\mathrm e}^{{\mathrm e}^{x}}-x^{2}\right ) \left (5+\ln \left (x \right )\right )^{2} \]

command

integrate(((x*exp(x)**2*ln(x)**2+(10*x*exp(x)**2+2*exp(x))*ln(x)+25*x*exp(x)**2+10*exp(x))*exp(exp(x))-2*x**2*exp(x)*ln(x)**2-22*x**2*exp(x)*ln(x)+(-60*x**2+x)*exp(x)-x**2+x)/exp(x)/x,x)

Sympy 1.10.1 under Python 3.10.4 output

\[ - x^{2} \log {\left (x \right )}^{2} - 10 x^{2} \log {\left (x \right )} - 25 x^{2} + x + x e^{- x} + \left (\log {\left (x \right )}^{2} + 10 \log {\left (x \right )} + 25\right ) e^{e^{x}} \]

Sympy 1.8 under Python 3.8.8 output

\[ \text {Timed out} \]________________________________________________________________________________________