Definitions
- A rational number can be expressed as
a/bfor integersaandb ≠ 0. - A fraction is in lowest terms when its numerator and denominator share no integer factor greater than one.
- An integer is even when it equals
2kfor some integerk.
If an integer's square is even, the integer itself is even.
We prove this by showing that an odd integer has an odd square.
- An odd integer has the form
2k + 1for some integerk. - Squaring gives
(2k + 1)² = 4k² + 4k + 1. - Factoring gives
4k² + 4k + 1 = 2(2k² + 2k) + 1. - This expression is odd because it is one more than an even integer.
- Every integer is either even or odd.
- Therefore an integer with an even square cannot be odd.
Suppose for contradiction that √2 is rational [1.1].
Choose positive integers
aandbsuch that√2 = a/bin lowest terms [1.2].- Any common factors can be canceled without changing the value of a fraction.
- Canceling common factors eventually yields lowest terms because the positive denominator decreases.
Squaring the chosen equality gives
a² = 2b².- The equation makes
a²even [1.3]. - The parity lemma [2] makes
aeven. - Therefore
a = 2kfor some integerk.
Substituting
a = 2kinto the equation [4] givesb² = 2k².- Substitution first gives
4k² = 2b². - Dividing both sides by two gives
2k² = b². - The resulting equation makes
b²even. - The parity lemma [2] makes
beven.
Both
aandbare divisible by two.- Their shared factor contradicts the choice of a fraction in lowest terms [3.1].
- Therefore the rationality assumption [3] is false.
Consequently, √2 is irrational.
- The contradiction rules out every integer fraction representing √2 rather than only one attempted fraction.