Encyclopedia > Proof by induction

  Article Content

Mathematical induction

Redirected from Proof by induction

Mathematical induction, or proof by induction, is a method of mathematical proof typically used to establish that a given statement is true for all natural numbers. It can also be used in more general settings as will be described below.

The simplest and most common form of mathematical induction proves that a statement holds for all natural numbers n and consists of two steps:

  1. Showing that the statement holds when n = 0.
  2. Showing that if the statement holds for n = m, then the same statement also holds for n = m + 1.

To understand why the two steps are in fact sufficient, it is helpful to think of the domino effect: if you have a long row of dominos standing on end and you can be sure that

  1. The first domino will fall.
  2. Whenever a domino falls, its next neighbor will also fall.
then you can conclude that all dominos will fall.

Example Suppose we wish to prove the statement:

<math>
0 + 1 + 2 + 3 + ... + n = \frac{n(n + 1)}{2} </math>

for all natural numbers n. This is a simple formula for the sum of the natural numbers up to the number n. The proof that the statement is true for all natural numbers n proceeds as follows.

Proof

Check it is true for n = 0. Clearly, the sum of the first 0 natural numbers is 0, and 0.(0 + 1) / 2 = 0. So the statement is true for n = 0. We could define the statement as P(n), and thus we have that P(0) holds.

Now we have to show that if the statement holds when n = m, then it also holds when n = m + 1. This can be done as follows.

Assume the statement is true for n = m, i.e.,

<math>
0 + 1 + 2 + ... + m = \frac{m(m + 1)}{2} </math>

Adding m + 1 to both sides gives

<math>
1 + 2 + ... + m + (m + 1) = \frac{m(m + 1)}{2} + (m+ 1) </math>

By algebraic manipulation we have

<math>

\frac{m(m + 1)}{2} + \frac{2(m + 1)}{2}

\frac{(m + 2)(m + 1)}{2} </math>

Thus we have

<math>
1 + 2 + ... + (m + 1) = \frac{(m + 1)((m + 1) + 1)}{2} </math>

This is that statement for n = m + 1. Note that it has not been proved as true: we made the assumption that P( m ) is true, and from that assumption we derived P( m + 1 ). Symbolically, we have shown that:

<math>
P(m) \Rightarrow P(m + 1) </math>

However, by induction, we may now conclude that the statement P(n) holds for all natural numbers n:

  1. We have P( 0 ), and thus P( 1 ) follows
  2. With P( 1 ), P( 2 ) follows
  3. ... etc

Generalizations

This type of proof can be generalized in several ways. For instance, if we want to prove a statement not for all natural numbers but only for all numbers greater than or equal to a certain number b then the following steps are sufficient:

  1. Showing that the statement holds when n = b.
  2. Showing that if the statement holds for n = m then the same statement also holds for n = m + 1.
This can be used, for example, to show that n2 > 2n for n >= 3. Note that this form of mathematical induction is actually a special case of the previous form because if the statement that we intend to prove is P(n) then proving it with these two rules is equivalent with proving P(n + b) for all natural numbers n with the first two steps.

Another generalization allows that in the second step we not only assume that the statement holds for n = m but also for all n smaller than or equal to m. This leads to the following two steps:

  1. Showing that the statement holds when n = 0.
  2. Showing that if the statement holds for all n <= m then the same statement also holds for n = m + 1.

This can be used, for example, to show that fib(n) = [Φn - (-1/Φ)n ] / 51/2 where fib(n) is the nth Fibonacci number and Φ = (1 + 51/2) / 2 (the socalled Golden mean). Since fib(m + 1) = fib(m) + fib(m - 1) it is straightforward to prove that the statement holds for m + 1 if we can assume that it already holds for both m and m - 1. Also for this generalization it holds that it is in fact just a special case of the first form; let P(n) be the statement that we intend to prove then proving it with these rules is equivalent with proving the statement ' P(m) for all m <= n ' for all natural numbers n with the first two steps.

The last two steps can be reformulated as one step:

  1. Showing that if the statement holds for all n < m then the same statement also holds for n = m.

This is in fact the most general form of mathematical induction and it can be shown that it is not only valid for statements about natural numbers, but for statements about elements of any well-founded set, that is, a set with a partial order that contains no infinite descending chains (where < is defined such that a < b iff a <= b and ab).

This form of induction, when applied to ordinals (which form a well-ordered and hence well-founded class), is called transfinite induction. It is an important proof technique in set theory, topology and other fields.

Proofs by transfinite induction typically need to distinguish three cases:

  1. m is a minimal element, i.e. there is no element smaller than m
  2. m has a direct predecessor, i.e. the set of elements which are smaller than m has a largest element
  3. m has no direct predecessor, i.e. m is a so-called limit-ordinal

Proof of method Mathematical induction is taught in schools, and most students learn it by rote without fully understanding how it works. It is possible to base a proof of mathematical induction on other mathematical principles.

Related methods An induction variant is used in computer science to prove that expressions which can be evaluated are equivalent, and this is known as structural induction.

Alternative Formulations An alternative formulation of the principle of mathematical induction is the Well-Ordering Principle, which states that any nonempty set of natural numbers must have a smallest element. This principle is equivalent to mathematical induction, as follows:

Suppose that the well-ordering principle is true, and that the conditions of the proof by induction are true, namely, that for some property P, we know that P(0) is true, and that if P(n) is true for any natural number n, then P(n+1) is also true. We wish to prove that P(n) is true for all natural numbers n. Let S be the set of natural numbers for which P is not true. Let us suppose that S has a smallest element, say m. m cannot be 0, because P(0) is true by hypothesis. So m-1 is a natural number, and in particular m-1 is not an element of S, because m is the smallest element of S. So P(m-1) is true, and by hypothesis P(m) is also true, and we have a contradiction. Thus we conclude that S has no smallest element, and so by the well-ordering principle, S must be empty. P(n) therefore holds for all natural numbers n.

Conversely, we can prove the well-ordering principle inductively. Let S be a set of natural numbers. We want to prove that either S has a smallest element or else that S is empty. Let P(n) be the statement that no element of S is smaller than n. P(0) is certainly true, since there is no natural number smaller than 0. Suppose that P(n) is true for some n. If P(n+1) were false, then S would have an element smaller than n+1, but it could not be smaller than n, because P(n) was true, and so S would have a minimal element, namely n, and we would be done. So P(n) implies P(n+1) for all n, or else S has a minimal element. But if P(n) implies P(n+1) for all n, then by induction we know that P(n) is true for all n, and therefore for all n, no element of S is smaller than n. But this can only be vacuously true, if S has no elements at all, since every natural number is smaller than some other natural number. Thus we are done.

An analogous proof holds for any well-ordered set; see transfinite induction.

See also three forms of mathematical induction.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Battle Creek, Michigan

... a total area of 113.1 km² (43.7 mi²). 110.9 km² (42.8 mi²) of it is land and 2.2 km² (0.8 mi²) of it is water. The total area is 1.92% ...

 
 
 
This page was created in 34 ms