Your maths teacher chalks a square on the school courtyard, exactly 1 meter on each side, and asks you to measure its diagonal. The tape says 141 centimeters and a bit, about 141.4. Your calculator, asked for √2, says 1.41421356… and fills the screen. Your friend Bikash shrugs: “The calculator just ran out of room. Somewhere there is a fraction, maybe with a bottom of a few lakh, that is exactly √2. Nobody has found it yet.”
Is he right? A fraction is one whole number over another, like 7/5 or 577/408. For it to be exactly √2, its square must be exactly 2. You can hunt for one right now.
Guess first. Is there a fraction, with any whole numbers you like on top and bottom, whose square is exactly 2?
Pick an answer to see why.
Hunt for the fraction
Why compare top² with 2 × bottom²? If , square both sides: , so . The question about a never-ending decimal turns into a question about whole numbers: are there two whole numbers, one of whose squares is exactly twice the other’s? Whole numbers are exact, so there is no rounding to hide behind.
Start small. With bottom 1, you need a square equal to 2; but and jump right over it. With bottom 2, you need a square equal to 8, which lies between 4 and 9. Here are the best tops for the first few bottoms, and for 12:
| Bottom q | Best top p | Off by | ||
|---|---|---|---|---|
| 1 | 1 | 1 | 2 | 1 too few |
| 2 | 3 | 9 | 8 | 1 too many |
| 3 | 4 | 16 | 18 | 2 too few |
| 4 | 6 | 36 | 32 | 4 too many |
| 5 | 7 | 49 | 50 | 1 too few |
| 6 | 8 | 64 | 72 | 8 too few |
| 12 | 17 | 289 | 288 | 1 too many |
Never zero. Most bottoms miss by a few, but a handful miss by exactly 1, as close as two different whole numbers can be. Sweep the widget all the way to 1,000 and you find nine of them:
Look at them as a list, not one at a time. Can you see how each comes from the one before? Take 7/5. Its bottom plus its top, 5 + 7 = 12, is the next bottom. The next top is the old top plus twice the old bottom, 7 + 2 × 5 = 17. Check it on 17/12: the next is (17 + 24)/(17 + 12) = 41/29. And the misses take turns, 1 too few, then 1 too many, then 1 too few.
The near misses get closer and closer. 99/70 is 1.4142857…, off by less than one ten-thousandth; 577/408 is 1.4142157…, off by about two millionths. Each one is a better and better fraction for √2, but each misses by that stubborn 1. Will the hunt ever land a 0?
A computer checks every bottom from 1 to 10 million, as our own script for this page did, and finds no fraction whose square is exactly 2. What does that prove?
Pick an answer to see why.
Proof by contradiction
Here is the way to be sure about infinitely many fractions without checking any of them. Suppose there were a fraction that squares to exactly 2. Follow what it would force to be true, step by step, using only facts you are certain of. If the steps lead to something impossible, like a number that is both odd and even, then the supposition was wrong: there is no such fraction.
This is called proof by contradiction. You may have used it already on the island of truth-tellers and liars (Who Is Telling the Truth?): “if Asha told the truth, she would be a liar” rules Asha out. A detective uses it too: “if the butler did it, he was in two places at nine o’clock; nobody can be, so the butler didn’t do it.”
One more tool first. A fraction can always be canceled down until top and bottom have no common factor: 18/12 becomes 3/2 when you divide both by 6. A fraction that can’t be canceled any further is in its lowest terms. If √2 were a fraction, it would be some fraction in lowest terms, so we may start from one.
Proof 1: the last digits
This proof needs nothing but multiplication. Suppose , with p/q in lowest terms. The last digit of a square depends only on the last digit of the number squared:
| A number ending in | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
| its square ends in | 0 | 1 | 4 | 9 | 6 | 5 | 6 | 9 | 4 | 1 |
| twice its square ends in | 0 | 2 | 8 | 8 | 2 | 0 | 2 | 8 | 8 | 2 |
is a square, so its last digit is in the middle row: 0, 1, 4, 5, 6 or 9. is twice a square, so its last digit is in the bottom row: 0, 2 or 8. They are the same number, so they end in the same digit, and the only digit in both rows is 0.
So ends in 0, which the table says happens only when p ends in 0. And ends in 0 only when q ends in 0 or 5. Either way, both p and q are divisible by 5. But then the fraction could be canceled by 5, and we said it was in lowest terms. Contradiction. So no fraction squares to exactly 2.
Proof 2: odd and even
This is the proof the ancient Greeks knew. Aristotle, in his book on reasoning, the Prior Analytics, used it as his example of proof by contradiction: if the diagonal and side of a square could be measured by one unit, he said, odd numbers would have to equal even ones.
Suppose , in lowest terms.
- is 2 times a whole number, so is even. An odd number times itself is odd, so p can’t be odd: p is even. Write it as p = 2k.
- Then , that is , so . Now is even, and by the same reasoning q is even.
- Both p and q are even, so the fraction could be canceled by 2. But it was in lowest terms. Contradiction.
The same wall, odd never equal to even, is why twelve fifths never land exactly on an octave in Why Does a Scale Have Twelve Notes?.
In Proof 2, why may we assume the fraction is in lowest terms?
Pick an answer to see why.
Proof 3: count the 2s
Every whole number bigger than 1 breaks into primes in only one way (the fundamental theorem of arithmetic, in Is There a Biggest Prime Number?): 360 = 2 × 2 × 2 × 3 × 3 × 5, whatever order you find them in.
Now count the 2s. Squaring a number doubles every prime in it: 12 = 2 × 2 × 3 has two 2s, and has four. So a square always has an even number of 2s (perhaps none). In , the left side has an even number of 2s. The right side has the even number in , plus one more: an odd number. One number can’t have both an even and an odd number of 2s in its only breakdown into primes. Contradiction, and this time without even needing lowest terms.
This is the proof that grows. Nothing in it is special to 2:
- : in , count the 3s. Even on the left, odd on the right. Not a fraction.
- ∛2, the cube root of 2: in , the 2s on the left come in threes, and on the right there are a multiple of three plus one. Not a fraction.
- for any whole number n that isn’t a perfect square: some prime in n appears an odd number of times, and counting that prime gives the contradiction.
Which of these is a fraction (a rational number)?
Pick an answer to see why.
A proof you can see
The fourth proof uses no odd or even and no primes, only a picture. It is said to have been found by Stanley Tennenbaum while he was a student, in the early 1950s.
Suppose for some whole numbers, and take the smallest such pair. In pictures: a square of side p has exactly the area of two squares of side q. Put the two small squares inside the big one, in opposite corners. They overlap in a middle square, which is covered twice, and they leave two corner squares bare. If the two small squares really have the same total area as the big one, then the area covered twice must exactly equal the area left bare.
But look at the sides. The middle square has side 2q − p, and each bare corner has side p − q. Both are whole numbers bigger than 0, since lies between and , so p lies between q and 2q; and 2q − p is less than p. “Middle = two corners” says : a smaller pair with the same property. Yet we took the smallest pair. Contradiction. (Or without “smallest”: each pair gives a smaller one, forever, and whole numbers can’t shrink forever. This is called infinite descent.)
From 99/70 the steps go 41/29, 17/12, 7/5, 3/2, 1/1: the near-miss list, backwards, each still missing by exactly 1, until it bottoms out at 1/1. An exact pair would give another exact pair at every step and never reach a bottom. In algebra, for any whole numbers,
The step down keeps the size of the miss, so a miss of 1 stays 1 and a miss of 0 would stay 0 forever.
What the proof really says
√2 is a real length
None of this says √2 doesn’t exist. It is a perfectly real length: the diagonal of your chalk square. Here is a square whose area is exactly 2, and whose side is therefore exactly √2.
The tilted square’s side is the diagonal of a unit square, and its area is 2, so the diagonal is √2. (This is the drawing in Plato’s dialogue Meno, where Socrates, only by asking questions, leads a slave boy who has never been taught geometry to find the square twice the size of a given one.)
What the proof says is that the side and the diagonal have no common measure. However tiny a unit you choose, it can’t fit a whole number of times along both the side and the diagonal, or their ratio would be a fraction. The Greeks called such lengths incommensurable; today we call √2 an irrational number: a number that is not a ratio of whole numbers.
“Its decimals never end” is not the reason
And the calculator? 1.41421356 is a fraction (141,421,356 over 100,000,000), and its square is 1.9999999932…, close but not 2. Every number a calculator stores is a fraction, fine for building and measuring. The proof is about exactly.
Harder puzzles of the same kind
Mixing rational and irrational
Is a fraction? Suppose it were, with r a fraction. Then , and a fraction minus 1 is a fraction. But √2 isn’t. Contradiction: is irrational. The same argument shows:
- a fraction plus an irrational number is always irrational;
- a fraction (other than 0) times an irrational number is always irrational: if , then , a fraction.
But two irrational numbers can combine to give a fraction. , and . One such example, a counterexample, is enough to show that “irrational + irrational is always irrational” is false. A proof by contradiction shows something is true in every case; a counterexample shows a claim fails in at least one.
Which statement is always true?
Pick an answer to see why.
The twist: when the proof should fail
A good test of any proof is to try it where the answer is “yes”, and see where it breaks. Try Proof 2 on , which is the fraction . Suppose in lowest terms. Then is even, so p is even, p = 2k. Then , so : nothing forces q to be even, and there is no contradiction. Good: the proof stops exactly where it should. Counting primes agrees: 4 = 2 × 2 has an even number of 2s.
A story from maths
Where this is used
Questions
a. ★ Which of these can be written as a fraction of two whole numbers?
Pick an answer to see why.
Prove that is not a fraction, using Proof 3 (count a prime).
Hint
Answer
Prove that is irrational.
Hint
Answer
Baudhayana’s value is . Use the near-miss rule to find the next two near misses after it, and check the first.
Answer
Prove that is irrational.
Hint
Answer
Where to go next
- What’s Wrong with This Proof That 1 = 2? A chain of steps that each look right and lead somewhere impossible, and the one step that breaks the rules.
- Can You Square a Circle? Another “it can’t be done”, proved: π turns out to be even stranger than √2.
- Are Some Infinities Bigger Than Others? The fractions and the irrational numbers are both endless, but not equally endless.
- How Did Bhaskara Solve Fermat’s Challenge 500 Years Early? Equations like , whose ladders of answers Indian mathematicians knew how to climb.
- How Do You Find Every Right Triangle with Whole Sides? Why no right triangle with whole sides has two equal short sides: this page’s proof at work.
- Is There a Biggest Prime Number? (Grades 6–8) The one-way breakdown into primes that Proof 3 uses, and another famous proof that covers infinitely many cases.
- Who Is Telling the Truth? (Grades 6–8) Proof by contradiction on an island of truth-tellers and liars.
- Grade 10 Optional Math: Surd Working with √2 and its relatives in calculations, and the short proof that it is irrational.
- Computing, Going Further: How Does a Calculator Find a Square Root? How a calculator gets its fraction for √2, a few correct digits at a time. (Coming soon.)
Where these facts come from
- The Shulba Sutras (four major ones, Baudhayana’s the oldest, possibly compiled around 800–500 BCE), Baudhayana’s rule for the diagonal in translation and its value 577/408, Heath’s three stages and his finding of no evidence of irrationality in the Shulba Sutras: Wikipedia, “Shulba Sutras”, citing Plofker (2007) and Heath (1925), read October 2026.
- 577/408 = 1.414215686, correct to five decimal places; the altar twice the size; Datta’s 1932 suggestion of cutting a second square into strips: MacTutor, “Baudhayana” and “The Indian Sulbasutras”, read October 2026.
- The Babylonian tablet YBC 7289 (about 1800–1600 BCE); the Pythagoreans and the legend of Hippasus; Aristotle’s Prior Analytics I.23; Tennenbaum’s proof in the early 1950s; the proofs by descent, by unique factorization and by the square picture: Wikipedia, “Square root of 2”, read October 2026.
- Aristotle’s example of proof by contradiction (odd numbers equal to evens if the diagonal were commensurate), Prior Analytics, Book I, Part 23: the Internet Classics Archive’s text (tr. A. J. Jenkinson), read October 2026; retold in our own words.
- Hippasus: no ancient writer specifically credits him with the discovery; Pappus’s and Iamblichus’s stories of a member drowned at sea: Wikipedia, “Hippasus”, read October 2026.
- Theodorus and the squares of area 3 up to 17, in Plato’s Theaetetus; area 2 not mentioned: Wikipedia, “Theodorus of Cyrene”, read October 2026.
- The near-miss fractions as the sequence 1/1, 3/2, 7/5, 17/12, 41/29, 99/70 (Pell numbers) and 577/408 among them: Wikipedia, “Pell number”, read October 2026.
- Lambert’s proof that π is irrational, published 1768: Wikipedia, “Proof that π is irrational”, read October 2026.
- Jarden’s 1953 argument about , the Gelfond–Schneider theorem, and that is not known to be irrational: Wikipedia, “Irrational number”, read October 2026. The Gelfond–Schneider theorem, proved independently in 1934: Wikipedia, “Gelfond–Schneider theorem”, read October 2026.
- Socrates and the slave boy doubling the square by its diagonals: Wikipedia, “Meno”, read October 2026.
- The A series: the √2 ratio, Lichtenberg’s letter of 25 October 1786, DIN 476 in 1922, A0 of one square meter, A4 210 × 297 mm, the quoted sentence on rounding, the 71% copier setting: Markus Kuhn, “International standard paper sizes”, read October 2026.
- The seventeen proof assistants, each proving the irrationality of √2: Freek Wiedijk (compiler), “The Seventeen Provers of the World”, read October 2026.
- Every number on this page (the near-miss table and ladder, the search to 10 million, the last-digit table, 1.41421356², the step-down chain and its identity, Baudhayana’s fraction and its error, the A sizes’ ratios, , and the answers to the questions) was computed by a script,
checks/textbooks/math-further-9-12/17/tmp/answers.py.
