Consider the non-homogeneous linear recurrence relations a n </msub> = 2

Finley Mckinney

Finley Mckinney

Answered question

2022-06-18

Consider the non-homogeneous linear recurrence relations a n = 2 a n 1 + 2 n find all solutions.
I can show that a n ( h ) characteristic equation r 2 = 0 a n ( h ) = α 2 n .
But I'm stuck on a n ( p ) characteristic equation A 2 n = 2 A 2 n 1 + 2 n
Simplifies to A = 2
A = 2 A + 2

Answer & Explanation

Misael Li

Misael Li

Beginner2022-06-19Added 14 answers

Step 1
Here is an alternative method of solution. I consider a more general form of the problem as follows:
f n A f n 1 = B C n f n 1 A f n 2 = B C n C where f 0 is given and f 1 = A f 0 + B C. Now, multiply the 2nd equation by C and add to eliminate the C n terms to get
f n = ( A + C ) f n 1 C A f n 2
Step 2
This is now in the form of a generalized Fibonacci sequence, say
f n = a f n 1 + b f n 2 a = A + C b = C A which can solved by standard means.
Kyla Ayers

Kyla Ayers

Beginner2022-06-20Added 8 answers

Step 1
Let A ( z ) = n = 0 a n z n be the ordinary generating function. Then A ( z ) = a 0 + n = 1 ( a n 1 + 2 n ) z n = a 0 + z n = 1 a n 1 z n 1 + n = 1 ( 2 z ) n = a 0 + z A ( z ) + 2 z 1 2 z ,
Step 2
so A ( z ) = a 0 1 z + 2 z ( 1 z ) ( 1 2 z ) = a 0 1 z 2 1 z + 2 1 2 z = a 0 2 1 z + 2 1 2 z = ( a 0 2 ) n = 0 z n + 2 n = 0 ( 2 z ) n = n = 0 ( a 0 2 + 2 n + 1 ) z n ,
which immediately implies that a n = a 0 2 + 2 n + 1 ..

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?