Solve these recurrence relations together with the initial conditions given a_{n+2}=-4a_{n+1}+5a_n

protisvitfc

protisvitfc

Answered question

2021-11-20

Solve these recurrence relations together with the initial conditions given
an+2=4an+1+5an for n0, a0=2, a1=8

Answer & Explanation

Fearen

Fearen

Beginner2021-11-21Added 15 answers

The given reccuranse relations is
an+2=4an+1+5an for n0, a0=2, a1=8
therefore the characteristic equation for the reccurence solution is
r2+4r5=0
r2+(51)r5=0
r2+5rr5=0
r(r+5)1(r+5)=0
(r+5)(r1)=0
r=5,1
therefore, characteristic roots are 1, -5.
so the solution of the given recurrence relation toill be
an=A(5)n+B(1)n
an=A(5)n+B
Now a0=2
so from equation
a0=A(5)0+B
a0=A+B
A+B=2
as a1=8, therefore from
a1=A(5)1+B
8=5A+B
5A+B=8
Sunstracting equation we get
A+B+5AB=28
6A=6
A=66=1
A=1
Therefore,
1+b=2B=2+1=3
B=3
Putting these values into equation the solution of given recurrence relation is
an=(5)n+3

Do you have a similar question?

Recalculate according to your conditions!

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?