From homogeneous to non-homogeneous linear recurrence relation I'm trying to do the following exerc

Kazeljkaml5n9y

Kazeljkaml5n9y

Answered question

2022-05-13

From homogeneous to non-homogeneous linear recurrence relation
I'm trying to do the following exercise:
Find a non-homogeneous recurrence relation for the sequence whose general term is
a n = 1 2 3 n 2 5 7 n
From this expression we can obtain the roots of the characteristic polynomial P(x), which are 3 and 7, so P ( x ) = x 2 10 x + 21 and a n = 10 a n 1 21 a n 2 n 2 , a 0 = 1 10 , a 1 = 13 10
Now I don't know how to obtain a non-homogeneous recurrence relation given this homogeneous recurrence relation.

Answer & Explanation

overnachtt9xyx

overnachtt9xyx

Beginner2022-05-14Added 14 answers

Step 1
Just start with your favorite term containing a n and a n 1 , say a n a n 1 , calculate the difference, here
a n a n 1 = 1 2 3 n 2 5 7 n 1 2 3 n 1 + 2 5 7 n 1
Step 2
giving you the inhomogeneous recurrence
a n = a n 1 + 1 2 3 n 2 5 7 n 1 2 3 n 1 + 2 5 7 n 1 , n 1
poklanima5lqp3

poklanima5lqp3

Beginner2022-05-15Added 5 answers

Step 1
Write the relations for two consecutive terms:
{ a n = 1 2 3 n 2 5 7 n a n + 1 = 1 2 3 n + 1 2 5 7 n + 1 = 3 2 3 n 14 5 7 n
Eliminate (for example) 7 n between the two:
a n + 1 7 a n = ( 3 2 3 n 14 5 7 n ) ( 7 2 3 n 14 5 7 n ) a n + 1 = 7 a n 2 3 n
Step 2
Note that the non-homogeneous recurrence is not unique. If you chose to eliminate the other power 3 n , for example, you would get a n + 1 = 3 a n 8 5 7 n , which is equally valid, as are many others.

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?