What are recurrence relations?
A recurrence relation for the sequence in terms of one or more of its previous terms (,,…) such that n>, where is a non-negative integer.
Example: Fibonacci series
{} = 1, 1, 2, 3, 5,…
= 1, = 1, = 2, = 3, …
= + , n >= 2
Degree of recurrence relation
The degree of recurrence relation is ‘K’ if the highest term of the numeric function is expressed in terms of its previous K terms.
Degree = highest coefficient - lowest coefficient
Linear recurrence relation with constant coefficients
The standard form of a linear recurrence relation with a constant coefficient is,
+ + +…+
Each term of the sequence {} is linear, the coefficients are , , ,…,
= + +…+
Homogeneous recurrence relation
The above equation is said to be homogenous if f( r ) = 0, i.e,
+ +…+ = 0
Non-homogeneous recurrence relation
Equation is non-homogeneous if f( r ) != 0
+ +…+ != 0
General solution of the Fibonacci relation
If satisfies the fibonacci relation = + for n>=2, then there are constants and such that,
= ( )^n + ( )^n
Let the constant be completely determined by the initial conditions.
Solving recurrence relations by the method of characteristic roots
Let the homogeneous linear recurrence relation with constant coefficient be,
= + +…+
Assume that there exists a solution of form = and substitute in the above relation.
- - -…- = 0 – characteristic equation.
, , ,…, are called characteristic roots.
- Roots are real and unequal: If the roots , ,…, are real and unequal then the homogeneous solution is,
= ^n + ^n +…+ ^n
, are constants that are determined by the given initial conditions.
- Roots are real and equal: If two roots , are equal ( = ), then the homogeneous solution is,
= ( + n )