Section 6.6 Proving the contrapositive
Recall.
Example 6.6.2.
In Worked Example 6.3.2, we proved that the square of an even number is also even. Therefore, this also constitutes a proof of the contrapositive statement: if the square of a number is odd, then that number is also odd.
Worked Example 6.6.3.
Prove that every prime number larger than is odd.
Solution.
We want to prove the following universally quantified conditional (โfor all โ omitted, domain is positive integers).
- conditional
- if (
is prime and ) then is odd. - contrapositive
- if
is not odd, then not ( is prime and ) - DeMorgan substitution
- if
is not odd, then ( is not prime or )
These are all equivalent.
Letโs prove the last statement: as in the procedure for proving conditionals with a disjunction, start by assuming that is not odd and We must then show that is not prime. Since is not odd, it is divisible by But since is divisible by a number other than and itself. Therefore, is not prime.
Check your understanding.
Attempt Exercise 6.12.8.