A claim about every natural number is infinitely many claims, and checking them one at a time never finishes.
The previous lesson, on proof by contrapositive and contradiction, ended on a claim neither method finishes: every integer is a product of primes, where the argument for needs the claim for smaller numbers first. This lesson gives the method for such chains and proves it valid. Throughout, the natural numbers are , starting at , and the definitions are the usual ones: is even when for some integer , odd when , and when for some integer .
The principle
For each natural number let be a statement, such as "". The principle of induction says: if is true, and if for every natural number the conditional is true, then is true for every natural number .
The two hypotheses have names. Proving is the base case. Proving for every is the inductive step, and inside it the assumption is the inductive hypothesis. The step is an ordinary conditional, proved directly: take an arbitrary , assume , derive . This is not assuming what is to be proved, since the step never claims is true, only that if it is, so is the next. The picture is a line of dominoes: the base case knocks over the first, and the step makes each falling domino knock over the next.
A claim can pass one check and fail the other. Let be " is odd". The step holds: if is odd, then is an odd number plus an even one, hence odd. But says is odd, which is false, and in fact is even for every . A proof by induction that skips the base case can prove something false.
A debt from the first lesson
The first lesson of this course defined even and odd, noted that nothing in the definitions says every integer is one or the other, and left that claim open, although every proof since has leaned on it. Induction pays the debt.
Example. Prove that every natural number is even or odd.
Let be the statement " is even or is odd". For the base case, , so is odd and holds. For the inductive step, let be a natural number and assume . If is even, then for some integer , so is odd. If is odd, then for some integer , so is even. In either case is even or odd, so holds. By induction, holds for every natural number .
The claim for all integers follows in a sentence: is even, and for a natural number , if then , while if then . The companion fact, that no integer is both, is a short contradiction: would give , and a difference of integers is an integer.
Now you. Prove by induction that is even for every natural number .
Answer
Let be " is even". For the base case, , so holds. For the step, let be a natural number with for some integer . Then , and is an integer, so is even and holds. By induction, is even for every natural number .
Why the principle holds
The principle rests on a property of called the well-ordering principle: every nonempty collection of natural numbers has a least element. It fails for the integers, which have no least element. Well-ordering is taken as a basic property of .
Theorem. The principle of induction holds.
Suppose, for contradiction, that and the step both hold but is false for some natural number . Then the collection of natural numbers for which is false is nonempty, so by well-ordering it has a least element; call it . Since is true, , so and is a natural number. Since and is the least failure, is true. The inductive step with then gives , contradicting the choice of . So holds for every .
A first failure would need a predecessor that succeeds, and the step forbids that. The same shape gives another way to write any induction, the smallest counterexample argument: take the least where the claim fails and find a smaller failure.
Sums
Adding in pairs from the outside in, , and so on, gives fifty pairs of , so . The same pairing suggests in general, and induction proves it.
Example. Prove that for every natural number .
Let be the statement . For the base case, the left side is and the right side is , so holds. For the step, let be a natural number and assume . Adding to both sides,
The right side is the formula with in place of , a target worth writing down before the algebra starts, so holds. By induction, the formula is true for every natural number .
Induction checks a formula; it does not find one. The usual route is a guess from small cases: , , and suggest , and the step is one line, .
Now you. Prove that for every natural number .
Answer
Let be the formula. For the base case, both sides equal , since . For the step, assume for a natural number and add to both sides. The right side becomes
which is the formula with in place of , since . So holds, and by induction the formula holds for every .
Other starting points, and divisibility
Nothing forces the base case to be . If holds and for every , then holds for every ; this is the ordinary principle applied to . A later start is what inequalities often need. Compare with for : , then , and . From , where , the power of two stays ahead.
Claim. for every integer . For the base case, . For the step, let and assume . Then , and it remains to show , that is, . Since , . So , and by induction the claim holds for every .
The step in fact works for every , yet the claim is false at and : a true conditional says nothing when its hypothesis is false, so the chain starts only where a base case is verified. For divisibility, the step shows that the new expression is the old one plus a multiple of the divisor.
Claim. for every natural number . For the base case, . For the step, assume for some integer . Expanding, , which is a multiple of . By induction, the claim holds for every .
Writing , three consecutive integers, gives a shorter proof. Induction's merit is that it needs no such insight, only the algebra of one step.
Strong induction
Some steps need more than the case just before. Strong induction lets the step assume every earlier case: if is true, and for every natural number the truth of together implies , then holds for every . It is no stronger than ordinary induction. Apply the ordinary principle to , " through are all true": is , and the strong step turns into and hence . As before, the base can start at any .
Example. Prove that every integer is a product of primes, where a single prime counts as a product of one prime.
We use strong induction starting at . For the base case, is prime, so it is a product of one prime. For the step, let and assume that every integer with is a product of primes. Consider . If is prime, it is a product of one prime. Otherwise for integers and that are both greater than and less than , so both lie between and . By the inductive hypothesis each is a product of primes, and writing those two products side by side expresses as a product of primes. By strong induction, every integer is a product of primes.
Ordinary induction could not do this: that factorises says nothing about , whose proof uses and instead, giving . Uniqueness of the factorisation, apart from order, is a separate and harder theorem.
Now you. The Fibonacci numbers are and for , giving . Prove that for every natural number .
Answer
We use strong induction with two base cases, because the step reaches back two places. and . For the step, let and assume for every . Then . So the bound holds for , and by strong induction for every . The step starts at because would call on the undefined , so must be checked by hand. The bound is generous, since against .
All horses are one colour
Here is a proof by induction of something false. Let be "in any group of horses, all the horses are the same colour". For the base case, a group of one horse is one colour. For the step, assume and take a group of horses, lined up. Remove the last horse: the first form a group of , so by hypothesis they share a colour. Remove the first horse instead: the last share a colour too. The horses in the middle belong to both groups, so the two colours are the same, and all horses are one colour. By induction, all horses everywhere are the same colour.
The base case is fine, so the step must fail for some . Try , going from one horse to two, and . Removing the last leaves , removing the first leaves , and each is trivially one colour. The middle horses, in both groups, number , which here is none. Nothing links 's colour to 's, and the step from to is invalid.
For every the groups overlap in horses and the step is correct. It fails at exactly one link, the first, and that is enough: is false, so the chain never gets going. A written step often assumes something silent about , and the remedy is to run it by hand at the smallest value it must cover.
What the proofs are about
Induction completes the toolkit: direct proof, cases, contrapositive, contradiction, and, for claims indexed by the natural numbers, two finite checks. The objects those proofs talk about, though, have stayed informal. The proof of the principle took "the collection of natural numbers where fails" and asked for its least element, without saying what a collection is or when two collections are the same. The horses came in "groups" and were removed from them. Mathematics needs those words to mean something exact, and the next lesson makes them precise: sets, and how to prove that two of them are equal.