maths.free › Discrete Math & Logic › Strong induction and the well-ordering principle
Strong induction and the well-ordering principle
Assuming every earlier case, recursive definitions, and the least-element principle behind all induction.
Ordinary induction proves \( P(n+1) \) from \( P(n) \) alone. Strong induction allows the inductive step to use every earlier case: to prove \( P(n) \) for all \( n \ge n_0 \), prove the base cases, then prove that if \( P(n_0), P(n_0 + 1), \dots, P(k) \) all hold then \( P(k+1) \) holds. It is not a stronger principle (the two are equivalent), but it is the natural tool whenever the step from \( k+1 \) reaches back more than one place.
The standard example is factorisation. Claim: every integer \( n \ge 2 \) is a product of primes. If \( n \) is prime, it is a product of one prime. Otherwise \( n = ab \) with \( 2 \le a, b < n \), and by the strong hypothesis both \( a \) and \( b \) are products of primes, so \( n \) is too. Ordinary induction would be stuck here, because knowing about \( n - 1 \) says nothing about the factors of \( n \). Another: every amount of postage of at least 8 cents can be made with 3 and 5 cent stamps. Check 8, 9 and 10 directly; for \( n \ge 11 \), make \( n - 3 \) (by hypothesis, since \( n - 3 \ge 8 \)) and add one 3 cent stamp. Three base cases are needed because the step reaches back three places.
Recursive definitions and strong induction go together. The Fibonacci numbers are \( F_1 = F_2 = 1 \) and \( F_{n} = F_{n-1} + F_{n-2} \); the example computes \( F_{20} = 6765 \). Any claim about them, such as \( F_n < 2^n \), is proved with two base cases and a step that uses both of the two previous values: \( F_{k+1} = F_k + F_{k-1} < 2^k + 2^{k-1} < 2^{k+1} \).
The well-ordering principle says every non-empty set of natural numbers has a least element. It is equivalent to induction and gives a different way to write the same proofs: suppose the claim fails, take the smallest counterexample, and show that a smaller one exists. For instance, if some integer \( n \ge 2 \) had no prime divisor, the smallest such \( n \) is not prime, so it has a divisor \( a \) with \( 1 < a < n \); \( a \) has a prime divisor by minimality, and that prime divides \( n \).
Picture it: ordinary induction is a line of dominoes, each knocked over by the one just before. Strong induction is a line where each domino is pushed by the whole crowd of dominoes already fallen. The smallest counterexample is the first domino left standing, and the proof shows the crowd behind it would have knocked it down.
Think it: count the base cases by asking how far back the inductive step reaches. A step that uses \( P(k - 2) \) must not be applied to a \( k \) for which \( k - 2 \) is below the starting point, so those small cases have to be checked by hand. Missing a base case is the most common way a strong induction proof fails.
Worked example · fib(20)
Step by step
- F_0 = 0,; F_1 = 1
Each Fibonacci number is the sum of the two before it.
- F_{2} = F_{1} + F_{0} = 1
- F_{3} = F_{2} + F_{1} = 2
- F_{4} = F_{3} + F_{2} = 3
- F_{5} = F_{4} + F_{3} = 5
- F_{6} = F_{5} + F_{4} = 8
- F_{7} = F_{6} + F_{5} = 13
- F_{8} = F_{7} + F_{6} = 21
- \vdots
- F_{19} = F_{18} + F_{17} = 4181
- F_{20} = F_{19} + F_{18} = 6765
Reveal the answer
Now you Pick a problem, or type or draw your own. Every step, a picture, the answer hidden until you ask.
Symbols used here
Tap any symbol for the full definition, a picture, and what every letter in it means.
How to: Strong induction and the well-ordering principle
- State P(n) and the starting value n_0.
- Decide how far back the inductive step reaches: that is the number of base cases.
- Verify each base case directly.
- Assume P holds for every value from n_0 to k and prove P(k + 1), naming which earlier cases you use.
- Alternatively, take a smallest counterexample and derive a smaller one.
Questions people ask
Why is strong induction not actually stronger?
Apply ordinary induction to Q(n) = "P holds for every value from n_0 to n". Q(n) implies Q(n + 1) exactly when the strong inductive step works, so anything strong induction proves, ordinary induction proves too.
Does well-ordering hold for the integers or the positive rationals?
No. The integers have no least element, and the positive rationals have none either (halve any candidate). Well-ordering is a special property of the natural numbers, which is exactly why induction works on them.
What makes mathematics "discrete"?
It deals with separate, countable objects (integers, graphs, statements) rather than continuous quantities. No limits, no infinitesimals; instead induction, counting and logic.
How does a proof by induction work?
Show the statement for the first case, then show that whenever it holds for n it holds for n + 1. Like dominoes: the first falls, and each knocks over the next.
What order should I take these lessons in?
Logic and proof first, because every later lesson proves things. Then induction, sets, relations and functions, counting, recurrences, graphs, Boolean algebra and automata, and finally algorithms and complexity, which use nearly everything before them.
Is discrete mathematics the same as the maths of computer science?
Largely. Data structures are graphs and trees, correctness arguments are induction, running times are recurrences and sums, circuits are Boolean algebra, and what a computer can do efficiently is the subject of the last lessons. It is also ordinary mathematics in its own right.
Do I need calculus for this course?
No. School algebra is enough. A little familiarity with limits helps when comparing growth rates, and the lesson on asymptotic analysis explains the one limit fact it uses.
More in Discrete Math & Logic
Truth tablesSums and inductionProof by inductionAlgorithms and growth of functionsPredicate logic and quantifiersDirect proof, contrapositive and contradictionRelations: equivalence relations and partial ordersFunctions and cardinalityCounting: rules, choices and bijectionsThe pigeonhole principleSolving linear recurrence relationsGraphs: degrees, paths and connectivityTrees and spanning treesEuler and Hamilton paths