4.4 Proving the contrapositive
The statements ‘’ and ‘not not ’ are equivalent. To see why, let’s think about the Euler diagrams representing these two statements.
Recall the Euler diagram for the statement ‘’ from Section 3.2.4.
The arrangement of and in the diagram ensures that a dot placed inside (representing being true) must also be inside (meaning that must also be true). But this relationship can be equally well described by saying that if a dot is outside then it must be outside . If we draw the Euler diagram for this, then the shape for must be inside the shape for , giving the same Euler diagram as above.
So proving the statement ‘not not ’ is equivalent to proving ‘’. We call ’not not ’ the contrapositive of ’’.
This idea may seem counter-intuitive at first but it helps to think about a real-life example. In some legal jurisdictions, there is a road safety law that states: ‘if your vehicle’s wipers are on, then its lights must be on’. The contrapositive of this statement is ‘if your vehicle’s lights are not on, then its wipers are not on’. Think about this and convince yourself that these are indeed equivalent ways of stating the same thing.
As demonstrated by the following exercises, it can sometimes be easier to prove the contrapositive rather than the original statement.
Exercise 4.20.
Let be an integer. By proving the contrapositive, show that if is odd then is odd.
-
Solution.The contrapositive is: if is not odd then is not odd. In other words, if is even then is even.
We can now prove this directly. Suppose is even, and so we can write for some integer . Then
As is an integer, so is and so has the form of an even integer.
Exercise 4.21.
Let be an integer. Prove that if is even then is even.
-
Solution.The contrapositive is: if is odd then is odd.
We now prove this directly. Suppose is odd, and so we can write for some integer . Then
As is an integer, so is and so has the form of an odd integer.
Exercise 4.22.
Suppose that , and are real numbers and that . Prove that if then .
[Take care to understand what this claim is saying before you start writing a proof.]
-
Solution.The contrapositive is: if , then .
We now prove this directly. Suppose and . Multiplying both sides of an inequality by a positive number does not reverse the direction of the inequality, and so .