Docsity

Mathematical Induction: Proof Technique for Positive Integers, Study notes of Linear Algebra

Toggle sidebar
bg1
Jim Lambers
Math 6A
Spring Quarter 2003-04
Lecture 18 Notes
These notes correspond to Section 3.3 in the text.
Mathematical Induction
In the previous lecture we learned about the rule of inference known as universal generalization,
which stated that if P(c) is true for an arbitrary element cin the universe of discourse, then the
statement ∀xP (x) is true. In practice, however, it can be difficult to prove that a predicate P(x)
is true for an arbitrary element x.
In this lecture, we will learn one technique for accomplishing this task, in the case where the
universe of discourse is Z+, the set of all positive integers. This technique, which is a rule of inference
called mathematical induction, is used to prove that a statement that has a positive integer nfor a
parameter is true for all possible values of that parameter. Because of its paradoxical combination
of both power and simplicity, mathematical induction has become one of the most widely used
proof techniques in mathematics.
While mathematical induction is used, within mathematics, to prove that existing formulas are
true, as opposed to aiding in the discovery of new formulas, it has been used for more constructive
purposes within computer science, in the area of algorithm design. In this context, mathematical
induction is used to prove that a problem can be solved for an arbitrary input, and the proof
suggests an algorithm for obtaining a solution in such a way that it can easily be implemented. We
will demonstrate this use of mathematical induction in the next lecture.
The Well-Ordering Property
Before we state the principle of mathematical induction, we introduce an important axiom of the
natural numbers. An axiom is a fundamental assumption that is generally accepted without proof,
and is usually sufficiently intuitive so that one can accept it as true without proof. The following
axiom will be used to prove that the technique of mathematical induction is in fact a valid rule of
inference.
Axiom (Well-Ordering Property) If Sis a nonempty set of natural numbers, then Shas a least
element. That is, there exists a natural number m∈Ssuch that n≥mfor all n∈S.
Intuitively, it makes sense that the natural numbers have this property; that is to say, the natural
numbers are well-ordered. This is because the natural numbers themselves have a least element,
namely zero, so any subset of Nshould have a least element as well.
1
pf3
pf4
pf5

Partial preview of the text

Download Mathematical Induction: Proof Technique for Positive Integers and more Study notes Linear Algebra in PDF only on Docsity!

Jim Lambers Math 6A Spring Quarter 2003- Lecture 18 Notes

These notes correspond to Section 3.3 in the text.

Mathematical Induction

In the previous lecture we learned about the rule of inference known as universal generalization, which stated that if P (c) is true for an arbitrary element c in the universe of discourse, then the statement ∀xP (x) is true. In practice, however, it can be difficult to prove that a predicate P (x) is true for an arbitrary element x. In this lecture, we will learn one technique for accomplishing this task, in the case where the universe of discourse is Z+, the set of all positive integers. This technique, which is a rule of inference called mathematical induction, is used to prove that a statement that has a positive integer n for a parameter is true for all possible values of that parameter. Because of its paradoxical combination of both power and simplicity, mathematical induction has become one of the most widely used proof techniques in mathematics. While mathematical induction is used, within mathematics, to prove that existing formulas are true, as opposed to aiding in the discovery of new formulas, it has been used for more constructive purposes within computer science, in the area of algorithm design. In this context, mathematical induction is used to prove that a problem can be solved for an arbitrary input, and the proof suggests an algorithm for obtaining a solution in such a way that it can easily be implemented. We will demonstrate this use of mathematical induction in the next lecture.

The Well-Ordering Property

Before we state the principle of mathematical induction, we introduce an important axiom of the natural numbers. An axiom is a fundamental assumption that is generally accepted without proof, and is usually sufficiently intuitive so that one can accept it as true without proof. The following axiom will be used to prove that the technique of mathematical induction is in fact a valid rule of inference.

Axiom (Well-Ordering Property) If S is a nonempty set of natural numbers, then S has a least element. That is, there exists a natural number m ∈ S such that n ≥ m for all n ∈ S.

Intuitively, it makes sense that the natural numbers have this property; that is to say, the natural numbers are well-ordered. This is because the natural numbers themselves have a least element, namely zero, so any subset of N should have a least element as well.

The Principle of Mathematical Induction

We are now ready to state the rule of inference for mathematical induction, and prove its validity.

Theorem (Mathematical Induction) Let P (n) be a predicate, and let the universe of discourse for n be Z+, the set of all positive integers. Then

{ P (1) ∧ ∀n[P (n) → P (n + 1)] } → ∀nP (n).

Proof Suppose that the hypotheses of the above implication is true; that is, P (1) is true and P (n) → P (n + 1) for all n ∈ Z+. Let S ⊆ Z+^ be the set { k | ¬P (k) }, and assume that S is nonempty; that is, we assume that P (n) is false for at least one value of n. By the Well-Ordering Property, it has a least element k. It follows that k > 1, since P (1) is true. It also follows that P (k − 1) is true, since otherwise k would not be the least element of S. However, P (k − 1) implies P (k), which contradicts our assumption that P (k) is false. Therefore, the set S must be empty and P (n) is true for all n ∈ Z+. 2

We now examine how this rule of inference can be used to prove that a statement P (n) is true for all n ∈ Z+. The two propositions of the conjunction in the rule’s hypothesis suggest the steps that must be followed. First, we must show that P (1) is true. This step is called the basis step, or the base case. Then, we must show that if P (n) is true for an arbitrary n ≥ 1, then P (n + 1) is true as well. This step is called the induction step, or inductive step, and the assumption that P (n) is true for an arbitrary n ≥ 1 is called the induction hypothesis. Once the basis step and the induction step are complete, then we can apply the rule of mathematical induction to conclude that P (n) is true for all n ∈ Z+. To see, intuitively, why this two-step process is sufficient to prove that P (n) is true for all n, one can associate each particular statement P (n), for each fixed value of n, with a domino, and associate the statement “P (n) is true” with the domino being knocked down. It follows that the set { P (n) | n ∈ Z+^ } is associated with an infinitely long sequence of dominos, and if P (n) is true for all n, then all of the dominos are knocked down. By carrying out the basis step and showing that P (1) is true, we are knocking down the first domino. The inductive step implies that if any domino is knocked down, the next domino is knocked down as well. These two statements, taken together, imply that every domino will be knocked down, because the first will cause the second to fall, which in turn will cause the third to fall, and so on.

Examples of Proofs by Mathematical Induction

We now illustrate the use of mathematical induction in proofs.

Example In Lecture 15, we proved that if X 1 and X 2 are random variables defined on a sample space S and X = X 1 + X 2 , then

E(X) = E(X 1 ) + E(X 2 ).

We now use mathematical induction to prove that if X = X 1 + X 2 + · · · + Xn, where n ≥ 2 and X 1 , X 2 ,.. ., Xn are any n random variables defined on S, then

E(X) = E(X 1 ) + E(X 2 ) + · · · + E(Xn).

The basis step corresponds to n = 2. In this case, we have X = X 1 + X 2 , and we proved in the Lecture 15 notes that E(X) = E(X 1 ) + E(X 2 ). For the induction step, we assume that the above sum holds for an arbitrary n ≥ 1 and show that it holds for n + 1. That is, we assume that

E

( (^) n ∑

i=

Xi

∑^ n

i=

E(Xi)

and will show that this implies

E

(n+ ∑

i=

Xi

n∑+

i=

E(Xi),

where Xn+1 is any random variable defined on S. We have

E

(n+ ∑

i=

Xi

= E

([ (^) n ∑

i=

Xi

]

  • Xn+

= E

([ (^) n ∑

i=

Xi

])

  • E(Xn+1)

∑^ n

i=

E(Xi) + E(Xn+1)

n∑+

i=

E(Xi).

Note that the case of n = 2 from the basis step was used in the second step above to decompose the expectation of the variable X 1 + X 2 + · · · + Xn+1 into the sum of the expectations of two random variables, X 1 + X 2 + · · · + Xn and Xn+1. The induction hypothesis was then applied in the third step to the variable X 1 + X 2 + · · · + Xn. 2

Remark Note that in the preceding example, we proved that the statement

“the expectation of the sum of n random variables is equal to the sum of their expectations,”

is true for each integer n ≥ 2. While the principle of mathematical induction, as stated, applies to statements that hold for all positive integers, it applies equally well to statements that hold for all positive integers not less than k, for some fixed k. To see this, note that proving the preceding statement true for n ≥ 2 is equivalent to proving that the statement

“the expectation of the sum of n + 1 random variables is equal to the sum of their expectations”

is true for each integer n ≥ 1. 2

Strong Induction

In the induction step of a proof of the statement ∀nP (n) by mathematical induction, we show that P (n) implies P (n + 1) for an arbitrary n. In many cases, however, it is more convenient to assume that P (k) is true for all positive integers k ≤ n, where n is arbitrary, and show that this assumption implies that P (n + 1) is true. This is the principle of strong induction. It is natural to ask whether strong induction is a valid principle for a proof of ∀nP (n). To see that it is, we note that proving this statement using strong induction is equivalent to using “standard” mathematical induction to prove the statement ∀nQ(n), where Q(n) is the predicate “P (k) is true for all positive integers k ≤ n.”

Example We use strong induction to prove that every positive integer n, where n > 1, can be factored into prime numbers. We say that n has a prime factorization. The basis step is the case of n = 2. Since 2 itself is a prime number, it is trivially the product of primes. For the induction step, we assume that each positive integer not exceeding n, where n > 1 is arbitrary, has a prime factorization. We must now show that this induction hypothesis implies that n + 1 also has a prime factorization. By the principle of strong induction, it will then follow that every positive integer n, where n > 1, has a prime factorization. We consider two cases. First, suppose that n + 1 is prime. Then it trivially has a prime factorization; it is the product of one prime, itself. Now, suppose that n + 1 is not prime; we say that it is a composite number. Then there must be some positive integer k, where k > 1 and k < n + 1, such that n + 1 is divisible by k, for otherwise n + 1 is prime, which contradicts our assumption that it is not. Let p = (n + 1)/k. Then p and k are both integers that are greater than one and less than n + 1, so, by the induction hypothesis, each has a prime factorization. Because both k and p divide n + 1, we can obtain a prime factorization for n + 1 by combining those of k and p. 2