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=c1an−1+c2an−2+…+ckan−k, where c1,…,ck are constants.

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

αrn=c1αrn−1+c2αrn−2+…+ckαrn−k

Bring all terms to the left-hand side

αrn−k(rk−c1rk−1−c2rk−2−…−ck)=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=2Hn−1+1
  • Assoc. Homog. Eq: Hn=2Hn−1

r−2=0→r=2

Hn=α2n This is the homogeneous form.

Hn=C→C=2C+1→C=−1 This is the particular equation

Hn=homog+particular=α2n−1