Lecture08-nonhomogeneous

# Lecture08-nonhomogeneous - are exactly n roots. § They may...

This preview shows pages 1–33. Sign up to view the full content.

CS 312: Algorithm Analysis Lecture #8: Non- Homogeneous Recurrence Relations This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. Slides by: Eric Ringger, with contributions from Mike Jones, Eric Mercer, Sean Warnick

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Announcements § HW #5 Due Today § Questions about Homogeneous RR? § Project #2 § Questions about the project? § Early Day: Friday § Due Date: next Monday
Objectives § Define “roots of multiplicity j” § Understand how to solve non-homogeneous , linear, recurrence relations with constant coefficients § Geometric forcing function § Find the specific solution from initial conditions

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Example (cont.): Linear, Homogeneous Recurrence Relation

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Finding the Particular Solution
Finding the Particular Solution

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fibonacci in Closed Form!
Fibonacci in Closed Form!

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fundamental Theorem of Algebra § For every polynomial of degree n, there

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: are exactly n roots. § They may not be unique. Roots of Multiplicity j Roots of Multiplicity j Roots of Multiplicity j Roots of Multiplicity j Roots of Multiplicity j Example Example Non-Homogeneous, Linear Recurrence Relations Non-Homogeneous Example What do you notice about the problem now? Non-Homogeneous Example What do you notice about the problem now? Example (Cont.): d=0 Example (Cont.): d=0 Possible Update § Point out existence of homog. RR for every non-homog. RR. § Notation: Use y(k) (homog.) instead of z(k) (non-homog.) to emphasize the difference. Initial Conditions Initial Conditions Example (cont.) Example (cont.) Towers of Hanoi Revisited Towers of Hanoi Revisited Assignment § Read: Recurrence Relations Notes, Parts III & IV § HW #6: Part II Exercises (Section 2.2)...
View Full Document

## This note was uploaded on 03/02/2012 for the course C S 312 taught by Professor Jones,m during the Winter '08 term at BYU.

### Page1 / 33

Lecture08-nonhomogeneous - are exactly n roots. § They may...

This preview shows document pages 1 - 33. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online