Unreasonable Effectiveness of Mathematics
The Appearance of π in the Gaussian Distribution
The Problem: Why Does π Appear in Statistics?
The normal distribution, also called the Gaussian distribution, is a fundamental concept in statistics. Its formula, often seen in textbooks, contains the constant π. This seems strange: what do circles have to do with population trends, measurement errors, or any of the other phenomena described by the normal distribution?
The core function that produces the bell curve shape is e−x2. The reason π appears is that the area under this curve is π. To use the Gaussian as a probability distribution, the total area must be 1, so we divide by π. However, simply knowing this fact does not fully answer the conceptual question: why should a circle’s circumference-to-diameter ratio arise from a function that describes randomness?
The Classic Proof: Computing the Area Under e−x2
The Problem of Integration
The integral we want is:
This function has no elementary antiderivative — it cannot be expressed using polynomials, trigonometric functions, or exponentials in a finite combination. Thus, a clever trick is needed.
The 2D Trick
The first step seems absurd: instead of finding the area under a 1D curve, consider the volume under a 2D bell surface defined by e−(x2+y2). Why do this? Because solving a related but more symmetrical problem can give insight into the original.
This surface has circular symmetry — its value depends only on the distance r=x2+y2 from the origin. The volume under this surface can be computed by integrating thin cylindrical shells:
The surface area of a cylindrical shell of radius r is 2πr (circumference) times the height e−r2.
The volume of a shell with thickness dr is 2πre−r2dr.
Thus, the total volume is:
This integral can be evaluated directly because 2re−r2 is the derivative of −e−r2:
Hence, the volume under the 2D bell surface is π. The appearance of π here is natural due to the circular symmetry.
Relating Back to 1D
Now, compute the same volume in a different way: by slicing the surface parallel to the x-axis. For a fixed y, the cross-section is a scaled version of the 1D curve e−x2. Because e−(x2+y2)=e−x2⋅e−y2, the area of each slice is e−y2 times the unknown area C=∫−∞∞e−x2dx.
Integrating over y:
Thus, C2=π, so C=π. The area under e−x2 is π.
The Herschel–Maxwell Derivation: Forcing the Gaussian Shape
The classic proof explains how π appears but does not explain why the function e−x2 is special in the first place. In 1850, John Herschel offered a derivation that starts from two plausible assumptions about a probability distribution on the plane.
Two Assumptions
Radial symmetry: The probability density at a point depends only on its distance from the origin, not on its direction. Mathematically, f2(x,y)=f(r), where r=x2+y2.
Independence of coordinates: The x and y coordinates are independent. Thus, f2(x,y)=g(x)⋅g(y), where g is the density for a single coordinate (since both axes should behave identically).
The Functional Equation
Combining these, we have for any point:
Because f and g are essentially the same function (up to a constant factor that can be absorbed later), we can write f(r)=f(x2+y2)=f(x)⋅f(y) (after rescaling). This is a functional equation: it must hold for all real numbers x,y.
Solving the Functional Equation
Introduce a helper function h(u)=f(u), so that f(x)=h(x2). Then the equation becomes:
For positive arguments a=x2, b=y2, this is h(a+b)=h(a)h(b). This is the Cauchy exponential equation. For continuous functions, the only solution is h(a)=eca for some constant c. Thus:
Therefore, the probability density for a single coordinate must be proportional to ecx2.
Normalization and the Sign of c
For the total probability to be finite, the constant c must be negative (otherwise the function grows without bound). The specific value of c controls the spread (variance) of the distribution. After rescaling to make the total area 1, we recover the Gaussian bell curve e−x2 (up to a constant factor depending on c).
Connection to the Classic Proof
The two properties used in the classic proof — radial symmetry and factorization — are exactly the assumptions of the Herschel–Maxwell derivation. Thus, the 2D trick is not an arbitrary leap; it naturally leverages the defining characteristics of the Gaussian. The appearance of π is then a consequence of the circular symmetry built into the distribution.
Why This Matters for the Central Limit Theorem
The central limit theorem states that sums of many independent random variables tend toward a normal distribution. The Herschel–Maxwell derivation shows that if a distribution in multiple dimensions has both radial symmetry and independence, it must be Gaussian. This provides a bridge between the geometric proof and the statistical context: the Gaussian emerges when many independent contributions combine, and the circular symmetry in the proof reflects the rotational invariance of sums of independent variables (a concept connected to the Fourier transform and characteristic functions).
However, fully connecting the continuous derivation to the discrete central limit theorem requires additional steps. The explanation of that link is a natural next topic.
Bonus: Volumes of Higher-Dimensional Spheres
The same integration trick used for the 2D bell surface can be extended to compute the volumes of n-dimensional spheres. By integrating e−r2 over Rn in two ways — using spherical shells and using a product of 1D integrals — one derives a recursion for the sphere volume Vn:
where Γ is the gamma function. For example, V2=π, V3=34π, V4=2π2, and so on. The method relies on the same principle: the Gaussian integral factorizes in Cartesian coordinates and has radial symmetry, linking the circular constant π to volumes in any number of dimensions.

Ask anything
We've read this whole study set, so questions about it get the best answers.