Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Examples of Proofs by Induction - Lecture Notes | MATH 3240, Study notes of Number Theory

Material Type: Notes; Professor: Conrad; Class: Introduction to Number Theory; Subject: Mathematics; University: University of Connecticut; Term: Fall 2009;

Typology: Study notes

2009/2010

Uploaded on 03/28/2010

koofers-user-qal-2
koofers-user-qal-2 🇺🇸

10 documents

1 / 7

Toggle sidebar

Related documents


Partial preview of the text

Download Examples of Proofs by Induction - Lecture Notes | MATH 3240 and more Study notes Number Theory in PDF only on Docsity! EXAMPLES OF PROOFS BY INDUCTION KEITH CONRAD 1. Introduction In this handout we illustrate proofs by induction from several areas of mathematics: linear algebra, polynomial algebra, and calculus. Becoming comfortable with induction proofs is almost entirely a matter of having lots of experience. The first kind of induction argument one usually sees is for summation identities, such as ∑n k=1 k = n(n+1) 2 . That style of induction proof is not how induction is generally used in proofs in mathematics! Two questions naturally arise from this. (1) Why are students sometimes taught only induction with summation identities, if it’s not a typical way induction is often used in proofs? (2) Why are induction proofs of summation identities bad models for induction else- where in mathematics? I will leave the answer to the first question to your imagination. The answer to the second question is that in most uses of induction, you can’t argue by trying to “add something to both sides” like in the proof of a summation identity, because what is being proved isn’t an identity, so there aren’t “both sides” in the first place. Even identities that are proved by induction can’t always proceed by manipulating the previously settled cases into the next case like in a summation identity. The right way to approach an inductive argument is to ask yourself “How can I use the earlier cases to prove the next case” rather than “How can I algebraically manipulate the earlier cases into the next case”? In particular, the inductive step does not usually begin by immediately writing down the earlier case and doing something to it. What normally happens is that the earlier (proved) cases appear somewhere within the inductive step, but it could be in the middle or the end. This will be clearer after you read the proofs below. Another important idea for creating proofs by induction is to try out small explicit ex- amples. Can you get the case n = 2 from the case n = 1 somehow? Can you get the case n = 3 from the case n = 2 somehow? If you have no idea how to manufacture the inductive step in general, working out small cases of the inductive step successfully can usually help suggest an outline for a proof of the inductive step in general. 2. Linear Algebra We begin with an inductive proof of a matrix identity where the “do something to both sides” idea from summation identity proofs works. Theorem 2.1. Let A be a square matrix and B be an invertible square matrix of the same size. Then (BAB−1)n = BAnB−1 for all integers n ≥ 0. Proof. We argue by induction on n, the exponent. The result is obvious for n = 0, when both sides equal the identity matrix. When n = 1, the equation (BAB−1)1 = BAB−1 is obvious. 1 2 KEITH CONRAD Let’s see what happens in the case when n = 2 (this is not strictly necessary, but is the kind of work a student should do to discover a proof of the inductive step: try small cases). We have (BAB−1)2 = (BAB−1) · (BAB−1) = BA(B−1B)AB−1 = BAIAB−1 = BAAB−1 = BA2B−1. The way B and B−1 cancelled in the middle is the key idea. Let’s prove the case n = 3 from the case n = 2 in the same way: now that we know (BAB−1)2 = BA2B−1, (BAB−1)3 = (BAB−1)2 · (BAB−1) = BA2B−1BAB−1 = BA2(B−1B)AB−1 = BA2IAB−1 = BA2AB−1 = BA3B−1. Hopefully from these two small cases you already see how the inductive step for any n will work. That general step is what we turn to next. To prove the inductive step, assume the result is established for exponent n: (BAB−1)n = BAnB−1. Then (BAB−1)n+1 = (BAB−1)n(BAB−1) = (BAnB−1) · (BAB−1) = BAn(B−1B)AB−1 = BAnIAB−1 = BAn ·AB−1 = BAn+1B−1 (We used the inductive hypothesis in the second equation.) Thus, the result is true for exponent n+ 1 if it is true for exponent n. Since the base case n = 1 is true, and assuming the n-th case is true we showed the (n+ 1)-th case is true, we conclude that the theorem is true for all integers n ≥ 0.  In our next theorem from linear algebra whose proof uses induction, we do not argue in the inductive step from one case directly to the next case. Instead the inductive step has a proof of the next case by reducing ourselves to the setting of the previous case. This reduction idea is extremely important: a lot of proofs by induction follow it. Theorem 2.2. Let A be a square matrix. Eigenvectors for A having distinct eigenvalues are linearly independent: if v1, . . . ,vr are eigenvectors for A, with Avi = λivi for distinct scalars λ1, . . . , λr, then v1, . . . ,vr are linearly independent. As a reminder, an eigenvector for A is a nonzero vector v such that Av = λv for some scalar λ. EXAMPLES OF PROOFS BY INDUCTION 5 4. Calculus We will prove three theorems from calculus using induction. In the first two theorems we will take for granted the product rule. (The proof of the product rule has nothing to do with induction but everything to do with the limit definition of the derivative. This will not be discussed, since this is a handout on induction, not limits.) Our first inductive proof in calculus is the power rule. Theorem 4.1. For n ≥ 1, (xn)′ = nxn−1. Proof. We will use the product rule and induction. The case n = 1 says x′ = 1, which can be proved directly from the definition of the derivative as the limit of a Newton quotient. This is left to the reader to check. To understand the inductive step, first let’s check two special cases: the passage from n = 1 to n = 2 and the passage from n = 2 to n = 3. Using the product rule on x2, (x2)′ = (xx)′ = xx′ + xx′ = x+ x = 2x. Using the product rule on x3, written as x2 · x, (x3)′ = (x2 · x)′ = x2 · x′ + x · (x2)′ = x2 · 1 + x · 2x = x2 + 2x2 = 3x2. Note where the used the formula for (x2)′ in this proof of the formula for (x3)′. With these special cases in mind, the inductive step in general should make sense: as- suming (xn)′ = nxn−1, we have by the product rule (xn+1)′ = (xn · x)′ = xn · x′ + x · (xn)′ = xn · 1 + x · nxn−1 = xn + nxn = (n+ 1)xn.  Remark 4.2. Although the power rule is an identity, it can’t be proved using the simple- minded “do something to both sides” method of induction in proofs of summation identities. Think about it: how are you going to massage both sides of the equation (xn)′ = nxn−1 to get (xn+1)′ on the left side? The exponent appears inside the derivative, so you can’t apply some simple operation to (xn)′ to make it (xn+1)′. You will not get anywhere by starting the inductive step with (xn)′. What happened instead in the proof is that the product rule lets us write (xn+1)′ in terms of (xn)′, and at that point we can bring in the inductive hypothesis about (xn)′. This is why the right attitude in induction proofs is to ask “How can I use the previous case” instead of “How can I start with the previous case?” Our next inductive proof in calculus is an example of inducting on the number of terms in a formula. Theorem 4.3. For differentiable functions f1(x), . . . , fn(x), (f1(x) · · · fn(x))′ f1(x) · · · fn(x) = f ′1(x) f1(x) + · · ·+ f ′ n(x) fn(x) . Proof. We induct on n, the number of functions. When n = 1, the formula is clear since both sides equal f ′1(x)/f1(x). To handle the case n = 2, the product rule tells us (f1(x)f2(x))′ = f ′1(x)f2(x) + f1(x)f ′ 2(x). 6 KEITH CONRAD Divide both sides by f1(x)f2(x) and we get the formula we are looking for: (f1(x)f2(x))′ f1(x)f2(x) = f ′1(x)f2(x) f1(x)f2(x) + f1(x)f ′2(x) f1(x)f2(x) = f ′1(x) f1(x) + f ′2(x) f2(x) . Let’s see how to prove the theorem for n = 3 by a reduction to the case n = 2: we can view a product of three terms f1(x)f2(x)f3(x) as a product of two terms, (f1(x)f2(x))f3(x). By the proved case of (any) two differentiable functions, (f1(x)f2(x)f3(x))′ f1(x)f2(x)f3(x) = ((f1(x)f2(x))f3(x))′ (f1(x)f2(x))f3(x) = (f1(x)f2(x))′ f1(x)f2(x) + f ′3(x) f3(x) . Again by the case of two differentiable functions, (f1(x)f2(x))′ f1(x)f2(x) + f ′3(x) f3(x) = f ′1(x) f1(x) + f ′2(x) f2(x) + f ′3(x) f3(x) . We can apply the same idea for the general proof of the inductive step. Let’s assume the theorem is proved for any n differentiable functions. When f1(x), . . . , fn+1(x) are any n+ 1 differentiable functions, write (4.1) f1(x) · · · fn(x)fn+1(x) = (f1(x) · · · fn(x)) · fn+1(x), where the first product on the right contains n functions. Treating f1(x) · · · fn(x) as a single function, we can view the right side of (4.1) as a product of two functions. Then we can use the proved case of the theorem for two functions to simplify the expression with n+ 1 functions before using the inductive hypothesis: (f1(x) · · · fn+1(x))′ f1(x) · · · fn+1(x) = ((f1(x) · · · fn(x)) · fn+1(x))′ (f1(x) · · · fn(x)) · fn+1(x) = (f1(x) · · · fn(x))′ f1(x) · · · fn(x) + f ′n+1(x) fn+1(x) (Case of two functions) = f ′1(x) f1(x) + · · ·+ f ′ n(x) fn(x) + f ′n+1(x) fn+1(x) (by ind. hyp.), and this is what we needed to show for n+ 1 functions.  Remark 4.4. The inductive step of this proof does not start with the identity for n functions and do something to both sides in order to get the identity for n + 1 functions. Instead the inductive step starts off by writing (f1(x) · · · fn+1(x))′/(f1(x) · · · fn+1(x)) in terms of (f1(x) · · · fn(x))′/(f1(x) · · · fn(x)) and then the inductive hypothesis can be applied. Our final inductive proof in calculus is a beautiful formula for n! in terms of integrals. Theorem 4.5 (Euler). For n ≥ 0, ∫∞ 0 x ne−x dx = n!. Proof. We argue by induction on n. For n = 0,∫ ∞ 0 e−x dx = lim b→∞ ∫ b 0 e−x dx = lim b→∞ (−e−x) ∣∣∣∣b 0 = lim b→∞ −e−b − (−e−0) = 0− (−1) = 1. EXAMPLES OF PROOFS BY INDUCTION 7 Assuming the theorem is proved for some value of n, we prove it for n + 1 by expressing∫∞ 0 x n+1e−x dx in terms of ∫∞ 0 x ne−x dx using integration by parts:∫ ∞ 0 xn+1e−x dx = lim b→∞ ∫ b 0 xn+1e−x dx = lim b→∞ ∫ b 0 udv (u = xn+1, dv = e−x dx) = lim b→∞ uv ∣∣∣∣b 0 − ∫ b 0 v du (du = (n+ 1)xn, v = −e−x) = lim b→∞ − x n+1 ex ∣∣∣∣b 0 + ∫ b 0 (n+ 1)xne−x dx = lim b→∞ ( −b n+1 eb + 0 ) + (n+ 1) ∫ ∞ 0 xne−x dx. Exponentials grow much faster than polynomials, so bn+1/eb → 0 as b→∞. Therefore∫ ∞ 0 xn+1e−x dx = (0 + 0) + (n+ 1) ∫ ∞ 0 xne−x dx = (n+ 1) ∫ ∞ 0 xne−x dx. By the inductive hypothesis, this last expression is (n+ 1) · n! = (n+ 1)!. That completes the proof.  Remark 4.6. The inductive step did not start with the equation ∫∞ 0 x ne−x dx = n! and do something to both sides to turn it into the equation ∫∞ 0 x n+1e−x dx = (n+ 1)!. Instead we started with the integral ∫∞ 0 x n+1e−x dx and rewrote it in terms of ∫∞ 0 x ne−x dx, at which point we can bring in the inductive hypothesis about ∫∞ 0 x ne−x dx. The key thing to look for when you read a proof by induction is how the inductive step uses earlier cases to get the next case. Review each proof again with this in mind. Frequently the inductive step does not start with the inductive hypothesis (that is, an earlier case) right away.
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved