In the chapter on progressions we found formulas such as . You can check them for and as many more values as you like, but a formula is meant to hold for every natural number, and nobody can check infinitely many cases. Mathematical induction is the method that closes this gap. It proves a statement for all natural numbers with just two short arguments.
Why checking cases is not enough
Look at the expression .
| 1 | 2 | 3 | 4 | 5 | 10 | 20 | |
|---|---|---|---|---|---|---|---|
| 43 | 47 | 53 | 61 | 71 | 151 | 461 |
Every one of these is a prime number. In fact the value is prime for every from 1 to 39. It would be very tempting to say " is always prime". But for :
which is not prime. Thirty-nine successful checks proved nothing. A pattern suggests what might be true; only a proof shows that it is true.
Statements about n
A statement that depends on a natural number is written . For example, let be the statement
Then says , says , says , and so on. Each is a single statement that is either true or false. Our aim is to show that every one of them is true.
The dominoes
Imagine an endless row of dominoes standing on end. Suppose you know two things:
- The first domino falls.
- Whenever any domino falls, it knocks over the next one.
Then every domino falls. The first one falls by fact 1; it knocks over the second by fact 2; the second knocks over the third; and so on without end. No domino can be left standing.
The principle of mathematical induction
Let be a statement about natural numbers. If
- (Base step) is true, and
- (Inductive step) for every natural number , if is true then is true,
then is true for every natural number .
In the inductive step we do not claim that is true. We assume it, only for the sake of the argument, and show that would follow. This assumption is called the induction hypothesis. It is exactly fact 2 about the dominoes: "if this one falls, the next one falls".
How to set out a proof
Every induction proof has the same four parts:
- Base step: check that is true.
- Induction hypothesis: assume is true for some natural number . Write out what this says.
- Inductive step: using the hypothesis, prove . Write out what says first, so you know where you are heading.
- Conclusion: by the principle of mathematical induction, is true for all natural numbers .
Example 1
Prove that for every natural number .
Let be the statement .
Base step. For , the left side is just the first term, 1, and the right side is . So is true.
Induction hypothesis. Assume is true:
Inductive step. We must prove , which says
(The th odd number is .) The left side is the sum of the first odd numbers plus one more term. By the hypothesis the first terms add up to , so
So is true whenever is true.
Conclusion. By the principle of mathematical induction, the statement is true for every natural number .
Example 2
Prove that for every natural number .
Base step. For : LHS , RHS . True.
Induction hypothesis. Assume .
Inductive step. We must show . Using the hypothesis,
Taking out the common factor is a step you will use again and again.
Conclusion. By induction, the result holds for all natural numbers .
Both steps are needed
Leaving out either step can "prove" something false.
Without the base step. Let be " is odd". Suppose is odd. Then
which is an odd number plus an even number, so odd. The inductive step works. But says is odd, which is false. In fact is always even, because one of two consecutive numbers is even. The dominoes would all fall if the first fell, but the first never falls.
Without the inductive step. For the base step works (43 is prime), and so do the next 38 cases, but there is no argument that each case leads to the next, and the statement fails at .
Practice
- Write out the statements , and for : , and check that each is true.
- Find the value of when . Is it prime?
- In a proof of , write out exactly what says.
- Prove by induction that .
- Prove by induction that .
- Prove by induction that .
- Prove by induction that .
- Let be " is even". Show that if is true then is true. Is true for all ? Explain.
Answers
Show answers
- : . : . : . All true.
- , which is not prime.
- .
- Base: . Step: .
- Base: . Step: .
- Base: . Step: , which is .
- Base: . Step: , which is .
- , an even number plus an even number, so the step works. But says 1 is even, which is false; in fact is always odd. So is false for every : the base step fails.