Prove 1² + 2² + … + n² = n(n + 1)(2n + 1)/6 for every n ≥ 1.
Mathematical induction proves a statement for every integer n ≥ n₀ by checking a base case and showing that truth always passes from one case to the next. Strong induction, the well-ordering principle and recursive definitions are its close relatives.
Many statements are claims about every integer from some point on: “1 + 2 + … + n = n(n + 1)/2 for all n ≥ 1”. Checking n = 1, 2, 3 builds confidence but can never cover infinitely many cases. Mathematical induction covers them all with two finite arguments.
In the inductive step we assume P(k) for an arbitrary but fixed k — the inductive hypothesis (IH) — and deduce P(k + 1). We are proving an implication, not assuming the result. With the basis, the implications chain together by repeated modus ponens: P(n₀) gives P(n₀ + 1), which gives P(n₀ + 2), and so on to any n you name.
The young Gauss is said to have found the same formula by writing the sum forwards and backwards and adding, which gives n copies of (n + 1). Induction is the general-purpose tool that still works when no clever trick is available.
| Result provable by induction | Valid for |
|---|---|
| 1 + 2 + … + n = n(n + 1)/2 | n ≥ 1 |
| 1 + 3 + 5 + … + (2n − 1) = n² | n ≥ 1 |
| 1² + 2² + … + n² = n(n + 1)(2n + 1)/6 | n ≥ 1 |
| 1³ + 2³ + … + n³ = [n(n + 1)/2]² | n ≥ 1 |
| 1 + r + r² + … + rⁿ = (rⁿ⁺¹ − 1)/(r − 1) | r ≠ 1, n ≥ 0 |
| 1 + 2 + 4 + … + 2ⁿ = 2ⁿ⁺¹ − 1 | n ≥ 0 |
For an inequality, the inductive step usually needs one extra estimate after the hypothesis is used. Two classic examples:
For divisibility, split the (k + 1) expression into the k expression plus a part that is visibly divisible.
In strong (complete) induction the hypothesis is that P(n₀), P(n₀ + 1), …, P(k) are all true, and from that we prove P(k + 1). It is no more powerful than ordinary induction — each can be derived from the other — but it is far more convenient when P(k + 1) depends on cases further back than P(k).
Every integer n ≥ 2 is a prime or a product of primes. Suppose it holds for 2, 3, …, k. If k + 1 is prime we are done. Otherwise k + 1 = ab with 2 ≤ a, b ≤ k, and by the strong hypothesis both a and b are products of primes, so k + 1 is as well. Ordinary induction would be stuck here: knowing the factorisation of k says nothing about the factors of k + 1.
Postage. Every amount n ≥ 12 rupees can be paid with ₹4 and ₹5 stamps. Base cases: 12 = 4 + 4 + 4, 13 = 4 + 4 + 5, 14 = 4 + 5 + 5, 15 = 5 + 5 + 5. Step: for n ≥ 16, the amount n − 4 ≥ 12 can be paid by the strong hypothesis; add one ₹4 stamp. Four base cases are needed because the step reaches back four places.
Well-ordering principle: every non-empty set of non-negative integers has a least element. It sounds obvious for ℕ, yet it fails for other number systems — ℤ has no least element, and neither does the set of positive rationals.
It powers proof by minimal counterexample. Suppose P(n) fails for some n, and let m be the least such n. Then show that a smaller counterexample exists, or that m cannot fail after all — a contradiction. Example: every integer n ≥ 2 has a prime divisor. Let m be the smallest integer ≥ 2 without one. m is not prime (it would divide itself), so m = ab with 1 < a < m. Being smaller than m, a has a prime divisor p, and then p divides m — contradiction.
Weak induction, strong induction and well-ordering are logically equivalent: each can be proved from either of the others. Well-ordering is also how the division algorithm is proved — given a and d > 0, take the least non-negative value of a − dq; it is the remainder r, with 0 ≤ r < d.
A recursive (inductive) definition specifies a basis and a rule that builds new values or objects from earlier ones. Induction is the natural way to prove anything about objects defined like this.
| Object | Basis | Recursive rule |
|---|---|---|
| Factorial | 0! = 1 | n! = n·(n − 1)! for n ≥ 1 |
| Fibonacci numbers | F₀ = 0, F₁ = 1 | Fₙ = Fₙ₋₁ + Fₙ₋₂ for n ≥ 2 |
| Powers | a⁰ = 1 | aⁿ = a·aⁿ⁻¹ for n ≥ 1 |
| Partial sums | S₀ = 0 | Sₙ = Sₙ₋₁ + aₙ |
| Strings over an alphabet Σ | the empty string λ | if w is a string and x ∈ Σ, then wx is a string |
| Well-formed formulas | T, F and every variable | if A and B are formulas, so are ¬A, (A ∧ B), (A ∨ B), (A → B) |
| Full binary trees | a single vertex | a new root joined to two full binary trees |
The Fibonacci numbers run 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, … A typical inductive fact: F₁ + F₂ + … + Fₙ = Fₙ₊₂ − 1. Basis n = 1: F₁ = 1 = F₃ − 1 = 2 − 1. Step: (F₁ + … + Fₖ) + Fₖ₊₁ = (Fₖ₊₂ − 1) + Fₖ₊₁ = Fₖ₊₃ − 1, by the recursive rule.
Structural induction proves a property of every member of a recursively defined set: show it for the basis objects, then show each construction rule preserves it. For instance, every well-formed formula has equally many left and right brackets — true for variables, and each rule adds exactly one of each (or none, for ¬).
A step without a base proves nothing. Claim: “n² + n is odd for all n ≥ 1.” Step: if k² + k is odd, then (k + 1)² + (k + 1) = (k² + k) + 2(k + 1) is odd + even = odd. The step is perfectly valid — but the basis fails (1² + 1 = 2 is even), and in fact n² + n = n(n + 1) is always even.
The step must work for every k ≥ n₀. The famous “all horses are the same colour” argument assumes any k horses share a colour, removes one horse from a group of k + 1, then another, and uses the overlap of the two groups. When k = 1 the two one-horse groups do not overlap at all, so the step from 1 to 2 fails — and the whole chain collapses.
Many cases are not a proof. Euler's polynomial n² + n + 41 gives primes for n = 0, 1, …, 39, yet 40² + 40 + 41 = 1681 = 41². Fermat conjectured that every 2^(2ⁿ) + 1 is prime; it holds for n = 0 to 4, but Euler showed in 1732 that 2³² + 1 = 641 × 6 700 417.
Try the problem first, then reveal the working one step at a time.
Prove 1² + 2² + … + n² = n(n + 1)(2n + 1)/6 for every n ≥ 1.
Prove that 3 divides n³ + 2n for every n ≥ 1.
Using F₀ = 0, F₁ = 1, Fₙ = Fₙ₋₁ + Fₙ₋₂, prove Fₙ < 2ⁿ for every n ≥ 0.
Prove by induction that 1 + 3 + 5 + … + (2n − 1) = n² for every n ≥ 1.
Prove that 4ⁿ − 1 is divisible by 3 for every n ≥ 1.
Prove 1·2 + 2·3 + … + n(n + 1) = n(n + 1)(n + 2)/3 for every n ≥ 1.
Use strong induction to show that every amount of ₹8 or more can be paid with ₹3 and ₹5 coins.
What is wrong with this “proof” that n = n + 1 for every n ≥ 1? “Assume k = k + 1. Adding 1 to both sides gives k + 1 = k + 2, which is the statement for k + 1. Hence it holds for all n.”
10 questions. 70 % passes the topic quiz (+30 XP, +20 more for 100 %). Exam scoring: +1 correct, −⅓ wrong.
Modelled on real KPSC questions (reworded) with the same concept and answer; each links to its original paper.