Contraposition proves an equivalent statement
p → q ≡ ¬q → ¬p (“The Conditional and Its Relatives”), so proving one proves the other. Nothing is assumed beyond the new hypothesis ¬q.
To prove p → q by contraposition, prove ¬q → ¬p instead — a different theorem with the same meaning. To prove s by contradiction, assume ¬s and derive an impossibility. They are not the same technique.
Core ideas
Both techniques replace a hard target with an easier one. They differ in what they assume and what they must produce.
p → q ≡ ¬q → ¬p (“The Conditional and Its Relatives”), so proving one proves the other. Nothing is assumed beyond the new hypothesis ¬q.
You assume ¬s and derive something false. The falsehood may be anything: 0 = 1, a number both even and odd, a contradiction of a hypothesis.
A "proof by contradiction" that assumes p ∧ ¬q and derives ¬p is really contraposition with extra steps. Naming it correctly makes it shorter.
The material
Each technique, a worked instance, and the rule for choosing between them.
To prove p → q, prove ¬q → ¬p. Since the two are logically equivalent, a proof of either is a proof of both.
For every integer n, if n² is even then n is even.
We prove the contrapositive: if n is odd then n² is odd.
Let n be an odd integer, so n = 2k + 1 for some integer k. Then n² = 4k² + 4k + 1 = 2(2k² + 2k) + 1, which is odd since 2k² + 2k is an integer.
The contrapositive holds, so the original statement holds.
□
Compare with the direct attempt. Assuming n² is even gives n² = 2m, and there is nowhere useful to go: extracting information about n from a statement about n² requires the unique factorisation of Number Theory and Cryptography. The contrapositive hands you n itself, in a form you can compute with. That asymmetry is the whole reason to choose it.
To prove s, assume ¬s and derive a statement known to be false. Since a false conclusion cannot follow from a true assumption, ¬s must be false, so s holds.
There is no rational number whose square is 2.
Suppose, for contradiction, that √2 is rational. Then √2 = a/b for integers a, b with b ≠ 0, and we may take the fraction in lowest terms, so a and b share no common factor greater than 1.
Squaring: 2 = a²/b², hence a² = 2b². So a² is even, and by the theorem above a is even. Write a = 2c.
Substituting: 4c² = 2b², so b² = 2c². Then b² is even, so b is even. But then a and b are both divisible by 2, contradicting that the fraction was in lowest terms.
The assumption is therefore false, and √2 is irrational.
□
That proof is worth studying for its structure as much as its result. The contradiction is not with a law of arithmetic but with a condition we imposed ourselves — lowest terms — and imposing it was the move that made the proof possible.
For any finite list of primes, there is a prime not on it.
Suppose p₁, …, pₙ are primes and consider N = p₁p₂⋯pₙ + 1. N is greater than 1, so it has a prime factor q.
If q were one of the pᵢ, it would divide both the product p₁⋯pₙ and N, hence their difference, which is 1. No prime divides 1, so q is not on the list.
Every finite list of primes therefore omits one, so no finite list contains them all.
□
This is often presented as a proof by contradiction — "assume finitely many primes" — but as written it is direct and constructive: given any list, it produces a prime not on it. That is a stronger result, and it is worth noticing that the contradiction was never needed.
Interactive
Every assignment, evaluated
Method
Try direct first. Indirect methods are answers to a specific difficulty.
The stall is diagnostic. Unable to use p? Try contraposition. Nothing to grab hold of at all? Try contradiction.
State ¬q → ¬p explicitly before proving anything. Negating the wrong part produces the inverse, which is not equivalent.
"Suppose, for contradiction, that…" — and keep that assumption visibly separate from what you have proved.
"This contradicts the assumption that the fraction was in lowest terms." A reader must not have to search for what went wrong.
Direct is awkward; the contrapositive is two lines.
The direct route would start from "3n + 2 is odd", giving 3n + 2 = 2m + 1 and so 3n = 2m − 1 — and then needs an argument about why 3n odd forces n odd. Not impossible, but longer, and the contrapositive avoided it by handing us n directly.
Prove "if n is an integer and n² + 5 is odd then n is even" — and be able to say, before starting, which technique you will use and why the other would be harder.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.