Interactive lessons

√2 is not a fraction

Somewhere between 1.4 and 1.5 is a number whose square is exactly 2. Try to write it as a fraction, watch a search fail, then see a picture that shows why every search must. About five minutes.

1. A square of area 2

Put four unit squares together. The tilted square inside them is made of four half-squares, so its area is exactly 2. Its side is the diagonal of one unit square. So that diagonal, times itself, is 2. Its length is what we call √2.

The square on a diagonal A two by two grid of unit squares. A square tilted at 45 degrees joins the midpoints of the outer edges; each unit square contributes half of itself to it, so its area is 2.
Each unit square gives half of itself to the tilted square: 4 × ½ = 2.

Is there a fraction, one whole number over another, whose square is exactly 2?

3. Why no search can succeed

Suppose some whole numbers did work: p² = 2q². Then a square of side p has exactly the same area as two squares of side q. Put the two smaller squares inside the big one, in opposite corners.

They overlap in the middle, and they leave two corners uncovered. The areas are equal, so the doubly covered middle must exactly make up for the two uncovered corners. That means a square of side 2q − p has the same area as two squares of side p − q. That's a new, smaller solution in whole numbers.

Two squares inside one A 17 by 17 square with two 12 by 12 squares in opposite corners. They overlap in a 7 by 7 square in the middle and leave two 5 by 5 corners uncovered.
No true solution exists to draw, so this uses the near miss p = 17, q = 12 (289 against 288). Middle: 7 × 7. Corners: 5 × 5.

Do it again with the new, smaller squares, and you get a smaller solution still, and again, forever. But whole numbers can't get smaller forever: counting down, you reach 1 in finitely many steps. So the first solution can't have existed. No fraction squares to 2.

p² = 2q² ⟹ (2q − p)² = 2(p − q)²

Two small facts hold this up, and it's fair to name them. Because √2 is between 1 and 2, the new numbers are positive and smaller than the old ones. And a list of whole numbers that keeps getting smaller must stop. That second fact is where the proof really rests.

4. Something new

A friend runs the same search for √3, up to a million denominators. No fraction squares to exactly 3. They announce that they've proved √3 is not a fraction.

Has their search proved that √3 is not a fraction?

√3 isn't a fraction, but the search didn't prove it. A search checks the cases it reaches and says nothing about the rest. A proof like the squares argument covers every whole number at once.

The same kind of argument works for √3, √5, and the square root of any whole number that isn't itself a perfect square.