Induction Proof: Am I on the right track?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
elizaburlap
Messages
8
Reaction score
0

Homework Statement



Let a(1)=a(2)=5 and a(n+1)=a(n)+6a(n-1), n≥2
Use induction to prove that a(n)=(3^n)-(-2)^n for n≥1

Homework Equations



Not applicable

The Attempt at a Solution



I have check that a(3) = 5+6·5 = 35 = 3^3-(-2)^3 so it holds for n = 3.
The cases n = 1 and n = 2 are similar and also hold

So I assumed that it holds for n and considered

a(n+1) = a(n)+6a(n-1)
= (3^n-(-2)^n)+6(3^(n-1)-(-2)^(n-1))

The second term [6(3^(n-1)-(-2)^(n-1))] equals [2·3^n+3·(-2)^n].

So,

a(n+1) = (3^n-(-2)^n)+(2·3^n+3·(-2)^n)
= 3^(n+1)-(-2)^(n+1)

Is this a valid induction proof? Am I on the right lines here?

Thanks!
 
Physics news on Phys.org
welcome to pf!

hi elizaburlap! welcome to pf! :smile:

(try using the X2 and X2 buttons just above the Reply box :wink:)
elizaburlap said:
So I assumed that it holds for n and considered

a(n+1) = a(n)+6a(n-1)
= (3^n-(-2)^n)+6(3^(n-1)-(-2)^(n-1)) …

yes, that's all (difficult to read :wink:, but) fine! :smile:
 
Thank you! This was my first attempt at an induction proof, so I wasn't too sure.

Oh! I see the x2 now, thanks :)