The Master Theorem
The Master Theorem states that for some which is a monotonically increasing recurrence relation such that:
Then we know that:
Link to original
Example 1: Calculate the growth rate of .
Let be a recurrence relation defined by:
- Identify the parameters: , hence
- Identify the growth rate of :
- Identify the case: The growth rate of , hence we have that . by Master Theorem, .
Example 2: Calculate the growth rate of .
Let be a recurrence relation defined by:
- Identify the parameters: , hence
- Identify the growth rate of :
- Identify the case: The growth rate of , hence we have that . by Master Theorem, .
Example 3: Calculate the growth rate of .
Let be a recurrence relation defined by:
- Identify the parameters: , hence
- Identify the growth rate of :
- Identify the case: The growth rate of , hence we have that . by Master Theorem, .