I have this improper integral:
$$I = \int_{-\infty}^{\infty} x^4 e^{\frac{-x^2}{2t}} \ dx$$
I used a substitution to get ($u=\frac{x^2}{2t}$):
$$I = \int_{-\infty}^{\infty} u^{\frac{3}{2}} e^{-u} \ du$$
(note I have taken the t's and the 2's to the front and left them out for now as they are constants)
However I am having trouble solving it. Ideally I was thinking of using the gamma integral however the limits are not correct. I need them to be between $0$ and $\infty$, I was thinking of doing this by trying to make the function even so I can change the limits. I think this should be right as this would yield $2*\Gamma(\frac{5}{2})$ which is the answer I wanted. However the function above is not even to my knowledge so I am stuck!
Could anyone help me out? I don't need an answer just leave a comment please!
The function is even, hence you can write it as
$$2\int_0^{+\infty} x^4 e^{-x^2/2t}\ \text{d}t$$
Using your substitution (please be careful of what you get), you can deal it via Gamma function, obtaining the result $$3 \sqrt{2 \pi } t^{5/2}$$
Details on the substitution
$$z = \dfrac{x^2}{2t} ~~~~~~~ x = \sqrt{2tz} ~~~~~~~ \text{d}x = \dfrac{t^{1/2}}{\sqrt{2z}}\ \text{d}z$$
Hence the integral becomes
$$2\int_0^{+\infty} 4 t^2z^2 e^{-z}\left(\dfrac{t^{1/2}}{\sqrt{2z}}\right)\ \text{d}z$$
$$\dfrac{8}{\sqrt{2}}t^{5/2}\int_0^{+\infty} z^{3/2}e^{-z}\ \text{d}z$$
Whence the above result.