10. Master Theorem
06/03/23
Consider recurrence relations of the form
- Designed for divide and conquer in which problems are divided into a instances of a problem of size
- Aim is to be quickly express the big-Oh family behaviour of T(n) for various cases of the values of a and b, and the scaling behaviour of f(n)
- No proof needed, just need to learn it and how to apply it
Cases
Results are split into 3 cases, according to comparing the growth rate of f(n) to
- Case 1: grows slower. Recurrence term dominates. (Solution ignores f)
- Case 2: grows same - up to log factors - mix of recurrence with , and also the term
- Case 3: grows faster. Solution ignores recurrence terms and