Proof by contradiction establishes the truth of a statement by showing that assuming that the statement to be false leads to a contradiction.
To prove something by contradiction:
- Assume that the statement is not true.
- Show that the consequences of this assumption leads to an impossible result.
You must be able to prove the following:
- Prove by contradiction that is irrational.
- Prove by contradiction that the number of prime numbers is infinite.
Example 1
Prove by contradiction that is irrational.
Assume that is rational. Then there exist integers and with such that , where the fraction is in lowest terms (i.e., and have no common factor greater than 1).
Squaring both sides gives , so . This implies that is even, and therefore must be even (since the square of an odd number is odd).
Write for some integer . Substituting into yields , i.e., , so . Hence is even, and consequently is even.
Thus both and are even, meaning they have a common factor of . This contradicts the assumption that was in lowest terms.
Therefore our initial assumption is false, and must be irrational.
Example 2
Prove by contradiction that the number of prime numbers is infinite.
Assume that there is a finite number of prime numbers. Then we can list them as , where is some positive integer.
Now consider the number
There are two cases for :
If is prime, then is a prime number not in our original list (since it is larger than any ), contradicting the assumption that we had listed all primes.
If is composite, then it must have a prime divisor . But can't be one of the primes , because N dividing by any of would leave a remainder of 1. Therefore must be a prime not in our original list.
In either case, we have found a prime not among , contradicting the assumption that the list contained all primes.
Hence the assumption is false, and there must be infinitely many prime numbers.