Have you ever had one of those "advent calendars" around the December holidays? Commonly they have a little piece of chocolate for each day to count down the days until Xmas. If the calendar starts on the 1st, there are 25 candies at the beginning of the month, then 24 remaining on the 2nd, 23 on the 3rd, and so forth.
The number of pieces remaining after each day is a series: {25, 24, 23...}. How could you identify how many are left on any specific day of the month? Is there a general formula of calculating the candy remaining on any date?
Watch This
PatrickJMT: Recursive Sequences
Guidance
A sequence is an ordered list of objects. The simplest way to represent a sequence is by listing some of its terms.
The sequence of odd, positive integers is shown here:
1, 3, 5, 7 ... |
---|
In this lesson you will learn to represent a sequence recursively , which means that you need to know the previous term in order to find the next term in the sequence.
Consider the sequence shown above. What is the next term?
As long as you are familiar with the odd integers (i.e., you can count in 2’s) you can figure out that the next term is 9. If we want to describe this sequence in general, we can do so by stating what the first term is, and then by stating the relationship between successive terms. When we represent a sequence by describing the relationship between its successive terms, we are representing the sequence recursively .
The terms in a sequence are often denoted with a variable and a subscript. All of the terms in a given sequence are written with the same variable, and increasing subscripts. So we might list terms in a sequence as a _{ 1 } , a _{ 2 } , a _{ 3 } , a _{ 4 } , a _{ 5 } ...
We can use this notation to represent the example above. This sequence is defined as follows:
a _{ 1 } = 1 | |
---|---|
a _{ n } = a _{ n } _{ -1 } + 2 |
At first glance this notation may seem confusing. What is important to keep in mind is that the subscript of a term represents its “place in line.” So just means the n ^{ th } term in the sequence. The term just means the term before . In the sequence of odd numbers above, a _{ 1 } = 1, a _{ 2 } = 3, a _{ 3 } = 5, a _{ 4 } = 7, a _{ 5 } = 9 and so on. If, for example, we wanted to find a _{ 10 } , we would need to find the 9 ^{ th } term in the sequence first. To find the 9 ^{ th } term we need to find the 8 ^{ th } term, and so on, back to a term that we know.
Example A
For the sequence of odd numbers, list a _{ 6 } , a _{ 7 } , a _{ 8 } , a _{ 9 } , and a _{ 10 } .
Solution: Each term is two more than the previous term.
- a _{ 6 } = a _{ 5 } + 2 = 9 + 2 = 11
- a _{ 7 } = a _{ 6 } + 2 = 11 + 2 = 13
- a _{ 8 } = a _{ 7 } + 2 = 13 + 2 = 15
- a _{ 9 } = a _{ 8 } + 2 = 15 + 2 = 17
- a _{ 10 } = a _{ 9 } + 2 = 17 + 2 = 19
The sequence of odd numbers is linear , and it is referred to as an arithmetic sequence . Every arithmetic sequence has a common difference , or a constant difference between each term. (The common difference is analogous to the slope of a line.) The sequence of odd numbers has a common difference of 2 because for all n , a _{ n } - a _{ n } _{ - 1 } = 2.
Finding terms in this sequence is relatively straightforward, as the pattern is familiar. However, this would clearly be tedious if you needed to find the 100 ^{ th } term.
Example B
Find the 5 ^{ th } term for the sequence:
t _{ 1 } = 3 | |
---|---|
t _{ n } = 2 t _{ n } _{ -1 } |
Solution:
t _{ 5 } = 48
t _{ 2 } = 2 t _{ 1 } = 2 × 3 = 6 | ||
---|---|---|
t _{ 1 } = 3 | t _{ 3 } = 2 t _{ 2 } = 2 × 6 = 12 | |
t _{ n } = 2 × t _{ n } _{ -1 } | t _{ 4 } = 2 t _{ 3 } = 2 × 12 = 24 | |
t _{ 5 } = 2 t _{ 4 } = 2 × 24 = 48 |
This example is a geometric sequence . Every geometric sequence has a common ratio , which is 2 in this example, because for all n , . The terms of a geometric sequence follow an exponential pattern.
Example C
Find the 4 ^{ th } term for the sequence:
b _{ 1 } = 2 | |
---|---|
b _{ n } = ( b _{ n } _{ -1 } ) ^{ 2 } + 1 |
Solution:
b _{ 4 } = 677
b _{ 2 } = ( b _{ 1 } ) ^{ 2 } + 1 = 2 ^{ 2 } + 1 = 4 + 1 = 5 | ||
---|---|---|
b _{ 1 } = 2 | b _{ 3 } = ( b _{ 2 } ) ^{ 2 } + 1 = 5 ^{ 2 } + 1 = 25 + 1 = 26 | |
b _{ n } = ( b _{ n } _{ -1 } ) ^{ 2 } + 1 | b _{ 4 } = ( b _{ 3 } ) ^{ 2 } + 1 = 26 ^{ 2 } + 1 = 676 + 1 = 677 |
This sequence is neither arithmetic nor geometric, though its values follow a cubic pattern. As you can see from just a few terms here, the terms in a sequence can grow quickly.
For any of these sequences, as noted above, determining more than a few values by hand can be time consuming. In another lesson, we will introduce explicit formulas , which can be used to define a sequence in a way that makes finding the n ^{ th } term faster.
Concept question wrap-up: The remaining candy in an advent calendar is a standard arithmetic sequence, and can be described as a _{ n } = a _{ n } _{ - 1 } - 1 |
---|
-->
Guided Practice
Write the next 5 terms of each sequence.
1) Given: and
2) Given: and
3) Write a recursive formula that fits the following sequence: 1, 5, 9, 13, 17
4) Given the following sequence, write a recursive formula, then find the next three numbers in the sequence: 3, -4, -1, -5, -6, -11, -17
Answers
1) Given: and
So our answer is: 9, 30, 93, 282 and 849
2) Given: and
So our answer is: -12, -28, -68, -164, and -396.
3) In this problem we deduct that each term differs by the same amount. Once, we identify the difference of each term, +4 each time in this case, then we know that the sequence requires that we add the same amount (4) to each term.
We write that as:
4) Getting to the next term is not going to be as easy as the previous example. We need to examine the number sequence more closely to solve this problem.
In this sequence, the Fibonacci Series was applied. What this means is that the two previous terms were added together to get the next term in the sequence.
It is written as:
Now that we know the formula, we can find the next three numbers in the sequence:
So the next three numbers in the sequence are: -28, -45, and -73.
Explore More
- A sequence in which you know the previous term in order to find the next term is:
- Why is the sequence of odd numbers linear?
- Which type of sequence has a common difference?
- A sequence that uses the same multiple to get from one term to another is:
- Find the value of a _{ 6 } , given the sequence defined as: a _{ 1 } = 4 a _{ n } = 5a _{ n } _{ -1 }
- Find the value of a _{ 5 } , given the sequence defined as: a _{ 1 } = 32 a _{ n } = (1/2) a _{ n } _{ -1 }
- Find the value of a _{ n } _{ -1 } , given the sequence defined as: a _{ 1 } = 1 a _{ n } = 3 a _{ n } _{ -1 } - n
Using the given recursive formulas, identify the next 5 terms in the sequences that follow:
- and
- and
- and
- and
- and
Given the following sequence of numbers find the recursive formula.
- 1, 5, 9, 13, 17
- -1, 3, 2, 5, 7, 12, 19
- -4, 16, -64, 256, -1024
Given the following sequence of numbers find the recursive formula and the next three numbers in the sequence.
- 1, -1, 1, -1, 1
- -5, -1, -6, -7, -13, -20, -33
- 1, - 3, 9, -27, 81
- -3, -4, -7, -11, -18, -29, -47
- -1, -5, -9, -13, -17
- Write the next three terms of the sequence:
- Given the formula: , is the number 27 a term in the sequence of numbers?
- Given the formula: is the number 97 a term in the sequence of numbers?