Proof by
Contrapositive
Master the elegant technique of proving \( P \Rightarrow Q \) by showing \( \neg Q \Rightarrow \neg P \). Learn when and how to flip and negate your way to a valid proof.
What Is a Conditional Statement?
Every mathematical proof begins with understanding the conditional statement \( P \Rightarrow Q \), read as "if \( P \), then \( Q \)." Here \( P \) is the hypothesis and \( Q \) is the conclusion.
The Contrapositive Idea
The contrapositive of \( P \Rightarrow Q \) is the statement \( \neg Q \Rightarrow \neg P \). Instead of proving the original implication directly, you prove: "if \( Q \) is false, then \( P \) must also be false."
Why Are They Equivalent?
We can verify the logical equivalence with a truth table. Notice that the columns for \( P \Rightarrow Q \) and \( \neg Q \Rightarrow \neg P \) are identical in every row.
| \( P \) | \( Q \) | \( P \Rightarrow Q \) | \( \neg Q \Rightarrow \neg P \) |
|---|---|---|---|
| T | T | T | T |
| T | F | F | F |
| F | T | T | T |
| F | F | T | T |
The Contrapositive Principle
When to Use the Contrapositive
Proof by contrapositive is especially useful when the negation of the conclusion gives you something concrete to work with, while the original hypothesis is hard to use directly.
Contrapositive vs Converse vs Inverse
Students often confuse three related forms of a conditional. Only the contrapositive is logically equivalent to the original.
| Form | Statement | Equivalent to Original? |
|---|---|---|
| Original | \( P \Rightarrow Q \) | — |
| Converse | \( Q \Rightarrow P \) | No |
| Inverse | \( \neg P \Rightarrow \neg Q \) | No |
| Contrapositive | \( \neg Q \Rightarrow \neg P \) | Yes ✓ |
Step-by-Step Method
Example 1: Parity of Squares
Identify: \( P \): "\( n^2 \) is even" and \( Q \): "\( n \) is even."
Contrapositive: If \( n \) is odd, then \( n^2 \) is odd.
Example 2: Parity of Products
Identify: \( P \): "\( ab \) is even" and \( Q \): "\( a \) is even or \( b \) is even."
Contrapositive: If \( a \) is odd and \( b \) is odd, then \( ab \) is odd.
Example 3: Real Analysis Flavour
Contrapositive: If \( x \geq 0 \), then \( x^2 + 2x \geq 0 \).
Negation Cheat Sheet
Forming the contrapositive requires correctly negating each part. Here are the most common negation patterns:
| Statement | Negation |
|---|---|
| \( n \) is even | \( n \) is odd |
| \( x > 0 \) | \( x \leq 0 \) |
| \( a \mid b \) | \( a \nmid b \) |
| \( \forall x,\; P(x) \) | \( \exists x,\; \neg P(x) \) |
| \( \exists x,\; P(x) \) | \( \forall x,\; \neg P(x) \) |
| \( P \land Q \) | \( \neg P \lor \neg Q \) |
| \( P \lor Q \) | \( \neg P \land \neg Q \) |
Proof Flow Diagram
Contrapositive vs Contradiction
Both are indirect proof techniques, but they work differently. The contrapositive proves a logically equivalent statement, while contradiction derives an impossibility.
Common Mistakes
Proof Techniques Summary
| Technique | You Assume | You Derive | When to Use |
|---|---|---|---|
| Direct | \( P \) | \( Q \) | Straightforward chain of logic |
| Contrapositive | \( \neg Q \) | \( \neg P \) | Negation is easier to work with |
| Contradiction | \( P \land \neg Q \) | Impossibility | No direct path, need a "trap" |
Question 1 of 5
What is the contrapositive of the statement
"If it rains, then the ground is wet"?
Question 2 of 5
To prove "\( n^2 \) is odd \( \Rightarrow \) \( n \) is odd" by contrapositive, what do you assume?
Question 3 of 5
Which of the following is not logically equivalent to \( P \Rightarrow Q \)?
Question 4 of 5
What is the correct negation of "\( \forall x,\; x^2 \geq 0 \)"?
Question 5 of 5
You want to prove: "If \( 3 \nmid n \), then \( 3 \nmid n^2 \)." By contrapositive, what do you assume and what do you derive?