lacunary - Mathnotes

recurrence Relations

Linear with Constant Coefficients

A linear recurrence with constant coefficients is an equation of the form

yt=a1yt1++anytn+b.

If b is 0, then the recurrence is said to be homogeneous, and non-homogeneous otherwise.

The positive integer n 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 d distinct roots r1,r2,,rd, then each solution to the recurrence takes the form

an=k1r1n+k2r2n++kdrdn.

If there are repeated roots, terms the second and higher occurrences of the same root are multiplied by increasing powers of n, so if the characteristic polynomial can be factored as (xr)3, then the solution would have the form

an=k1rn+k2nrn+k3n2rn.

Order 1

The recurrence

an=ran1

has the solution an=krn with a0=k.

Order 2

Consider a recurrence relation of the form

an=Aan1+Ban2.

If we assume it as a solution of the form an=rn, we can make the substitution to get

rn=Arn1+Brn2,

which must be true for all n>1.

If we divide everything by rn2 we get

r2=Ar+b,r2ArB=0.

We can solve for r to get the two roots λ1 and λ2, which are the characteristic roots or eigenvalues of the characteristic equation.

If the roots are distinct, our general solution has the form

an=Cλ1n+Dλ2n,

and if they are identical we have

an=Cλn+Dnλn.

We can use initial conditions to find the values of C ad D.

Note that this process is almost exactly the same as finding the solution for linear homogenous differential equations.