Students learning proof techniques often stop at the blackboard with a raised hand: "Hold on. Proof by contradiction also starts by assuming the conclusion is false. So isn't proof by contrapositive just contradiction with a specific contradiction?"
The question is sharp and the observation is half-right. The two techniques do share a starting move: assume the conclusion is false. But they diverge immediately afterwards. Understanding exactly where they diverge — and when that divergence matters — is the difference between using them confidently and mixing them up.
What each technique actually does
Take an implication "if P, then Q" that you want to prove.
Proof by contrapositive:
- Target the statement "if \lnot Q, then \lnot P" (the contrapositive).
- Assume \lnot Q.
- Derive \lnot P by a direct argument.
- Conclude the contrapositive is true — hence the original is too.
Proof by contradiction:
- Target the original "if P, then Q."
- Assume the negation of the whole implication: P \land \lnot Q.
- Derive any contradiction — usually of the form "something and its negation," or "0 = 1," or "a specific impossibility."
- Conclude that the assumption was absurd — hence the original must hold.
Both start by assuming \lnot Q. That is the shared move. What differs is what else you assume, and what you are trying to derive.
The exact line of divergence
Contrapositive derives a specific target (\lnot P). Contradiction derives any absurdity.
In contrapositive, you have a fixed goal: reach \lnot P. Nothing else counts as finishing. If you arrive at some other impossibility — say, 1 = 0 — you did something, but you did not complete a contrapositive proof.
In contradiction, you are free to aim at any impossibility. You keep both assumptions (P and \lnot Q) active and combine them with known truths until something breaks. The contradiction can be P itself becoming impossible, or some external constant like \pi turning out rational, or a number being simultaneously even and odd.
Why the distinction matters in practice: contrapositive demands a clean target. If your argument wanders into "anyway, this is absurd," you are in contradiction territory, not contrapositive. Keep your goal fixed — \lnot P — when doing a contrapositive proof.
A worked example: same theorem, two techniques
Prove: "If n^2 is odd, then n is odd."
Via contrapositive. Target "if n is even, then n^2 is even." Assume n is even, n = 2k. Compute n^2 = 4k^2 = 2(2k^2) — even. Done. You reached \lnot P (i.e. n^2 is even) exactly.
Via contradiction. Assume n^2 is odd and n is even. From "n is even," n = 2k, so n^2 = 4k^2, which is even. But we assumed n^2 is odd. Contradiction: n^2 is both even and odd. Done.
Compare the two proofs. They are almost identical, but the framing is different. In the contrapositive version, you never assumed "n^2 is odd"; you only assumed "n is even" and walked to "n^2 is even." In the contradiction version, you carried around both assumptions and pointed out that they clashed. The contrapositive version is simpler: it has one assumption, one goal, and no "contradiction" bookkeeping.
When contrapositive is a special case of contradiction
Yes, you can view any contrapositive proof as a contradiction proof. If you proved "if \lnot Q then \lnot P" by direct argument, you could re-read it as "assume P and \lnot Q; from \lnot Q derive \lnot P; now you have P \land \lnot P, contradiction." The contradiction is always present in the background — it is the clash between the two assumptions.
So at the level of logical machinery, contrapositive is a contradiction proof whose target contradiction is specifically "P and \lnot P." That is a clean, predictable contradiction — you know in advance what you are aiming to derive.
But not every contradiction is a contrapositive. When the contradiction you derive is not "\lnot P" — when it is, say, "\sqrt{2} is rational" or "there is a largest prime" or "n is divisible by both 2 and 3 but the problem assumed neither" — you are doing a genuine contradiction proof that cannot be rewritten as a contrapositive. The most famous example is the irrationality of \sqrt{2}: the contradiction is a claim about integers (a/b is in lowest terms, yet both a and b are even), which is not a negation of a hypothesis that was originally present.
The diagnostic rule
Given a proof attempt, ask: does the argument end by producing \lnot P, exactly the negation of the original hypothesis?
- Yes → contrapositive. The cleanest framing.
- No — the contradiction is something else → contradiction. Keep it as contradiction.
A second diagnostic: did I carry both P and \lnot Q through the argument?
- No — I only used \lnot Q → contrapositive.
- Yes — I used both, and they clashed at the end → contradiction.
Either diagnostic catches the distinction.
Which one should you prefer?
When both apply, prefer contrapositive. It is cleaner: one assumption, one fixed goal, no rhetoric about absurdity. Students often default to contradiction because it feels dramatic — "suppose for contradiction…" — but contrapositive is usually the same proof with less ceremony.
Reach for contradiction when:
- The contradiction target is not \lnot P. (Irrationality of \sqrt{2}, infinitude of primes, etc.)
- The hypothesis P gives extra information that you need to combine with \lnot Q to derive the contradiction. (If using only \lnot Q does not get you anywhere, you may need P active throughout — that is contradiction.)
- The statement is an existence claim (not of the form "if P then Q") where there is no natural contrapositive.
A good heuristic from Proof by Contradiction: if you find yourself unable to make progress with just \lnot Q, you are in contradiction territory. If \lnot Q alone is enough to derive \lnot P, you are in contrapositive territory, and you should write the proof in the cleaner framing.
The short answer to the question
The two techniques share their opening move — assume \lnot Q. They differ in what else is active (contrapositive uses only \lnot Q; contradiction uses both P and \lnot Q) and in what they aim to derive (contrapositive aims at \lnot P; contradiction aims at any absurdity). Contrapositive is a disciplined special case of contradiction — and when it applies, it is almost always the preferred proof.
Related: Proof by Contrapositive · Proof by Contradiction · Contradiction vs Contrapositive — Why They Are Not Interchangeable · Logic and Propositions