Solve the recurrence relation an + an-1 – 6an-2 = 0 for n>=2 given that a0 = -1 and a1 = 8.
Answers
Answer:
when n = 1 ,A1= 17a0+ 30 ,now A2= 17
We need to recall the following definition of the recurrence relation.
Recurrence relation: An equation that expresses the term of a sequence as a function of the preceding terms.
This problem is about the general solution of the recurrence relation.
Given:
for
and
We have,
Here, the degree is .
So, the characteristic equation is,
or
Let's consider and
Then, the general solution of the homogeneous equation is,
.......
From the given initial conditions, we get
.......
.......
Solving equations and , we get
and
Substitute the values in the equation
Hence, the general solution of the recurrence relation is,