Skip to content

The principle of induction

The principle of induction

Examples are not a proof

Let us check the expression n2+n+41\displaystyle n^2+n+41 for n=1,2,3,…\displaystyle {n}={1, 2, 3, \ldots}: we get 43,47,53,61,71,…\displaystyle 43, 47, 53, 61, 71, \ldots – all prime numbers. So it goes on up to n=39\displaystyle {n}={39}.

  • Is n2+n+41\displaystyle n^2+n+41 prime for every natural n\displaystyle n? No: for n=40\displaystyle {n}={40} we get 1600+40+41=1681=412\displaystyle {1600+40+41}={1681}={41^2}.
  • 39 examples supported the guess, and still it is false.
  • A claim about all the natural numbers – infinitely many cases – cannot be proved by checking cases. It takes another method.
A row of dominoes

An endless row of dominoes stands one after another. To know that they all fall, it is enough to know two things:

  • the first domino falls;
  • every domino that falls knocks over the next one.

Then the first knocks over the second, the second the third, and so every domino falls in the end. If either of the two is missing there is no certainty: maybe none falls, maybe there is a gap in the middle of the row.

The three parts of the proof

A proof by mathematical induction of a claim for every natural n\displaystyle n:

  • The base case – prove that the claim holds for n=1\displaystyle {n}={1}.
  • The inductive step – assume that the claim holds for some natural number k\displaystyle k (the induction hypothesis), and prove that it holds for k+1\displaystyle k+1 too.
  • The conclusion – by the principle of induction, the claim holds for every natural n\displaystyle n.

Every proof is written in these three parts, each named.

A proof: the sum of the odd numbers

13579

The picture shows that 1+3+5+7+9=52\displaystyle {1+3+5+7+9}={5^2}: each L-shaped layer turns a k\displaystyle k by k\displaystyle k square into a k+1\displaystyle k+1 by k+1\displaystyle k+1 square, and holds 2k+1\displaystyle 2k+1 squares. This is exactly the inductive step of the proof below, which proves by induction that

1+3+5+…+(2n−1)=n21+3+5+\ldots+(2n-1)=n^2

for every natural n\displaystyle n. Press “Show the proof”, and go on step by step:

ClaimReason
1For n=1\displaystyle {n}={1}: 1=12\displaystyle {1}={1^2}Base case
21+3+…+(2k−1)=k2\displaystyle {1+3+\ldots+(2k-1)}={k^2}The induction hypothesis, for some natural k\displaystyle k
3To prove: 1+3+…+(2k−1)+(2k+1)=(k+1)2\displaystyle {1+3+\ldots+(2k-1)+(2k+1)}={(k+1)^2}The claim for k+1\displaystyle k+1; the (k+1)\displaystyle (k+1)th term is 2(k+1)−1=2k+1\displaystyle {2(k+1)-1}={2k+1}
41+3+…+(2k−1)+(2k+1)=k2+(2k+1)\displaystyle {1+3+\ldots+(2k-1)+(2k+1)}={k^2+(2k+1)}By the induction hypothesis (2)
5k2+2k+1=(k+1)2\displaystyle {k^2+2k+1}={(k+1)^2}The square of a sum; (3) is proved
61+3+…+(2n−1)=n2\displaystyle {1+3+\ldots+(2n-1)}={n^2} for every natural n\displaystyle nConclusion: (1), (2)–(5) and the principle of induction
A hypothesis against a claim

The induction hypothesis looks like the claim, but it is a different statement:

  • The claim: “for every natural n\displaystyle n, 1+3+…+(2n−1)=n2\displaystyle {1+3+\ldots+(2n-1)}={n^2}” – this is what is proved.
  • The hypothesis: “for a certain k\displaystyle k, 1+3+…+(2k−1)=k2\displaystyle {1+3+\ldots+(2k-1)}={k^2}” – it is only part of the inductive step, which proves a statement of the form “if the claim holds for k\displaystyle k, then it holds for k+1\displaystyle k+1”.
  • Proving “if … then …” does not need to know whether the hypothesis is true: it is assumed as a working tool, not as a fact.
  • Both parts are needed, and neither follows from the other: the base without the step is one example, and the step without the base is a chain with no beginning.
Tiling boards

n = 1n = 2n = 3

Board n\displaystyle n is a square of 2n\displaystyle 2^n by 2n\displaystyle 2^n squares with its lower-left square missing. We prove by induction that every such board can be tiled with L shapes of three squares (board 1).

  • Base case: board 1 is itself an L shape.
  • Inductive step: assume that board k\displaystyle k can be tiled. Split board k+1\displaystyle k+1 into four squares of 2k\displaystyle 2^k by 2k\displaystyle 2^k. The lower-left square has a corner missing – it is board k\displaystyle k. On the other three put one L shape in the middle of the board, so that it covers, in each of them, the corner facing the middle. Now each of them is board k\displaystyle k (turned), and by the hypothesis it can be tiled.
  • Conclusion: by the principle of induction, board n\displaystyle n can be tiled for every natural n\displaystyle n.
Exercise 1

2+4+6+…+2n=n(n+1)\displaystyle {2+4+6+\ldots+2n}={n(n+1)}
Prove by induction that the claim holds for every natural n\displaystyle n.

Base case

Check the claim for n=1\displaystyle {n}={1}.

Inductive step

Write the induction hypothesis – the claim for some natural k\displaystyle k – and what must be proved for k+1\displaystyle k+1.

The working: start from the expression you got after putting in the hypothesis, and reach what must be proved.

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    Conclusion
    Exercise 2

    How many L shapes are in the tiling of board 3 (8 by 8 squares, one missing)? And of board n\displaystyle n? Write the working for board 3.

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 3

      Noa checked n2−n+11\displaystyle n^2-n+11 for n=1,2,…,10\displaystyle {n}={1, 2, \ldots, 10}, and got only prime numbers.
      She claims that the expression is prime for every natural n\displaystyle n. Is she right? Explain.