Class: CSE 16 Subject: computer-science discrete-math Date: 2024-11-06 Teacher: Prof. Musacchio
Contrapositive Proof
Introduction
- Like direct proof, the technique of contrapositive proof is used to prove conditional statements of the form “If , then .”
- Although it is possible to use direct proof exclusively, there are occasions where contrapositive proof is much easier.
Example
- Proposition Suppose . If is even, then is odd.
- Proof. (Contrapositive) Suppose is not odd.
- Thus is even, so for some integer .
- Then .
- Therefore , where is the integer .
- Consequently is odd.
- Therefore is not even.
Example
- Proposition Suppose . If is even, then is odd.
- Proof. (Contrapositive) Suppose is not odd.
- Thus is even, so for some integer .
- So .
- Therefore , where b is the integer .
- Consequently is odd.
- Therefore is not even.