Mathematical induction proves a statement for every integer in a specified range by linking a base case to an inductive step. It is especially useful for recursive definitions, sums, and statements about algorithms.

The induction principle

TheoremPrinciple of mathematical induction

Let P(n)P(n) be a proposition for each integer nn0n\ge n_0. If

  1. P(n0)P(n_0) is true, and
  2. for every kn0k\ge n_0, P(k)P(k) implies P(k+1)P(k+1),

then P(n)P(n) is true for every integer nn0n\ge n_0.

The base case starts the chain. The inductive step shows that truth at one index propagates to the next. Both parts are necessary.

ExampleThe sum of the first integers

Prove that

1+2++n=n(n+1)21+2+\cdots+n=\frac{n(n+1)}{2}

for every integer n1n\ge1.

Proof

For n=1n=1, both sides equal 11.

Assume the identity holds for n=kn=k. Then

1+2++k+(k+1)=k(k+1)2+(k+1)=(k+1)(k+2)2.\begin{aligned} 1+2+\cdots+k+(k+1) &=\frac{k(k+1)}{2}+(k+1)\\ &=\frac{(k+1)(k+2)}{2}. \end{aligned}

This is the required formula with n=k+1n=k+1. Therefore the identity holds for all n1n\ge1.

Strong induction

In strong induction, the inductive hypothesis assumes P(j)P(j) for every jj from n0n_0 through kk, rather than only P(k)P(k). If that collection of assumptions proves P(k+1)P(k+1), the same induction principle applies.

TheoremStrong induction principle

Let P(n)P(n) be a proposition for every integer nn0n\ge n_0. If P(n0)P(n_0) is true and, for every kn0k\ge n_0, the truth of all statements

P(n0),P(n0+1),,P(k)P(n_0),P(n_0+1),\ldots,P(k)

implies P(k+1)P(k+1), then P(n)P(n) is true for every nn0n\ge n_0.

Strong induction is useful when the next case depends on several earlier cases, as in recursive algorithms and factorisation arguments.

ExampleThe sum of the first odd numbers

For every integer n1n\ge1,

1+3+5++(2n1)=n2.1+3+5+\cdots+(2n-1)=n^2.
Proof

The identity holds for n=1n=1. If it holds for n=kn=k, then

1+3++(2k1)+(2k+1)=k2+2k+1=(k+1)2.1+3+\cdots+(2k-1)+(2k+1)=k^2+2k+1=(k+1)^2.

The induction principle completes the proof.

A reusable proof template

When writing an inductive proof, state the starting index explicitly. Then separate the base case from the inductive hypothesis and the inductive step. In the step, first write the target expression for k+1k+1, and only then invoke the hypothesis. This makes it easier to detect an unjustified change of index or a missing term.

ExerciseA sum of reciprocals

Prove that, for every integer n1n\ge1,

i=1n1(2i1)(2i+1)=n2n+1.\sum_{i=1}^{n}\frac{1}{(2i-1)(2i+1)}=\frac{n}{2n+1}.
Solution

The base case is 1/3=1/(21+1)1/3=1/(2\cdot1+1). Assuming the formula for kk, the sum through k+1k+1 is

k2k+1+1(2k+1)(2k+3)=k(2k+3)+1(2k+1)(2k+3)=(k+1)(2k+1)(2k+1)(2k+3)=k+12k+3.\begin{aligned} \frac{k}{2k+1}+\frac{1}{(2k+1)(2k+3)} &=\frac{k(2k+3)+1}{(2k+1)(2k+3)}\\ &=\frac{(k+1)(2k+1)}{(2k+1)(2k+3)}\\ &=\frac{k+1}{2k+3}. \end{aligned}

This is the formula at k+1k+1.

The source chapter contains additional exercises on sums and recurrence relations. They can be migrated in a later batch after their algebra has been checked individually.