Lecture08-nonhomogeneous

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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Announcements § HW #5 Due Today § Questions about Homogeneous RR? § Project #2 § Questions about the project? § Early Day: Friday § Due Date: next Monday
Background image of page 2
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
Background image of page 3

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

View Full DocumentRight Arrow Icon
Example (cont.): Linear, Homogeneous Recurrence Relation
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Finding the Particular Solution
Background image of page 6
Finding the Particular Solution
Background image of page 7

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

View Full DocumentRight Arrow Icon
Fibonacci in Closed Form!
Background image of page 8
Fibonacci in Closed Form!
Background image of page 9

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

View Full DocumentRight Arrow Icon
Fundamental Theorem of Algebra § For every polynomial of degree n, there
Background image of page 10
Background image of page 11

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

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

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

View Full DocumentRight Arrow Icon
Background image of page 14
Background image of page 15

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

View Full DocumentRight Arrow Icon
Background image of page 16
Background image of page 17

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

View Full DocumentRight Arrow Icon
Background image of page 18
Background image of page 19

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

View Full DocumentRight Arrow Icon
Background image of page 20
Background image of page 21

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

View Full DocumentRight Arrow Icon
Background image of page 22
Background image of page 23

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

View Full DocumentRight Arrow Icon
Background image of page 24
Background image of page 25

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

View Full DocumentRight Arrow Icon
Background image of page 26
Background image of page 27

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

View Full DocumentRight Arrow Icon
Background image of page 28
Background image of page 29

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

View Full DocumentRight Arrow Icon
Background image of page 30
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 Right Arrow Icon
Ask a homework question - tutors are online