Algorithm Analysis: Solving Non-Homogeneous Recurrence Relations
240 likes | 332 Vues
Understand how to solve non-homogeneous, linear recurrence relations with constant coefficients using geometric forcing functions. Learn to find specific solutions with initial conditions and explore roots of multiplicity. Includes examples and fundamental theorem of algebra.
Algorithm Analysis: Solving Non-Homogeneous Recurrence Relations
E N D
Presentation Transcript
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. CS 312: Algorithm Analysis Lecture #8: Non-Homogeneous Recurrence Relations Slides by: Eric Ringger, with contributions from Mike Jones, Eric Mercer, Sean Warnick
Announcements • HW #5 Due Today • Questions about Homogeneous RR? • Project #2 • Questions about the project? • Early Day: Wednesday • Due Date: next Friday!
Objectives • Find specific solutions using initial conditions • Understand how to solvenon-homogeneous, linear, recurrence relations with constant coefficients • Geometric forcing functions • Define roots of multiplicityj
Fundamental Theorem of Algebra • For every polynomial of degree n, there are exactly n roots. • They may not be unique.
Non-Homogeneous Example What do you notice about the problem now?
Assignment • Read: Recurrence Relations Notes, Parts III & IV • HW #6: • Part II Exercises (Section 2.2) • Towers of Hanoi usingmethod of recurrence relations.