Hexa Scholar

Why the Gaussian integral equals √π

A cream clay mound on a navy circular plinth, with an unmarked brass caliper beside it.
A clay mound and a caliper stand for the problem of measuring a curved shape.

The question

How can we find the total area under e−x² when its antiderivative has no elementary formula?

Choose the next mathematical move and see what it makes possible.

  1. 1 SeeChoose the next move.
  2. 2 TryPredict a change in area.
  3. 3 ProveJustify the infinite limits.
  4. 4 ApplyUse the integral in five problems.
Before you start · 3 quick checks on exponential products, improper integrals and polar distance

Two ideas before you start

2 ideas

An area can extend beyond the picture

The curve e to the minus x squared, with a movable finite cutoff.

Moving the boundary changes which part of the curve is included. The picture always stops somewhere; the improper integral does not.

Exact definition

Write \(f(x)=e^{-x^2}\) and \(A_R=\int_{-R}^{R}f(x)\,dx\), where \(R\gt0\). The desired integral is \(I=\int_{-\infty}^{\infty}f(x)\,dx\). This notation requires both one-sided tails to converge. Since f is even and nonnegative, convergence of the symmetric totals will imply convergence of each half. The finite shaded region represents \(A_R\); the card reports a boundary height, not its area.

Distance can replace a pair of coordinates

A radial segment at a chosen angle, with the same length in every direction.

Turn the segment without stretching it. Its endpoint moves, but its distance from the origin stays fixed.

Exact definition

Polar coordinates describe a point by \(x=r\cos\theta\) and \(y=r\sin\theta\). Here r is distance from the origin and θ is an angle in radians. The identity \(\cos^2\theta+\sin^2\theta=1\) gives \(x^2+y^2=r^2\). The Jacobian lesson explains how a coordinate change also changes the area element.

1 See

Choose a route through the calculation

Begin with one unknown area I. The available moves work together, but each needs a particular mathematical object. The goal is to reach an ordinary substitution integral.

2 Try

Change the exponent

The comparison curve, formula and goals open after you submit a choice.

3 Prove

Make the route valid at infinity

Gaussian integral theorem

For the continuous, positive function \(f(x)=e^{-x^2}\), the two one-sided improper integrals converge, and

\[I=\int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt\pi.\]

For the proof, \(R\gt0\), \(A_R=\int_{-R}^Re^{-x^2}\,dx\), and \(J_R\) is the integral of \(e^{-(x^2+y^2)}\) over the disk of radius R. Every finite integral below has a bounded region and a continuous integrand.

Build the convergence argument, compute a disk integral, and compare regions. This is stronger than observing that a numerical answer seems to stop changing. The improper integrals lesson explains why a limit must control all sufficiently large cutoffs.

Why squaring the integrand is a different operation

The square of an integral uses two independent coordinates. Multiplying two copies of a one-dimensional area produces a double integral of \(f(x)f(y)\). By contrast, \(\int f(x)^2\,dx\) uses the same coordinate twice and remains a one-dimensional integral. The two expressions have different geometric meanings.

Also, a finite square does not become a disk when coordinates change. Its polar boundary depends on the angle. The proof avoids that complication by putting the square between two disks. Positivity makes containment imply inequalities between integrals. Both disk totals approach the same number, which forces the square total to have that limit too.

The same result with Tonelli's theorem

If you know Tonelli's theorem, there is a shorter justification that works on the whole plane at once. For a nonnegative measurable function on the plane, the double integral over the whole plane equals each iterated integral, in either order, even though the region is unbounded and even when the common value is infinite. Since \(e^{-x^2}e^{-y^2}\ge0\),

\[\begin{aligned}&\iint_{\mathbb R^2}e^{-(x^2+y^2)}\,dA\\&\quad=\int_{-\infty}^{\infty}\!\left(\int_{-\infty}^{\infty}e^{-y^2}\,dy\right)e^{-x^2}\,dx\\&\quad=I\cdot I=I^2.\end{aligned}\]

The polar change of variables is also valid for a nonnegative integrand on the whole plane, and it gives \(2\pi\int_0^\infty re^{-r^2}\,dr=\pi\). Nonnegativity is what makes the exchange safe. For an integrand that changes sign, iterated integrals over an unbounded region can disagree, and Fubini's theorem then requires the integral of the absolute value to be finite. The squeeze above avoids this theory: it uses only finite rectangles and disks, where continuity is enough, and then takes a limit.

4 Apply

Use the integral

For each problem, identify the domain before substituting. An integral over a half-line differs from one over the whole line. Enter a decimal to four places; each problem states its absolute tolerance and includes hints and a worked solution.

Key point Keep track of the coefficient, the differential and the domain. In a density, normalization fixes the multiplier. In a radial physical model, the area element converts local intensity into a total.
Level Intro (multivariable calculus)Prerequisites Jacobian; improper integrals; finite double integrals refreshed aboveTime ~30 min

Further reading