This question already has an answer here:

I'm toying around with statistics and calculus for a project of mine and I'm trying to find the simplest/fastest way to integrate this formula :

$$\int_{-\infty}^{+\infty} e^{-x^2/2} dx$$

  • I do not want to use a table.
  • I'm taking this opportunity to get more practice with my new calculus skills
  • It seems that a Taylor series approx is the only way to go

Best Regards


marked as duplicate by Semiclassical, user147263, Jeremy Rickard, Daniel Robert-Nicoud, Mike Pierce Jun 30 '15 at 2:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ en.wikipedia.org/wiki/Gaussian_integral $\endgroup$ – icurays1 Jun 29 '15 at 19:20
  • $\begingroup$ Good question but surely a duplicate. $\endgroup$ – Michael Hardy Jun 29 '15 at 19:32
  • $\begingroup$ Taylor series might be involved if it were an indefinite integral or had finite bounds other than $0$, but for the integral over the whole line, one can prove that it's $\sqrt{2\pi\ {}}$ by any of several methods not involving Taylor series. ${}\qquad{}$ $\endgroup$ – Michael Hardy Jun 29 '15 at 19:33
  • $\begingroup$ Try googling "Gaussian Integral Trick" $\endgroup$ – John Joy Jun 29 '15 at 23:05

If we set $$I := \int_{\mathbb{R}} \exp \left(- \frac{x^2}{2} \right) \, dx,$$ then

$$I^2 = \int_{\mathbb{R}} \int_{\mathbb{R}} \exp \left( - \frac{x^2+y^2}{2} \right) \, dx \, dy.$$

Introducting polar coordinates, i.e.

$$\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} r \cos \varphi \\ r \sin \varphi \end{pmatrix},$$


$$I^2 = \int_{r=0}^{\infty} \int_{\varphi=0}^{2\pi} e^{-r^2/2} r \, dr \, d\varphi = \left( \int_{0}^{\infty} r e^{-r^2/2} \, dr \right) \left( \int_{\varphi=0}^{2\pi} d \varphi \right).$$

This expression can be easily calculated.

  • $\begingroup$ Thanks, exactly what I needed. $\endgroup$ – keeepkool Jun 30 '15 at 10:47

The "easiest" way is to use a change of variables to change your integral into a multiple of


and use the famous fact that that last integral equals $\sqrt{\pi}$.

  • 1
    $\begingroup$ The value of $\int_{-\infty}^\infty e^{-x^2/2}\; dx$ is just as famous. $\endgroup$ – Robert Israel Jun 29 '15 at 20:09

Hint: Change variables into the integral $\displaystyle\int_{-\infty}^{+\infty} e^{-x^2}\,dx$, square that, then transform into a polar integration.


Not the answer you're looking for? Browse other questions tagged or ask your own question.