The square root of 2 is irrational: it cannot be written as a fraction p/q of whole numbers. The classic proof assumes it can, in lowest terms, and shows that p and q would then both be even — impossible for a fraction in lowest terms. The question matters because √2 is the diagonal of a square with side 1.
This page explains where √2 comes from, proves its irrationality twice (once with algebra, once with a picture), separates the legend of Hippasus from the evidence, and shows how a Babylonian scribe approximated it nearly 4,000 years ago.
√2 is the diagonal of a unit square
Cut a square with side 1 along its diagonal d and you get two right triangles with legs 1 and 1. By the Pythagorean theorem,
d2 = 12 + 12 = 2 ⇒ d = √2 ≈ 1.41421356The same number appears in every 45-45-90 triangle: the hypotenuse is always √2 times a leg. Plato's dialogue Meno contains a famous geometric version. Socrates asks an enslaved boy with no training in geometry how to draw a square with twice the area of a given one; the answer is the square built on the diagonal.
What "irrational" means
A rational number is one that can be written as a ratio p/q of whole numbers with q ≠ 0, such as 7 over 5 or 3 = 3 over 1. Its decimal expansion either stops or repeats forever. An irrational number is a real number that is not rational; its decimals never stop and never fall into a repeating pattern.
The Greeks thought in terms of lengths, not decimals. Two lengths are commensurable if some small unit fits a whole number of times into each. Saying √2 is irrational is the same as saying that the side and the diagonal of a square are incommensurable: no unit, however tiny, measures both exactly. That was a shock to a culture that assumed every pair of lengths had a common measure.
The classic proof: even and odd
We need one small fact first. If p2 is even, then p is even. Reason: if p were odd, say p = 2k + 1, then p2 = 4k2 + 4k + 1 would be odd.
- Assume the opposite. Suppose √2 = p over q for whole numbers p and q, with the fraction in lowest terms (no common factor).
- Square both sides. 2 = p2 over q2, so p2 = 2q2. That makes p2 even, so p is even: write p = 2m.
- Substitute. (2m)2 = 2q2 gives 4m2 = 2q2, so q2 = 2m2. Now q2 is even, so q is even too.
- Reach a contradiction. Both p and q are even, so they share the factor 2 — but we chose a fraction in lowest terms. The assumption must be false.
Key ideaNo fraction squares to exactly 2. So √2 is irrational, and the diagonal of a square can never be measured exactly in units of its side.
This argument is very old. Aristotle, writing in the 4th century BCE, mentions in passing (Prior Analytics I.23) the proof that the diagonal is incommensurable with the side because otherwise odd numbers would equal even ones — clearly this proof. A full version appears as Proposition 117 of Book X in some manuscripts of Euclid's Elements, although historians have long agreed it was added after Euclid.
The same idea with prime factors
Every whole number factors into primes in exactly one way. In p2 every prime appears an even number of times; in 2q2 the prime 2 appears an odd number of times. So p2 = 2q2 is impossible. The same reasoning shows that √n is irrational for every whole number n that is not a perfect square — so √3, √5 and √8 are irrational, while √9 = 3 is not. It also explains why no Pythagorean triple has two equal legs: an isosceles right triangle with whole-number legs q would need a whole-number hypotenuse q√2. See square roots and radicals for working with these numbers, or simplify one instantly with the square root simplifier.
Tennenbaum's proof without words
There is a lovely geometric proof attributed to the American logician Stanley Tennenbaum, who found it as a student in the early 1950s; John Conway later made it famous. It turns "p2 = 2q2" into a picture about squares of carpet.
- Set up. Suppose p2 = 2q2 for whole numbers, and pick the smallest such p. Picture a square room of side p and two square carpets of side q; together the carpets have exactly the room's area.
- Lay the carpets in opposite corners. Since q < p < 2q, they overlap in a central square of side 2q − p and leave two bare corner squares of side p − q.
- Compare areas. Because the carpets' total area equals the room's area, the area covered twice must equal the area not covered at all: (2q − p)2 = 2(p − q)2.
- Contradiction. That is the same equation with the smaller whole numbers 2q − p and p − q, contradicting the choice of the smallest p.
This style of argument — any solution produces a smaller one, so there can be no solution at all — is called infinite descent. It needs no facts about even and odd numbers, only areas. Pierre de Fermat used the same method on right triangles to prove the case n = 4 of Fermat's last theorem. Tom Apostol published another geometric descent proof in 2000, using a compass construction inside an isosceles right triangle with whole-number sides.
Hippasus: legend versus evidence
Popular books often say that a Pythagorean named Hippasus of Metapontum discovered that √2 is irrational, and that his horrified brotherhood drowned him for revealing it. The story is memorable. The evidence for it is thin.
| What is claimed | What the sources say |
|---|---|
| Hippasus discovered irrational numbers | No ancient writer specifically credits him with it. The attribution comes from modern historians reading between the lines. |
| He was drowned for revealing √2 | The drowning stories come from writers who lived some 700–800 years later, such as Iamblichus (c. 245–c. 325 CE). In one account Hippasus dies at sea as divine punishment for publishing the construction of a dodecahedron, not for anything about √2. |
| The secret was irrationality | In another passage Iamblichus says that a Pythagorean who revealed the nature of the incommensurable was merely expelled from the community. A commentary on Euclid Book X attributed to Pappus (preserved in Arabic) says the first person to divulge irrationals perished by drowning — but names no one. |
What historians broadly accept is more modest. Incommensurability was discovered in the 5th century BCE, probably within or close to the Pythagorean school, and by about 400 BCE it was common knowledge among mathematicians: Plato's Theaetetus shows Theodorus proving the irrationality of √3, √5 and further roots up to √17, taking √2 for granted (see the spiral of Theodorus). Some scholars, notably Kurt von Fritz in 1945, argued that the first incommensurable pair was not the square's side and diagonal at all but the side and diagonal of the regular pentagon. Treat the drowning as a legend, and the identity of the discoverer as unknown. For more on what we really know about the Pythagoreans, see Pythagoras.
YBC 7289: a Babylonian approximation
Long before the Greeks worried about incommensurability, Babylonian scribes were computing √2 to remarkable accuracy. The clay tablet known as YBC 7289 (Yale Babylonian Collection, number 7289) dates from the Old Babylonian period, roughly 1800–1600 BCE. Its significance was recognized by Otto Neugebauer and Abraham Sachs in 1945.
The Babylonians wrote numbers in base 60. The number along the diagonal, written today as 1;24,51,10, means
1 + 24 over 60 + 51 over 602 + 10 over 603 ≈ 1.41421296The true value is 1.41421356…, so the scribe's value is too small by only about 0.0000006 — less than one part in two million. The number below it, 42;25,35 ≈ 42.4263889, is exactly 30 × 1; 24, 51, 10: the diagonal of a square of side 30. In other words, the scribe knew that diagonal = side × √2, the Pythagorean relationship for a square, more than a thousand years before Pythagoras. How the value was computed is not recorded; a table of constants with the same entry survives, which suggests it was a standard value. The same approximation still appears much later in Ptolemy's Almagest (2nd century CE). For more Babylonian mathematics, see Plimpton 322 and the history of the Pythagorean theorem.
Decimals and the continued fraction of √2
Because √2 is irrational, its decimal expansion never ends or repeats. To 40 decimal places:
√2 = 1.4142135623 7309504880 1688724209 6980785696…
A much more revealing way to write it is as a continued fraction. Start from √2 = 1 + (√2 − 1) and notice that √2 − 1 = 1 over √2 + 1, since (√2 − 1)(√2 + 1) = 1. Also √2 + 1 = 2 + (√2 − 1). Substituting again and again:
√2 = 1 + 1 over 2 + 1 over 2 + 1 over 2 + ⋯ = [1; 2, 2, 2, …]The pattern of 2s goes on forever. That gives yet another proof of irrationality: every rational number has a continued fraction that stops. Cutting the pattern off at each stage gives the convergents, the best fractions for their size:
| Fraction p/q | Decimal | Error | p2 − 2q2 |
|---|---|---|---|
| 1/1 | 1.000000000 | −0.414 | −1 |
| 3/2 | 1.500000000 | +0.0858 | +1 |
| 7/5 | 1.400000000 | −0.0142 | −1 |
| 17/12 | 1.416666667 | +0.00245 | +1 |
| 41/29 | 1.413793103 | −0.000420 | −1 |
| 99/70 | 1.414285714 | +0.0000722 | +1 |
| 239/169 | 1.414201183 | −0.0000124 | −1 |
| 577/408 | 1.414215686 | +0.00000212 | +1 |
Each new fraction comes from the previous one by the rule p over q → p + 2q over p + q, and each satisfies p2 − 2q2 = ±1 — a near miss for p2 = 2q2, and an instance of Pell's equation. The Greeks knew this sequence as the "side and diagonal numbers"; it is described by Theon of Smyrna around 100 CE. Notice that running the rule backwards, (p, q) → (2q − p, p − q), is exactly the descent step in Tennenbaum's proof: 99/70 → 41/29 → 17/12. The decimals were rounded to nine places and the errors to three significant figures.
The ratio itself turns up in everyday life: ISO paper sizes such as A4 have sides in the ratio 1 : √2, so that folding a sheet in half gives a smaller sheet of exactly the same shape.
Frequently asked questions
Is the square root of 2 a rational number?
No. √2 is irrational: there are no whole numbers p and q with (p/q)2 = 2. Fractions such as 99 over 70 or 577 over 408 come very close, but none is exact.
Who discovered that √2 is irrational?
Nobody knows. It was discovered by Greek mathematicians in the 5th century BCE, probably in or near the Pythagorean school. The popular story that Hippasus discovered it and was drowned for it is a late legend; no ancient source credits him specifically with the discovery.
What is the easiest proof that √2 is irrational?
The even-odd proof: if √2 = p/q in lowest terms, then p2 = 2q2, so p is even; writing p = 2m gives q2 = 2m2, so q is even too. Both being even contradicts "lowest terms".
Is √2 times √2 rational?
Yes: √2 × √2 = 2. Multiplying two irrational numbers can give a rational one. Likewise √2 + (−√2) = 0. Irrationality is a property of a single number, not something that always survives arithmetic.
Which square roots are irrational?
The square root of a whole number is either a whole number (when the number is a perfect square, like 16) or irrational. So √2, √3, √5, √6, √7, √8 are all irrational, while √1, √4, √9 are not.
What is the best fraction for √2?
It depends how large a denominator you allow. 7 over 5 is good to about 1%, 17 over 12 to about 0.2%, 99 over 70 to about 0.005% and 577 over 408 to about 0.00015%. These are the convergents of the continued fraction [1; 2, 2, 2, …].
Sources and further reading
- Wikipedia: Square root of 2 (proofs, history, YBC 7289 and continued fraction).
- Alexander Bogomolny, Cut the Knot: Square root of 2 is irrational (a collection of proofs, including Tennenbaum's).
- Wikipedia: Hippasus (the ancient sources for the legend) and YBC 7289.
- Kurt von Fritz, "The Discovery of Incommensurability by Hippasus of Metapontum", Annals of Mathematics 46 (1945), pp. 242–264.
- Tom M. Apostol, "Irrationality of the Square Root of Two — A Geometric Proof", The American Mathematical Monthly 107 (2000), pp. 841–842.
- Otto Neugebauer and Abraham Sachs, Mathematical Cuneiform Texts, American Oriental Society, 1945.
Keep exploring
- LearnThe Spiral of TheodorusThe spiral of Theodorus chains right triangles with a leg of 1 to build √2, √3, √4 … √17. How to draw it, why it stops at √17, its history and a class activity.
- LearnSquare Roots and Radicals for the Pythagorean TheoremThe square-root toolkit for the Pythagorean theorem: perfect squares 1–30, estimating roots, simplest radical form step by step, exact vs decimal answers.
- LearnThe 45-45-90 TriangleThe 45-45-90 triangle rules: why the sides are in the ratio 1 : 1 : √2, how to find a leg from the hypotenuse, the diagonal of a square, and worked examples.
- HistoryWho Was Pythagoras?Who was Pythagoras of Samos? What we really know about his life, his community at Croton, the music ratios, the ox legend, and whether he proved the theorem.
- HistoryPlimpton 322 and Babylonian Pythagorean TriplesPlimpton 322 is a Babylonian clay tablet from about 1800 BCE listing Pythagorean triples in base 60. Learn to read it, see all 15 rows and weigh the theories.
- HistoryHistory of the Pythagorean TheoremThe history of the Pythagorean theorem from Babylon (1800 BCE) to a 2023 proof: who discovered it, who proved it first, and why it bears Pythagoras' name.