Distinct Roots

Let be real numbers. Suppose that the characteristic equation

has distinct roots . Then a sequence is a solution of the recurrence relation

if and only if

for , where are constants that can be derived from initial conditions.

General Case

Let be real numbers. Suppose that the characteristic equation

has distinct roots with multiplicities , respectively, so that for and . Then a sequence is a solution of the recurrence relation

if and only if

for , where are constants for and that can be derived from initial conditions.

Non-homogenous Case

If is a particular solution of the non-homogeneous linear recurrence relation with constant coefficients

then every solution is of the form , where is a solution of the associated homogeneous recurrence relation