Use Induction to prove recurrence. Solve the following recurrence and prove your result is correct using induction: a_1=0, a_n=3(a_{n-1})+4^n\ for\ n >= 2

Chebenk5

Chebenk5

Answered question

2022-09-06

Use Induction to prove recurrence
Solve the following recurrence and prove your result is correct using induction:
a 1 = 0
a n = 3 a n 1 + 4 n   f o r   n 2

Answer & Explanation

Sharon Dawson

Sharon Dawson

Beginner2022-09-07Added 20 answers

Step 1
I assume you mean a 0 = 0 and a n = 3 a n 1 + 4 n for n 1 (not n 2). And by "prove this recursive sequence", you mean to find a closed formula.
Consider the generating function f ( x ) = n = 0 a n x n ,
then by the initial condition and recursive relation, we have
3 x f ( x ) + n = 1 4 n x n = n = 1 a n x n = f ( x )
3 x f ( x ) + 1 1 4 x 1 = f ( x )
f ( x ) = 4 x ( 1 4 x ) ( 1 3 x ) = 4 x ( a = 0 ( 4 x ) a ) ( b = 0 ( 3 x ) b ) = n = 1 4 ( a + b = n 1 4 a 3 b ) x n = n = 1 4 b = 0 n 1 ( 3 4 ) b 4 n 1 x n = n = 1 4 n + 1 ( 1 ( 3 4 ) n ) x n
Step 2
Hence a n = 4 n + 1 ( 1 ( 3 4 ) n ) = 4 ( 4 n 3 n )
Dana Chung

Dana Chung

Beginner2022-09-08Added 14 answers

Step 1
If a n = u a n 1 + v n then (here comes the trick), dividing by u n , a n u n = u a n 1 u n + v n u n = a n 1 u n 1 + ( v / u ) n
Let b n = a n u n . Then b n = b n 1 + r n where r = v / u or b n b n 1 = r n
This becomes a telescoping sum, so
b m b 0 = n = 1 m ( b n b n 1 ) = n = 1 m r n = r r m + 1 1 r (if  r 1.  If  r = 1 , the sum is  m . ) = v u ( v u ) m + 1 1 v u = v v m + 1 u m u v so a m u m a 0 = v v m + 1 u m u v or a m = u m a 0 + v u m v m + 1 u v = u m a 0 + v ( u m v m ) u v
Step 2
Note that, if the as start at k instead of 0, we can do
b m b k = n = k + 1 m ( b n b n 1 ) = n = k + 1 m r n = r k + 1 r m + 1 1 r (if  r 1.  If  r = 1 , the sum is  m k . ) = ( v u ) k + 1 ( v u ) m + 1 1 v u = v k + 1 u k v m + 1 u m u v so a m u m a k u k = v k + 1 u k v m + 1 u m u v or a m = u m k a k + v k + 1 u m k v m + 1 u v = u m k a k + v k + 1 ( u m k v m k ) u v
If this is for k = 1, this becomes a m = u m 1 a 1 + v 2 ( u m 1 v m 1 ) u v

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?