Recurrences

Many divide-and-conquer algorithms, which are ones that take a large task, split it into many small ones, solve them, and then merge the results of those tiny tasks together, naturally lead to recurrence relations. Examples:

These recurrence relations can be solved using various math techniques that you'll cover in the Analysis of Algorithms course.

Solutions to recurrence relations tells what the precise growth rates of the algorithms are, and helps us in choosing the fastest algorithm for our program.