Mathematical induction – Serlo

Aus Wikibooks

The principle of induction is an important method of proof that you will encounter again and again over the course of your studies. The way it works is comparable with the domino effect. But how does it actually look like? Let's look at an example, where we solve a problem by induction.

An example[Bearbeiten]

Carl Friedrich Gauß

Our example is called "Gauss summation formula", or "small Gauss". It is called that way because the nine-year-old Carl Friedrich Gauss discovered it in a math lesson in school. Gauss is the genius mathematician whose portrait would later be printed on the German 10-Mark notes. It is said [1] that the young Gauss was able to determine the sum of the first natural numbers immediately and without further calculations.

His idea was that there are exactly pairs of numbers between whose sum is : , , and so on until . The result would then be . Generalizing this, we obtain the formula:

For every natural number the sum equals .

Now we can start to prove this claim for every single natural number :

For :

, correct ✔

For :

, also correct ✔

and so on…

But it is not possible to prove the above formula in this way as there are infinitely many natural numbers (think of the poor classmates of Gauß trying to sum up one by one every single number!). Obviously we need a different technique for the proof. I have told you in the beginning of this chapter that this formula can be proved by mathematical induction and that this technique is similar to the domino effect. But how can the domino effect be used here? Let us look closer at the example:

If you read through the task, you will realize that there is a free variable in the task definition (the natural number ). If you use a specific value for this free variable, you get a concrete result. By recalculating, you can determine if this statement is true or false. For example, if you substitute with the number , the (true) statement reads:

The sum is equal to .

Such an expression, which contains one free variable and yields a result by assigning a value to this variable, is a statement denoted by . This can be extended to statements depending on more variables which are then denoted by . means something like: a statement with the name and the free variable , that is, the statement depends on the value of the variable . The above statement would therefore be . Here more examples:

reads: The sum is equal to .

reads: The sum is equal to .

Our goal is now to prove that our statement holds true regardless of the value we choose for . Such a statement is said to be "universally valid in ".

The induction principle is comparable to a domino series.

How can we bring the domino effect into play now? For this purpose we will find an analogy between our statement and a domino series: imagine an infinitely long series of domino pieces starting somewhere in the room. This domino series is numbered (the first domino is one, the second is two, and so on). Now we introduce a relationship between the domino series and the statement to be proven . We say that the first domino piece stands for the statement , the second domino piece for the statement , and so on. Let us now assume that when a domino piece falls, the truth of the statement assigned to it is proven. So, if domino number seven falls, the statement is true, and in the case of domino number , the proposition is true.

The domino effect.

We have now reduced our task to a problem known since childhood: wanting to bring down a domino series.

Question: What do we need to do to make all the dominoes fall over? How should the domino series be built?

If you think about it, you will come up with two conditions that have to be fulfilled to make all dominoes fall over.

  1. You have to hit the first domino piece.
  2. The domino series must be constructed in such a way that, in case a domino piece falls over, also his successor falls over.

If both conditions are met, all the tiles in the domino series fall one after an other ("domino effect"). So you have to make sure that both conditions are fulfilled.

Question: How can the two answers just given be translated back to the the original problem, in order to prove the universality of our statement?

  1. First step: Show that the statement for is fulfilled.
  2. Second step: Show that, assuming that the statement is true for any , the statement holds true also for the successor .
Illustration of the induction principle.

Let us see how the proof of these two steps provides the proof of our original problem. First of all, one shows that the first step is fulfilled, that is, that the assertion for is true. If we now apply this knowledge to the second step (that is, if ), it follows that the the claim for must be true. If we apply the second step again, the truth follows for and if applied again for and so on …

So to prove solve the problem, all we need to do is prove the two steps of the solution given above. Here is the proof to the necessary solution step:

Solution step 1: For , the claim we need to prove is: . By simply calculating the right side, this is how we can show the claim is true.

Solution step 2: Let us assume that the claim is already proven for . By this assumption, it then holds:

Now we have to prove the sum formula for . This means we have to show:

Let's start on the left side of the equation we need to prove:

By assuming that the given equation is true, we can then transform the left side of the equation we want into the right side of the equation we want, such that we've proven the entire equation.

This method has given us a short and elegant solution to the problem.

The induction principle[Bearbeiten]

An illustration of the domino effect within induction

Now, what exactly is the "induction principle" in mathematics? To answer this question we will use the example problem above as a motivation to generalize this proof method so that it can be applied to other similar problems.

First we take note that this principle deals with claims whose only free variable is a natural number. The problem to solve in these cases is to show that this claim is true for all natural numbers. In the first step we showed that this claims is true for the smallest natural number - in the case of the example above, the smallest number for which the claim was true was . In the case of other problems, the claim may not be true for certain natural numbers; it may only be true for all natural numbers greater than or equal to some natural number . In this case, is our "smallest" natural number we want to consider. This step is called the induction base. In our analogy with dominoes, this is the same as the first domino that's knocked over that starts the chain reaction.

In the second step we showed that if the claim is true for any random natural number , then it must also be true for . This step is called the induction step. In our domino analogy, this step can be identified with the idea that a line of dominoes is built such that if one domino is knocked over, the next domino must fall. Assuming that the claim is true for some arbitrarily chosen natural number is called the induction assumption. This was the equation we used in solution step 2 above. The claim that we want to prove using the assumptive step is called the induction claim. This was the goal equation is the example above. The inductive step has the form:

Let us summarize: The induction can be applied to prove the universality of propositional forms whose one free variable is a natural number. A proof by induction now works as follows:

  1. Induction base: Prove that is true.
  2. Induction step: Prove that if is true, then also is true. The two claims appearing here are the:
    • Induction assumption: We assume that is true for a single given .
    • Induction claim: We claim that is true, which we have to show.
    • 'Proof of the induction step: Proof that under the assumption of the induction assumption the induction claim is true.

Accordingly, the induction step has the following form:

Often (especially for simpler problems) induction base and induction assumption are omitted by a book author, if they seem too trivial to be mentioned in detail. Also, the induction base or induction step is sometimes not performed. Textbook authors often only give the hint that a problem can be solved by induction and leave the reader to deal with the respective proof. In this chapter, however, all the sub-steps of induction are explained.

If we now formulate the above method of proof in mathematical language, we get a kind of pattern how to solve problems by induction.

Definition (Sample: Proof by induction)

Let be a statement depending on the variable . If is a true statement (induction base) and the implication is fulfilled for all (induction step), then the statement is valid for all .

Induction: a short Q&A[Bearbeiten]

Question: Do I always need the induction base and induction step for an induction proof or can I sometimes save one of the two steps?

Induction proofs always include an induction base and an induction step. If you omit either of these steps, your solution will be incomplete and lead to wrong or even obviously stupid conclusions!

You can also use the analogy of the domino series: If you omit the induction base, this corresponds to the fact that you don't knock over the first domino. Assuming that the induction still works without an induction base is like assuming that all dominos fall despite no domino is even touched! (which is obviously stupid)

If you leave out the induction step, you could not guarantee that a domino would take its successor with it when it fell. So the domino cascade might stop falling. The conclusion of the induction proof "all dominos will fall" is then simply wrong again.

Question: Since the row of dominos is infinite, it also takes infinite time to fall over. This would mean that a proof by induction would never be complete (since at no finite time did all the stones fall over). Doesn't this mean that the induction proof can never be completed?

This question shows one of the limits of the domino analogy. The time it takes for a domino to fall over and thereby trigger the next one is not relevant for mathematics. It is only important that each stone falls in a finite number of steps. Or mathematically, for any , the statement is true at some point of time. This is true within an induction proof, so it is mathematically correct.

The thought that it might be wrong because of an "infinite" time is a common misconception, one has to get rid of!