Direct proof is the default. You assume p, work forward through definitions and algebra, and arrive at q. This is the technique every proof chapter teaches first, and it is the technique you should always try first.

But sometimes the direct path has no obvious first step. You assume p and stare — "p gives me this, but what do I do with it?" That is the moment to stop pushing and pivot. The pivot is almost mechanical:

Replace p \Rightarrow q with its contrapositive \lnot q \Rightarrow \lnot p. They are logically equivalent. Any proof of the contrapositive counts as a proof of the original.

The reason this rewrite is so useful is that \lnot q — the negation of the conclusion — is often a much more concrete starting point than p. Direct proofs that stall on "assume p" frequently accelerate the moment you restart with "assume \lnot q."

Why the rewrite is legal

The equivalence p \Rightarrow q \equiv \lnot q \Rightarrow \lnot p is a tautology — true in every row of the truth table for p and q. Check it quickly:

p q p \Rightarrow q \lnot q \lnot p \lnot q \Rightarrow \lnot p
T T T F F T
T F F T F F
F T T F T T
F F T T T T

Columns 3 and 6 match, row by row. So the original and the contrapositive have the same truth value in every scenario — they say the same thing in different words. See Logic and Propositions for the full derivation.

Why the equivalence guarantees your proof counts: if \lnot q \Rightarrow \lnot p is always true, then a proof that it is true in your specific setting automatically shows p \Rightarrow q is true in that setting. The equivalence is the licence — the same licence that backs contradiction and every other proof rewrite.

The reflex — when to pivot

You should consider the contrapositive whenever one or more of these red flags appear in a direct attempt:

A three-line worked example

Claim. If n^2 is even, then n is even.

Direct attempt. Assume n^2 is even. Write n^2 = 2m for some integer m. You want to show n = 2k for some k. Can you do that from n^2 = 2m? Not without extra work — the square root of 2m is not obviously even. The direct path stalls.

Pivot to contrapositive. Prove instead: if n is odd, then n^2 is odd.

Assume n is odd: n = 2k + 1 for some integer k.

Compute: n^2 = (2k + 1)^2 = 4k^2 + 4k + 1 = 2(2k^2 + 2k) + 1. This is odd.

Conclude. By the contrapositive equivalence, the original claim — "if n^2 is even, then n is even" — is proved. \blacksquare

Three lines after the pivot. The direct attempt had no similar three-line version.

An interactive: when to choose which

Drag the dot across four proof scenarios. For each, the readout indicates whether direct or contrapositive is the cleaner first approach.

Drag the slider through four proof scenarios. The canvas shows the statement, its contrapositive, and recommends direct versus contrapositive based on the form of hypothesis and conclusion.

Why contrapositive is not the same as contradiction

Students routinely conflate the two. They are cousins, not twins.

Contrapositive is tidier and should be tried first when the direct approach stalls. Fall back to contradiction only if the contrapositive itself does not land cleanly. See Proof by Contrapositive for the full technique.

The exam reflex

That is the whole move. One rewrite, one equivalence, and a stalled proof becomes a three-line win.

Related: Logic and Propositions · Proof by Contrapositive · Converse vs Contrapositive — Why They Are Not the Same Thing · Proof by Contradiction