




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Let P ( n ) be a propositional function defined on the set of integers. In other words, P is a function
P : Z →{True,False}, where Z stands for the set of integers, or possibly a subset of the integers. Informally
this means that P ( n ) is some statement whose truth or falsity depends on the value of an integer n.
Mathematical Induction is a proof technique which can be used to prove statements of the form ∀ n ≥ 1 : P ( n ) (“for all positive n , P ( n )is true”). More generally we seek to prove ∀ n ≥ n 0 : P ( n ), for some
integer n 0. Such a proof consists of two steps:
I. Base Step: Prove P ( n 0 )
In other words, prove directly that the proposition P ( n 0 )is true.
IIa. Induction Step: Prove ∀ n ≥ n 0 :( P ( n )→ P ( n + 1 ))
Pick an arbitrary n ≥ n 0 and assume that for this n , P ( n )is true. Then show as a consequence that P ( n + 1 ) is true. The statement P ( n ) is often called the induction hypothesis , since it is what is assumed in the induction step.
When I and II are complete we conclude that P ( n )is true for all integers n ≥ n 0.
Induction is sometimes explained in terms of a domino analogy. Consider an infinite set of dominos which are lined up and ready to fall. Let P ( n )be the statement “the n th domino falls”. First prove P ( 1 ), which is
“the first domino falls”, then prove ∀ n ≥ 1 : ( P ( n )→ P ( n + 1 )), which says “if any particular domino falls,
then the next domino must also fall”. When this is done we may conclude ∀ n ≥ 1 : P ( n ), “all dominos fall”.
There are a number of variations on the induction step. The first is just a reparametrization of IIa.
IIb. Induction Step Prove ∀ n > n 0 :( P ( n − 1 )→ P ( n ))
Let n > n 0 , assume P ( n − 1 )is true, then prove P ( n )is true.
Forms IIa. and IIb. are said to be based on the first principle of mathematical induction. Another important variation is the second principle of mathematical induction , also called strong induction.
IIc. Induction Step Prove ∀ n ≥ n 0 :((∀ k ≤ n : P ( k ))→ P ( n + 1 ))
Let n ≥ n 0 , assume that for all k in the range n (^) 0 ≤ k ≤ n , P ( k )is true. Then prove as a consequence that P ( n + 1 ) is true. In this case the term induction hypothesis refers to the stronger assumption: ∀ k ≤ n : P ( k ).
The strong induction form can, and often is, parameterized as in IIb.
IId. Induction Step Prove ∀ n > n 0 :((∀ k < n : P ( k ))→ P ( n ))
Let n > n 0 , assume that for all k in the range n (^) 0 ≤ k < n , P ( k ) is true, then prove as a consequence that P ( n )is true. In this case the induction hypothesis is ∀ k < n : P ( k ).
Example 1 Prove that for all n ≥ 1 :
1
nn n i
n
i
Proof: Let P ( n )be the boxed equation above. We begin the induction at n 0 (^) = 1.
I. Base step
Clearly 6
1
1
∑ i =
i , showing that P ( 1 )is true.
IIa. Induction Step Let n ≥ 1 and assume P ( n )is true. That is, for this particular value of n , the boxed equation holds. Then 2 2 1
2 1
1
=
i i n
n
i
n
i ( 1 )^2 6
= n n n n (by the induction hypothesis)
nn n n
[ ] [ ] 6
n n n (by some algebra)
showing that P ( n + 1 ) is true.
It follows from the principle of mathematical induction that P ( n )is true for all n ≥ 1. ///
One should always state explicitly what is being assumed in the induction step (i.e. what is the induction hypothesis) One should also make note of the point in the proof at which the induction hypothesis is used.
Example 2 Let x ∈ R and x ≠ 1. Show that for all n ≥ 0 :
=
∑ x
x x
n n i
i
Proof: Again let P ( n )be the boxed equation. We begin the induction at n 0 (^) = 0.
I. Base step
0
0 −
∑ = = = = x
x x i x i
, showing that P ( 1 )is true.
There are many other variations on the induction technique. Occasionally we must use double induction , which involves a modification of both the base and induction steps.
I. Base Step: Prove P ( n 0 ) and P ( n 0 + 1 ).
II. Induction Step: Prove ∀ n ≥( n 0 + 2 ):( P ( n − 2 )∧ P ( n − 1 )→ P ( n )).
When this is accomplished we may conclude ∀ n ≥ n 0 : P ( n ). In terms of our domino analogy we prove that:
(I) the first two dominos fall, and (II) if any two consecutive dominos fall, then the very next domino falls. From this we deduce that all dominos fall.
The Fibonacci numbers Fn are defined by the recurrence
− − if^2
1 if 1
0 if 0
F 1 F 2 n
n
n F n n
n
i.e. each term is the sum of the previous two. Using this recurrence, the first few terms of the sequence are readily computed as F 0 (^) = 0 , F 1 = 1 , F 2 = 1 , F 3 = 2 , F 4 = 3 ,… etc.
Example 4 Prove that for all n ≥ 0 ,
where 2
a = , and 2
b =.
Proof: Let P ( n )denote the boxed equation above.
I. Base
a − b = = F.
II. (Double) Induction Let n ≥ 2 and assume that both P ( n − 2 )and P ( n − 1 )are true, i.e. we assume
n n
1 1 1 5
n n Fn a b.
Thus
− − F F − F − a a b b n n n n n ,
One checks that a and b are roots of the quadratic equation: x^2 − x − 1 = 0. Therefore a^2 = a + 1 , and b^2 = b + 1 , whence
showing that P ( n )is true.
for all n ≥ 0. ///
Often the proposition to be proved is an inequality as in the next example.
Example 5
Define T ( n )for n ∈ Z +by the recurrence
/ 2 1 if 2
0 if 1 ( ) T n n
n T n
Prove that for all n ≥ 5
T ( n )≤ 2 lg( n )
(showing that T ( n )= O (lg n ).)
Proof: Let P ( n )be the boxed inequality above.
I. Base One checks easily that T ( 5 )= 3 ≤ 2 ⋅lg( 5 ), using the recurrence and the fact that 8 ≤ 25 , so P ( 5 ) holds.
IId. (Strong) Induction Let n > 5 and assume for all k in the range 5 ≤ k < n that P ( k ) is true, i.e. T ( k )≤ 2 lg( k ). In
x ≥ 1 /( 2 − 1 ). Since n > 5 ≥ 2 /( 2 − 1 )we have n / 2 ≥ 1 /( 2 − 1 ), whence
Now by the definition of T ( n ):
= 2 lg( n ),
showing that P ( n )is true.
Therefore T ( n )≤ 2 lg( n )for all n ≥ 5 as claimed. ///
Proof: (Invalid) Base: If n = 1 then G has no edges, being simple. Induction: Let n ≥ 1 and let G be a simple graph on n vertices. Assume that G has n − 1 edges. Add a new vertex and join it to G with a new edge. The resulting graph has n + 1 vertices and n edges (and is clearly simple since no loops or multiple edges were created.)
By the principle of mathematical induction, all simple graphs on n vertices have n − 1 edges.
Observe that Example B follows the format of Example A word for word. Thus if A is valid, so must B be valid. But the assertion “proved” in B is false! Therefore B cannot be a valid argument, and so neither is A.
Another fallacy comes about by not proving the induction step for all n ≥ n 0.
Example C: Prove that all horses are of the same color.
Proof: (Invalid) We prove that for all n ≥ 1 :
if S is a set of n horses, then all horses in S have the same color.
The result follows on letting S be the set of all horses. Let P ( n ) be the boxed statement, and proceed by
induction on n.
Base: Let n = 1. Obviously if S is a set consisting of just one horse, then all horses in S must have the same color. Thus P ( 1 )is true.
Induction: Let n > 1 and assume that in any set of n horses, all horses are of the same color. Let S be a set of n + 1 horses, say S = { h 1 , h 2 , h 3 ,!, hn + 1 }. Then the sets
S ′^ ={ h 2 , h 3 ,!, hn + 1 }= S −{ h 1 }
and S ′′^ ={ h 1 , h 3 ,!, hn + 1 }= S −{ h 2 }
each contain exactly n horses, and so by the induction hypothesis all horses in S ′^ are of one color, and likewise for S ′′^. Observe that h 3 (^) ∈ S ′∩ S ′′and that h 3 can have only one color. Therefore the color of the
horses in S ′^ is identical to that of the horses in S ′′^. (Note n > 1 ⇒ n ≥ 2 ⇒ n + 1 ≥ 3 , so there is in fact a third horse, and he can have only one color.) Since S = S ′∪ S ′′it follows that all horses in S are of the same color. Therefore P ( n )→ P ( n + 1 )for all n > 1.
The result now follows by induction.
Obviously the proposition being proved is false, so there is something wrong with the proof, but what? The base step is certainly correct, and the induction step, as stated, is also correct. The problem is that the induction step was not quantified properly. We should have proved ∀ n ≥ 1 : P ( n )→ P ( n + 1 ) Instead we
proved (correctly) that ∀ n > 1 : P ( n )→ P ( n + 1 ). Indeed it is true that P ( 2 )→ P ( 3 ) for instance, but we
never proved (and it is false that) P ( 1 )→ P ( 2 ).
In terms of the domino analogy, it is as if the first domino falls; and if any domino indexed 2 or above were to fall, then the next domino would fall; but the first domino is not sufficient to topple the second domino, and hence no domino other than the first actually falls.
Appendix: Proof of the first principle of mathematical induction.
We prove for any propositional function P ( n )defined on the positive integers Z +, that
[ P ( 1 )∧ (∀ n > 1 : P ( n − 1 )→ P ( n ))] →∀ n ≥ 1 : P ( n )
is a tautology. The proof is based on the well ordering property of the positive integers:
Any non-empty set of positive integers contains a least element.
Proof: Assume that the statements P ( 1 ) and ∀ n > 1 : P ( n − 1 )→ P ( n ) are true. Let S = { n ∈ Z +: P ( n )isfalse}. It
will be sufficient to show that S =∅. Assume, to get a contradiction, that S ≠∅. Then S contains a least element by the well ordering property. Let m denote this smallest element in S. Since P ( 1 ) is true, m ∉ S
and so m ≠ 1. Therefore m − 1 ≥ 1 , and since m is the smallest element in S , m − 1 ∉ S , whence P ( m − 1 ) is
true. But this implies that P ( m ) is true by setting n = m in the statement ∀ n > 1 : P ( n − 1 )→ P ( n ). Thus
m ∉ S , contradicting the very definition of m as the smallest element in S. This contradiction shows that our assumption must be false, and therefore S =∅ as required. ///