The structure of proof by contraposition
We can consider this an indirect method. We know the following logical equivalence:
Starting the proof with and trying to conclude is sometimes harder than starting with and concluding . If we want to prove the following statement :
We instead prove the following logically equivalent statement :
As we know that both and are logically equivalent, showing that is true. This means is also true and vice versa. Let’s look at a few examples to explore this method further.
Examples
Let’s assume and are two real numbers. We will prove the following theorem:
Theorem 1
For any real numbers and , if then .
Proof
We have to show that , which is , where, , and . We instead prove that . We start with , which is the hypothesis. We use DeMorgan’s law to achieve the following equivalence:
\neg Q \equiv \left( x<1 \land y<1 \right).
As, x<1, and y<1, we can add both the inequalities to conclude \left(x+y\right)<2. That is exactly . Therefore, is true. We have the following tautology:
Therefore, is true.
Theorem 2
For any real numbers x>0 and y>0, if , then .
Proof
We are given that both and are positive. We have to show that is true, where, , and . Because, is a tautology, we will instead show that is true. We use DeMorgan’s law to achieve the following equivalence:
\neg Q \equiv \left(|\sqrt{m}| < x \land |\sqrt{m}| < y\right).
As we have, \left(|\sqrt{m}| < x\right), we can multiply it by . Therefore, we get \left(m < x|\sqrt{m}|\right). Similarly, we have \left(|\sqrt{m}| < y\right) and we get \left(x|\sqrt{m}| < xy\right), because x>0. We can use the transitive property of inequalities to get $m