Proof and Reasoning

Strong Induction and the Well-Ordering Principle

See when ordinary induction is not enough, how strong induction and well-ordering work, and why all three principles are equivalent.

Key takeaways

  • Strong induction assumes all earlier cases and proves the next one.
  • It suits problems that break an object into smaller pieces of unpredictable size.
  • You may need several base cases when the step reaches back a fixed distance.
  • Well-ordering lets you argue from a smallest counterexample, which leads to a contradiction.
  • Ordinary induction, strong induction and well-ordering imply one another.

Strong induction lets you assume that a statement is true for every case before the one you are proving, instead of only the case just before it. The well-ordering principle says that every nonempty set of natural numbers has a smallest element. The two ideas, along with ordinary induction, are different forms of one fact about the counting numbers.

You want them when the case n depends on some earlier case that is not n − 1. Factoring is the standard example: knowing the factors of 99 tells you nothing about 100. In this article the natural numbers are 0, 1, 2, 3 and so on.

The principle of strong induction

Let P(n) be a statement about integers n ≥ a, where a is the starting value. Suppose that

  1. P(a) is true, and
  2. for every k ≥ a, if P(j) is true for all j from a to k, then P(k + 1) is true.

Then P(n) is true for all n ≥ a.

In ordinary induction, you may lean only on P(k). Here you may lean on the whole record. It costs nothing, because by the time the dominoes reach k + 1, all earlier ones have already fallen.

Example 1: prime factorizations exist

Claim: every integer n ≥ 2 is a prime or a product of primes.

Proof. The number 2 is prime. Let k ≥ 2 and assume every integer from 2 to k is a prime or a product of primes. Consider k + 1. If it is prime, we are done. If not, then k + 1 = ab where 2 ≤ a ≤ k and 2 ≤ b ≤ k. By assumption, a and b are each primes or products of primes. So their product k + 1 is a product of primes. ∎

The factors a and b could be far below k. For k + 1 = 100 they might be 4 and 25. Ordinary induction would give you information about 99 only.

This proves that a factorization exists. That there is only one, apart from order, needs a separate argument, covered in unique factorization.

Example 2: postage stamps

Claim: every amount of 12 cents or more can be made from 4 cent and 5 cent stamps.

The step will be to take a solution for an amount 4 less and add a 4 cent stamp. Since the step reaches back 4, you need four base cases.

12 = 4 + 4 + 4
13 = 4 + 4 + 5
14 = 4 + 5 + 5
15 = 5 + 5 + 5

Proof. The cases 12 through 15 are shown above. Let k ≥ 15 and assume every amount from 12 to k can be made. Then k + 1 − 4 = k − 3 is at least 12 and at most k, so it can be made. Add one 4 cent stamp to get k + 1. ∎

The claim fails at 11: using zero, one or two 5 cent stamps leaves 11, 6 or 1, none a multiple of 4. Leaving out a base case, say 14, would leave the chain 14, 18, 22 and so on unsupported.

Example 3: a bound on the Fibonacci numbers

Define F₁ = 1, F₂ = 1 and Fₙ = Fₙ₋₁ + Fₙ₋₂ for n ≥ 3. Claim: Fₙ < 2ⁿ for all n ≥ 1.

Proof. F₁ = 1 < 2 and F₂ = 1 < 4. Let k ≥ 2 and assume the bound for all n from 1 to k. Then Fₖ₊₁ = Fₖ + Fₖ₋₁ < 2ᵏ + 2ᵏ⁻¹ < 2ᵏ + 2ᵏ = 2ᵏ⁺¹. ∎

Because the recursion uses two earlier terms, two base cases are required, and the step begins at k = 2. The same sequence has many deeper patterns, explored in Fibonacci divisibility.

Example 4: breaking a chocolate bar

A rectangular bar is made of N small squares. Each move takes one piece and breaks it along a line into two pieces. Claim: separating all the squares takes exactly N − 1 breaks, whatever order you choose.

Proof. A single square needs 0 breaks. Let N ≥ 2 and assume the claim for all smaller bars. The first break produces pieces with a and b squares, where a + b = N and both are at least 1. By assumption they need a − 1 and b − 1 further breaks. The total is 1 + (a − 1) + (b − 1) = N − 1. ∎

You cannot predict a and b, so strong induction is the natural tool. There is also a slicker argument: each break raises the number of pieces by exactly one, from 1 to N.

Example 5: a winning strategy

Two players share a pile of n counters and take turns removing 1, 2 or 3. Whoever takes the last counter wins. Claim: if n is a multiple of 4, the second player can force a win, and otherwise the first player can.

Proof. With n = 0 the player to move has already lost, since the opponent took the last counter. Let n ≥ 1 and assume the claim for all smaller piles. If n is not a multiple of 4, the player to move can remove the remainder of n on division by 4, which is 1, 2 or 3. This leaves a smaller multiple of 4, where by assumption the player now to move loses. If n is a multiple of 4, any legal move leaves a pile that is not a multiple of 4, so by assumption the opponent can force a win. ∎

A move may reduce the pile by different amounts, so the proof needs the claim for several smaller sizes. The same style of argument settles many games of this family, including the ideas behind the game of Nim.

The well-ordering principle

Every nonempty set of natural numbers has a least element.

It sounds too obvious to mention, yet it is not true of other number systems. The set of all integers has no least element. The positive rational numbers have none either, since half of any member is smaller. The property is special to the natural numbers and their like.

To use it, suppose a claim fails somewhere. Then the set of failing numbers is nonempty, so there is a smallest failure m. Everything below m satisfies the claim. Use that to show m satisfies it too, or to build a smaller failure.

One property of the natural numbers, several tools
Natural numbers Their order allows these arguments Infinite descent No endless strictly decreasing chain Well-ordering Any nonempty set has a least member Induction Truth passes from k to k + 1 Strong induction All earlier cases support the next Natural numbers Their order allows these arguments Induction Truth passes from k to k + 1 Strong induction All earlier cases support the next Well-ordering Any nonempty set has a least member Infinite descent No endless strictly decreasing chain

Example 6: division with remainder

Claim: for integers a ≥ 0 and d > 0, there are integers q and r with a = dq + r and 0 ≤ r < d.

Proof. Let S be the set of numbers of the form a − dq that are at least 0, where q is a natural number. S is nonempty, because q = 0 gives a. By well-ordering, S has a least element r = a − dq. If r ≥ d, then r − d = a − d(q + 1) is at least 0, so it lies in S and is smaller than r. That is impossible. Hence 0 ≤ r < d. ∎

This innocent result underlies the Euclidean algorithm and modular arithmetic.

Why the three are equivalent

Here is the outline.

From To Idea
Ordinary induction Strong induction Apply induction to Q(n): "P(j) holds for all j from a to n"
Strong induction Well-ordering If a set has no least element, show by strong induction that no number belongs to it
Well-ordering Ordinary induction A least failure cannot be the base, and the step rules out any other

In the last row, suppose the base case and step hold but P fails somewhere. Let m be the smallest failure. It is not a, so m − 1 is at least a and satisfies P. The step then gives P(m), a contradiction.

So the choice among them is about convenience. Any one can be taken as an axiom and the others proved from it, given the basic arithmetic of the natural numbers.

Descent and smallest counterexamples

Fermat used a form of well-ordering he called infinite descent: show that any solution to some equation leads to a smaller solution in positive integers. Since positive integers cannot decrease forever, there is no solution. See the method of descent.

The same idea proves that programs and procedures stop. If each round of a process strictly reduces a natural number, the process must end after finitely many rounds. The Euclidean algorithm terminates for this reason, since its remainders keep falling.

Where well-ordering stops

The usual order on the integers or the real numbers is not a well-order, so these arguments do not transfer directly. A proof that "takes the smallest positive real number with a property" is faulty unless you first show that a smallest one exists. The set of real numbers greater than 0 has no least element.

Other orderings can be well-ordered. Pairs of natural numbers compared first by the first entry, then by the second, form one: (0, 1000) comes before (1, 0), and no strictly decreasing chain goes on forever. This allows induction on two quantities at once, which is useful when a process can raise one number while lowering a more important one.

Set theory extends the idea much further, to the ordinals, where induction continues beyond all the finite numbers.

Choosing and checking

  • Use ordinary induction when case k + 1 follows from case k.
  • Use strong induction when it depends on earlier cases at varying or longer distances.
  • Use well-ordering when "take the smallest bad example" feels natural.
  • Count how far back your step reaches, and supply that many base cases.
  • Verify that every earlier case you invoke lies in the allowed range, at or above the start.

The last check catches the most errors. If your step quietly uses P(k − 3) when k = a, the argument has a hole.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 41 articles in Proof and Reasoning →

Latest news on this topic