How do I evaluate the following integral $\int_{-\infty}^{\infty} e^{-\sigma^2 x^2/2}\; \mathrm dx$?

364 Views Asked by At

How do I evaluate the following integral $$\int_{-\infty}^{\infty} \exp\left(-\frac{\sigma^2 x^2}{2}\right) \mathrm dx\;?$$

How is it even possible to find an antiderivative?

The integral is evaluated "silently" in a book leading to a theorem.

Using Wolfram Alpha (after trying to evaluate on my own) I get

enter image description here

and this is not what I want, since at my level we've never worked with such a function.

Hoping someone can clarify.

2

There are 2 best solutions below

0
On

This integral is not evaluated finding a primitive. The trick is squaring, applying Fubini's theorem and changing to polar coordinates:

$$\left(\int_{-\infty}^\infty e^{-x^2}dx\right)^2=\int_{-\infty}^\infty \int_{-\infty}^\infty e^{-(x^2+y^2)}dxdy=\int_0^{2\pi}\int_0^\infty\rho e^{-\rho^2}d\rho d\theta$$

Can you take it form here?

0
On

\begin{align} \int_{-\infty}^{\infty} \exp\left(-\frac{\sigma^2 x^2}{2}\right) \mathrm dx&=2\int_{0}^{\infty} \exp\left(-\frac{\sigma^2 x^2}{2}\right) \mathrm dx\\[7pt] &=2\int_{0}^{\infty} e^{-t}\, \frac{\mathrm dt}{\sigma\sqrt{2t}}\qquad\implies\qquad t=\frac{\sigma^2 x^2}{2}\\[7pt] &=\frac{\sqrt{2}}{\sigma}\int_{0}^{\infty} t^{-1/2}\;e^{-t}\, \mathrm dt\\[7pt] &=\frac{\sqrt{2}}{\sigma}\Gamma\left(\frac{1}{2}\right)\qquad\implies\qquad\Gamma\left(\frac{1}{2}\right)=\sqrt{\pi} \\[7pt] &=\bbox[5pt,border:3px #FF69B4 solid]{\color{red}{\large\frac{\sqrt{2\pi}}{\sigma}}}\tag{$\color{red}{❤}$} \end{align}