Quarry School

Recursive formulas — quick review

In plain words

Some sequences are easier to describe by how each term comes from the one before.

Rule

A recursive formula has two parts: the starting term or terms, and a rule that gives an from earlier terms, stated with the positions n it holds for. Both parts are needed. A rule that uses the k preceding terms and holds for n ≥ k + 1 needs the k starting terms a1 to ak.

Step

  1. Write down the starting term or terms.

  2. Read the rule and the values of n it holds for; an−1 is the preceding term, one position before an, and an−2 is the term two positions before.

  3. Find the next term by putting the terms you already have into the rule.

  4. Repeat, one term at a time, until you reach the position asked for.

Question

On day 1 a tank holds 400 liters. Each day after that, half of the water in the tank is used and then 300 liters are added. Write a recursive formula for an, the liters in the tank on day n, and find the amount on day 4. In plain words: half of yesterday's amount, plus 300, starting from 400.

Answer

a1 = 400, an = 0.5an−1 + 300 for n ≥ 2; 575 liters on day 4

Trap

Giving the rule without the starting term. The rule an = an−1 + 5 alone fits 2, 7, 12, … and also 10, 15, 20, …; a recursive formula names one sequence only when the starting term is stated as well.

Term

sequence

Definition

A list of numbers in a fixed order; a function whose inputs are its positions: 1, 2, 3, … without end for an infinite sequence, or 1 to k for a finite sequence with k terms.

Term

term

Definition

One of the numbers in a sequence; an is the term at position n.

Term

explicit formula

Definition

A formula that gives the term an from its position n alone.

Term

recursive formula

Definition

A starting term or terms, with a rule that gives each later term from the terms before it.