Picture a long row of dominoes. You do not need to watch every one of them fall to know that all of them will. It is enough to know that the first one falls and that each falling domino knocks over the next. Mathematical induction turns this picture into a way of proving a statement for every whole number at once, something that no amount of checking cases can do.
Key terms
Statement indexed by integers
Definition A statement indexed by integers is a family of statements , one for each integer in a set such as or . For each such the statement is a definite claim that is either true or false. Induction proves results that say is true for every integer .
In plain words One formula stands for an infinite list of claims, one claim for each whole number. Any single claim can be checked, but there are infinitely many of them.
Example Let be the claim that the first odd numbers add up to ,
Then is the claim , which is true, and is the claim , which is also true. Each value of gives a different claim.
Principle of mathematical induction
Definition Let be an integer and let be a statement for each integer . Suppose that
- the statement is true, and
- for every integer , if is true then is true.
Then is true for every integer . Part 1 is the base case and part 2 is the inductive step. The reason is that the base case gives , the step with then gives , the step with gives , and no integer from on is ever skipped. This principle is a basic property of the integers. It is equivalent to the fact that every nonempty set of integers that are all at least has a smallest element.
In plain words Knock over the first domino, and make sure that every domino knocks over the next one. Then every domino falls.
Example Here is a complete proof that for every integer . For the base case the left side is and the right side is . For the inductive step, let and assume that . The next odd number is , so
which is the claim for . By induction the formula holds for every .
Base case
Definition The base case is the proof of the first statement , usually by direct computation. It cannot be skipped. An inductive step on its own shows only that each statement implies the next one, and a chain of implications proves nothing unless its first link is true. Some proofs need two base cases. When the statement is about a sequence whose rule uses the two previous terms, as the Fibonacci rule does, the step usually shows that and together give for every . Then both and must be checked directly, and after that each case follows from the two before it.
In plain words The step makes sure the dominoes stand close enough together. The base case is the push that starts them falling, and without it nothing has to fall.
Example Consider the false claim that is odd for every . Its inductive step actually works. If is odd, then
is an odd number plus an even number, so it is odd. But the base case fails, since is even. In fact is a product of two consecutive integers, one of which is even, so it is even for every . Only the base case catches the error.
Inductive hypothesis
Definition In the inductive step one fixes an arbitrary integer and assumes that is true. This assumption is the inductive hypothesis, and the task is to deduce from it. Since was arbitrary, this proves that implies for every . The hypothesis is about one value only and never claims that holds for all , so the argument is not circular.
In plain words You do not assume what you want to prove. You assume one case and show that the next case follows from it.
Example Take the formula
The base case is . Before doing anything else in the step, write down what you may assume and what you must reach. The hypothesis and the goal are
The sum in the goal is the sum in the hypothesis plus one more term, so
which is the goal. The hypothesis was used at the first equals sign, where the sum of the first terms was replaced by .
Inductive step
Definition The inductive step is the proof that for every integer , the truth of implies the truth of . A typical step writes out , finds or a piece of it inside, replaces that piece using the inductive hypothesis, and simplifies until appears. The step must work for every , with kept as a letter, and not just for a few numbers.
In plain words The step is a recipe that turns any true case into the next true case. You show that the recipe works in general.
Example Here is a proof that is divisible by for every integer . For the number is . Now let and suppose that for some integer . Then
and is an integer, so is divisible by . The main move was to rewrite so that the old number appears inside it.
Starting index
Definition The starting index is the integer of the base case. It need not be . It can be , or any integer from which the statement is meant to hold. The base case is checked at , and the inductive step may use the assumption . The conclusion then covers exactly the integers and says nothing about smaller ones.
In plain words Start the dominoes where the statement starts being true. The step is allowed to use the fact that is at least that large, and often it needs to.
Example The inequality fails for small and then holds.
So take , where . If and , then
where the last step uses . So for every integer .
Proof versus checking examples
Definition Checking for finitely many values of , however many, does not prove that holds for every . A pattern seen in examples is a conjecture. It becomes a theorem only through an argument that covers every at once, and induction is one such argument. On the other hand, a single value of for which is false, called a counterexample, is enough to show that the general claim is false.
In plain words Examples tell you what might be true. Only a proof tells you that it is true, while one counterexample shows that it is not.
Example The numbers for are , and all of them are prime. In fact is prime for every from to , forty cases in a row. Yet for the value is
which is not prime. Forty confirmations were not a proof.
Check yourself
- Prove that for every integer .
Show the answer
For both sides equal . Now assume that for some . Adding the next term gives
which is the formula for . By induction it holds for every .
- Prove that for every integer . Why can the proof not start at ?
Show the answer
For the inequality reads . Now assume that for some . Then , and
so . By induction the inequality holds for every . Starting lower fails because the inequality is true for but false for , where the two sides are and , then and , then and . So the claim for every is false and has no proof. The chain breaks at the step from to , which fits the fact that the algebra above needs . The smallest starting index from which every case is true is .
- Prove that the formula below holds for every integer .
Show the answer
For both sides equal . Assume the formula for some and add the next term ,
since . This is the formula for , because . By induction it holds for every .