A rational number is a ratio of two integers. A number that is not rational is irrational.
Prove that is irrational.
Reveal solutionHide solution
#Setup
Suppose the opposite. Then for integers and with , and I may take this fraction in lowest terms, so . Squaring and clearing the denominator,
#A parity lemma
An odd integer squares to an odd integer, since . Contrapositively, an even square forces an even root.
#The contradiction
The equation makes even, so is even. Write . Substituting gives , that is , so is even and is even as well. Now 2 divides both and , which contradicts .
The assumption was the only thing that could fail, so no such and exist and is irrational.
#A wider view
The contradiction is infinite descent in disguise. The step that took to produces a strictly smaller solution of the same equation, and no positive integers descend forever. Nothing used the number 2 beyond its being prime, because a prime dividing a square divides its root, so is irrational for every prime . Splitting any non-square into primes carries this further, and is irrational whenever is not a perfect square.