The Principle of Mathematical Induction

Part 17, Chapter 17: Mathematical Induction and Summation

Learning objectives

  • State the principle of mathematical induction
  • Identify the base case and inductive step in a proof
  • Write a proof by induction for a summation identity
  • Understand strong induction

You want to prove a statement for infinitely many numbers. Direct verification will never finish, you cannot check n=1,2,3,ldotsn = 1, 2, 3, \ldots forever. So mathematicians invented a clever shortcut: prove just two small things, and you get the entire infinite chain for free. That shortcut is induction, and the picture behind it is a row of dominoes.

The two halves

Let P(n)P(n) stand for some statement about a positive integer nn, for example, "1+2+cdots+n=fracn(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}". The principle of mathematical induction says: if you can prove both

  • Base case: P(1)P(1) is true, and
  • Inductive step: for every kgeq1k \geq 1, if P(k)P(k) is true then P(k+1)P(k+1) is true,

then P(n)P(n) holds for every positive integer nn. The base case is the first domino tipping over. The inductive step is the guarantee that each domino is close enough to the next to knock it down. Together: every domino falls.

What you really assume

The trickiest line in any induction proof is the inductive hypothesis. You write "assume P(k)P(k) is true" and a beginner panics: am I just assuming what I want? No. You are assuming the statement holds for a fixed but arbitrary kk, then proving the next case. That is a conditional, the implication "P(k)RightarrowP(k+1)P(k) \Rightarrow P(k+1)", not the conclusion itself.

Where this shows up
  • Computer Science: Recursion and induction are duals: every recursive function with a base case and a smaller recursive call is implicitly using induction to guarantee correctness; merge sort, quicksort, and tree traversals all rely on this.
  • Combinatorics: Counting arguments for binomial coefficients, Catalan numbers, and Stirling numbers are virtually always inductive: prove the identity for small nn, then show the next case follows from the previous.
  • Formal Verification: Coq, Lean, and Isabelle/HOL prove software-correctness theorems by structural induction; every verified cryptographic library (e.g., Project Everest) contains thousands of induction proofs.

(Press Start to release the first domino. Toggle the base case off and the chain never begins. Break the link at k=5k = 5 and the cascade stops there. The algebra below the canvas walks through the same step on the identity 1+2+cdots+n=fracn(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}.)

A worked proof

Prove 1+2+cdots+n=fracn(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2} for all ngeq1n \geq 1. Base: n=1n=1 gives 1=frac1cdot22=11 = \frac{1 \cdot 2}{2} = 1. True. Step: assume the identity for kk, that is 1+2+cdots+k=frack(k+1)21 + 2 + \cdots + k = \frac{k(k+1)}{2}. Add k+1k+1 to both sides:

1+2+cdots+k+(k+1)=frack(k+1)2+(k+1)=frack(k+1)+2(k+1)2=frac(k+1)(k+2)2.1 + 2 + \cdots + k + (k+1) = \frac{k(k+1)}{2} + (k+1) = \frac{k(k+1) + 2(k+1)}{2} = \frac{(k+1)(k+2)}{2}.

That is the identity with n=k+1n = k+1. The implication holds, so the formula is true for every positive integer.

Strong induction

Sometimes proving P(k+1)P(k+1) requires knowing not just P(k)P(k) but several earlier values. Strong induction lets you assume P(1),P(2),ldots,P(k)P(1), P(2), \ldots, P(k) all at once. It is logically equivalent to the ordinary form, but it is the natural fit for divisibility arguments and recursive definitions, for example, proving every integer ngeq2n \geq 2 has a prime factorisation.

Try it

  • Predict first: in an induction proof, if the base case is missing, does the inductive step alone prove anything? Use the stepper, toggle the base case off, press Start, and confirm nothing moves.
  • Predict first: if the inductive step fails at exactly k=5k = 5, how many dominoes will fall before the cascade stops? Break the link at k=5k = 5 and confirm only the first few fall.
  • On paper: verify the base case of sumk=1nk2=fracn(n+1)(2n+1)6\sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6}k=1nk2=fracn(n+1)(2n+1)6 at n=1n = 1.
  • Set up, do not finish, the inductive step for 1+3+5+cdots+(2n1)=n21 + 3 + 5 + \cdots + (2n-1) = n^2. What do you add to both sides?
  • Pause: in the inductive step you assume P(k)P(k) and prove P(k+1)P(k+1). Are you allowed to assume P(k+1)P(k+1) along the way? Why not?

    Try it in code

    A trap to watch for

    The classic mistake: "I checked P(1)P(1), P(2)P(2), P(3)P(3), and P(100)P(100), so it must be true for every nn." No. Sampling cases, even a million of them, is not induction. You need the implication P(k)RightarrowP(k+1)P(k) \Rightarrow P(k+1) that hands you the next domino for free, every time. Without that link, every individual case has to be checked by hand.

    A second trap, almost as common: students write "assume P(k+1)P(k+1)" instead of "assume P(k)P(k)" in the inductive step. That collapses the proof into circular reasoning, you would be assuming the very thing you are trying to derive. Always: hypothesis for kk, conclusion for k+1k+1.

    What you now know

    You can write a proof by induction: state P(n)P(n), verify P(1)P(1), assume P(k)P(k) for a generic kk, derive P(k+1)P(k+1), conclude. You know why the trick works (the domino picture) and you can recognise strong induction when ordinary induction is too narrow. The next section uses induction to derive the standard summation formulas, sumk\sum k, sumk2\sum k^2, sumk3\sum k^3, and shows where each one comes from.

    Quick check

    Mark section complete →

    References

    • Lang, S. (1971). Basic Mathematics. Springer. Chapter 16, §1, the canonical motivation-first treatment of induction.
    • Rudin, W. (1976). Principles of Mathematical Analysis (3rd ed.). McGraw-Hill. §1.5, induction as a consequence of the well-ordering of mathbbN\mathbb{N}.
    • Velleman, D. J. (2006). How to Prove It (2nd ed.). Cambridge University Press. Chapter 6: pedagogical walk-through of induction with extensive worked examples.
    • Garrity, T. (2002). All the Mathematics You Missed. Cambridge University Press. Chapter on discrete mathematics, concise summary plus strong-induction contrast.

    This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.