Quant Memo
Foundational

Proof Techniques: Direct, Contrapositive, Contradiction

The three basic templates for proving a mathematical statement is true — arguing straight through, flipping to an equivalent statement, or assuming the opposite and finding a contradiction.

Most claims a quant needs to justify — "this estimator is unbiased," "this algorithm always terminates" — take the form "if A, then B." There are three standard templates for proving that. A direct proof starts from A and reasons forward step by step until it reaches B. A proof by contrapositive proves the logically equivalent statement "if not B, then not A" instead — useful when it's easier to reason from B's negation than from A itself. A proof by contradiction assumes A is true but B is false, and derives a logical impossibility from that combination, which forces the conclusion that B must hold whenever A does.

All three prove exactly the same thing; the choice is about which direction is easier to argue, not about which is more rigorous.

A worked example: prove that if n2n^2 is even, then nn is even. A direct proof struggles here — knowing n2n^2 is even doesn't obviously hand you a clean expression for nn. The contrapositive is easier: assume nn is odd, so n=2k+1n = 2k+1 for some integer kk; then n2=4k2+4k+1n^2 = 4k^2 + 4k + 1, which is odd. Since "nn odd implies n2n^2 odd" is proven directly, the original contrapositive statement "n2n^2 even implies nn even" is established.

A proof by contradiction of the same fact looks different: assume n2n^2 is even but nn is odd. Since nn is odd, n2n^2 is odd (shown above), contradicting the assumption that n2n^2 is even. The contradiction forces the conclusion that nn cannot be odd, so nn must be even. Notice this is really the contrapositive argument wearing a different logical wrapper — in practice the two often overlap, and picking between them is a matter of which framing makes the "impossible" step easiest to spot.

Direct, contrapositive, and contradiction all prove the same implication "if A then B" — pick whichever direction of reasoning is actually tractable for the specific statement in front of you.

Related concepts

Practice in interviews

Further reading

  • Velleman, How to Prove It, ch. 3
ShareTwitterLinkedIn