recurrence Relations
Linear with Constant Coefficients
A linear recurrence with constant coefficients is an equation of the form
If is 0, then the recurrence is said to be homogeneous, and non-homogeneous otherwise.
The positive integer is said to be the order of the recurrence.
Solutions of Homogeneous Equations
The roots of the characteristic polynomial equation, along with initial conditions, are used to find solutions.
If there are distinct roots then each solution to the recurrence takes the form
If there are repeated roots, terms the second and higher occurrences of the same root are multiplied by increasing powers of so if the characteristic polynomial can be factored as then the solution would have the form
Order 1
The recurrence
has the solution with
Order 2
Consider a recurrence relation of the form
If we assume it as a solution of the form , we can make the substitution to get
which must be true for all
If we divide everything by we get
We can solve for to get the two roots and which are the characteristic roots or eigenvalues of the characteristic equation.
If the roots are distinct, our general solution has the form
and if they are identical we have
We can use initial conditions to find the values of ad
Note that this process is almost exactly the same as finding the solution for linear homogenous differential equations.