[Math] non homogeneous recurrence relation

recurrence-relations

I am trying to solve the non-homogeneous linear recurrence relation:

$$f(n) = 6f(n-1) – 5,\quad f(0) = 2.$$

How do I go about doing it? This is so different from solving a homogeneous recurrence relation.

Best Answer

This answer shows one elementary method of solving exactly this kind of problem. There are many others, most of them considerably more general; this link gives an brief introduction to some of them. This PDF goes into considerably more detail.