Master Theorem
Sections 4.3-4.5
Master Theorem Sections 4.3-4.5 Master Theorem Used to solve a - - PowerPoint PPT Presentation
Master Theorem Sections 4.3-4.5 Master Theorem Used to solve a large class of recurrence relations The general form of the recurrence is: = + , where 1 and > 1 are constants; and
Sections 4.3-4.5
π π β€ ππ π for some constant
π 4 + π
π 2 + π2
π π
π 2 2
4 π2 β€ ππ π , π = 3 4
π 2 + 2π
π π
π 2 β€ π2π, π = 0.5
π 8 β π2
π 2 + π log π
π 2 + π 2 β cos π
π π
2 2 β cos π 2
2 < 2π 2 β cos π ?
LHS=2 β cos 2π β
π 2
= 3 RHS=2π 2 β cos 2π β π = 2π For the inequality to hold 3 β€ 2π π β₯
3 2 > 1
But the regularity condition requires π < 1