Pi Is Everywhere
Everyone learns that is the ratio of a circle's circumference to its diameter. That definition makes sound like a fact about circles — interesting but contained. What's strange and worth thinking about is that keeps appearing in contexts that have nothing to do with circles. The sum of an infinite series of fractions. A Gaussian integral. The probability that two randomly chosen integers share no common factors. These have no obvious circles in them. So what's actually going on?
CirclesStarting from the circle
The definition: if a circle has diameter , its circumference is . Equivalently, circumference where is the radius. That's where comes from, historically and pedagogically.
The area formula isn't obvious, but it follows cleanly from the circumference formula. Imagine slicing the circle into very thin concentric rings. Each ring at radius has circumference and thickness , contributing area . Summing all rings from to :
This is calculus, but the intuition is just: unrolling all those rings and stacking them gives a triangle of base and height , which has area . The circle formula is the integral of the circumference formula, which makes geometric sense.
So far so circular (sorry). is behaving itself. Now things get strange.
The Basel problem
In 1734, Leonhard Euler solved a problem that had stumped mathematicians for nearly a century: what is the exact value of
The answer is .
Why? There are no circles in the problem. The series is just the reciprocals of the perfect squares. Euler's proof used the fact that the function has roots at every nonzero integer multiple of , and then factored it as an infinite product — a polynomial-like expansion. When he compared coefficients, fell out.
The key ingredient is the sine function, and the sine function is the projection of circular motion onto a line. Circles are hiding inside the trigonometry.
The Gaussian integral
The integral is one of the most important results in probability, because the bell curve (the normal distribution) is built from .
The standard proof is a trick: call the integral , then compute .
Now switch to polar coordinates: , and the double integral over the whole plane becomes . So .
There it is — enters through polar coordinates, through the factor of that comes from integrating the angular part of a circle. The bell curve's normalization constant is because circles are the natural coordinate system for two-dimensional space.
The standard normal distribution is written . The in the denominator is exactly the Gaussian integral result, adjusted to normalize the total probability to 1. Every time you use a normal distribution — in statistics, in physics, in machine learning — you're using .
Coprime integers and Buffon's needle
The probability that two randomly chosen positive integers are coprime (share no common factor) is , which is the reciprocal of the Basel sum. This follows from the fact that the probability two integers are both divisible by a prime is , and the primes are independent in the right sense. Multiply over all primes using the Euler product formula and appears again.
Buffon's needle: drop a needle of length at random onto a floor with parallel lines spaced apart (). The probability it crosses a line is . The here comes from integrating over random angles — the needle can land at any orientation, and averaging over orientations involves integrating over a semicircle.
It can feel like is showing up as a magic trick. The right response isn't to accept it as mysterious — it's to notice the pattern: whenever you sum over continuous symmetry (all angles, all orientations, all directions), you're integrating over a circle, and appears. The surprise shrinks once you see the underlying structure.
The deep reason: Euler's formula
The real unifying explanation is Euler's formula: .
The complex exponential traces out the unit circle as varies. When , you land at , giving the famous identity . But more fundamentally, this formula means that circular motion and exponential growth are the same thing, just with an imaginary exponent.
The reason appears in the Gaussian integral is that the complex exponential connects the bell curve to circular symmetry. The reason appears in the Basel problem is that is built from , and is rotation. Wherever you see appearing in an unexpected context, somewhere in the proof there's a rotation, an angle, a circle — even if it's in the complex plane and invisible in the original formulation.
isn't fundamentally a fact about circles drawn on paper. It's a fact about rotation — about what happens when you move through angles in any space. Circles just happen to be the simplest place that rotation lives, which is why shows up there first. But rotation lives everywhere, and follows it.