How to write a proof by induction

Proof by induction establishes that a given statement P(n)P(n) is true for all integers nn0n \ge n_0. It applies when a problem involves a sequence of propositions indexed by integers, such as summation formulas, divisibility properties, or recurrence relations.

The setup

Define the proposition P(n)P(n) clearly. Identify the starting integer n0n_0, which is usually 0 or 1.

The steps

  1. Base case: Prove that P(n0)P(n_0) is true by direct substitution.
  2. Inductive hypothesis: Assume that P(k)P(k) is true for an arbitrary integer kn0k \ge n_0.
  3. Inductive step: Show that P(k+1)P(k+1) follows logically from P(k)P(k).

Checking the result

Verify that the inductive step explicitly uses the inductive hypothesis. If it does not, the proof is either incomplete or induction was not required.

Common errors

Failing to state the inductive hypothesis explicitly is the most frequent error. Another common mistake is assuming P(k+1)P(k+1) is true at the beginning of the inductive step instead of deriving it from P(k)P(k).

Worked example

Prove that i=1ni=n(n+1)2\sum_{i=1}^n i = \frac{n(n+1)}{2} for all integers n1n \ge 1.

Let P(n)P(n) be the statement i=1ni=n(n+1)2\sum_{i=1}^n i = \frac{n(n+1)}{2}.

Base case (n=1n=1): The left side is i=11i=1\sum_{i=1}^1 i = 1. The right side is 1(1+1)2=1\frac{1(1+1)}{2} = 1. Both sides are equal, so P(1)P(1) is true.

Inductive hypothesis: Assume P(k)P(k) is true for an arbitrary integer k1k \ge 1, meaning i=1ki=k(k+1)2\sum_{i=1}^k i = \frac{k(k+1)}{2}.

Inductive step: We must show P(k+1)P(k+1) is true. Consider the sum up to k+1k+1: i=1k+1i=i=1ki+(k+1)\sum_{i=1}^{k+1} i = \sum_{i=1}^k i + (k+1). By the inductive hypothesis, substitute the sum up to kk: =k(k+1)2+(k+1)= \frac{k(k+1)}{2} + (k+1). Factor out (k+1)(k+1): =(k+1)(k2+1)= (k+1)(\frac{k}{2} + 1) =(k+1)(k+22)= (k+1)(\frac{k+2}{2}) =(k+1)(k+2)2= \frac{(k+1)(k+2)}{2}. This is exactly P(k+1)P(k+1). Therefore, by the principle of mathematical induction, P(n)P(n) is true for all n1n \ge 1.

FAQ

Run your own problem

References: Discrete Mathematics and Its Applications by Kenneth H. Rosen · Khan Academy Unit: Series and induction

See also