Processing math: 100%

Fall 2000 Exam Question 3

Hello everyone. In this video, we're going to talk about the 2000 exam, and we're going to start with question 3.

Question: Let a1=2, a2=3 and an=3an12an2 for n3. Show that an=2n1+1 for n1.

Solution

So when you see a question like this, it feels pretty natural to use some sort of induction. Because I'm going back twice, I think I'm going to use Strong Induction to prove this, and especially since I have the condition for n3, I definitely want at least two base cases to account for this fact. You'll see where all this comes into play when you write the proof, but for now, let's just actually go through it.

Base Cases

For n=1 and n=2,

a1=2=211+1a2=3=2+1=221+1

So the claim definitely holds for the first two values.

Induction Hypothesis

Now for the induction hypothesis, so because I'm using Strong Induction, I'm going to assume that ai=2i1+1 for all i{1,2,...,k} for some kN, k2.

Now why do I add this extra restriction k2? That's going to come through in the induction conclusion, okay, and the main reason for this is that I need to be able to use the recurrence relation at some point, which we'll see in a minute, and to use the recurrence relation, I need that n3.

So if I have k2, then k+13, and I can use the recurrence, okay? That's why I need k2.

Induction Conclusion

So in the induction conclusion, now we're going to prove that ak+1=2k+1. Since k+13, I can use the recursive definition to see that:

ak+1=3ak2ak1=3(2k1+1)2(2k2+1)IH=32k1+32k12=22k1+1=2k+1

So the IH step is why I needed to go back in time twice so that I could use the ak definition and the ak1. I need both of those to make this question work, so that's why I needed to have Strong Induction here.

Thus, the statement is true for n=k+1 and the claim is proven by POSI.

And that's it, okay? So just a quick recap. Okay, so again, Strong Induction, not weak induction because I need to go back twice. So you might not see this until you actually write down the induction conclusion step, but that's okay. If you notice a little late, just go back and correct it.

After using that and simplifying, that part's easy. So once you know to use Strong Induction, that's okay, and I need two base cases so that I can ensure that k2. So if I prove the first two base cases, then I can assume that k2 because I know that when k=1 and k=2, I already have the claim, okay? And that's it. So hopefully that gives you a little bit of an idea how to do an induction question, and good luck on the final.