In one sentence
Let be a statement about a positive integer . If
- Base case: holds;
- Inductive step: whenever holds (with ), follows,
then holds for every . It is like a row of dominoes: the first one falls, each one knocks over the next, so they all fall.
“I checked lots of cases” is not enough. In the figure above, is prime for every from to , but at it equals .
Example: 1 + 3 + 5 + … + (2n − 1) = n²
Step 1 / 4- Base case
: the left side is and the right side is . True, so the first domino can be pushed over.
Predict first
Take the statement . From which on does it hold for every (give the smallest )?
It holds for (), but fails for (, , ). From on: ; and if (with ), then , because for . Choose this statement in the figure above and try putting the first domino at and then at .
Stop 1 · Strong induction (Vol. 5)
When the recurrence involves the previous two terms, assuming alone is not enough: assume both and , and check two base cases as well.
Example: a₁ = 1, a₂ = 3, aₙ₊₂ = 3aₙ₊₁ − 2aₙ. Prove that aₙ = 2ⁿ − 1
Step 1 / 4- Base case: two dominoes
, .
Stop 2 · Choosing the right step size (Vol. 5)
You do not have to go from to . If going from to is more natural, take steps of ; just get starting points ready.
Example: any postage of n ≥ 8 cents can be made with 3-cent and 5-cent stamps
Step 1 / 4- Choose step size 3
If you can make cents, one more -cent stamp makes cents. Each step jumps by .
Stop 3 · Strengthening the statement (Vol. 5)
Sometimes the original statement is “too weak”: the induction hypothesis does not give enough to push on. Proving a stronger statement goes through more easily.
One problem, several solutions
Prove that for every positive integer , .
Plain induction: stuck
Suppose . Then .
The right side is bigger than , so nothing follows. The trouble is that “” does not say how far below we are.
CostThe hypothesis only says “less than 2”; after one more term, you know nothing.
Strengthen to S_n ≤ 2 − 1/n
: , true. Suppose . Then
This uses . Hence .
CostA stronger claim, but also a stronger hypothesis: just enough.
Stop 4 · Proving the mean inequality (Vol. 6)
Cauchy's forward–backward induction: first leap along , then step back one at a time to fill in the in between.
Example: prove that the arithmetic mean of n positive numbers is ≥ their geometric mean
Step 1 / 4- Base case n = 2
is equivalent to .
Practice
With -cent and -cent stamps (as many as you like), what is the largest postage, in cents, that cannot be made?
What is the smallest positive integer such that for every ?
Prove that for every positive integer , .
Given and , prove that for every positive integer .