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 is even, then is even. A direct proof struggles here — knowing is even doesn't obviously hand you a clean expression for . The contrapositive is easier: assume is odd, so for some integer ; then , which is odd. Since " odd implies odd" is proven directly, the original contrapositive statement " even implies even" is established.
A proof by contradiction of the same fact looks different: assume is even but is odd. Since is odd, is odd (shown above), contradicting the assumption that is even. The contradiction forces the conclusion that cannot be odd, so 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.
Practice in interviews
Further reading
- Velleman, How to Prove It, ch. 3