# Gaussian integral

970pages on
this wiki

The Gaussian integral is the integral of the Gaussian function over the entire real number line.

## Introduction

The Gaussian integral is the improper integral defined as

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

The function exp(-x²) is known as the Gaussian function. Note how the graph takes the traditional bell-shape, the shape of the Laplace curve.

You can use several methods to show that the integrand, the Gaussian function, has no indefinite integral that can be expressed in elementary terms. In other words, the integral resists the tools of elementary calculus. Still, there are several methods to evaluate it (differentiation under the integral sign, polar integration, contour integration, square of an integral, etc.) We will demonstrate the polar integration method.

## Evaluation

We denote the Gaussian integral as I for convenience. From the square of an integral, we have:

$I^2=\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}e^{-x^2}e^{-y^2}\,dy\,dx$

We will now express the integral in polar coordinates. We can easily do this, since -x²-y² is merely -r² in polar coordinates. Hence, our integral becomes

$I^2=\int_{0}^{2\pi}\int_{0}^{\infty}e^{-r^2}r\,dr\,d\theta$

We evaluate the right hand side. The integrand now does have an elementary indefinite integral, which can be evaluated with the substitution u=r² as follows:

$\int_{0}^{\infty}e^{-r^2}r\,dr=\frac{1}{2}\int_{0}^{\infty}e^{-u}\,du=\frac{1}{2}[-e^{-u}]^{\infty}_{0}=\frac{1}{2}$

This was the integral with respect to r. We substitute it in our original integral:

$I^2=\int_{0}^{2\pi}\frac{1}{2}\,d\theta=\frac{1}{2}\int_{0}^{2\pi}d\theta=\pi$

Taking the square root of both sides finally yields the desired expression:

$I=\sqrt{\pi}$