Strong Induction and Well-Ordering
Strong induction lets you lean on every smaller case when proving the next one, not just the case right before it. That's exactly what you need when a problem breaks into smaller pieces of any size, like a number splitting into two factors.
What the symbols mean
- An integer at least 2
The number being factored.
- A prime factor
One of the primes in the product (they may repeat).
- Number of factors
How many primes appear, counted with repetition.
Explanation
Strong induction is simply induction where, to prove the next case, you're allowed to use all the cases before it, not just the one right before. It's called "strong" because the assumption you get to make is stronger, though it turns out it can't prove anything ordinary induction can't; it just makes many proofs far easier to write. It's the natural tool whenever a problem breaks into smaller pieces of unpredictable size. The formula above, , says something you already believe: any whole number (at least 2) can be written as primes (they may repeat) multiplied together, of them in all. We'll prove it in a few lines.
Strong induction: to prove for all , prove the base case(s), then show that if are all true, so is . Think of the dominoes again, except now each domino is knocked over by the whole row behind it, not just its neighbor. Since every earlier domino has already fallen, that's perfectly fair.
Factoring into primes. If is prime, it's already a product of primes. Otherwise with . By the strong hypothesis both and are products of primes, and so is their product. Notice why ordinary induction wouldn't help here: knowing how to factor says nothing about 's factors. splits as or , and neither has anything to do with 35. You need to reach back to whatever smaller numbers show up.
Postage stamps. Every amount of at least 12¢ can be made from 4¢ and 5¢ stamps. Check the four base cases , , , . For , the amount can be made by hypothesis; add a 4¢ stamp. Why four base cases? The step always reaches back 4 cents, so 16 leans on 12, 17 on 13, 18 on 14 and 19 on 15. If you'd only checked 12, the chain starting at 13 would never get going.
Well-ordering principle: every nonempty set of positive integers has a smallest element. That sounds too obvious to bother saying, but it's equivalent to induction, and it powers "minimal counterexample" proofs: if a statement failed somewhere, consider the smallest failure and show a smaller one exists. That's a contradiction, the method from two lessons ago, so there's no failure at all.
See it
Worked examples
Make 23¢ from 4¢ and 5¢ stamps.
- 1
The leftover after the 5¢ stamps has to be a multiple of 4. Zero, one or two 5¢ stamps leave 23, 18 or 13, which don't work, but three leave .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Using 4¢ and 5¢ stamps, how many 5¢ stamps are needed to make 23¢?
What is the largest amount that can't be made from 4¢ and 5¢ stamps?
In the strong induction proof for 4¢ and 5¢ stamps, how many base cases are needed?
Factor 360 into primes. How many prime factors does it have, counted with repetition?
Strong induction also proves every positive integer is a sum of distinct powers of 2: subtract the largest power of 2 that fits, and what's left is smaller, so it's already covered. Write 100 this way. How many powers of 2 does it use?
The hardest one here. Get it, and you've got this lesson.
A restaurant sells chicken nuggets only in boxes of 6, 9 and 20. What is the largest number of nuggets you can't buy exactly?
Where it's used
Divide-and-conquer algorithms such as merge sort and quicksort are proved correct by strong induction on the size of the input.