What is Proof by Contrapositive?
You want to prove: “If P, then Q.”
But sometimes the direct path is hard. So you prove the backwards opposite instead.
The Key Idea
Remember from logical equivalences:
Negate both. Swap positions. They mean the same thing.
Example in plain English:
- Original: “If it’s raining, the ground is wet.”
- Contrapositive: “If the ground is NOT wet, it’s NOT raining.”
Same meaning. Proving one proves the other.
The Method
To prove :
- Rewrite as the contrapositive:
- Assume (the opposite of what you want to prove)
- Show follows
- Done — the original is proven
Can’t go forward? Go backward.
When to Use It
Use contrapositive when:
- Direct proof gets stuck
- The conclusion Q is hard to work with directly
- The negation ¬Q gives you something concrete to start with
Example 1: Even Squares
Claim: If is even, then is even.
Why is direct proof hard?
You’d start with ” is even” and try to show ” is even.”
But doesn’t easily tell you what is. Square roots get messy.
Contrapositive approach:
| Original | Contrapositive |
|---|---|
| is even is even | is odd is odd |
Proof:
- Assume is odd
- So for some integer
Square it:
- That’s — which is odd
We proved odd → odd. So the original even → even is true.
Example 2: Odd Products
Claim: If is odd, then is odd.
Why is direct proof hard?
Starting with “product is odd” doesn’t easily tell you about alone.
Contrapositive approach:
| Original | Contrapositive |
|---|---|
| is odd is odd | is even is even |
Proof:
- Assume is even
- So for some integer
Multiply:
- That’s — which is even
Even times anything is even. Simple.
Example 3: Trapped Variables
Claim: If is odd, then is odd.
Why is direct proof hard?
Starting with gives you .
Now what? Dividing by 3 is messy. The variable is “trapped.”
Contrapositive approach:
| Original | Contrapositive |
|---|---|
| is odd is odd | is even is even |
Proof:
- Assume is even
- So for some integer
Substitute:
- That’s — which is even
Contrapositive “frees” the trapped variable. Start with n, not 3n + 2.