I would like to read a very thorough and explained calculation process for a couple of integrals. For the life of me I just can't figure out the result on my own, and no resource on the web were able to help me.
First, a small question: Is a primitive of $\exp\left(\frac{-x^2}{2}\right)$, $-x\times\exp\left(\frac{-x^2}{2}\right)$ ? If so, what's the derivative ?
Now the real question. I would like to find the result of: $$\int \limits_{-\infty}^{+\infty}\exp\left(\dfrac{-x^2}{2}\right)\mathrm{d}x$$
And then, the result of: $$\int \limits_{-\infty}^{+\infty}x^2\times\exp\left(\dfrac{-x^2}{2}\right)\mathrm{d}x$$
Supposedly both are equal to $\sqrt{2\pi}$, but there's no way I can get there on my own.