Recurrences
Separable form for recurrence relation:
where is a function in variables and each is a function of that is strictly less than .
Fibonacci sequence is defined by the recurrence relation:
For this, we have
Merge sort complexity:
For this, we have
Rote Method
EGVS method
4 stages: Expand, Guess, Verify and Stop-and-Sum.
Example:
Expand:
Guess:
Verify: (use natural induction)
Base case: holds
Inductive step: Assume holds, the goal is to prove also holds.
Therefore, this proves also holds.
Combining the base case and the inductive step we verified that .
Stop:
We can pick for stopping, then .
By DIC, choose for all .
Therefore, for ,
Basic Sums
Other kinds of sums are often reduces to the following forms.
Arithmetic Sums
Solution:
Geometric Sums
When ,
Solution:
Infinite Geometric Series
When ,
Solution:
Harmonic Series
Solution: where .
Summation Techniques
Growth Types
Polynomial Type
A real function is polynomial-type if is non-decreasing (ev.) and there is some such that:
Increasing Exponential Type
increases exponentially if there exists real numbers and such that:
Decreasing Exponential Type
decreases exponentially if there exists real numbers and such that:
Lemma 8: Closed Properties
(a) Polynomial-type functions are closed under addition, multiplication, and raising to any positive power .
(b) Exponential-type functions are closed under addition, multiplication, and raising to any power . In case , the function will not change its subtype (increasing or decreasing). In case , the function will change its subtype.
(c) If is polynomial-type and is non-decreasing then is also polynomial-type. If is exponential-type and then so is .
Summation Rules by Growth Type
Theorem 6: Summation Rules
Examples:
Polynomial Sums:
Exponentially Increasing Sums:
Exponentially Decreasing Sums:

Transformation Techniques
Domain Transformation
Example:
Consider:
We define .
This transforms the original N-domain into the n-domain:
We get this standard form. By DIC, we choose the boundary condition for all .
We get sum:
Because we have ,
Range Transformation
Example:
We define , then divide the both sides of the original equation by .
We get this standard form. By DIC, we choose the boundary condition for all .
We get sum: ( is exponentially decreasing)
Because ,
Master Theorem
Master recurrence:
where , are real constants and the driving/forcing function.
Watershed constant
Watershed function
Useful link: Online basic master theorem solver
Master Theorem
Theorem 10: Master Theorem on Lecture II Page 51, L1207
Extended Master Theorem
Theorem 12: Extended Master Theorem on Lecture II Page 54, L1282
Multi-term Master Recurrences
where and are real constants.
Watershed constant
It is the real number such that:
It clearly exists and is unique.
Multi-term Master Theorem
Theorem 15: Multi-term Master Theorem on Lecture II Page 62, L1483
Real Induction
Last updated