Recurrence Equations
# Recurrence Equations
# Iteration Method
Solve using algebra
Important formulas to remember Arithmetic summation series: $$a+a+d+a+2d…+a+(n-1)d=\frac{n}{2}(2a+(n-1)d)$$ Geometric series summation: $$a+ar+ar^2+…ar^{n-1}=a(\frac{1-r^n}{1-r})$$
# Substitution Method
Guess and check strategy
- Guess the solution form
- Prove the base case (use a base case which is true)
- Prove by mathematical induction:
- Assume true for n = k
- Prove true for k+1