Every student gets introduced to as the ratio of a circle’s circumference to its diameter.
A clean definition. Easy to state, easy to memorize.
But keeps showing up in places that have nothing to do with circles. That’s the part worth talking about.
The definition you were taught
Take any circle: a coin, a disk, a planet. Measure its circumference and diameter .
Divide by . You will always get the same number: , approximately .
We call it , give it a symbol, and that’s usually the end of it.
The ratio is always the same because all circles are similar, so and always scale together, keeping their ratio fixed. That much is just geometry.
But knowing where lives is not the same as knowing what it is. And it turns up in places that have nothing to do with circles.
First stop: a stick on the floor
Here’s an experiment. Take a needle of length and a floor ruled with parallel lines spaced apart, with . Drop the needle. Sometimes it crosses a line, sometimes it doesn’t. Now do that thousands of times and count how often it crosses.
You’d expect a result about needles and floors. What you get is .
If you drop the needle times and it crosses a line times, then:
This is Buffon’s needle problem, posed by Georges-Louis Leclerc in 1777. It was one of the earliest examples of a Monte Carlo method, using randomness to compute a deterministic quantity. People have actually done this experiment physically and recovered to several decimal places — just by dropping sticks.
Drops: 0Crossings: 0π ≈ —
Where does come from? The needle lands at some angle relative to the lines. That angle is uniformly random on — and there’s your culprit. The range of possible angles is exactly radians. When you integrate over all possible angles and positions, falls out of the geometry of the angle itself, not from any circle.
The probability of a crossing is:
No circles. Just a stick, a floor, and an angle that happens to range over radians.
Second stop: an infinite sum
In 1644, Pietro Mengoli posed a question that stumped mathematicians for nearly a century: what is the exact sum of the reciprocals of all perfect squares?
It was obvious the sum converged (it’s bounded), but nobody could find the exact value. Until Euler cracked it in 1734, at age 27, and the answer was:
Why would adding up reciprocal squares produce ? There are no circles anywhere in sight. The connection runs through the sine function. Euler noticed that can be written as an infinite product over its zeros:
The zeros are exactly . When you expand this product and compare coefficients with the Taylor series for , the coefficient of forces the sum to equal .
3Blue1Brown has a beautiful visual proof of this.
The result has a beautiful connection to prime numbers too. The probability that two randomly chosen integers are coprime turns out to be exactly , roughly 61%. has no obvious business being in number theory, and yet there it is.
Third stop: the bell curve
This is the one that genuinely surprises people.
Take the function . It has nothing to do with circles. It’s the bell curve: the shape of measurement errors, of heights in a population, of noise in a signal. It’s arguably the most important function in all of probability and statistics.
Now integrate it over the entire real line:
is hiding inside the bell curve. But how?
The trick is elegant. Call the integral . Square it:
Now switch to polar coordinates, where and the area element becomes . The double integral becomes clean:
So . The circle wasn’t in the function. It was in the coordinate system. When you square the integral and switch to polar coordinates, you’re tracing out a circle in the plane, and is the reward for that symmetry.
That is not decorative. Every time you write down the normal distribution (the bell curve used across statistics, science, and machine learning), is sitting in the denominator:
The is the normalising constant. Without it, the total area under the curve wouldn’t equal 1, and the function couldn’t be a probability distribution.
3Blue1Brown has a visual walkthrough of the polar coordinates argument.
Fourth stop: counting things
Factorials are about counting: is the number of ways to arrange five books on a shelf. Purely discrete. So finding buried in their asymptotic behaviour is strange.
For large , Stirling’s approximation gives:
Drop the and the approximation falls apart for large . Keep it and the relative error goes to zero.
Why is it there? Factorials have an exact integral representation via the Gamma function: . The integrand peaks sharply at , and near that peak it’s shaped like a Gaussian. Evaluating that Gaussian peak is the same computation as the bell curve integral, and falls out for the same reason.
The Gamma function extends this to values beyond the positive integers, and there too shows up: . Same , same mechanism. Discrete counting and continuous analysis are less separate than they look.
Fifth stop: a formula nobody expected
In 1748, Euler published what is now called Euler’s identity:
Five constants in a single equation: , , , , and . No circles, no geometry in the setup. Just the exponential function and imaginary numbers. So where does come from?
The answer is Euler’s formula:
This isn’t a definition — it follows from the Taylor series for . Substitute and separate real and imaginary parts, and you recover exactly the series for and .
What it says geometrically is that raising to an imaginary power traces a circle in the complex plane. As increases, the point moves around the unit circle at a constant rate, completing a full loop when .
Drag the point around the circle below to see how the real part (, blue) and imaginary part (, green) change as sweeps from to .
Set . Since and :
And so .
The appears because it is the exact value of at which the complex exponential has rotated halfway around the unit circle, and that is precisely why holds for any circle. The two descriptions are equivalent. But starting from the Taylor series, earns its place analytically, and that is why it reappears wherever oscillation is described through sines and cosines: in Fourier analysis, wave mechanics, and quantum mechanics.
So what is π, really?
Here’s a way to think about it. Suppose alien mathematicians developed calculus before ever studying geometry. They’d discover through the Gaussian integral, or through the Basel problem, or through the Gamma function. And then, one day, they’d stumble upon circles and realise with some surprise that this constant they’d been computing analytically is also the ratio of circumference to diameter.
The schoolbook definition isn’t wrong; it’s just not the whole picture. doesn’t belong to circles. Circles are just where humans happened to notice it first, because they were the first smooth, symmetric curves we ever thought carefully about.
is a constant of continuous mathematics. It turns up in angles, in infinite sums, in probability, in counting, and more. The circle is one expression of that. Euler’s identity is another.
The ratio isn’t the definition of . It’s a consequence of what already is.