Introduction
How can a finite argument establish a statement about every natural number? Mathematical induction is the answer. It is the formal version of the domino effect: if the first domino falls, and each falling domino knocks over the next, then all of them fall. Induction is the main proof technique for statements about sums, divisibility, recurrences, matrix powers and inequalities indexed by .
Mathematical motivation
Checking cases is not proof. The polynomial is prime for , yet . The statement " is never a perfect square" holds for every up to about and then fails. No number of examples can replace an argument that covers all cases at once.
Intuitive explanation
To show you can reach every rung of an infinite ladder, it suffices to show (1) you can reach the first rung, and (2) from any rung you can reach the next. The inductive step is a conditional: if you are on rung , then you can reach rung . You do not need to know that rung is reachable when you prove the step. That comes from chaining the step to the base case.
The usual difficulty is in the inductive step: you must find the statement for inside the statement for . For sums, peel off the last term. For divisibility, rewrite the expression as a multiple of the expression plus something visibly divisible.
Formal definitions
Let be a statement for each integer . If
- is true (base case), and
- for every , (inductive step),
then is true for all integers .
If holds and, for every , the truth of together implies , then holds for all .
Induction is equivalent to the well-ordering principle: every non-empty set of natural numbers has a least element. If failed somewhere, take the least failure . Then (the base case holds), and is true, so the inductive step forces , a contradiction.
Important notation
- : the proposition being proved, written explicitly in a full solution.
- and . The second identity is the engine of every sum proof.
- : " divides ", i.e. for some integer .
Important identities
Structure of a complete proof
- Base case. Verify explicitly; show both sides.
- Assumption. "Assume is true for some integer ", and write out.
- Inductive step. Using the assumption, show . State the target first so the algebra has a destination.
- Conclusion. "Since is true and , by mathematical induction is true for all ."
Proofs of important results
Base: : LHS , RHS .
Step: assume true for . Then
which is the formula with . By induction the result holds for all .
∎is prime. Assume every integer with is a product of primes. If is prime we are done. Otherwise with ; each of is a product of primes by hypothesis, hence so is .
∎Suppose holds and, for each , the truth of implies . Let be the statement " are all true". Then is , which holds; and if holds then holds by assumption, so holds. By ordinary induction is true for all , and in particular so is . So strong induction is not a stronger axiom, only a more convenient way to use the same one (Q38, Q47, Q54).
∎The formal definitions note shows that well-ordering implies induction. Conversely, suppose has no least element. Let : "none of is in ". holds, since otherwise would be the least element of . If holds and , then would be the least element of ; so and holds. By induction no natural number is in : is empty. Hence every non-empty subset of has a least element. The two principles are equivalent.
∎Step-by-step derivations
The divisibility template
To show is divisible by : assume . Express as .
Assume . Then .
Matrix powers
For , conjecture and prove it by multiplying the assumed by : .
Worked examples
Claim: for all . Base: . Step: assume with . Then , and , which holds for . So .
The claim fails at (, , ), so the base case must be .
Common mistakes
"Assume is true for all " is circular. Assume it for one arbitrary .
Starting with the equation and simplifying until you reach a true statement proves nothing unless every step is reversible. Start from one side and transform it into the other.
In the "all horses are the same colour" fallacy, the step from to uses two overlapping groups of horses. They only overlap when , so the step fails (question Q34).
Many mark schemes award a mark specifically for the concluding sentence.
Applications
- Closed forms for sums and recurrences (complexity analysis of algorithms).
- Correctness of recursive algorithms and loop invariants in computer science.
- Formulae for , which are used in Markov chains and linear recurrences.
- th derivatives (see differentiation question Differentiation Q44) and De Moivre's theorem.
- Structural induction over trees, formulas and data types in logic and programming.
Connections to other topics
- Series and sequences supply most of the statements proved here.
- Matrices: proving formulae for powers.
- Recurrence relations and generating functions find the formulae that induction proves.
- Set theory: induction follows from the construction of (the Peano axioms).
Summary
- Base case + (P(k) ⟹ P(k+1)) + conclusion = proof for all .
- For sums, split off the last term; for divisibility, write in terms of .
- Choose the base case where the statement actually starts being true.
- If the step won't go through, try strong induction or strengthen the statement.
University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.
Where induction comes from: the Peano axioms (university)
What are the natural numbers? In 1889 Giuseppe Peano answered with a short list of axioms. There is a set with an element and a successor function (think ) such that:
- is not the successor of anything;
- is injective: implies ;
- (the induction axiom) if a subset contains and contains whenever it contains , then .
So induction is not a theorem about the natural numbers: it is part of what "natural number" means. Axiom 3 says that has nothing in it except what you can reach from by repeatedly adding .
Addition and multiplication are then defined by recursion: , ; and , . Every familiar law must then be proved, by induction.
For all , .
Lemma 1: . By induction on : , and if then .
Lemma 2: . By induction on : for both sides are . If it holds for , then .
Main result, by induction on : by Lemma 1. If , then by Lemma 2.
∎It took three inductions to prove . Associativity, distributivity and the commutativity of multiplication follow in the same way; Edmund Landau's book Foundations of Analysis (1930) builds all of arithmetic, then the rationals, reals and complex numbers, from these axioms.
Without it, could contain "extra" numbers that are never reached from : for example a second copy of the integers, , sitting beyond all the ordinary numbers. Such non-standard models really exist when the induction axiom is weakened to the first-order version (Skolem, 1934), and statements can be true in the standard natural numbers yet unprovable from the weaker axioms: this is one face of Gödel's incompleteness theorem.
Solving linear recurrences (university)
Induction proves formulae like (Q47), but where do they come from? For linear recurrences with constant coefficients there is a complete method.
Let and suppose the characteristic equation has distinct roots and . Then there are constants , (fixed by and ) with
If instead is a repeated root, .
Choose , so that the formula is right for and : this needs and , which has a unique solution since . Now use induction with two base cases. If the formula holds for and , then
since and .
∎For the Fibonacci numbers, has roots and . With , : and , so and
Irrational numbers combine to give integers every time. Since , is simply the nearest integer to , and the ratio , the golden ratio.
Writing the recurrence as turns it into a matrix power (Q39). The characteristic equation is exactly the eigenvalue equation of that matrix, and is what you get by diagonalising it. The same method solves linear differential equations, where plays the role of .
Sums of powers and the Bernoulli numbers (university)
The formulae for , , and (Q60) follow a pattern. In general is a polynomial in of degree with leading term , which is the integral ; the remaining terms are corrections.
For every , is a polynomial in of degree , with leading coefficient .
True for : . Assume it for all powers below . Telescoping as in Q60,
By hypothesis the last sum is a polynomial of degree at most , so , a polynomial of degree with leading coefficient .
∎where the Bernoulli numbers , , , , , , are defined by .
Check with : ✓. And gives , which factorises to the answer of Q60.
In 1843 Ada Lovelace published an algorithm for computing Bernoulli numbers on Charles Babbage's (never built) Analytical Engine, now often called the first computer program. The Bernoulli numbers reappear across mathematics: in the Euler–Maclaurin formula relating sums to integrals, in the values (so , the limit behind Q51), and in Kummer's work on Fermat's Last Theorem.
Why does this work?
It is equivalent to the well-ordering principle: every non-empty set of positive integers has a least element. If the statement failed for some , take the smallest failure . The base case shows , so is a positive integer where it holds, and the inductive step then forces it to hold at : a contradiction.
Beyond the syllabus
Mathematical curiosities
"Proof": one horse is one colour. Given horses, the first share a colour and the last share a colour, and these groups overlap, so all match. The flaw: when , the groups and do not overlap. The inductive step fails from to .
Start with any positive integer. If even, halve it; if odd, take . Does every starting number eventually reach 1? Checked for all numbers below , but unproved. Paul Erdős said: "Mathematics may not be ready for such problems."