If $X$~$\text{Norm}(0,\sigma^2)$ find $\Bbb E[X^{2n}]$, where $n$ is a natural number.
I can work the integral up to a point: $$\int x^{2n} \frac{1}{\sqrt{2\pi}\sigma}e^{\frac{-x^2}{2\sigma^2}}dx$$ Change of variable: $v = \frac x\sigma$ $$\to \int (\sigma v)^{2n} \frac{1}{\sqrt{2\pi}}e^{\frac{-x^2}{2}}dv$$ $$=\sigma^{2n}\int v^{2n} \frac{1}{\sqrt{2\pi}}e^{\frac{-x^2}{2}}dv$$ Here's where I get lost: I think the $v^{2n} $needs to be gotten rid of. How would I do it?
Integration by parts here will probably work, but is long. A quicker solution is to note the the moment generating function is $$ M(t) = e^{\frac{1}{2} \sigma^2 t^2} = \sum_{k=0}^{\infty} \frac{1}{k!} \frac{\sigma^{2k} }{2^k} t^{2k} = \sum_{k=0}^{\infty} \frac{1}{(2k)!} \frac{\sigma^{2k}(2k)! }{2^k(k!)} t^{2k} $$ Hence $$ E[X^{2k}] = \frac{\sigma^{2k}(2k)! }{2^k(k!)} $$