The Gaussian Integral
Evaluating the integral of exp(-x^2) over the real line by squaring it and switching to polar coordinates.
We want to evaluate
The function has no elementary antiderivative, so the usual fundamental theorem of calculus approach does not work. The trick is to compute instead.
Squaring the integral
Since the variable of integration is a dummy variable, write the second copy with :
The integrand is now a function of alone: it is radially symmetric, which suggests polar coordinates.
Switching to polar coordinates
Let and . Then , and the whole plane is covered by and .
The area element picks up the Jacobian determinant:
so . Geometrically, a small polar patch is approximately a rectangle with sides and .
Therefore
The extra factor of is exactly what makes the inner integral elementary.
Evaluating
Substitute , so :
The outer integral contributes a factor of :
Since , we have , so
Why the manipulation is valid
The integrand is positive and continuous, so by Tonelliβs theorem the iterated integrals equal the double integral over , and the order and choice of coordinates do not matter. Equivalently, integrate over discs of radius , which gives , and let .
Consequence: the normal distribution
Substituting in Eq.Β 1 gives
which is why is the normalizing constant of the normal density.