MATH 302 Lecture 16

From Notes
Jump to navigation Jump to search

« previous | Monday, October 24, 2011 | next »


Solving Recurrence Relations

Linear Homogeneous Recurrence Relation of Degree k with constant coefficients:

an=c1an1+c2an2++ckank, where c1,,ck are constants.

We want to describe an=αrn in terms of a single equation without any recursion.

αrn=c1αrn1+c2αrn2++ckαrnk

Bring all terms to the left-hand side

αrnk(rkc1rk1c2rk2ck)=0

The parenthesized polynomial is called the characteristic equation.

2 Cases for characteristic equation:

  1. distinct characteristic roots (Theorems 1 & 3)
  2. nondistinct characteristic roots (Theorems 2 & 4)



How many ways are there to tile a 2 × n surface area with two types of tiles: 2 × 2 and 2 × 1 . . .


Take a non-homogeneous recurrence relation. Dropping anything that has nothing to do with recursion results in the associated homogeneous equation. Solve this:

  • Recurrence Relation: Hn=2Hn1+1
  • Assoc. Homog. Eq: Hn=2Hn1

r2=0r=2

Hn=α2n This is the homogeneous form.

Hn=CC=2C+1C=1 This is the particular equation

Hn=homog+particular=α2n1