A Love Letter in Symbols
In 1988, the journal Mathematical Intelligencer polled its readers: what is the most beautiful theorem in mathematics?1 The winner wasn't close. It beat the infinitude of primes. It beat the irrationality of √2. It beat every theorem with a story, a name, a history. The winner was a single equation, seven symbols long:
Euler's Identity
eiπ + 1 = 0
Five fundamental constants. Three basic operations. One equation.
When the nineteenth-century mathematician Benjamin Peirce finished proving this identity to a class at Harvard, he turned from the blackboard and said: "Gentlemen, that is surely true, it is absolutely paradoxical; we cannot understand it, and we don't know what it means, but we have proved it, and therefore we know it must be the truth."2
Peirce was being a little dramatic — mathematicians do understand it — but he captured something real. This equation feels like it shouldn't work. It takes the number you get from compound interest (e), raises it to the power of an imaginary number times the ratio of a circle's circumference to its diameter, and gets... negative one. Why should growth, impossibility, and circles have anything to say to each other?
Euler's identity is not a trick. It is not a coincidence. It is a window into the deep structure of mathematics — the moment you realize that branches of math you thought lived in separate buildings actually share a basement.
Let's take this apart.
The Cast of Characters
Five numbers appear in this equation. Each of them is, independently, among the most important objects in all of mathematics. The fact that they're related is the miracle.
≈ 2.71828…
√(−1)
≈ 3.14159…
Multiplicative identity
Additive identity
e — The Number of Becoming
Take a dollar. Put it in a bank that pays 100% annual interest. If they compound once at year's end, you get $2. Compound twice (50% each half-year) and you get $2.25. Compound monthly: $2.61. Daily: $2.7146. Compound every second, every nanosecond, compound continuously — and you get $2.71828..., the number e.3
Leonhard Euler gave it the name in 1748, and it's tempting to think the e stands for Euler, but it probably just stood for "exponential."4 What matters isn't the name. What matters is that e is the natural base of growth. It shows up whenever something changes at a rate proportional to its current size: populations, radioactive decay, interest, the spread of a rumor. The function ex is its own derivative — the mathematical equivalent of a snake eating its own tail, forever in equilibrium between what it is and how fast it's changing.
i — The Number That Shouldn't Exist
In the 1540s, the Italian mathematician Gerolamo Cardano was trying to solve cubic equations when he ran into the square root of negative numbers.5 He called these quantities "as subtle as they are useless." He used them anyway, because they worked — you could pass through the impossible, and come out the other side with a real answer.
For two centuries, mathematicians treated i = √(−1) like a guilty secret. They used it in calculations but wouldn't call it a number. The name "imaginary" was coined by Descartes as an insult. But here's the thing about mathematics: if a concept is consistent and useful, its ontological status is irrelevant. Imaginary numbers aren't imaginary in the sense of being fake. They're imaginary in the sense that every number is imaginary — "three" doesn't exist in any drawer either.
The crucial insight came when mathematicians realized you could draw i. If real numbers live on a horizontal line, then imaginary numbers live on a vertical line perpendicular to it. Together they form the complex plane — a two-dimensional space where every point represents a number of the form a + bi. This wasn't just bookkeeping. It was a revolution.
π — The Constant That Escaped Geometry
You know π from circles: circumference divided by diameter, roughly 3.14159. Archimedes pinned it down around 250 BCE by inscribing and circumscribing polygons — tedious work that got him to the range between 3.1408 and 3.1429.6
But here's what's strange: π shows up in places that have nothing to do with circles. It's in the normal distribution (that bell curve governing everything from human heights to measurement errors). It appears in the sum 1 − 1/3 + 1/5 − 1/7 + ⋯ = π/4. It shows up in quantum mechanics, in the distribution of prime numbers, in the way a needle dropped on lined paper reveals the ratio of circumference to diameter. Pi is not about circles. It's about periodicity — anything that cycles, oscillates, or rotates. And that, as we're about to see, is the key.
1 and 0 — The Foundations
One is the multiplicative identity: multiply anything by 1, and you get it back. Zero is the additive identity: add 0 to anything, nothing changes. These are the "do nothing" operations, the starting points from which all arithmetic is built. Zero, developed by Indian mathematicians by the 5th century CE, was arguably the most important intellectual innovation in the history of notation — the realization that nothing deserves a symbol.
So: the base of natural growth, the square root of −1, the ratio at the heart of periodicity, and the two identity elements of arithmetic. Five concepts from five different corners of mathematics. And Euler's identity says they satisfy one equation.
The Formula Behind the Identity
Euler's identity is actually a special case of something even more powerful — Euler's formula:
Euler's Formula
eiθ = cos θ + i sin θ
Set θ = π. Then cos π = −1, sin π = 0, so eiπ = −1 + 0 = −1. Add 1 to both sides: eiπ + 1 = 0.
This is the real star of the show. The identity is just the formula evaluated at one particular angle. But the formula itself says something astonishing: raising e to an imaginary power gives you a point on the unit circle in the complex plane. The exponential function — the function of growth and decay — is secretly a function of rotation.
Think about that. When you raise e to a real number, you get growth (positive exponents) or decay (negative exponents), sliding along the number line. But when you raise e to an imaginary number, you stop growing and start spinning. You trace out a circle. The exponent iθ tells you the angle.
This is why the identity works. At θ = π radians — halfway around the circle — you've rotated to the point (−1, 0). The cosine of π is −1 and the sine of π is 0. So eiπ = −1. That's it. The "most beautiful equation in mathematics" is a statement about walking halfway around a circle.
But that raises the real question: why does the exponential function trace a circle?
Why It Works: The Taylor Series Proof
Every explanation of Euler's formula eventually arrives at the same engine room: Taylor series. A Taylor series expresses a function as an infinite sum of powers of x. For the three functions we care about:
The Three Series
ex = 1 + x + x²/2! + x³/3! + x⁴/4! + ⋯
cos x = 1 − x²/2! + x⁴/4! − x⁶/6! + ⋯
sin x = x − x³/3! + x⁵/5! − x⁷/7! + ⋯
Now here's the trick. Substitute ix for x in the exponential series. Remember that i² = −1, i³ = −i, i⁴ = 1, and then the pattern repeats:
eix = 1 + (ix) + (ix)²/2! + (ix)³/3! + (ix)⁴/4! + ⋯
= 1 + ix − x²/2! − ix³/3! + x⁴/4! + ix⁵/5! − ⋯
Collect real and imaginary parts:
= (1 − x²/2! + x⁴/4! − ⋯) + i(x − x³/3! + x⁵/5! − ⋯)
= cos x + i sin x
And there it is. The real parts of the exponential series are the cosine series. The imaginary parts are the sine series. Three infinite series — one for growth, one for horizontal oscillation, one for vertical oscillation — conspire to produce circular motion. The exponential function and the trigonometric functions aren't just related. They're the same function, viewed from different angles.
This is the kind of result that makes mathematicians use the word "beautiful" without embarrassment. It's not decorative beauty. It's the beauty of seeing something unified — realizing that phenomena you'd filed in different drawers are manifestations of the same underlying structure.
Walk the Circle Yourself
Enough abstraction. Let's watch the formula work. The explorer below plots eiθ on the complex plane as you vary the angle θ. To the right, you'll see the cosine and sine waves — the real and imaginary components — unfolding. When θ reaches π, notice where you end up.
Complex Plane Explorer
Drag the slider to trace eiθ around the unit circle.
At θ = 0, you're at (1, 0) — the starting line. At θ = π/2 (quarter turn), you're at (0, 1) — pure imaginary. At θ = π, you've landed at (−1, 0). That's the identity. And at θ = 2π, you're back where you started. A full revolution. The exponential has become a clock.
Building the Formula Term by Term
The Taylor series proof above happened in symbols. But you can watch it happen geometrically. Each term of the series for eix is a vector in the complex plane. The first term is 1 (pointing right). Add ix (pointing up). Add −x²/2 (pointing left). Add −ix³/6 (pointing down). Each new term is a smaller rotation, spiraling inward toward the exact point on the unit circle. With enough terms, the spiral converges.
Taylor Series Builder
Add terms to the Taylor series and watch the partial sum converge toward the unit circle.
Try setting x = π and adding terms one by one. Watch the partial sum spiral toward −1. By the time you reach 10 terms, you're so close to (−1, 0) that you can't see daylight between the approximation and the truth. That's convergence — not as a theorem, but as something you can watch happen in real time.
Now toggle to the cosine and sine series separately. Notice that cos(x) stays on the real number line — every term is real. And sin(x) stays real too (it's a real-valued function). But eix dances through the complex plane, because it's both of them combined.
Why This Matters Outside Mathematics
Euler's formula is not a museum piece. It is a workhorse. Here are four places where it does actual labor:
Fourier Analysis. Every sound, image, and radio wave can be decomposed into a sum of sine and cosine waves. Euler's formula lets engineers write these decompositions as sums of complex exponentials — eiωt — which are vastly easier to manipulate algebraically. Your phone's ability to compress a photo, cancel noise on a call, or decode a Wi-Fi signal depends on this.7
Wave Functions. In quantum mechanics, the state of a particle is described by a wave function Ψ, and the time evolution of that function is governed by the Schrödinger equation — which is, at its core, a statement about complex exponentials. The probability amplitude eiEt/ℏ is Euler's formula in action. Without it, we cannot write down what an electron is.
AC Circuits. Alternating current oscillates sinusoidally. Engineers represent voltage and current as the real part of a complex exponential: V = V₀eiωt. This transforms the differential equations of circuit analysis into simple algebra. Every power grid, every amplifier, every transformer is designed with Euler's formula in the background.
Potential Flow. In fluid dynamics, two-dimensional incompressible flows can be analyzed using complex potential functions. The conformal mapping technique — where you transform a flow around a complicated shape into a flow around a simple one — depends entirely on the analytic properties of complex exponentials. This is how engineers calculate lift on airplane wings.8
Richard Feynman, at age 14, encountered the formula and wrote in his notebook: "The most remarkable formula in mathematics."4 Decades later, as one of the greatest physicists who ever lived, he hadn't changed his mind. The formula didn't become less remarkable when he understood it better. It became more remarkable — because he could see all the places it reached.
The Point of Beauty
There's a certain kind of mathematical tourist who memorizes eiπ + 1 = 0 the way someone might memorize a poem in a language they don't speak. It's a valid form of appreciation, but it misses the point.
The point is not that the formula is surprising. Lots of formulas are surprising (did you know that 1 + 2 + 3 + 4 + ⋯ has a meaningful sense in which it equals −1/12?). The point is that Euler's formula is surprising and inevitable. Once you understand Taylor series, once you know what complex multiplication does geometrically, you cannot avoid this result. It's not a coincidence that five famous constants satisfy one equation. It's a consequence of the deep structure of analysis.
The beauty of Euler's identity is not that it connects five numbers. It's that it reveals those five numbers were never really separate.
Growth and rotation are the same operation, performed along different axes of the complex plane. Periodicity and exponential change are two faces of one function. The five constants in the identity are like five windows in the same room — each offering a different view, but all opening onto the same landscape.
That is the kind of truth mathematics offers at its best. Not a fact to memorize, but a lens that, once you've looked through it, changes how everything else looks.
The Takeaway
Euler's identity isn't magic — it's architecture. The exponential function, the trigonometric functions, and the complex numbers are all part of one coherent structure. The identity eiπ + 1 = 0 is simply the most elegant sentence you can write in that structure's language: "Walk halfway around the circle and you arrive at −1." The real miracle isn't the equation. It's that such a structure exists at all.