Method

This method works by expanding the recurrence to obtain a summation, and subsequently evaluation this summation to obtain a solution.

Examples

Simple example

Given a recurrence relation

We can iteratively expand as

  • A pattern can easily be recognised here and this can be generalised to for . When , . As such, .

More complex example

The previous example was unrealistically simple. Different methods are required for more complex recurrences, such as:

The first few expansions are:

  • The general formula for can easily be identified as To obtain the base case , we select , giving

We can use the mathematical fact to obtain

Master method example

Applying this method to the recurrence

can reveal much of the reasoning behind the Master Method for Recursive Complexities.