Why Is the Square Root of 2 Irrational? The Classic Proof

Legend says the Pythagoreans drowned a man for proving this. Here's the actual proof, built from a single fraction that gets forced into being even on both sides at once, which is impossible.

By Petrus Sheya

August 10, 2026 · 5 min read

Can you write 2\sqrt2 exactly as a fraction? Not a close one like 1.414213561.41421356. An exact one, some whole number divided by another whole number, that lands on 2\sqrt2 dead on.

You can't. And this isn't "nobody's found it yet." It's proven impossible, and it has been for about 2,500 years.

The story goes that this exact fact broke a group of ancient Greek mathematicians called the Pythagoreans, who believed every length in the universe could be measured as a ratio of whole numbers. Then someone in their own school proved that the diagonal of a simple square couldn't be. Legend says they drowned him for it. True or not, the discomfort was real: this proof cracked open a hole in numbers that took centuries to properly understand.

So let's build the proof ourselves, piece by piece, until you can see exactly why 2\sqrt2 refuses to be a fraction.


Can't we just try really hard to find one?

Before reaching for a proof, it's worth asking the obvious question: what if we just search? Pick a denominator bb, find the whole number aa that gets a/ba/b closest to 2\sqrt2, and check how close (a/b)2(a/b)^2 lands to 2.

For each b, a is the closest whole number to b√2. The bar shows a² − 2b². Find one that touches the line.

a² − 2b² = 0 (never happens)a² − 2b²b = 1 … 20
Best a for this b7
(a/b)²1.96000
a² − 2b²-1

Slide through different values of bb, or hit scan and watch them all go by. Notice the bars never touch that dashed line. a22b2a^2 - 2b^2 jumps around, sometimes close to zero, sometimes not, but it never actually lands on it. No matter how far you search, this quantity refuses to hit exactly 0.

That's suggestive, but it's not proof. We checked 20 fractions. There are infinitely many. To actually settle this, we need an argument that covers every possible aa and bb at once, not just the ones we tried.


What does "lowest terms" actually buy us?

Here's the strategy: assume 2\sqrt2 IS a fraction, 2=a/b\sqrt2 = a/b, and follow that assumption until it breaks.

But there's a sneaky move we get to make first. Any fraction, no matter how bloated, can be reduced by dividing out whatever numerator and denominator have in common. 84/6084/60 reduces to 7/57/5. 168/120168/120 also reduces to 7/57/5. So if 2\sqrt2 really does equal some fraction, it equals one written in lowest terms too, where the top and bottom share no common factor at all.

7×4 over 5×4, grouped into 4 identical blocks. Cancel the shared blocks and see what's left.

a = 28b = 20
a / b28/20
gcd(a, b)4
Lowest terms7/5

Watch what happens as you cancel the shared blocks. No matter how big kk gets, there's always a bottom layer left standing where nothing more can be divided out. We're allowed to assume aa and bb share no common factor, because every fraction can be pushed down to a version that doesn't. We write that as gcd(a,b)=1\gcd(a, b) = 1.

That one assumption is about to do all the work.


Why does a2a^2 being even force aa to be even?

We're going to need one more tool before the trap can close: a fact about even and odd numbers.

Claim: if a2a^2 is even, then aa itself has to be even. Watch it hold across a whole range of numbers before we say why.

Scan every n from 1 to 20. Watch the color of n and the color of n² always agree. Hover any column to inspect it.

1124394165256367498649811010011121121441316914196152251625617289183241936120400nn = 2×3, so n² = 4×9 = 2×18 — even
n iseven
36
n² iseven

Hover across the strip. The color of nn on top always matches the color of n2n^2 below it, every single time. Here's why it has to. If nn is even, write n=2mn = 2m. Then n2=4m2=2(2m2)n^2 = 4m^2 = 2(2m^2), which is 2 times something, so it's even. If nn is odd, write n=2m+1n = 2m+1. Then n2=4m2+4m+1=2(2m2+2m)+1n^2 = 4m^2+4m+1 = 2(2m^2+2m)+1, which is 2 times something plus 1, so it's odd. Even numbers square to even numbers, odd numbers square to odd numbers, and there's no third option. So if you know a2a^2 is even, aa can't be odd. It has to be even.

Now we have both pieces: the lowest-terms assumption, and this parity lemma. Time to put them together.


So what actually happens when we assume 2=a/b\sqrt2 = a/b?

Here's the whole proof, laid out one forced step at a time.

Step through the whole proof. Every box is forced by the one before it.

step 1√2 = a/bstep 22 = a²/b²step 3a² = 2b²step 4a is evenstep 5a = 2kstep 6b² = 2k²step 7b is evenstep 8⊥ gcd(a,b) ≥ 2

Assume √2 equals a fraction a/b, already reduced so gcd(a, b) = 1.

StatusBuilding the chain

Step through it slowly. Every box follows from the one before it, no leaps, no guessing. We assumed 2=a/b\sqrt2 = a/b in lowest terms. That forced a2=2b2a^2 = 2b^2. That forced aa to be even. Writing a=2ka = 2k and substituting back forced bb to be even too. And now both aa and bb are even, which means they share the factor 2, which flatly contradicts gcd(a,b)=1\gcd(a,b) = 1 from step one.

We didn't choose that contradiction. It was forced, the same way N+1 is forced to beat any candidate for "largest number." The only assumption we made anywhere in this chain was that 2\sqrt2 could be written as a fraction in the first place. Since everything after that was airtight, that's the assumption that has to give.

There is no pair of whole numbers aa and bb with 2=a/b\sqrt2 = a/b. 2\sqrt2 is irrational.


Why does this matter beyond one square root?

This isn't just a fact about 2\sqrt2. It's the moment numbers stopped being simple.

Before this proof, "number" basically meant "whole number, or a ratio of whole numbers." That covers a lot of ground: every measurement you could physically construct with a ruler and a compass, everyone assumed, would land on some fraction eventually. 2\sqrt2 is not exotic. It's just the diagonal of a unit square, about as basic a shape as geometry has. And it sits completely outside the world of fractions.

The same proof structure works for 3\sqrt3, 5\sqrt5, and most square roots of whole numbers that aren't perfect squares. Once you see it here, you can rebuild it anywhere a "no fraction can do this" claim shows up: assume it can, force out a property that can't coexist with the setup, and the assumption collapses.


The short version

Assume 2=a/b\sqrt2 = a/b in lowest terms, meaning aa and bb share no common factor. Squaring gives a2=2b2a^2 = 2b^2, so a2a^2 is even, which forces aa to be even. Write a=2ka = 2k and substitute back in, and b2b^2 turns out even too, which forces bb to be even as well. But if aa and bb are both even, they share the factor 2, contradicting the fact that we started with no common factor at all.

The assumption breaks. 2\sqrt2 can't be written as a fraction. It's irrational, and it always was.


All visualizations are interactive React components running entirely in your browser, built with plain SVG. No libraries beyond React.