TL;DR
A claim about every whole number cannot be checked one case at a time, because there are infinitely many cases. Induction gets around this with two steps. First, show the claim holds for the starting case. Second, show that if it holds for any case , it also holds for the next case . Together these force the claim to hold for every .
Where you'll see it: in proofs about algorithms, such as showing a loop or recursive function is correct for every input size, in the sums and formulas that count things in combinatorics, and in the proof that a recursive definition behaves as intended.
Intuition
A line of dominoes
Picture infinitely many dominoes standing in a row, numbered . You want to know whether every domino falls. You cannot check each one by hand, so you use two facts. The first domino is pushed. And each domino, if it falls, hits the next one.
Those two facts are enough. The first domino falls, so it hits the second, which falls, so it hits the third, and so on forever. Every domino falls, even though you never looked at more than two at a time.
The picture shows what each part of the proof does. The first push is the base case. The rule that each fall triggers the next is the inductive step. The chain of arrows reaches every domino.
flowchart LR B[base case: P 1 holds] --> S1[if P 1 then P 2] S1 --> P2[P 2 holds] P2 --> S2[if P 2 then P 3] S2 --> P3[P 3 holds] P3 --> D[and so on for every n]
Why the method exists
Many claims in mathematics say "for every ". The number of cases is infinite, so a proof must use a finite argument that works for all of them at once. Induction is the standard finite argument for claims about the whole numbers, and it matches how those numbers are built: start at and add one at a time.
The math
The principle of mathematical induction
Let be a statement that depends on a whole number . Suppose
- Base case: is true.
- Inductive step: for every whole number , if is true, then is true.
Then is true for every whole number .
The statement in step 2 is called the inductive hypothesis. In the step you assume it, and you prove from it. You do not assume for all , which would be circular. You assume it for one and derive the next case.
Why it works
Suppose the two conditions hold, and some whole number fails . Consider the set of all whole numbers that fail . It is non-empty, so it has a smallest element . Since is true, . Let . Then holds, because is smaller than and so is not in the failing set. The inductive step then says holds, which contradicts the choice of . So no failing number exists. This argument relies on the well-ordering principle, that every non-empty set of whole numbers has a smallest element.
Strong induction
A stronger version assumes the claim for all smaller values at once. Let hold, and suppose that for every , if holds for all , then holds. Then holds for every . This is often easier to use when a case depends on several earlier cases, such as the Fibonacci numbers.
Worked examples
Claim: says .
Base case. For , the left side is and the right side is . They match.
Inductive step. Assume : . We want .
- Start from the left side of : .
- Replace the bracket with the hypothesis: .
- Factor out : .
- This is , which is the right side of .
Checks: at , and . At , the formula gives , which is the sum Gauss is said to have found as a schoolboy.
Interpretation: the hypothesis for contributes exactly the right amount to reach the formula for . The base case starts the chain, and the step carries it forward.
Claim: says .
Base case. For , the left side is and .
Inductive step. Assume .
- Add the next odd number, which is , to both sides: .
- Recognize the right side: .
- So holds.
Checks: , and .
Interpretation: each new odd number adds exactly the amount needed to turn into . That is why the sum of the first odd numbers is a perfect square.
Claim: says , for .
Base case. For , .
Inductive step. Assume .
- Multiply both sides by : .
- For , we have , because this is the same as .
- Combine the two: , so .
Checks: , .
Interpretation: the inequality grows faster than the whole numbers because doubling beats adding one. The induction step uses that doubling keeps the gap open.
Tradeoffs and failure modes
Induction is powerful, but it is easy to misuse, and the errors are subtle.
| Situation | What goes wrong | Better choice |
|---|---|---|
| The base case is skipped | The step alone proves nothing, and a false claim can look proved | Always check the first case explicitly |
| The inductive step assumes | The argument is circular | Assume only and derive from it |
| The step only works for some | The chain breaks at a particular point, and later cases are not reached | Check the step's conditions, such as , and handle exceptions as separate base cases |
| The claim depends on several earlier cases | A single hypothesis is not enough | Strong induction, which assumes all smaller cases |
| The statement is not about whole numbers | Induction over the reals or over unrelated objects has no ordering to step through | Use a different argument, such as compactness or transfinite induction |
A classic failure shows the danger. Claim: any group of horses is all one colour. The base case is trivially true. For the step, take horses and remove one to get two groups of ; each group is one colour by hypothesis, and the groups overlap, so all horses share a colour. The step fails at . Removing one horse from two horses leaves two groups of one, and those groups do not overlap, so nothing links them. The argument needs a horse in both groups, which exists only when . The claim is false for , and the proof is wrong because the step was not valid at that case.
History
The idea of proving a general claim by stepping from one case to the next appears in early mathematics. Blaise Pascal's treatise on the arithmetic triangle, written in 1654 and published in 1665, used an argument of this form to establish properties of binomial coefficients. It is one of the earliest explicit uses of the method.
Augustus De Morgan described the method and gave it its name in the 1830s. Giuseppe Peano's axioms for the natural numbers, published in 1889, included induction as an axiom, which made it a formal part of the foundations rather than an informal technique. Since then it has become a standard tool in number theory, combinatorics and computer science.
Check yourself
QuestionWhat are the two steps of a proof by induction, and what does each one establish?Show answer
The base case shows that is true, which starts the chain. The inductive step shows that for any , assuming implies , which carries the truth from each case to the next. Together they force to hold for every whole number .
QuestionUse the formula to find the sum .Show answer
Substitute : . The formula is proved by induction in the first worked example, so the answer is correct for every , not just for this one.
QuestionWhy is it not enough to check the inductive step, and what would go wrong if you skipped the base case?Show answer
The step only says that if a case holds, the next one does. It says nothing about where the chain starts. Without the base case, a claim that is false everywhere, such as "", could appear to be proved, because the step is valid for every in a trivial way. The base case anchors the chain and rules out such false conclusions.
QuestionIn the horses argument, the step fails at . Why does the overlap between two groups matter, and what property of does the step need?Show answer
The step splits horses into two groups of that share at least one horse. The shared horse is what forces the two groups to have the same colour. For , the two groups each contain one horse and share none, so the link is missing. The step needs , so the induction step is valid only from onward, and the base case does not carry the chain to .