Proofs · Chapter 9

Square Root of Two Hunt

Close is easy; exactly is impossible. Search every fraction up to a size you choose for the one closest to √2, and see by how much its square misses 2.

Home › Calculators › Proofs › Square Root of Two Hunt

Opens on Chapter 9’s example: the 12-inch floor tile’s diagonal.

Euclid’s numbers (optional)
Fifths and octaves (optional)
Enter your own case, then press Work it out.

How it works

The search tries every denominator up to your limit and keeps the fractions closer to √2 than any with a smaller denominator: each misses by a² − 2b² = ±1, never 0. That is a test of the fractions tried. The chapter’s proof by contradiction is what rules out every fraction of every size.

From the book, Chapter 9. The diagonal squared is 288, so it is about 16.97 inches: 17 to the nearest inch, 16 31/32 in on a tape. 99/70 = 1.414286 and 577/408 = 1.414216, against √2 = 1.414214… 2 × 3 × 5 × 7 × 11 × 13 + 1 = 30,031 = 59 × 509. Twelve fifths come to about 129.75 against seven octaves, 128. The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.