1.5 Proof by contradiction — Learn
Prerequisites: proof by deduction from 1.2; the general forms for even and for odd; prime factorisation; cancelling a fraction to its simplest form.
By the end of this section you can: set up a proof by contradiction; derive an impossibility from the assumption; and use the method to prove that is irrational and that there are infinitely many prime numbers.
1. The method
Sometimes the quickest route to a result is to suppose it is false and see what breaks. A proof by contradiction has three steps:
- assume the opposite of the statement you want to prove;
- use that assumption to derive something impossible;
- conclude that the assumption was false, so the original statement is true.
Step 2 usually ends in one of a few familiar impossibilities: a number that is both even and odd; a fraction that is not in its lowest terms although we said it was; a prime that divides a number and leaves a remainder; a "smallest" object with something smaller than it.
2. A warm-up contradiction
Example 1. Prove that there is no greatest even number.
Assume, for contradiction, that there is a greatest even number. Call it .
Because is even,
for some whole number .
Add to . Then
This is a multiple of , so is even. Also
So is an even number greater than . This contradicts the claim that is the greatest even number. The assumption is false, so there is no greatest even number.
3. is irrational
A rational number can be written as a fraction with whole numbers and and . We can cancel common factors until and have no factor in common. Then the fraction is in its lowest terms.
First we need a small fact.
Lemma. If is even, then is even.
Suppose is odd, so
Then
which is odd, not even. This contradicts the fact that is even. So cannot be odd, and therefore is even.
Now the main proof.
Example 2. Prove that is irrational.
Assume, for contradiction, that is rational. Then
where and are whole numbers, , and the fraction is in its lowest terms.
Square both sides:
Multiply both sides by :
The right-hand side has a factor , so is even. By the lemma, is even, so
for some whole number .
Substitute into :
Divide both sides by :
Now has a factor , so is even, and by the lemma is even.
So and are both even. That means the fraction had a common factor , which contradicts the fact that it was in its lowest terms. The assumption is false, so is irrational.
4. Infinitely many primes
Example 3. Prove that there are infinitely many prime numbers.
Assume, for contradiction, that there are only finitely many primes. List them all:
Form the number
Each prime divides the product , so leaves remainder for the product and remainder for . Therefore no divides .
Now is greater than , and every whole number greater than has a prime factor. Let be a prime factor of . The list was supposed to contain every prime, so is one of them. But no prime in the list divides . This is a contradiction.
The assumption is false, so the list of primes cannot be finite. There are infinitely many prime numbers.
Watch out. The contradiction must be a genuine impossibility, not a surprise.
Suppose you want to prove a statement . You assume not- and find that not- leads to a strange result, such as a number being both positive and negative. That is a contradiction, because no number is both. But "I cannot see where the argument goes next" is not a contradiction: it only means the proof is unfinished.
Re-check: write the exact sentence you are assuming, and the exact sentence that it conflicts with. Two sentences that both have to be true, and cannot be, are the whole method.
Progress check
Return to the chapter problem. Claim C says that there is a largest prime number.
- To prove Claim C false by contradiction, what do you assume at the start?
- The proof in Example 3 builds the number . Why does no prime in the list divide ?
- Write one sentence that states the contradiction, and one that states the conclusion.
You should now be able to
- assume the opposite of a statement and derive a contradiction;
- spot the common impossibilities: even and odd, lowest terms with a common factor, a factor and a remainder;
- prove that is irrational;
- prove that there are infinitely many prime numbers;
- state which assumption the contradiction destroys.