Methods of Proof
A proof is the single thing that separates mathematics from every other field of human knowledge. In science you gather evidence and grow more confident; in mathematics you settle a question forever. Once a theorem is proved, no future experiment, computer, or clever counterexample can ever overturn it, because a proof is a chain of pure logical necessity leading from things we already accept to something new. Learning to prove is learning to know with certainty, and to make someone else know too.
This page teaches the four workhorse techniques you will use for the rest of your mathematical life — direct proof, proof by contrapositive, proof by contradiction, and mathematical induction — along with the deeper question underneath them all: what actually makes an argument valid?
Learning Objectives
- Explain what a proof is and what it means for an argument to be logically valid.
- Write a direct proof of an implication by starting from the hypothesis and reasoning to the conclusion.
- Use the contrapositive to prove statements that resist a direct attack.
- Construct a proof by contradiction, and recognize when it is the natural tool.
- Prove statements about all natural numbers using mathematical induction (and its strong form).
- Diagnose common logical errors: affirming the consequent, circular reasoning, and induction gaps.
Quick Answer
A direct proof of "if then " assumes and reasons forward step by step until it reaches . A proof by contrapositive instead proves the logically equivalent statement "if not then not ." A proof by contradiction assumes the statement is false, then derives an impossibility, forcing the statement to be true. Mathematical induction proves a statement holds for every natural number by establishing a base case and showing each case implies the next, like an infinite line of falling dominoes. An argument is valid when the truth of its premises guarantees the truth of its conclusion — the conclusion cannot possibly be false while the premises are true.
Where It Came From
For most of human history, "proof" meant persuasion: a convincing speech or an authority's word. The revolution came with Euclid of Alexandria (around 300 BCE), whose Elements did something no one had done before — it started from a tiny handful of explicitly stated axioms and postulates and then derived hundreds of geometric theorems from them by pure deduction, each result justified only by earlier results. The need Euclid answered was intellectual: the Greeks had discovered that intuition lies. The Pythagoreans believed all lengths were ratios of whole numbers until someone proved is irrational — a result you cannot see or measure, only prove. Once mathematics contained truths that contradicted intuition, only rigorous deduction could tell truth from plausible-looking falsehood.
Induction as a named, rigorous method is much younger. Informal versions appear in the work of the Islamic mathematician al-Karaji (around 1000 CE) and later Levi ben Gerson, but Blaise Pascal used it cleanly in the 1650s to prove properties of his arithmetic triangle, and Augustus De Morgan gave it the name "mathematical induction" in 1838.
The final chapter is formal proof theory. Through the 19th century, mathematicians like Frege, Peano, and Boole tried to reduce reasoning itself to symbolic rules, hoping to put all of mathematics on an unshakeable logical foundation. This program peaked with Hilbert and then hit a wall: in 1931 Kurt Gödel proved that any consistent formal system rich enough for arithmetic must contain true statements it cannot prove. Proof is powerful, but Gödel showed it has limits — a profound discovery born from taking proof itself as the object of study.
What Makes an Argument Valid
Before techniques, the foundation. A mathematical statement is built from premises (things assumed or already known) leading to a conclusion. The argument is valid if it is impossible for the premises to be true and the conclusion false at the same time. Validity is about form, not content.
The cornerstone rule is modus ponens: from "" and "if then ," conclude "." This is airtight. Contrast it with a seductive error, affirming the consequent: from "if then " and "," you may not conclude "."
Worked example of the difference. Take "If it rained, the street is wet."
- Valid: It rained (). Therefore the street is wet (). ✓
- Invalid: The street is wet (). Therefore it rained (). ✗ — a burst pipe could explain the wet street.
Two logical equivalences power everything below. For any statement :
- Its contrapositive is always equivalent to it.
- Its converse is not equivalent (confusing the two is the affirming-the-consequent error).
Direct Proof: Reasoning Forward
The most natural method. To prove , you assume is true and build a chain of valid steps until you arrive at . Every step must be justified by a definition, an axiom, or a previously proven fact.
Theorem. If is an odd integer, then is odd.
Proof. Assume is odd. By definition, an odd integer can be written as for some integer . Then
Let , which is an integer because is. So , which is by definition odd. Therefore is odd.
Notice the pattern: unpack the hypothesis using a definition, do honest algebra, then repackage the result to match the definition in the conclusion. The key move is naming things generally — we used a variable , not a specific number, so the proof covers every odd integer at once.
Contrapositive: Turning the Statement Around
Sometimes assuming gives you nothing to grip. Because is equivalent to , you can instead assume the conclusion is false and prove the hypothesis is false. This is a fully rigorous direct proof — just of the contrapositive.
Theorem. For an integer , if is even, then is even.
A direct attack is awkward: from " is even" you would need to take a square root and argue about it. The contrapositive is clean.
Contrapositive. If is odd, then is odd.
Proof. We already proved exactly this above. Since the contrapositive is true, the original statement is true.
Rule of thumb: reach for the contrapositive when the negation of the conclusion is more concrete or easier to compute with than the hypothesis itself. Here, " is odd" gives us a formula to work with, while " is even" does not.
Proof by Contradiction: Assuming the Impossible
To prove a statement , assume (that is false) and derive a contradiction — something that cannot possibly hold, like or " is both even and odd." Since a true premise can never lead to a falsehood through valid steps, the assumption must have been wrong, so is true. This is the tool for impossibility and non-existence results.
Theorem. is irrational — it cannot be written as a fraction of two integers.
Proof. Suppose, for contradiction, that is rational. Then where are integers with no common factor (the fraction is fully reduced) and . Squaring both sides:
Then is even, and by our earlier theorem, must be even. Write . Substituting:
So is even, meaning is even too. But now and are both even — they share the factor — contradicting our assumption that the fraction was fully reduced. The assumption that is rational is impossible. Therefore is irrational.
This 2,000-year-old argument is one of the most beautiful in mathematics. Note how contradiction let us prove a negative ("no such fraction exists") that would be hopeless to attack directly — we can't check infinitely many fractions.
Mathematical Induction: The Domino Principle
Induction proves a statement is true for all natural numbers . It has two steps:
- Base case: Prove is true (usually or ).
- Inductive step: Assume is true for an arbitrary (the inductive hypothesis) and prove follows.
If both hold, is true for every . Picture dominoes: the base case tips the first one, the inductive step guarantees each domino knocks over the next, so all of them fall.
Theorem. For every positive integer ,
Proof.
Base case (): the left side is ; the right side is . They match. ✓
Inductive step: Assume the formula holds for , i.e.
We must show it holds for . Add to both sides:
Factor the right side over a common denominator:
This is exactly the formula with , since . The inductive step holds. By induction, the formula is true for all positive integers .
Strong induction is a variant where the inductive step may assume are all true (not just ) to prove . It is logically equivalent to ordinary induction but far more convenient for results like "every integer greater than has a prime factorization," where breaking into factors sends you to smaller cases, not just the previous one.
Real-World Applications
- Program correctness: Software verification uses induction to prove loops and recursive functions are correct for all inputs — critical for aerospace, medical devices, and cryptographic code where a single bug is catastrophic.
- Cryptography: The RSA encryption protecting online banking rests on number-theory theorems (about primes and modular arithmetic) proved by contradiction and direct proof. Security is a mathematical guarantee, not a hope.
- Algorithm analysis: Proving an algorithm terminates and runs in a claimed time bound almost always uses induction on input size — the foundation of computer science.
- Formal verification and AI safety: Proof assistants like Coq and Lean mechanically check proofs step by step, used to certify compilers and even to formalize published theorems, directly descending from Hilbert's formal-proof program.
Common Mistakes
1. Affirming the consequent (assuming the converse). The misconception: Treating "if then " as if it also means "if then ." Why it's wrong: An implication only runs one direction. "If a number is divisible by , it is even" is true, but "if a number is even, it is divisible by " is false ( is a counterexample). The fix: To prove an "if and only if" (), you must prove both directions separately.
2. Proving with a specific example. The misconception: Checking that a claim works for and declaring it proved. Why it's wrong: No finite number of examples establishes an infinite statement. The expression produces a prime for every from to — then fails at . Examples build intuition; they never prove. The fix: Use a general variable or induction to cover all cases at once. (Examples can disprove — one counterexample kills a universal claim.)
3. Forgetting the base case in induction. The misconception: Proving only the inductive step, thinking "" is enough. Why it's wrong: Without a first domino, nothing falls. You can "prove" the false statement "" by a valid inductive step ( gives , add to get ) — but it has no valid base case, which is exactly why it fails. The fix: Always verify the base case explicitly, and check that your inductive step actually uses the hypothesis.
Comparison and Connections
All four methods aim at certainty but differ in strategy and in what they suit best.
| Method | You assume... | You derive... | Best for |
|---|---|---|---|
| Direct proof | The hypothesis | The conclusion | Straightforward implications |
| Contrapositive | When is more concrete than | ||
| Contradiction | The statement is false | An impossibility | Non-existence, irrationality, "no such..." |
| Induction | holds | holds | Statements about all natural numbers |
Contrapositive and contradiction are often confused. The contrapositive proves a specific equivalent implication and ends with . Contradiction assumes the whole statement false and ends with any absurdity. In fact, a contrapositive proof can always be rephrased as a contradiction, but not vice versa. Induction connects deeply to recursion in computer science and to the well-ordering principle in number theory (every nonempty set of positive integers has a least element) — the two are logically equivalent.
Practice Questions
Recall
State the contrapositive and the converse of: "If is divisible by , then is divisible by ." Answer: Contrapositive: "If is not divisible by , then is not divisible by " (true). Converse: "If is divisible by , then is divisible by " (false — is a counterexample).
Understanding
Explain why forgetting the base case makes an induction proof worthless, using the domino image. Guidance: The inductive step only guarantees each domino topples the next; without knocking over the first, the chain never starts and no domino need fall. The step establishes conditional truth (); the base case supplies the unconditional starting truth.
Application
Prove by direct proof: the sum of two even integers is even. Answer: Let the integers be and for integers . Their sum is . Since is an integer, the sum is even.
Analysis
Prove by induction that for all integers . Where does the base case matter? Guidance: Base case : . ✓ Assume . Then since , true for . The base case matters because the claim actually fails for ( is false), so starting at is essential.
FAQ
Is a proof by contradiction less "valid" than a direct proof? No — it is completely rigorous and standard. Some mathematicians (constructivists) prefer direct/constructive proofs because they build the object rather than just show its non-existence is impossible, but for classical mathematics all four methods are equally valid.
How do I know which method to use? Try direct proof first — it's the most natural. If the hypothesis gives you nothing to work with, look at the contrapositive. For "there is no such thing" or irrationality claims, reach for contradiction. If the statement is "for all natural numbers ," think induction.
What's the difference between the converse and the contrapositive? The contrapositive () is always equivalent to the original. The converse () is a genuinely different statement that may be true or false independently. Swapping them is a classic logical trap.
Can I prove something is true just by testing lots of examples? No. Examples can disprove a universal statement (one counterexample suffices) but can never prove one, no matter how many you check. Infinitely many cases require a general argument.
Why is the inductive hypothesis allowed — isn't assuming circular? It isn't circular because you never assume the thing you're proving for all . You assume it for one arbitrary and show that forces . Combined with the base case, this creates a valid chain covering every — you're proving an implication, not the whole result outright.
What did Gödel prove about proofs? That any consistent formal system powerful enough to describe arithmetic contains true statements that cannot be proved within that system. It doesn't mean those statements are unknowable — it means no single fixed set of axioms captures all mathematical truth.
Quick Revision
- Valid argument: premises being true makes it impossible for the conclusion to be false.
- Modus ponens (valid): , and , therefore . Affirming the consequent (invalid): , and , therefore .
- is equivalent to its contrapositive , not to its converse .
- Direct: assume , derive . Contrapositive: assume , derive . Contradiction: assume statement false, derive an absurdity.
- Induction: prove base case and inductive step . Never skip the base case.
- Key results to remember: ; is irrational (by contradiction); one counterexample disproves, no number of examples proves.
Related Topics
Prerequisites
Related Topics
- Logic and truth tables (foundations of valid inference)
- Set theory and quantifiers ("for all" and "there exists")
Next Topics
- Number theory: divisibility and prime factorization (built on these methods)
- Recursion and recurrence relations (the algorithmic cousin of induction)