The structure of proof by contradiction
We use this method to prove that a given statement is true. As is a proposition, it is either true or false. We start the proof by assuming that is false and use this assumption and other hypotheses to conclude a contradiction. Therefore, can not be false, which means is true. We can also interpret this proof method as follows:
As the contrapositive of an implication is logically equivalent, we conclude the following:
The above implication can only be true if is true.
Another way to look at proof by contradiction is as follows. Assume we want to prove that is true. We know that . Further, due to DeMorgan’s law, we can write the following equivalence:
Therefore, if we can show that leads to a contradiction, we have shown that is true.
To comprehend it further, let’s prove a few example statements using this method.
Examples
We define a rational number in the form , where and are integers and . Further, a rational number is in standard form if and do not have a common factor greater than one.
Lemma 1
For an integer , if is even, then is also even.
Proof
We prove this statement using the method of contraposition. We want to prove the following statement:
Instead, we’ll prove the contrapositive of this statement, which is logically equivalent to the above statement. The contrapositive of the above statement is as follows:
Assuming that is odd, we can write as follows:
Taking the square on both sides, we get the following equation:
We open up the square on the right side and rearrange the terms.
As is an integer, is also an integer. Let . Now, we can write the following equation:
Therefore, is odd.
Theorem 1
is an irrational number.
Proof
We want to prove the following statement:
A number is either rational or irrational. We assume that the given statement is false. This means is true.
In that case, we can write it in the standard form as , where and there is no common factor of and . If we square both sides, we get the following equation:
We can rearrange the terms as follows:
As and are integers, we see that is even.
If is even, then is even by lemma 1. Therefore, we can write for some integer . We get the following equation:
Simplifying the above equation gives us the following equation:
This means is an even number. By lemma 1, if is an even number, then is an even number.
This means and both are even numbers. But that is a contradiction because we assumed that and do not have a common factor greater than one. As leads us to a contradiction, it can not be true. Therefore, is true.
Theorem 2
There are infinitely many prime numbers.
Proof
Assume that there are finitely many prime numbers. Then we can write them in ascending order as , where is the largest prime number. We can construct a number as follows:
Note that cannot be a factor of because it is a factor of , and the smallest prime is two. Now, there are two possibilities. The first possibility is that is a prime that is greater than , which is a contradiction because we assumed that is the biggest prime. The second possibility is that is a composite number, but there is no prime number that divides it, which is a contradiction to the fact that every composite number has a prime factor.
Therefore, there are infinitely many prime numbers.