Contrapositive and Contradiction
Jim Hefferon · GFDL + CC BY-SA 2.5 · Introduction to Proofs
When a direct proof is hard, try an indirect route. Proof by contrapositive proves "if not Q then not P" instead of "if P then Q" (they are logically equivalent). Proof by contradiction assumes the negation and derives something impossible.
Proof by contrapositive
"If P then Q" is logically equivalent to "if not Q then not P." Sometimes the contrapositive direction is easier. Example: if n^2 is even, then n is even. Direct proof is awkward. Contrapositive: if n is odd, then n^2 is odd. That is straightforward algebra.
Proof by contradiction
To prove statement S, assume not-S and derive a contradiction (any statement that is both true and false). Since contradictions cannot exist, not-S must be false, so S is true. The classic example: the square root of 2 is irrational.
When to use which
Use direct proof when the definitions unpack cleanly into algebra. Use contrapositive when the conclusion is easier to negate than to prove directly (especially "if even then even" patterns). Use contradiction when you need to prove something does not exist (irrationals, infinitely many primes).
Neighbors
- 🔑 Logic Ch.5 — natural deduction formalizes these proof strategies
- ✎ Proofs Ch.2 — direct proof, the baseline technique