Recursive formulas
Quick review (2 minutes)
Some sequences are easier to describe by how each term comes from the one before.
A recursive formula has two parts: the starting term or terms, and a rule that gives 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 to .
Write down the starting term or terms.
Read the rule and the values of n it holds for; is the preceding term, one position before , and is the term two positions before.
Find the next term by putting the terms you already have into the rule.
Repeat, one term at a time, until you reach the position asked for.
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 , 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.
= 400, = 0.5 + 300 for n ≥ 2; 575 liters on day 4
Giving the rule without the starting term. The rule = + 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.
sequence
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
One of the numbers in a sequence; is the term at position n.
explicit formula
A formula that gives the term from its position n alone.
recursive formula
A starting term or terms, with a rule that gives each later term from the terms before it.
1 In plain words
Some sequences are easier to describe by how each term comes from the one before. A recursive formula gives a starting term and a rule for the next term: = 3 and = 2 + 1 for n ≥ 2. Here is the term before , the preceding term. Starting from 3, the rule gives 2 · 3 + 1 = 7, then 2 · 7 + 1 = 15, then 2 · 15 + 1 = 31. It is like a bank balance: this month's balance comes from last month's balance and what happened in between, and you need the opening balance to get started.
2 Picture it
= 2 + 1 for n ≥ 2
3, 7, 15, 31, …
Reminder
Reminder: Reading a subscript, Order of operations
- Reading a subscript. is the term one position before : when n = 4, is .
- Order of operations. In 2 · 7 + 1, multiply first: 14 + 1 = 15.
3 Why
The rule alone says how to get from one term to the next and says nothing about where to begin, so different starting terms usually give different sequences. The starting term or terms pick one of them. For a rule that uses one preceding term, once is known the rule fixes , then , and so on. A rule that uses the k preceding terms needs the first k terms, and then fixes the term after them, and the one after that. Either way every term is reached after finitely many steps, so, as long as the rule can be worked out at every step, the two parts together decide the whole sequence.
4 The rule
A recursive formula has two parts: the starting term or terms, and a rule that gives 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 needs the k starting terms to .
The same idea, other ways
With = 3 and = 2 + 1 for n ≥ 2: = 2 + 1 = 7, = 2 + 1 = 15, = 2 + 1 = 31. Each new term uses the preceding term.
A rule may reach back two terms. The Fibonacci sequence has = 1, = 1 and = + for n ≥ 3: each term is the sum of the two before it, giving 1, 1, 2, 3, 5, 8, 13. Because the rule uses two earlier terms, it needs two starting terms.
To write a recursive rule for a list of terms, compare each term with the one before it. If every difference is the same number, the rule adds that number; if every quotient is the same number, the rule multiplies by it. For 5, 10, 20, 40 each quotient is 2 ( = = = 2), so = 5 and = 2 for n ≥ 2 fits the list.
= 5 and = + 3 for n ≥ 2 gives 5, 8, 11, 14. The explicit formula = 3n + 2 gives the same terms. The recursive form shows how the sequence grows; the explicit form reaches = 152 in one step, where the recursive form would need the 49 terms before it.
5 How
- Write down the starting term or terms.
- Read the rule and the values of n it holds for; is the preceding term, one position before , and is the term two positions before.
- Find the next term by putting the terms you already have into the rule.
- Repeat, one term at a time, until you reach the position asked for.
6 Worked example
Worked example
Water in a tank
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 , 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.
Show the steps and the answer
- and for .Using half the water leaves half of the day before's amount, 0.5, and the 300 liters are added to it; day 1 is the starting term.
- .Day 2 comes from day 1's amount of 400.
- and .Each day uses the amount found for the day before.
- = 400, = 0.5 + 300 for n ≥ 2
- 575 liters on day 4
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
Add each time
= 2 and = + 5 for n ≥ 2. Write the first four terms.
Show the steps and the answer
- .At n = 2 the rule reads = + 5, and is the given 2.
- and .Each term is 5 more than the preceding term.
Rung 2 of 4
Multiply, then subtract
= 3 and = 2 − 1 for n ≥ 2. Find .
Show the steps and the answer
- and .Each term doubles the one before and then subtracts 1.
- and . needs , so the terms are found in order.
Rung 3 of 4
Two terms back
= 2, = 1 and = + for n ≥ 3. Find .
Show the steps and the answer
- .At n = 3 the two terms before are and .
- and .Each term is the sum of the two preceding terms.
- .At n = 6 the two terms before are = 7 and = 4.
Rung 4 of 4
Write the formula
Write a recursive formula that fits 4, 12, 36, 108.
Show the steps and the answer
- and .Dividing each term by the one before shows that every term shown is 3 times the term before it.
- and for .The first term shown is the starting term, and the rule holds from the 2nd term on, where a term before exists.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Start, then rule: both parts are needed.
- is the preceding term.
- Find the terms in order; each one feeds the next.
7 The trap
Giving the rule without the starting term. The rule = + 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.
Flash cards
Say the answer out loud, then flip.
What two parts does a recursive formula have?
= 10 and = − 4 for n ≥ 2. What is ?
Why does the Fibonacci rule need two starting terms?
- Its rule adds the two preceding terms, so it first applies at n = 3
- the 1st and 2nd terms have to be given.