4.7 Proof by induction

This technique can be useful when proving statements involving natural numbers or an ordered list of objects. To help gain an intuition about proof by induction, we use an analogy. Imagine an infinitely long line of dominoes, one for each natural number.

Proof by induction has two important parts.

  1. 1.

    First, we concentrate only on the first domino in the line and topple it without thinking about what happens to any of the others.

  2. 2.

    Second, we ensure that toppling any one domino will cause the next one to topple.

If both these conditions hold then we can conclude that all of the dominoes will topple. Toppling the first domino topples the second, which topples the third, which topples the fourth, and so on.

Now let’s see how this analogy translates to proving mathematical statements by discussing an example.

Example 4.31.

Let nn be a positive integer. We shall prove that n2+nn^{2}+n is even by induction. (Note that this is a weaker result than the one in Exercise 4.12.) First we give each statement we would like to prove a label.

  • P(n)P(n):

    n2+nn^{2}+n is even.

This means, for example,

  • P(1)P(1):

    12+11^{2}+1 is even;

  • P(2)P(2):

    22+22^{2}+2 is even; and

  • P(1001)P(1001):

    (1001)2+1001(1001)^{2}+1001 is even.

In the domino analogy, each of these statements is represented by a domino, and the kkth domino in the line represents the statement

  • P(k)P(k):

    k2+kk^{2}+k is even.

Knocking over the first domino represents proving the statement P(1)P(1), i.e. proving that 12+11^{2}+1 is even. We can do this directly: 12+1=21^{2}+1=2, which is even and so P(1)P(1) is true.

Ensuring that toppling one domino will cause the next one to topple represents proving the conditional statement: for any positive integer kk, P(k)P(k+1)P(k)\Rightarrow P(k+1). We can prove this statement just as we can any conditional statement: by assuming that, for some positive integer kk, P(k)P(k) is true and then deducing that P(k+1)P(k+1) must also be true.

Assume, for some positive integer kk, that P(k)P(k) is true, i.e. k2+kk^{2}+k is even. Then, applying the definition, we can write k2+k=2lk^{2}+k=2l for some integer ll. To prove that P(k+1)P(k+1) is true, i.e. that (k+1)2+(k+1)(k+1)^{2}+(k+1) is even, we consider:

(k+1)2+(k+1)\displaystyle(k+1)^{2}+(k+1) =k2+2k+1+k+1\displaystyle=k^{2}+2k+1+k+1 (expanding)
=(k2+k)+2k+2\displaystyle=(k^{2}+k)+2k+2 (rearranging terms)
=2l+2k+2\displaystyle=2l+2k+2 (replacing k2+kk^{2}+k with 2l2l)
=2(l+k+1)\displaystyle=2(l+k+1) (factorising).

Since kk and ll are integers, so is (l+k+1)(l+k+1) and so (k+1)2+(k+1)(k+1)^{2}+(k+1) is even.

We have shown that P(1)P(1) is true and proved that, for that for any positive integer kk, P(k)P(k+1)P(k)\Rightarrow P(k+1). Thus P(n)P(n) is true for all positive integers nn by induction.

In general, to prove a statement P(n)P(n) for all positive integers nn by induction:

  1. 1.

    Prove that P(1)P(1) is true; this is known as proving the base case.

  2. 2.

    Prove that, for a positive integer kk, if P(k)P(k) is true then P(k+1)P(k+1) is true; this is known as the induction step.

  3. 3.

    Conclude that P(n)P(n) is true for all positive integers nn by induction.

Exercise 4.32.

Prove that, for any positive integer nn, 7n17^{n}-1 is a multiple of 66.

  • Solution.First prove the base case P(1)P(1), i.e. that 7117^{1}-1 is a multiple of 66. This is true since 711=67^{1}-1=6, which is certainly a multiple of 66.

    For the induction step, assume that P(k)P(k) is true, i.e. that 7k17^{k}-1 is a multiple of 66. We use this to prove that P(k+1)P(k+1) is true, i.e. that 7k+117^{k+1}-1 is a multiple of 66. Write 7k1=6m7^{k}-1=6m, for some integer mm. Then 7k=6m+17^{k}=6m+1. Now

    7k+11\displaystyle 7^{k+1}-1 =7×7k1\displaystyle=7\times 7^{k}-1 (since 7×7k=7k+17\times 7^{k}=7^{k+1})
    =7×(6m+1)1\displaystyle=7\times(6m+1)-1 (since 7k=6m+17^{k}=6m+1)
    =42m+6\displaystyle=42m+6 (expanding and gathering terms)
    =6(7m+1)\displaystyle=6(7m+1) (factorising).

    Because 7m+17m+1 is an integer, we have shown that 7k+117^{k+1}-1 is a multiple of 66.

    Hence, for all positive integers nn, 7n17^{n}-1 is a multiple of 66 by induction.

You will meet slightly more sophisticated techniques based on proof by induction in your studies. But understanding the principle through the analogy and examples above will prepare you well.