Okay so here's the thing about mathematics — most people think it's just a bunch of rules you memorize and then forget. But that's completely wrong. Math is more like archaeology. People have been digging up these buried structures of truth for thousands of years, and some of the things they've found are so strange, so impossibly elegant, that you kind of have to wonder if the universe was designed by someone with a very specific aesthetic.
What follows is a tour through some of my favorite theorems. Not a textbook. Not a lecture. Just me yapping at you about things I find deeply, genuinely exciting.
Euler's Identity
Alright, let's start with the one that makes people cry at math competitions. Euler's identity connects five of the most fundamental constants in all of mathematics in one absurdly short equation: e (the base of natural logarithms), i (the imaginary unit, √−1), π (the ratio of a circle's circumference to its diameter), 1 (the multiplicative identity), and 0 (the additive identity).
These five numbers come from completely different parts of math. e shows up in calculus and growth. π shows up in geometry. i shows up when you try to take square roots of negatives and refuse to give up. The fact that they're connected at all is wild. The fact that they're connected this simply is almost offensive.
Richard Feynman called it "the most remarkable formula in mathematics." A lot of mathematicians have called it the most beautiful equation ever written. I'm not going to disagree with Feynman.
Fermat's Little Theorem
Not to be confused with Fermat's Last Theorem (which is way more dramatic and gets its own entry), this one is Fermat's Little Theorem — and it's honestly incredible how useful something so small can be.
Here's what it says: take any integer a, and a prime number p. Raise a to the power of p, divide by p, and check the remainder. That remainder will always just be... a. The number you started with. Every single time. Doesn't matter what numbers you pick, as long as p is prime.
This sounds like a curiosity. It is not. Fermat's Little Theorem is one of the key ideas behind RSA encryption — the cryptography that protects basically every secure website on the internet. Your bank? Fermat. Online shopping? Fermat. Embarrassing texts? Also, technically, Fermat.
Fermat's Last Theorem
So Fermat — this 17th century French lawyer who did math as a hobby, which is honestly the most unhinged possible origin story — scribbled a note in the margin of a book. He wrote that he had found a proof that there are no whole number solutions to xⁿ + yⁿ = zⁿ for any exponent greater than 2. Then he wrote: "I have discovered a truly marvelous proof of this, which this margin is too narrow to contain."
And then he died. Without writing down the proof. Which drove mathematicians absolutely insane for 358 years.
Everyone tried. Euler proved the n=3 case. Others got n=4, n=5, n=7. Computers verified billions of cases. But no general proof. Until 1995, when Andrew Wiles, a British mathematician at Princeton who had been secretly working on it in his attic for seven years like some kind of beautiful math goblin, announced a proof.
The proof is about 200 pages long and involves elliptic curves, modular forms, and a connection called the Taniyama-Shimura conjecture that nobody even knew was related to Fermat's problem. Whatever Fermat thought he had proved in that margin? He almost certainly didn't have it. The real proof uses math that wouldn't be invented for centuries.
"Mathematics is the art of giving the same name to different things." — Henri Poincaré
Goldbach's Conjecture
Here's one that is still unproven. As of today. We can't prove it. We've checked it for every even number up to around 4 × 10¹⁸ (that's 4 quintillion), and it holds every single time. But we cannot prove it will always hold.
4 = 2+2. 6 = 3+3. 8 = 3+5. 100 = 47+53. 1000 = 3+997. It just... works. Every time. But "it works every time we've checked" is not a proof in mathematics — it's just a very strong suspicion.
Goldbach wrote this in a letter to Euler in 1742 (everybody was writing to Euler about math, Euler was basically the internet of the 1700s). Euler immediately said it seemed obviously true but he couldn't prove it either. That's been the vibe ever since.
The Pythagorean Theorem
Look, I know. You know this one. You've known this one since you were like twelve. But can I just take a moment to say how absolutely insane it is that this is true? Like really sit with it.
Take any right triangle — literally any one, any size, anywhere in the universe. The square of the hypotenuse is exactly equal to the sum of the squares of the other two sides. Not approximately. Not usually. Exactly. Every time. This is a fact about the shape of space itself.
There are over 370 known proofs of this theorem. President James Garfield proved it in 1876. Einstein proved it as a child (allegedly). There are proofs using similar triangles, proofs using rearrangement of areas, algebraic proofs, proof by induction. The theorem is so central, so load-bearing, that mathematics keeps re-deriving it as a side effect of other things.
Also: Pythagorean triples (like 3-4-5 or 5-12-13) were known to Babylonian scribes in 1800 BC, over a thousand years before Pythagoras was born. Math is humble like that.
Cantor's Theorem & Infinite Infinities
Okay, this is where things get genuinely weird. Georg Cantor proved that there are different sizes of infinity. Not in a vague philosophical sense. In a precise, mathematical sense. Infinity comes in different sizes and you can compare them.
The infinity of whole numbers (1, 2, 3, 4...) is a different, strictly smaller infinity than the infinity of real numbers (all the decimals between 0 and 1 alone). You can't match them up one-to-one no matter how clever you are. Cantor proved this with an argument so elegant it's almost theatrical — the "diagonal argument."
Assume you have a list of all real numbers. Cantor constructs a new number by taking the first digit of the first number, the second digit of the second, and so on — and changing each one. This new number isn't on your list. But you said the list was complete. Contradiction. The reals cannot be listed. They are uncountably infinite.
Cantor's contemporaries called this "a disease" and "corrupting youth." His colleague Kronecker called him a "corrupter of youth" and a "renegade." Cantor spent time in mental institutions. He died in a sanatorium in 1918. Today he's considered one of the greatest mathematicians in history. Math is a cruel industry.
Gödel's Incompleteness Theorems
In 1931, a 25-year-old Kurt Gödel blew up the entire project of mathematics with two theorems. The first: any sufficiently powerful mathematical system that doesn't contradict itself will contain statements that are true but that cannot be proven within the system. The second: such a system cannot prove its own consistency.
This destroyed a decades-long dream called Hilbert's Program, in which David Hilbert (basically the emperor of early 20th century math) wanted to build a complete, consistent foundation for all of mathematics. Gödel showed that this is literally impossible.
The proof is a kind of mathematical self-reference trick. Gödel constructs a statement that essentially says "this statement is not provable." If it's provable, the system is inconsistent. If it's not provable, then it's true — but you can't prove it. The system is either broken or incomplete. Take your pick.
This has philosophical implications that people are still arguing about. Does it mean math is "incomplete"? Does it mean truth is bigger than proof? Does it mean we'll always have things we can never know? Yes. Probably. Sorry.
The Four Color Theorem
You're coloring a map. You don't want any two touching countries to have the same color. How many colors do you need? The answer is four. Always four. Never more than four. This was conjectured in 1852, and the proof came 124 years later — and it was extremely controversial.
Why controversial? Because the proof worked by having a computer check 1,936 special cases. It was the first major theorem proven with computer assistance. Many mathematicians at the time refused to accept it. "That's not a proof," they said. "A proof should be something a human can verify."
Today it's generally accepted, and the computer-assisted approach has become more common. But it still raises interesting questions: what is a proof, really? Is verification by a machine the same as mathematical insight? Does understanding matter, or just correctness?
Bayes' Theorem
This one is less flashy than most entries on this list but it might be the most practically consequential theorem in mathematics. Bayes' theorem describes how to update your beliefs when you get new evidence. That's it. That's the whole thing. And it's everywhere.
Medical testing, spam filters, AI language models, search engines, self-driving cars, detective work, legal reasoning, scientific inference — all of these either use Bayes' theorem directly or are deeply informed by it. It's the mathematical backbone of rational belief updating.
The philosophy behind it is called Bayesianism, and it's basically: you start with some belief (your "prior"), you observe evidence, and you update your belief according to how likely that evidence was under each hypothesis. Over time, with enough evidence, even very different starting beliefs converge on the truth.
Bayes actually published a rough version of this posthumously, in 1763. He apparently wasn't sure it was significant enough to publish while alive. Just a small theorem. Changed science. Whatever.
The Prime Number Theorem
Prime numbers seem totally chaotic. 2, 3, 5, 7, 11, 13, 17, 19, 23, 29... There's no obvious pattern, no formula that generates them all, they seem to appear randomly as you go higher. And yet, zoom out far enough, and a beautiful regularity emerges.
The Prime Number Theorem says that the number of primes up to n is approximately n/ln(n). Not exactly — there's an error term — but as n gets larger, the approximation gets relatively better and better. Primes thin out as numbers get bigger, and they do so according to a precise logarithmic law.
What's incredible is that this was conjectured by Gauss (at age 15!) and Legendre before it was proven, just by looking at tables of primes and noticing the pattern empirically. It took about 100 years to actually prove it rigorously, using complex analysis, Riemann's zeta function, and tools that feel very far from the simple counting problem where it started.
"God made the integers; all else is the work of man." — Leopold Kronecker (the same guy who bullied Cantor)
Green's Theorem
Here's one that's less famous but deserves more love. Green's theorem connects a line integral around the boundary of a region to a double integral over the region's interior. In plain terms: to understand what's happening inside a shape, you only need to look at its boundary.
This might sound abstract but it's one of the workhorses of physics and engineering. It's the 2D version of a family of theorems (Stokes' theorem, the divergence theorem) that all say the same deep thing: the behavior of a field on a boundary determines the behavior inside.
Green himself was a self-taught miller's son from Nottingham with essentially no formal education. He published this in a pamphlet that sold 52 copies. He died before the mathematical world noticed his work. When it was rediscovered, decades later, it turned out to be foundational for electromagnetism, fluid dynamics, and quantum mechanics. 52 copies.
The Central Limit Theorem
Take literally any distribution — heights, stock returns, measurement errors, dice rolls, whatever. Sample from it repeatedly, take the average of each sample. Plot those averages. What do you get?
A bell curve. Always. Regardless of what the original distribution looked like. It could be wildly skewed, lumpy, weird. It doesn't matter. Average enough of them and it normalizes. This is the Central Limit Theorem, and it is the reason statistics works at all.
This theorem is why we can use normal distributions to model so many things. It's why polling works (with caveats). It's why quality control works. It's why most of frequentist statistics is even coherent. The universe seems to have a strong prior toward bell curves whenever aggregation is involved.