Mathematical Proof Techniques — Direct, Contradiction, Contrapositive
Mathematical proof is a rigorous, logical argument establishing the truth of a statement beyond doubt. The three foundational techniques are Direct Proof (assume the hypothesis, deduce the conclusion step by step), Proof by Contradiction (assume the statement is false and derive an absurdity), and Proof by Contrapositive (prove "not Q implies not P" instead of "P implies Q"). They apply throughout all of mathematics — number theory, geometry, analysis, algebra. Formalized by Euclid (~300 BCE) and the ancient Greeks, sharpened by 19th–20th century logicians.
Every conditional statement has the same truth value as its contrapositive , and is false only when is true while is false. These two facts are the engine behind all three techniques:
- Direct: assume , march forward to .
- Contrapositive: assume , march forward to (legal because the contrapositive is equivalent).
- Contradiction: assume (the only way the implication can fail) and show it leads to nonsense, so this combination is impossible.
The choice of method is strategic, not logical — you pick whichever gives you the most useful thing to "grab onto" as a starting assumption.
Formal Statement
A conditional (or implication) joins a hypothesis to a conclusion . From it we form three related statements:
Derivation hint: read "if then "; false only in the row where is true and is false.
Derivation hint: swap and negate both parts; build a truth table and confirm column matches [1] in every row.
Derivation hint: only the hypothesis and conclusion swap with no negation — this is a different claim and may be false even when [1] is true. Here and are propositions (statements that are definitively true or false), denotes logical negation ("not"), and denotes material implication.
For any propositions and :
Derivation hint: equivalence () means identical truth values in all four rows of the joint truth table; verify directly.
We check all four combinations of truth values for and . Write T for true and F for false.
Step 1 — : Then is T. Also , so is T (an implication with false hypothesis is vacuously true). Match.
Step 2 — : Then is F (true hypothesis, false conclusion). Also and , so is F. Match.
Step 3 — : Then is T (vacuously). Also , so the contrapositive is T. Match.
Step 4 — : Then is T (vacuously). Also , so the contrapositive is T. Match. All four rows agree, so the two statements are logically equivalent.
∎Why It Holds / Derivation
Let the goal be to establish .
Direct Proof.
- Step 1: Assume is true.
- Step 2: Apply definitions, axioms, and prior theorems in a chain .
- Step 3: Conclude . Since assuming forced , the implication holds.
Proof by Contrapositive.
- Step 1: Write the contrapositive .
- Step 2: Assume .
- Step 3: Deduce directly.
- Step 4: By the equivalence in [4], proving the contrapositive proves the original.
Proof by Contradiction.
- Step 1: Suppose, for contradiction, that the statement is false: assume (recall this is the unique false case, [1]).
- Step 2: Derive a logical impossibility — a statement of the form , or a contradiction of a known truth.
- Step 3: Since true premises cannot yield a falsehood, the assumption must be impossible; hence .
The validity of all three rests on the law of non-contradiction (nothing is both true and false) and the law of the excluded middle (every proposition is true or false), formalized as:
Derivation hint: these are tautologies — true in every row of their truth tables — and are taken as logical axioms in classical mathematics.
∎Euclid's Elements is the founding monument of the deductive method. From a short list of definitions, five postulates, and five "common notions," he derived 465 propositions across thirteen books — every result proven, none assumed. His proof that there are infinitely many primes (Book IX, Proposition 20) is a masterpiece of proof by contradiction: suppose the primes are finite, multiply them all and add one, and derive a number with no prime factor among them — an absurdity. For over two millennia, Elements was second only to the Bible in number of editions, and "doing mathematics" meant "proving like Euclid."
Building Intuition
Think of a conditional as a promise: "if it rains (), I will carry an umbrella ()." When is the promise broken? Only on a rainy day when you have no umbrella — that single situation ( true, false). On a dry day you keep your promise no matter what, because you never promised anything about dry days. This is why an implication with a false hypothesis is vacuously true.
- Direct proof is walking the promise forward: it rained, so let me show I really did grab the umbrella.
- Contrapositive flips the story without changing its meaning: "if I had no umbrella, then it wasn't raining" — exactly the same promise, read backwards.
- Contradiction is the detective's trick: suppose the promise was broken (rain + no umbrella) and show that this leads to something impossible, so it never could have happened.
A key intuition: contrapositive and contradiction often live next door. Many contradiction proofs are secretly contrapositive proofs with extra packaging — when the contradiction you reach is exactly "," you could have skipped the contradiction framing and proven the contrapositive cleanly.
Worked Examples
Given: is an integer and is even. Show: is even. A direct attack is awkward (we'd need to factor out of ). The contrapositive is easy.
Step 1 — Form the contrapositive. Original: " even even." Contrapositive: " odd odd."
Step 2 — Assume : suppose is odd. Then for some integer .
Step 3 — Compute :
Derivation hint: expand the square, then factor a 2 out of the first two terms to expose the odd form.
Step 4 — Read off : since is an integer, has the form , so is odd.
Step 5 — Conclude. We proved " odd odd," which is the contrapositive, so the original holds.
Given: nothing but the integers and arithmetic. Show: cannot be written as a ratio of integers.
Step 1 — Suppose the opposite. Assume is rational. Then we can write it in lowest terms:
Derivation hint: every rational has a fully reduced form, so we lose nothing by assuming and share no common factor.
Step 2 — Square and clear the denominator:
Derivation hint: square both sides of [7], then multiply through by .
Step 3 — Deduce is even. Equation [8] says is even, so by the previous example is even; write .
Step 4 — Substitute back:
Derivation hint: replace by in [8], expand, then divide both sides by 2.
Step 5 — Deduce is even. Equation [9] says is even, so is even.
Step 6 — The contradiction. Both and are even, so they share the factor 2 — but Step 1 demanded . This is impossible ().
Step 7 — Conclude. The assumption that is rational leads to an absurdity, so:
Common Misconceptions
- Proving the converse instead of the contrapositive. "If is even then is even" is the converse of our example, NOT the contrapositive, and proving it does nothing to establish the original. The contrapositive of is (swap and negate); the converse only swaps. They are different statements.
- Forgetting vacuous truth. "If is a square circle, then weighs 3 kg" is true — there are no square circles, so the promise is never tested. A proof that never uses the hypothesis may be hiding a vacuous case.
- Assuming what you want to prove. In a direct proof you may assume , never . Writing as a line and manipulating it until both sides match is backwards reasoning and is invalid unless every step is reversible (and even then must be rewritten forward).
- A "contradiction" that is just . If your contradiction proof reaches exactly after assuming , you have actually done a contrapositive proof — cleaner to present it that way.
Take : "" and : "."
- Original : "if then ." True.
- Contrapositive : "if then ." True (equivalent, as it must be).
- Converse : "if then ." FALSE — because also gives .
The single value kills the converse while the original and contrapositive stand. This is the cleanest demonstration that the converse is a genuinely separate claim.
Connections
These three techniques are the bedrock on which more advanced methods are built. Mathematical Induction is essentially a packaged direct proof applied infinitely often: prove a base case, then prove "if it holds at , it holds at ." Truth Tables and Logical Connectives supply the formal justification for why contrapositive works and why contradiction targets the unique false row. The structure of Quantifiers and Predicate Logic determines how negation distributes — crucial when forming , since the negation of "for all , " is "there exists with ." Set Theory Basics reframes implications as subset relations ( becomes "the -set is contained in the -set"), and Number Theory Fundamentals is where these techniques first earn their keep, as in the irrationality and infinitude-of-primes proofs.
Real-World Applications
Historical Development
Subtleties & Limits
Constructive versus classical proof. Proof by contradiction, in its strongest form, can establish that something exists without ever exhibiting it — "assume no such object exists, derive absurdity, therefore one exists." Intuitionist and constructivist mathematicians (following L.E.J. Brouwer) reject this when it relies on the law of excluded middle [5] for infinite domains, demanding instead an explicit construction. In their logic, does not automatically yield , so pure contradiction proofs of existence are disallowed. This is not mere philosophy: it has practical bite in computer science, where a constructive proof corresponds to a runnable algorithm (the Curry–Howard correspondence), while a non-constructive contradiction proof may guarantee a solution exists but give no way to compute it. Whether every "natural" theorem with a classical proof also has a constructive one is, in general, false — and exactly which results survive the constructivist restriction remains an active boundary between logic, philosophy, and computation. Gödel's incompleteness results further remind us that some true conditionals possess no proof at all by any of these techniques.
See Also
Mathematical Induction · Truth Tables and Logical Connectives · Quantifiers and Predicate Logic · Number Theory Fundamentals · Proof by Cases and Exhaustion · Set Theory Basics · Formal Logic and Proof Systems