I was having trouble with this integral
Prove $$\int_{-\infty}^{\infty} e^{2x}x^2 e^{-e^{x}}dx=\gamma^2 -2\gamma+\zeta(2)$$
Where $\gamma$ is the euler mascheroni constant. Let $u=e^x\rightarrow \ln(u)= x$ thus $du=e^x dx$
$$\int_{-\infty}^{\infty} e^{2x}x^2 e^{-e^{x}}dx= \int_{0}^{\infty} u\ln^2(u) e^{-u}du$$ Now $$\Gamma(n)=\int_0^\infty x^{n-1}e^xdx$$ $$\Gamma'(n)=\int_0^\infty x^{n-1}e^x\ln(x)dx$$ $$\Gamma''(n)=\int_0^\infty x^{n-1}e^x\ln^2(x)dx\Rightarrow \Gamma''(2)=\int_0^\infty x e^x\ln^2(x)dx$$
How do I proceed from here? Do I have to use $\Gamma'(n)=\psi(n)\Gamma(n)$ ? How do I solve this integral ?
Thank you for your time
One typo: it should be $e^{-x}$ in your last three equations. Yes go ahead, your integral is $I=\Gamma"(2)$, which can be evaluated as $\psi(z)\Gamma(z)=\Gamma'(z)$ d.w.r.t. $z$ then $$\Gamma"(z)=\psi'(z)\Gamma(z)+\psi(z)\Gamma'(z)=\psi'(z)\Gamma(z)+\psi^2(z)\Gamma(z) \implies \psi(2)=1-\gamma$$ $$\psi(x)==\gamma+\sum_{n=0}^{\infty} \left( \frac{1}{n+1}-\frac{1}{n+z}\right).$$ and $$\psi'(z)=\sum_{n=0}^{\infty}\frac{1}{(n+z)^2} \implies \psi'(2)=\zeta(2)-1.$$ Finally, $$I=\Gamma"(2)=(1-\gamma)^2+\zeta(2)-1$$