TheoremComplete

Recurrence Relations - Main Theorem

The fundamental theorem for linear homogeneous recurrence relations with constant coefficients provides a complete characterization of solutions based on the characteristic equation.

DefinitionGeneral Solution Theorem

Consider the linear homogeneous recurrence relation: an=c1an1+c2an2++ckanka_n = c_1a_{n-1} + c_2a_{n-2} + \cdots + c_ka_{n-k}

with characteristic equation: rkc1rk1c2rk2ck=0r^k - c_1r^{k-1} - c_2r^{k-2} - \cdots - c_k = 0

Let r1,r2,,rtr_1, r_2, \ldots, r_t be the distinct roots with multiplicities m1,m2,,mtm_1, m_2, \ldots, m_t respectively (so m1+m2++mt=km_1 + m_2 + \cdots + m_t = k). Then the general solution is: an=i=1t(j=0mi1αi,jnj)rina_n = \sum_{i=1}^{t} \left(\sum_{j=0}^{m_i-1} \alpha_{i,j} n^j\right) r_i^n

where αi,j\alpha_{i,j} are constants determined by initial conditions.

Proof:

We prove this in stages:

Step 1: Each term of the form njrnn^j r^n satisfies a recurrence when rr is a root of multiplicity >j> j.

Consider the operator LL defined by L(an)=anc1an1ckankL(a_n) = a_n - c_1a_{n-1} - \cdots - c_ka_{n-k}.

If rr is a root of the characteristic equation, then L(rn)=0L(r^n) = 0. This means rnr^n is a solution to the homogeneous recurrence.

If rr is a root of multiplicity mm, then not only is rr a root, but also the derivative conditions hold: p(r)=p(r)==p(m1)(r)=0p(r) = p'(r) = \cdots = p^{(m-1)}(r) = 0 where p(x)p(x) is the characteristic polynomial.

By properties of difference operators, if p(r)=0p(r) = 0 with multiplicity mm, then L(njrn)=0L(n^j r^n) = 0 for all j=0,1,,m1j = 0, 1, \ldots, m-1.

Step 2: The solutions form a vector space.

If ana_n and bnb_n are solutions to the homogeneous recurrence, then so is any linear combination αan+βbn\alpha a_n + \beta b_n: L(αan+βbn)=αL(an)+βL(bn)=α0+β0=0L(\alpha a_n + \beta b_n) = \alpha L(a_n) + \beta L(b_n) = \alpha \cdot 0 + \beta \cdot 0 = 0

Step 3: The solutions {njrin}\{n^j r_i^n\} are linearly independent.

We need to show that if: i=1tj=0mi1αi,jnjrin=0\sum_{i=1}^{t} \sum_{j=0}^{m_i-1} \alpha_{i,j} n^j r_i^n = 0

for all nn, then all αi,j=0\alpha_{i,j} = 0.

This follows from the fact that exponential polynomials njrnn^j r^n with distinct bases rr are linearly independent as functions. This can be proven using Wronskian determinants or by induction on the number of distinct roots.

Step 4: Dimension counting.

The recurrence is of order kk, so the solution space has dimension kk (determined by kk initial conditions).

We have constructed exactly k=m1+m2++mtk = m_1 + m_2 + \cdots + m_t linearly independent solutions.

Therefore, these solutions span the entire solution space. \square

ExampleApplication with Repeated Roots

Consider an=4an14an2a_n = 4a_{n-1} - 4a_{n-2} with a0=1a_0 = 1 and a1=3a_1 = 3.

Characteristic equation: r24r+4=0r^2 - 4r + 4 = 0, which factors as (r2)2=0(r-2)^2 = 0.

This gives a repeated root r=2r = 2 with multiplicity 2.

General solution: an=(α1+α2n)2na_n = (\alpha_1 + \alpha_2 n) \cdot 2^n

Using initial conditions:

  • a0=1a_0 = 1: α1=1\alpha_1 = 1
  • a1=3a_1 = 3: (α1+α2)2=3(\alpha_1 + \alpha_2) \cdot 2 = 3, so 2+2α2=32 + 2\alpha_2 = 3, giving α2=1/2\alpha_2 = 1/2

Therefore: an=(1+n/2)2n=2n+n2n1=2n1(2+n)a_n = (1 + n/2) \cdot 2^n = 2^n + n \cdot 2^{n-1} = 2^{n-1}(2 + n)

Remark

This theorem is the discrete analog of the theory of linear differential equations with constant coefficients. The characteristic equation plays the same role in both theories, and the solutions have the same form (exponentials and polynomial-exponential products). This parallel extends to non-homogeneous equations, where the method of undetermined coefficients works identically in both contexts. The connection runs deeper through generating functions, which transform recurrences into differential equations for the generating function.