Skip to main content
Logo image

Section 4.5 Proof by Induction

Subsection Section Preview

Investigate!
What is the unit digit (the right-most digit) of 6n? Does the answer depend on n?
Mathematical induction is a powerful proof technique that can be used to prove statements are true for a sequence of statements, as long as that sequence of statements has some starting place. For example, if we are trying to say something about the unit digit of 6n, we are making that claim for n=1, then n=2, then n=3, and so on.
Induction is closely related to recursive definitions; the main idea in a proof by induction is to explain how you can get from one statement in the sequence to the next.

Worksheet Preview Activity

1.
Suppose that 6472 had a 2 for its unit digit. That is, suppose 6472=19,381,6โ€ฆโ€ฆ2. What would the unit digit of 6473 be?
Hint.
6473=6โ‹…6472.
3.
Which of the following are true? Select all that apply.
  • If the unitโ€™s digit of 6k is a 6, then the unitโ€™s digit of 6k+1 is a 6.
  • If the unitโ€™s digit of 6k is a 2, then the unitโ€™s digit of 6k+1 is a 2.
  • The unitโ€™s digit of 6472 is a 2.
  • The unitโ€™s digit of 6472 is a 6.

Subsection Recursive Reasoning

We have seen that describing a sequence recursively can often be easier than describing the sequence with a closed formula. We will now see how using similar recursive reasoning can help us prove statements using a proof technique called mathematical induction. This style of proof is especially useful when the different instances of the statement (for different values of n, say) are related recursively.
For example, suppose we wanted to prove a fact about all the terms in a sequence for which we have a recursive definition. Consider the sequence (an)nโ‰ฅ0 defined recursively by an=3anโˆ’1โˆ’2 with a0=5. Could we prove that every term in this sequence is odd?
Letโ€™s start by writing out the first few terms of the sequence:
5,13,37,109,โ€ฆ.
So far, all these numbers look odd. Will the next number be odd? Of course, we could just compute it using the recurrence relation. We would take 3โ‹…109โˆ’2. We donโ€™t actually care which odd number this is, just that it is, in fact, odd. We know it will be odd because the product of two odd numbers is odd, and subtracting 2 from an odd number results in an odd number.
Great, so a4 is odd. Will a5 be odd too? Yes, use the same argument as above: a5=3a4โˆ’2. We just convinced ourselves that a4 is odd (without finding its actual value), so 3a4 is odd, and 2 less than it will be odd too.
What about a6? Do the same thing. In fact, why are we using any particular number as the index? If it is the same argument each time, we should be able to just give this argument once and say it always works.
Suppose we have found that ak is odd (where k is some arbitrary natural number). From this, we can find that ak+1 is odd, since ak+1=3akโˆ’2, and 3 times the odd number ak will be odd, and subtracting 2 will result in an odd number. Yay. Letโ€™s put this all together as a proof.

Proof.

We claim that for any nโ‰ฅ0, the number an is odd, where an=3anโˆ’1โˆ’2 and a0=5.
When n=0, the claim is true, since a0=5 is an odd number.
Further, we can prove that every larger n has an odd because as long as ak is odd, so is ak+1 (since ak+1=3akโˆ’2, and 3 times an odd number minus 2 is always odd).
Therefore an is odd for all nโ‰ฅ0.
Soon we will give a more rigid structure for proofs by induction, but the basic idea is exactly what we have above.

Subsection Formalizing Proofs

Induction can prove many statements that hold for all natural numbers, not just statements about sequences. In particular, induction should be used when there is some way to go from one case to the next โ€“ when you can see how to always โ€œdo one more.โ€
Thinking about how we write statements in logical symbols, we will use induction to prove statements of the form
โˆ€nP(n),
where the domain of discourse (the values of n we quantify over) has some least element. Say that domain of discourse is the natural numbers. We are then proving this sequence of statements:
P(0),P(1),P(2),P(3),โ€ฆ.
The way we do this with induction is to prove a base case, that P(0) is true (or P(a) where a is the least element of our domain of discourse). Next, we prove the inductive case, that P(k)โ†’P(k+1) for all kโ‰ฅ0 (or kโ‰ฅa).
Together, these are enough to prove P(n) is true for all n. How do we know? That is, why is this style of proof valid? Well, letโ€™s convince ourselves that P(3) is true. We know P(0) is true. And because we know that P(0)โ†’P(1), we then also know that P(1) is true. Because P(1)โ†’P(2), we then get that P(2) is true. Finally, because P(2)โ†’P(3), we have that P(3). There is nothing special about 3 here. We could have gone up as far as we like, to any n value!
Think of a row of dominoes set up standing on their edges. We want to argue that in a minute, all the dominoes will have fallen. For this to happen, you will need to push the first domino. That is the base case. It will also have to be that the dominoes are close enough together that when any particular domino falls, it will cause the next domino to fall. That is the inductive case. If both of these conditions are met โ€“ you push the first domino over, and each domino will cause the next to fall โ€“ then all the dominoes will fall.
Induction is powerful! Think how much easier it is to knock over dominoes when you donโ€™t have to push over each domino yourself. You just start the chain reaction and then rely on the relative nearness of the dominoes to take care of the rest.
When writing a proof by induction, we will follow a standard style. Writing in this style allows us to keep our ideas organized and might even help us formulate the proof.
Here is the general structure of a proof by mathematical induction:

Induction Proof Structure.

Start by saying what the statement is that you want to prove: โ€œLet P(n) be the statementโ€ฆ.โ€ To prove that P(n) is true for all nโ‰ฅ0, you must prove two facts:
  1. Base case: Prove that P(0) is true. You do this directly. This is often easy.
  2. Inductive case: Prove that P(k)โ†’P(k+1) for all kโ‰ฅ0. That is, prove that for any kโ‰ฅ0 if P(k) is true, then P(k+1) is true as well. This is the proof of an if โ€ฆ then โ€ฆ statement, so you can assume P(k) is true (P(k) is called the inductive hypothesis). You must then explain why P(k+1) is also true, given that assumption.
Assuming you are successful on both parts above, you can conclude, โ€œTherefore by the principle of mathematical induction, the statement P(n) is true for all nโ‰ฅ0.โ€
Sometimes the statement P(n) will only be true for values of nโ‰ฅ4, for example, or some other value. In such cases, replace all the 0โ€™s above with 4โ€™s (or the other value).
Before attempting to prove a statement by mathematical induction, first think about why the statement is true using inductive reasoning. Explain why induction is the right thing to do, and roughly why the inductive case will work. Then, sit down and write out a careful, formal proof using the structure above.

Subsection Examples

Here are some examples of proof by mathematical induction.

Example 4.5.1.

Prove for each natural number nโ‰ฅ1 that 1+2+3+โ‹ฏ+n=n(n+1)2.
Solution.
First, letโ€™s think inductively about this equation. In fact, we know this is true for other reasons (reverse and add comes to mind). But why might induction be applicable? The left-hand side adds up the numbers from 1 to n. If we know how to do that, adding just one more term (n+1) would not be that hard. For example, if n=100, suppose we know that the sum of the first 100 numbers is 5050 (so 1+2+3+โ‹ฏ+100=5050, which is true). Now to find the sum of the first 101 numbers, it makes more sense to just add 101 to 5050, instead of computing the entire sum again. We would have 1+2+3+โ‹ฏ+100+101=5050+101=5151. In fact, it would always be easy to add just one more term. This is why we should use induction.
Now the formal proof:
Proof.
Let P(n) be the statement 1+2+3+โ‹ฏ+n=n(n+1)2. We will show that P(n) is true for all natural numbers nโ‰ฅ1.
Base case: P(1) is the statement 1=1(1+1)2 which is clearly true.
Inductive case: Let kโ‰ฅ1 be a natural number. Assume (for induction) that P(k) is true. That means 1+2+3+โ‹ฏ+k=k(k+1)2. We will prove that P(k+1) is true as well. That is, we must prove that 1+2+3+โ‹ฏ+k+(k+1)=(k+1)(k+2)2. To prove this equation, start by adding k+1 to both sides of the inductive hypothesis:
1+2+3+โ‹ฏ+k+(k+1)=k(k+1)2+(k+1).
Now, simplifying the right side we get:
k(k+1)2+k+1=k(k+1)2+2(k+1)2=k(k+1)+2(k+1)2=(k+2)(k+1)2.
Thus P(k+1) is true, so by the principle of mathematical induction, P(n) is true for all natural numbers nโ‰ฅ1.
Note that in the part of the proof where we proved P(k+1) from P(k), we used the equation P(k). This was the inductive hypothesis. Seeing how to use the inductive hypotheses is usually straightforward when proving a fact about a sum like this. In other proofs, it can be less obvious where it fits in.

Example 4.5.2.

Prove that for all nโˆˆN, 6nโˆ’1 is a multiple of 5.
Solution.
Again, start by understanding the dynamics of the problem. What does increasing n do? Letโ€™s try with a few examples. If n=1, then yes, 61โˆ’1=5 is a multiple of 5. What does incrementing n to 2 look like? We get 62โˆ’1=35, which again is a multiple of 5. Next, n=3: But instead of just finding 63โˆ’1, what did the increase in n do? We will still subtract 1, but now we are multiplying by another 6 first. Viewed another way, we are multiplying a number that is one more than a multiple of 5 by 6 (because 62โˆ’1 is a multiple of 5, so 62 is one more than a multiple of 5). What do numbers that are one more than a multiple of 5 look like? They must have last digit 1 or 6. What happens when you multiply such a number by 6? It depends on the number, but in any case, the last digit of the new number must be a 6. And then if you subtract 1, you get last digit 5, so a multiple of 5.
The point is, every time we multiply by just one more six, we still get a number with last digit 6, so subtracting 1 gives us a multiple of 5. Now the formal proof:
Proof.
Let P(n) be the statement, โ€œ6nโˆ’1 is a multiple of 5.โ€ We will prove that P(n) is true for all nโˆˆN.
Base case: P(0) is true: 60โˆ’1=0, which is a multiple of 5.
Inductive case: Let k be an arbitrary natural number. Assume, for induction, that P(k) is true. That is, 6kโˆ’1 is a multiple of 5. Then 6kโˆ’1=5j for some integer j. This means that 6k=5j+1. Multiply both sides by 6:
6k+1=6(5j+1)=30j+6.
But we want to know about 6k+1โˆ’1, so subtract 1 from both sides:
6k+1โˆ’1=30j+5.
Of course 30j+5=5(6j+1), so is a multiple of 5.
Therefore 6k+1โˆ’1 is a multiple of 5, or in other words, P(k+1) is true. Thus, by the principle of mathematical induction P(n) is true for all nโˆˆN.
We had to be a little bit clever (i.e., use some algebra) to locate the 6kโˆ’1 inside of 6k+1โˆ’1 before we could apply the inductive hypothesis. This is what can make inductive proofs challenging.
In the two examples above, we started with n=1 or n=0. We can start later if we need to.

Example 4.5.3.

Prove that n2<2n for all integers nโ‰ฅ5.
Solution.
First, the idea of the argument. What happens when we increase n by 1? On the left-hand side, we increase the base of the square and go to the next square number. On the right-hand side, we increase the power of 2. This means we double the number. So the question is, how does doubling a number relate to increasing to the next square? Think about what the difference of two consecutive squares looks like. We have (n+1)2โˆ’n2. This factors:
(n+1)2โˆ’n2=(n+1โˆ’n)(n+1+n)=2n+1.
But doubling the right-hand side increases it by 2n, since 2n+1=2n+2n. When n is large enough, 2n>2n+1.
What we are saying here is that each time n increases, the left-hand side grows by less than the right-hand side. So if the left-hand side starts smaller (as it does when n=5), it will never catch up. Now the formal proof:
Proof.
Let P(n) be the statement n2<2n. We will prove P(n) is true for all integers nโ‰ฅ5.
Base case: P(5) is the statement 52<25. Since 52=25 and 25=32, we see that P(5) is indeed true.
Inductive case: Let kโ‰ฅ5 be an arbitrary integer. Assume, for induction, that P(k) is true. That is, assume k2<2k. We will prove that P(k+1) is true, i.e., (k+1)2<2k+1. To prove such an inequality, start with the left-hand side and work towards the right-hand side:
(k+1)2=k2+2k+1<2k+2k+1โ€ฆby the inductive hypothesis.<2k+2kโ€ฆ since 2k+1<2k for kโ‰ฅ5.=2k+1.
Following the equalities and inequalities through, we get (k+1)2<2k+1, in other words, P(k+1). Therefore by the principle of mathematical induction, P(n) is true for all nโ‰ฅ5.
The previous example might remind you of the racetrack principle from calculus, which says that if f(a)<g(a), and fโ€ฒ(x)<gโ€ฒ(x) for x>a, then f(x)<g(x) for x>a. Same idea: the larger function is increasing more than the smaller function, so the larger function will stay larger. In discrete math, we donโ€™t have derivatives, so we look at differences. Thus induction is the way to go.

A Warning.

With great power, comes great responsibility. Induction isnโ€™t magic. It seems very powerful to be able to assume P(k) is true. After all, we are trying to prove P(n) is true, and the only difference is in the variable: k vs. n. Are we assuming that what we want to prove is true? Not really. We assume P(k) is true only for the sake of proving that P(k+1) is true.
Still you might start to believe that you can prove anything with induction. Consider this incorrect โ€œproofโ€ that every Canadian has the same eye color: Let P(n) be the statement that any n Canadians have the same eye color. P(1) is true, since everyone has the same eye color as themselves. Now assume P(k) is true. That is, assume that in any group of k Canadians, everyone has the same eye color. Now consider an arbitrary group of k+1 Canadians. The first k of these must all have the same eye color, since P(k) is true. Also, the last k of these must have the same eye color, since P(k) is true. So in fact, everyone in the group must have the same eye color. Thus P(k+1) is true. So by the principle of mathematical induction, P(n) is true for all n.
Clearly something went wrong. The problem is that the proof that P(k) implies P(k+1) assumes that kโ‰ฅ2. We have only shown P(1) is true. In fact, P(2) is false. Try this: read through the previous paragraph again, substituting 1 for each k. Can you spot the error in that argument?

Reading Questions Reading Questions

1.

Suppose you wanted to prove, using mathematical induction, that 1+3+5+โ‹ฏ+2nโˆ’1=n2 for all values of nโ‰ฅ1. Which of the following would be an appropriate first line of the proof? Select all that apply.
  • Let P(n) be the statement โ€œ1+3+5+โ‹ฏ+2nโˆ’1=n2.โ€
  • Correct. Note in particular, we do not include the โ€œfor all nโ‰ฅ1โ€ as part of the definition of P(n).
  • For each nโ‰ฅ1, let P(n) be the statement, โ€œthe sum of the first n odd numbers is n2.โ€
  • This is correct. Note that saying that we define P(n) for each nโ‰ฅ1 is different from saying that P(n) includes โ€œ...for all nโ‰ฅ1.โ€
  • Assume 1+3+โ‹ฏ+2nโˆ’1=n2 for all nโ‰ฅ1.
  • This is what you are trying to prove, so you cannot assume it. Later in the proof (in the inductive case) we will assume that P(k) is true for some arbitrary k, but this is not assuming it is true for all n at once.
  • Let P(n) be the statement, โ€œ1+3+โ‹ฏ+2nโˆ’1=n2 for all nโ‰ฅ1.โ€
  • This doesnโ€™t make sense: what would P(3) be? That 1+3+5=32 for all 3โ‰ฅ1??
  • Since P(1)=1=12, the base case is true.
  • Two problems here: first, you need to say what P(n) is. Second, P(1) is a statement, so it cannot be equal to the number 1.

2.

Suppose you wanted to prove that P(n,3)โ‰ฅ(n3) for all nโ‰ฅ4. Write the first line of a proof by induction.

3.

What questions do you have? Write at least one question about the content of this section that you or a classmate might be curious about after reading this section.

Exercises Practice Problems

1.

Suppose you are trying to prove, by mathematical induction, that a statement P(n) is true for all nโ‰ฅ0. What would you attempt to prove in the induction step of the proof? (Select all that apply.)
  • That assuming P(k) is true for an arbitrary kโ‰ฅ0, we can prove that P(k+1) is true.
  • That P(k) implies P(k+1) for all kโ‰ฅ0.
  • That assuming P(k+1) is true for an arbitrary kโ‰ฅ0, we can prove that P(k) is true.
  • That P(k+1) implies P(k) for all kโ‰ฅ0.
  • That P(k) implies P(k+1) for at least one kโ‰ฅ0.

2.

Suppose you wanted to prove the following statement:
2+4+6+โ‹ฏ+2n=n(n+1) for all nโ‰ฅ1.
What would the first line of a proof by induction be?
  • Let P(n) be the statement โ€œ2+4+6+โ‹ฏ+2n=n(n+1).โ€
  • Let P(n) be the statement โ€œ2+4+6+โ‹ฏ+2n=n(nโˆ’1) for all nโ‰ฅ1.โ€
  • Assume P(n) is true for all nโ‰ฅ1.
  • Let P(n)=2+4+6+โ‹ฏ+2n.
  • Suppose P(n)=n(n+1) for all nโ‰ฅ1.

3.

Suppose you were proving the following statement by mathematical induction:
2+4+6+โ‹ฏ+2n=n(n+1) for all nโ‰ฅ1.
What would you need to show to establish the base case?
  • Show that P(1) is true. That is, show that 2=1(1+1).
  • Show that P(2) is true. That is, show that 2+4=2(2+1).
  • Even though the sum starts with 2, we need to consider the smallest n for which the statement P(n) is true.
  • Show that P(1) and P(2) are both true.
  • Show that P(1) implies P(2).
  • Nothing, since the sum already has more than n=1 terms.

4.

Suppose you were proving the following statement by mathematical induction:
2+4+6+โ‹ฏ+2n=n(n+1) for all nโ‰ฅ1.
What would the first line of the inductive case be?
  • Assume P(k) is true for some arbitrary kโ‰ฅ1, that is, assume 2+4+6+โ‹ฏ+2k=k(k+1).
  • Assume P(k) is true for all kโ‰ฅ1, that is, assume 2+4+6+โ‹ฏ+2k=k(k+1).
  • Assume P(k) and P(k) are both true for an arbitrary kโ‰ฅ1; that is, assume 2+4+6+โ‹ฏ+2k=k(k+1) and 2+4+6+โ‹ฏ+2k+2k+2)=(k+1)(k+2).
  • Assume P(k) implies P(k+1) for an arbitrary kโ‰ฅ1.
  • Assume P(k) is true for some large kโ‰ฅ1; say, assume 2+4+6+โ‹ฏ+432=216(217).

5.

Arrange some of the statements below to create a correct proof by induction that the recurrence relation an=5anโˆ’1+4, with initial condition a0=0 has closed formula an=5nโˆ’1.

6.

Arrange some of the statements below to create a correct proof by induction that for all nโ‰ฅ1, the number 14nโˆ’1 is a multiple of 13.

7.

Arrange some of the statements below to create a correct proof by induction that for all nโ‰ฅ1, 1+1+2+3+5+โ‹ฏ+Fn=Fn+2โˆ’1, where Fn is the nth Fibonacci number.

Exercises Additional Exercises

1.

On the way to the market, you exchange your cow for some magic dark chocolate espresso beans. These beans have the property that every night at midnight, each bean splits into two, effectively doubling your collection. You decide to take advantage of this, and each morning (around 8 am) you eat 5 beans.
  1. Explain why it is true that if at noon on day n you have a number of beans ending in a 5, then at noon on day n+1 you will still have a number of beans ending in a 5.
  2. Why is the previous fact not enough to conclude that you will always have a number of beans ending in a 5? What additional fact would you need?
  3. Assuming you have the additional fact in part (b), and have successfully proved the fact in part (a), how do you know that you will always have a number of beans ending in a 5? Illustrate what is going on by carefully explaining how the two facts above prove that you will have a number of beans ending in a 5 on day 4 specifically. In other words, explain why induction works in this context.

2.

Use induction to prove for all nโˆˆN that โˆ‘k=0n2k=2n+1โˆ’1.

5.

Prove that F0+F2+F4+โ‹ฏ+F2n=F2n+1โˆ’1 where Fn is the nth Fibonacci number.

6.

Prove that 2n<n! for all nโ‰ฅ4. (Recall, n!=1โ‹…2โ‹…3โ‹…โ‹ฏโ‹…n.)

7.

Prove, by mathematical induction, that F0+F1+F2+โ‹ฏ+Fn=Fn+2โˆ’1, where Fn is the nth Fibonacci number (F0=0, F1=1 and Fn=Fnโˆ’1+Fnโˆ’2).

8.

Zombie Euler and Zombie Cauchy, two famous zombie mathematicians, have just signed up for Myspace accounts. After one day, Zombie Cauchy has more followers than Zombie Euler. Each day after that, the number of new followers of Zombie Cauchy is exactly the same as the number of new followers of Zombie Euler (and neither lose any followers). Explain how a proof by mathematical induction can show that on every day after the first day, Zombie Cauchy will have more followers than Zombie Euler. That is, explain what the base case and inductive case are, and why they together prove that Zombie Cauchy will have more followers on the 4th day.

9.

Find the largest number of points that it is impossible for a football team to get exactly, using just 3-point field goals and 7-point touchdowns (ignore the possibilities of safeties, missed extra points, and two-point conversions). Prove your answer is correct by mathematical induction.
Hint.
It is not possible to score exactly 11 points. Can you prove that you can score n points for any nโ‰ฅ12?

11.

Prove that the sum of the interior angles of a convex n-gon is (nโˆ’2)โ‹…180โˆ˜. (A convex n-gon is a polygon with n sides for which each interior angle is less than 180โˆ˜.)
Hint.
Start with (k+1)-gon, and divide it up into a k-gon and a triangle.

12.

What is wrong with the following โ€œproofโ€ of the โ€œfactโ€ that n+3=n+7 for all values of n (besides of course that the thing it is claiming to prove is false)?
Proof.
Let P(n) be the statement that n+3=n+7. We will prove that P(n) is true for all nโˆˆN. Assume, for induction, that P(k) is true. That is, k+3=k+7. We must show that P(k+1) is true. Now since k+3=k+7, add 1 to both sides. This gives k+3+1=k+7+1. Regrouping (k+1)+3=(k+1)+7. But this is simply P(k+1). Thus by the principle of mathematical induction P(n) is true for all nโˆˆN.

13.

The proof in the previous problem does not work. But if we modify the โ€œfact,โ€ we can get a working proof. Prove that n+3<n+7 for all values of nโˆˆN. You can do this proof with algebra (without induction), but the goal of this exercise is to write out a valid induction proof.

14.

Find the flaw in the following โ€œproofโ€ of the โ€œfactโ€ that n<100 for every nโˆˆN.
Proof.
Let P(n) be the statement n<100. We will prove P(n) is true for all nโˆˆN. First we establish the base case: when n=0, P(n) is true, because 0<100. Now for the inductive step, assume P(k) is true. That is, k<100. Now if k<100, then k is some number, like 80. Of course 80+1=81 which is still less than 100. So k+1<100 as well. But this is what P(k+1) claims, so we have shown that P(k)โ†’P(k+1). Thus by the principle of mathematical induction, P(n) is true for all nโˆˆN.

15.

While the above proof does not work (it better not since the statement it is trying to prove is false!) we can prove something similar. Prove that there is a strictly increasing sequence a1,a2,a3,โ€ฆ of numbers (not necessarily integers) such that an<100 for all nโˆˆN. (By strictly increasing we mean an<an+1 for all n. So each term must be larger than the last.)
Hint.
For the inductive step, you can assume you have a strictly increasing sequence up to ak where ak<100. Now you just need to find the next term ak+1 so that ak<ak+1<100. What should ak+1 be?

16.

What is wrong with the following โ€œproofโ€ of the โ€œfactโ€ that for all nโˆˆN, the number n2+n is odd?
Proof.
Let P(n) be the statement โ€œn2+n is odd.โ€ We will prove that P(n) is true for all nโˆˆN. Suppose, for induction, that P(k) is true, that is, that k2+k is odd. Now consider the statement P(k+1). Now (k+1)2+(k+1)=k2+2k+1+k+1=k2+k+2k+2. By the inductive hypothesis, k2+k is odd, and of course 2k+2 is even. An odd plus an even is always odd, so therefore (k+1)2+(k+1) is odd. Therefore by the principle of mathematical induction, P(n) is true for all nโˆˆN.

17.

Now give a valid proof (by induction, even though you might be able to do so without using induction) of the statement, โ€œFor all nโˆˆN, the number n2+n is even.โ€
Hint.
For the inductive case, you will need to show that (k+1)2+(k+1) is even. Factor this out, and locate the part of it that is k2+k. What have you assumed about that quantity?

18.

Prove that there is a sequence of positive real numbers a0,a1,a2,โ€ฆ such that the partial sum a0+a1+a2+โ‹ฏ+an is strictly less than 2 for all nโˆˆN. Hint: Think about how you could define what ak+1 is to make the induction argument work.
Hint.
This is similar to Exercise 15, although there you were showing that a sequence had all its terms less than some value, and here you are showing that the sum is less than some value. But the partial sums forms a sequence, so this is actually very similar.

19.

Use induction to prove that if n people all shake hands with each other, that the total number of handshakes is n(nโˆ’1)2.
Hint.
We have already proved this without using induction, but looking at it inductively sheds light onto the problem (and is fun).
The question you need to answer to complete the inductive step is, how many new handshakes take place when a person k+1 enters the room? Why does adding this give you the correct formula?

20.

Use induction to prove that โˆ‘k=0n(nk)=2n. That is, the sum of the nth row of Pascalโ€™s triangle is 2n.
Hint.
Hereโ€™s the idea: Since every entry in Pascalโ€™s triangle is the sum of the two entries above it, we can get the k+1st row by adding up all the pairs of entry from the kth row. But doing this uses each entry on the kth row twice. Thus each time we drop to the next row, we double the total. Of course, row 0 has sum 1=20 (the base case). Now try to make this precise with a formal induction proof. You will use the fact that (nk)=(nโˆ’1kโˆ’1)+(nโˆ’1k) for the inductive case.

21.

Use induction to prove (40)+(51)+(62)+โ‹ฏ+(4+nn)=(5+nn). (This is an example of the hockey stick theorem.)
Hint.
To see why this works, try it on a copy of Pascalโ€™s triangle. We are adding up the entries along a diagonal, starting with the 1 on the left-hand side of the 4th row. Suppose we add up the first 5 entries on this diagonal. The claim is that the sum is the entry below and to the left of the last of these 5 entries. Note that if this is true, and we instead add up the first 6 entries, we will need to add the entry one spot to the right of the previous sum. But these two together give the entry below them, which is below and left of the last of the 6 entries on the diagonal. If you follow that, you can see what is going on. But it is not a great proof. A formal induction proof is needed.

22.

Use the product rule for logarithms (logโก(ab)=logโก(a)+logโก(b)) to prove, by induction on n, that logโก(an)=nlogโก(a), for all natural numbers nโ‰ฅ2.

23.

Let f1,f2,โ€ฆ,fn be differentiable functions. Prove, using induction, that
(f1+f2+โ‹ฏ+fn)โ€ฒ=f1โ€ฒ+f2โ€ฒ+โ‹ฏ+fnโ€ฒ.
You may assume (f+g)โ€ฒ=fโ€ฒ+gโ€ฒ for any differentiable functions f and g.
Hint.
You are allowed to assume the base case. For the inductive case, group all but the last function together as one sum of functions, and then apply the usual sum of derivatives rule, and then the inductive hypothesis.

24.

Suppose f1,f2,โ€ฆ,fn are differentiable functions. Use mathematical induction to prove the generalized product rule:
(f1f2f3โ‹ฏfn)โ€ฒ=f1โ€ฒf2f3โ‹ฏfn+f1f2โ€ฒf3โ‹ฏfn+f1f2f3โ€ฒโ‹ฏfn+โ‹ฏ+f1f2f3โ‹ฏfnโ€ฒ.
You may assume the product rule for two functions is true.
Hint.
For the inductive step, we know by the product rule for two functions that
(f1f2f3โ‹ฏfkfk+1)โ€ฒ=(f1f2f3โ‹ฏfk)โ€ฒfk+1+(f1f2f3โ‹ฏfk)fk+1โ€ฒ.
Then use the inductive hypothesis on the first summand, and distribute.

25.

In Exercises  we proved that the following is a valid deduction rule:
Pโ†’Q
Qโ†’R
โˆด Pโ†’R
Now use mathematical induction to prove you can chain together any number of statements like this. That is, prove for any n that the following is a valid deduction rule:
P1โ†’P2
P2โ†’P3
โ‹ฎ
Pnโˆ’1โ†’Pn
โˆด P1โ†’Pn.
Hint.
You can inductively assume that from the first nโˆ’2 implications you can deduce P1โ†’Pnโˆ’1. Then you can use a truth table to verify that this simplified deduction rule is valid.
You have attempted 1 of 8 activities on this page.