In this section we will review the two widely used forms of induction, complete (or strong) induction (also called course-of-values induction) and simple induction. We will see how they are utilized, and when one is more convenient than the other; relate them to each other, but also to another principle that is valid on natural numbers, the least (integer) principle.
1.4.1 Complete, or Course-of-Values, Induction
Suppose that
( n ) is a “property”—that is, a formula of one free variable, n —of the natural number n. To prove that
( n ) holds for all n
it suffices to prove for the arbitrary n that
( n ) holds.
What we mean by “arbitrary” is that we do not offer the proof of
( n ) for some specific n such as n = 42; or n even; or any n that has precisely 105 digits, etc. If the proof indeed has not cheated by using some property of n beyond the generic “ n
”, then our proof is equally valid for any n
; we have succeeded in effect to prove
( n ), for all n
(cf. 1.1.1.10 and 1.1.1.15 ).
1.4.1.1 Example. Suppose
( n ) stands for the statement
One way to prove (1), for all n , is as follows: Fix, but do not specify , n —that lack of specification makes it arbitrary. Note the pairs below—separated by semicolons—each consisting of two numbers that are equidistant from the two ends of the sequence 0, 1, 2, 3, …, 2 n
0, 2 n ; 1, 2 n – 1; 2, 2 n – 2; …; n , 2 n – n
The above sequence is (almost) a permutation of the sequence 0, 1, 2, 3, …, 2 n , hence the sum of its terms is the same as the left hand side of (1), plus n.
Pause. Why “plus n ”?
We have n + 1 pairs, the sum of each being 2 n , thus the left hand side of (1) equals ( n + 1)2 n − n. An easy calculation shows that ( n + 1)2 n − n = n (2 n + 1).
Now the above endeavor—proving some
( n ) for the arbitrary n —is not always easy. In fact, the above proof—attributed to Gauss—had a rabbit-off-a-hat flavor. It would probably come as a surprise to the uninitiated that we can pull an extra assumption out of the blue and use it toward proving
( n ), and not only that: When all is said and done, this process, with the extra assumption, is as good as if we have proved
( n ) without the extra assumption!
This out-of-the-blue assumption is that
or, put another way, that the history , or the course-of-values , of
( n ), namely,
holds—that is, it is a sequence of valid statements.
The extra assumption, ( I ) or ( II ), goes by the name induction hypothesis (I.H.) The technique of proving
using an I.H. toward the proof, is called proof by strong (complete, course-of-values) induction.
The application (technique) of the proof by strong induction is:
(a) Pick an arbitrary n and prove the validity of
( n ) having also assumed the validity of (I) or (II).
(b) Once step (a) is completed, we conclude (2).
We note that the history, ( II ), of
( n ) is empty if n = 0. Thus every proof by strong induction has two cases to consider: the one where the history helps, because it exists , i.e., when we have n > 0; and the one where the history does not help , because it simply does not exist, i.e., when n = 0.
Thus, the application of strong induction morphs into a two-step method:
(A) Pick an arbitrary n > 0 and prove the validity of
( n ), having assumed the validity of (I) or (II).
(B) For n = 0 prove
( n )—i.e.,
(0)—directly.
(C) Once steps (A) and (B) are completed, we conclude (2).
Some jargon: As we noted, ( I ) or ( II ) are called the I.H. Step (A) above is called the Induction Step (I.S.). Step (B) is called the basis of the induction. The process (A)–(C) is proof by induction on n.
One often sees the basis done first, but it should be clear that it is just one of two cases to be considered, and the cases can be taken care of in any order.
It cannot be emphasized enough that the phrase “Pick an arbitrary n > 0 and prove… ” is synonymous with “ Fix , but do not specify, an n > 0 and prove …”
Clearly the I.H. is for a fixed but unspecified n—not for all n , as the latter would beg the very question we are called to settle by induction!
1.4.1.2 Example. (Example 1.4.1.1 Revisited) We will prove (1) above, for all n , by strong induction, faithfully following the plan (A)–(B) above. Fix an arbitrary n. We have two cases:
Case n > 0. We assume the I.H. and try to prove (1). Well, we calculate as follows:
0 + 1 + 2 + … + 2( n − 1) + 2 n − 1 + 2 n = ( n − 1) (2( n − 1) + 1) + 4 n − 1
= ( n − 1)(2 n − 1) + 4 n − 1
= 2 n 2 – n − 2 n + 1 + 4 n − 1
= 2 n 2 + n
= n (2 n + 1)
Note that the I.H. says
This, in particular, is true for k = n – 1, a fact we have used in the first calculation step above.
Case n = 0. In this case the statement to prove, namely, (1), becomes 0 = 0, which is true.
Hm. The I.H. (3) above seems to be an overkill given that only the case k = n − 1 was utilized in the I.S. Good point! We take it up in the next example.
1.4.1.3 Example. This time we prove, for all n ,
The reader will recall that a factor of n is a natural number m such that for some natural number k we have n = mk. A natural number p is a prime number (or just a prime) if and only if it is greater than 1, and all its factors are p and 1.
By strong induction, we take up first the case for an arbitrary (but fixed) n that allows a non-empty history; thus we assume the I.H. corresponding to (4):
The non-empty history case corresponds to n ≥ 3, since 1 < k and k < 2 are inconsistent.
Let then n ≥ 3. If n is a prime, then we are done ( n is a factor of n ). Alternatively, suppose that it is not. Then there exist a and b such that n = ab , where a ≠ 1 ≠ b —else n would be prime! Can a < 1? No, for then a = 0 and hence n = 0, contrary to the case we are in. Thus a > 1. Similarly b > 1. The latter yields n = ab > a.
Therefore the I.H. applies to a , that is, a has a prime factor, p. This means that for some m , a = pm. But then, n = pmb , and hence n has a prime factor.
The “basis” encompasses all the cases that have empty history: n = 0, 1, 2. For the first two the claim is vacuously satisfied as n > 1 is false. For n = 2 it is satisfied by virtue of 2 being a prime.
This example shows the value of an I.H. that refers to the entire history below n: We have no way of controlling where a falls in the sequence 0, 1, 2, …, n − 1. It is unreasonable to expect that a = n − 1 in general. For example, if n = 6, then a = 2 and b = 3, or a = 3 and b = 2. But n − 1 = 5.
1.4.2 Simple Induction
Since on occasion we will also employ simple induction in this book, let me remind the reader that in this kind of induction the I.H. is not the assumption of validity of the entire history, but that of just
( n − 1). As before, simple induction is carried out for the arbitrary n , so we need to work out two cases: when the I.H. exists ( n > 0) and when it does not ( n = 0). The case of proving
(0) directly is still called the basis of the (simple) induction.
The reader will notice that Example 1.4.1.2 can be recast under a simple induction proof since in the first step of the n > 0 case we only have used the assumption that (1) is true for k = n − 1.
Common practice has it that in performing simple induction the majority of users in the literature take as I.H.
( n ) while the I.S. involves proving
( n + 1).
1.4.3 The Least Principle
The least principle states that each non-empty subset of natural numbers contains a smallest (least) number.
1.4.3.1 Example. (Euclid) We prove that given a natural number b > 1, each natural number n can be expressed as n = bq + r for some natural numbers q and r , where 0 ≤ r < b . We only argue the case n > 0 since the case n = 0 is trivial: n = 0 b + 0.
So let n > 0. Note that the set S = { bx − n : x
∧ bx − n > 0} is not empty. For example, since bn > n (by b > 1), it is bn − n > 0. By the least principle, S contains a smallest number, which has the form bm – n for some m. From m ≠ 0 (since − n is not positive and cannot be in S ) we get q = m − 1
. Since bq − n < bm − n , it is bq − n ∉ S. Thus bq − n ≤ 0, i.e., n − bq ≥ 0.
We set r = n − bq. Now, since bq ≤ n < b ( q + 1) (recall, m = q + 1) we have 0 ≤ n − bq < b ( q + 1) − bq , that is, 0 ≤ r < b.
A related result that does not need the least principle (nor induction) is that the quotient q and remainder r are uniquely determined by n and b : Indeed, suppose that we have
By (5) and (7) we have
Can it be that | q ′ − q ″| ≠ 0? If so, | q ′ − q ″| ≥ 1, hence, multiplying both sides by b and using (9),
(6) and (8) tell a different story though! They yield [e.g., think of (8) as − b < − r ″ ≤ 0 and add with (6), term by term] − b < r ′ − r ″ < b , that is | r ′ − r ″| < b , which contradicts (10).
We thus must answer the earlier question “Can it be that | q ′ − q ″| ≠ 0?” by “no”. But then (9) yields also r ′ = r ″, as needed.
1.4.4 The Equivalence of Induction and the Least Principle
Somewhat surprisingly, all three proof techniques, by least principle, by simple or by course-of-values induction, have exactly the same power.
1.4.4.1 Theorem. The least principle is equivalent to course-of-values induction.
Proof. This proof requires two directions.
One , we can prove the least principle, using strong induction: Indeed, let
≠ S ⊆
. We will argue, by way of contradiction, that S has a least element.
So let instead S have no such element. The plan is to use strong induction to arrive at a contradiction. We may encounter more than one such contradictions, but the “primary” one that we will strive for is to prove that S =
—contrary to hypothesis—which is tantamount to
=
− S , or in many words:
For the basis, we argue that 0
− S. Indeed, if not, then 0
S will be least in S , contradicting what we assumed for S. Let then pick an n > 0 and accept as I.H. that for all k < n we have k
− S. It immediately follows that n
− S for otherwise it is the first n to enter S , which makes it least in S ! We have proved (1).
Two , we prove that strong induction is valid, by assuming that the least principle is. That is, we will show the following, for any property
( n ):
If
(0) holds, and if, for any n > 0,
( n ) holds whenever all of
(0),…,
( n −1) hold; then
( n ) holds for all n.
So we assume that the if-part of the italicized statement above is valid and prove the then-part, that “
( n ) holds for all n ”.
Well, assume we are wrong in our conjectured conclusion (then-part). But then
S = { n : ¬
( n )} is not empty.
By the least principle, we have a smallest member of S , let us call it m. Now, m ≠ 0, since the italicized statement’s if-part includes the validity of
(0). What about 0, 1, 2, …, m − 1 then? (Now that we know that m − 1 ≥ 0, we may ask.) Well, none are in S (all being smaller than m ), that is, they all satisfy
. But then, the if-part of the italicized statement guarantees that
( m ) must hold as well. This is no good because it says m ∉ S !
This contradiction forces us to backtrack over our “ assume we are wrong ” above. So it is, after all, the case that
( n ) does hold for all n.
1.4.4.2 Theorem. Simple induction and course-of-values induction have the same power.
Proof. That is, one tool can simulate the other. We need to prove two things:
One , whatever property
( n ) we can prove (for all n ) via simple induction, we can also prove it using strong induction. Simple induction achieves this:
If
(0) holds, and if, for any n > 0,
( n ) holds whenever
( n − 1) holds; then
( n ) holds for all n.
So assume the if-part of the italicized statement. Can course-of-values induction prove the then-part, namely, that “
( n ) holds for all n ”?
Well, strong induction will have to check that
(0) holds: That much is given by the if-part above. Now, for the arbitrary n > 0, strong induction’s I.H. is that
(0), …,
( n − 1) all hold. Can this assumption produce the truth of
( n )? Yes , because this strong I.H. yields the truth of
( n − 1). By the if-part of the italicized statement above, this alone yields the truth of
( n ).
Now, by strong induction, we indeed get the then-part:
( n ) holds for all n.
Two , conversely, we prove that strong induction is valid, by assuming that simple induction is. That is, we will show that the following statement is valid, for any property
( n ):
So we will assume the validity of if-part of (2), and then employ simple induction to prove the then-part, that
We will be a bit trickier here, so let us consider the new property
( m ) defined as follows:
So, instead of directly proving (3),
I deliver on the promise (5) by simple induction, which, by assumption, is the tool at my disposal in this part of the proof: First, by (4),
(0) says “for all k < 0,
( k ) holds”. I need to verify this, my (simple) induction’s basis. Fortunately, the statement in quotes is vacuously true since it is impossible to refute it since a refutation requires a k < 0 [that makes
( k ) false].
Next, let us fix an n and take the I.H. that
( n ) is true. We proceed to show that
( n + 1) is true too, and this will conclude (5). Now,
( n + 1) says “for all k < n + 1,
( k ) holds”, or, “for all k ≤ n ,
( k ) holds”. Another way of putting it is: for all k < n , and for k = n ,
( k ) holds. That is, we want to show that
Now
( n ) is true by the I.H. of our simple induction. That is, for all k < n ,
( k ) is true, by the definition of
in (4). But we have assumed the if-part of (2), and this yields the truth of
( n ). Thus (6) is established, i.e.,
( n + 1), is true. Hence we have concluded (5). Having moreover just seen that
( n ) implies
( n ), for any n , (5) implies that
( n ) too holds for all n —and this statement is (3).
At this point we can “strengthen” our inductions to “start” (basis) at any integer n 0 > 0.
Simple induction with non zero basis: To prove that, for all n ≥ n 0 ,
( n ) holds just do:
(A) Prove the truth of
( n 0 ).
(B) Fix an arbitrary n ≥ n 0 and prove the truth of
( n + 1) on the assumption that
( n ) holds.
Strong induction with non zero basis: To prove that, for all n ≥ n 0 ,
( n ) holds just do:
(a) Prove the truth of
( n 0 ).
(b) Fix an arbitrary n > n 0 and prove the truth of
( n ) on the assumption that
( k ) holds for all n 0 ≤ k < n.
1.4.4.3 Exercise. Start by the trivial observation that the least principle holds on the set
n 0 \= { n 0 , n 0 + 1, n 0 + 2, …}, namely: Every non-empty subset of
n 0 has a least element. Now modify the proof of 1.4.4.1 (using
n 0 instead of
, judiciously) to conclude that the proof schema (a)–(b) above is equivalent to the least principle on the set
n 0 .
Conclude that the proof schema (a)–(b) is valid.
1.4.4.4 Exercise. Imitate the proof of 1.4.4.2 to prove that the schemata (a)–(b) and (A)–(B) above are equivalent in power.
Conclude that the proof schema (A)–(B) is valid.