Open In App

Discrete Mathematics | Types of Recurrence Relations – Set 2

Prerequisite – Solving Recurrences, Different types of recurrence relations and their solutions, Practice Set for Recurrence Relations
The sequence which is defined by indicating a relation connecting its general term an with an-1, an-2, etc is called a recurrence relation for the sequence.

Types of recurrence relations

Question :- Solve the recurrence relation an + an-1 – 6an-2 = 0 for n>=2 given that a0 = -1 and a1 = 8.
Here coefficients of an, an-1 and an-2 are cn = 1, cn-1 = 1 and cn-2 = -6 respectively. Hence, characteristic equation is
k2 + k – 6 or (k + 3)(k – 2) = 0 ——> (1)
The roots of (1) are k1 = -3 and k2 = 2 which are real and distinct. Therefore, general solution is
an = A(-3)n + B(2)n
where A and B are arbitrary constants. From above we get, a0 = A + B and a1 = -3A + 2B
A + B = -1
-3A + 2B = 8
Solving these we get A = -2 and B = 1
Therefore, an = -2(-3)n + (2)n

Article Tags :