Recurrence relations are a mathematical sequence describing how a recurring algorithm divides/decreases the work done. Conventionally, is used to denote the work done for input size .

There are 2 ways to solve general recurrence relations to obtain a closed-form formula:

Iteration

Iteration involves by building the relation from the bottom-up, by substituting small values of n.

For example:

Telescoping

Telescoping involves rearranging the equation and cancelling out terms

For example:  


In Computer Science

Most recurrence relations that use Divide-and-Conquer as a design pattern can be solved with the Master Theorem.