For each of the patterns of dots below, draw the next pattern in the sequence. Describe the rate of growth of the number of dots in the patterns. Then guess a recursive definition and a closed formula for the number of dots in the th pattern.
Our goal is to find closed formulas for sequences. Our primary strategy will be to first determine how the sequence is changing from term to term. This will lead to a recurrence relation for the sequence, and from that recurrence relation, we will find a closed formula. We start with two types of sequences that are particularly common and useful: arithmetic and geometric sequences. Along the way, we will explore some techniques for solving recurrence relations.
Suppose you start a business selling prints of mathematical art. In week zero, you sell two prints. Each week after that, you sell four more prints than you did the previous week. How many prints will you sell in the th week?
We can easily compute the first few terms of the sequence: . How do I know this is correct? From the problem, we see that to get from one term to the next, we must add 4. It is clear then that the recurrence relation for the sequence is
The rate of growth for the sequence is the constant since the difference between any two terms is 4 (note, we could write the recurrence relation as ).
Now let’s find a closed formula for our sequence. The first term is . To get , we add . The next term requires us to add again, which means we have added to our initial term twice. Then we add again, for a total of three times for . In fact, to get , we will have added to a total of times. Thus, the closed formula for the sequence is
This works for any arithmetic sequence. That is, any sequence with a constant difference will have a linear closed formula, where the “slope” of the linear function is the common difference.
If the terms of a sequence differ by a constant, we say the sequence is arithmetic. If the initial term () of the sequence is and the common difference is , then we have,
As we did for our example above, for the recursive definition, we need to specify . Then we need to express in terms of . If we call the first term , then . For the recurrence relation, by the definition of an arithmetic sequence, the difference between successive terms is some constant, say . So , or in other words,
Let’s now argue why the closed formula is correct. One way we could do this is by using a technique sometimes called telescoping (a name which hopefully we become meaningful momentarily).
The telescoping we did above is useful in other contexts (see Exercise 6), but now that we have established a general form of the closed formula, we can apply it to any arithmetic sequence.
First we should check that these sequences really are arithmetic by taking differences of successive terms. Doing so will reveal the common difference .
,, etc. To get from each term to the next, we add three, so . The recursive definition is therefore with . The closed formula is .
Here the common difference is , since we add to 50 to get 43, and so on. Thus we have a recursive definition of with . The closed formula is .
What about sequences like ? This is not arithmetic because the difference between terms is not constant. However, the ratio between successive terms is constant: We call such sequences geometric.
A closed formula is also not difficult to reason out. How do we get the term for example? We start with , then multiply by 2 to get , multiply by again to get , and multiply by a third time to get . So we multiplied by a total of three times, or . It looks like .
For the general closed formula, we could try something like telescoping again, although we would need to cancel fractions. Instead, let’s illustrate another technique for solving recurrence relations called iteration. The idea here is that we work our way up to and notice the pattern. Write
Start by checking that these sequences really are geometric by dividing each term by its previous term. If this ratio really is constant, we will have found .
,,, etc. Yes, to get from any term to the next, we multiply by . So the recursive definition is with . The closed formula is .
The common ratio is . So the sequence has recursive definition with and closed formula .
Geometric sequences are those which have a growth rate that is proportional to the sequence itself. Just like you might have seen in calculus, it is exactly the exponential functions that have this property.
In the examples and formulas above, we assumed that the initial term was . If your sequence starts with , you can easily find the term that would have been and use that in the formula. For example, if we want a formula for the sequence and insist that , then we can find (since the sequence is arithmetic with common difference 3, we have ). Then the closed formula will be .
If you look at other sources, you might find that their closed formulas for arithmetic and geometric sequences differ from ours. Specifically, you might find the formulas (arithmetic) and (geometric). Which is correct? Both! In our case, we take to be . If instead we had as our initial term, we would get the (slightly more complicated) formulas you find elsewhere.
SubsectionBeyond Arithmetic and Geometric Sequences
Look at the sequence which starts . These are called the triangular numbers since they represent the number of dots in an equilateral triangle (think of how you arrange 10 bowling pins: a row of 4 plus a row of 3 plus a row of 2 and a row of 1).
Is this sequence arithmetic? No, since and , so there is no common difference. Is the sequence geometric? No. but , so there is no common ratio. What to do?
Notice that the differences between terms do form an arithmetic sequence: . In other words, the rate of change of this sequence is arithmetic: , which immediately gives us the recurrence relation .
Another way to think of this is that the th term of the sequence is the sum of the first terms in the sequence . Thus is the sequence of partial sums of the sequence (partial sums because we are not taking the sum of all infinitely many terms).
If we know how to add up the terms of an arithmetic sequence, we can find a closed formula for a sequence whose differences are the terms of that arithmetic sequence. Consider how we could find the sum of the first 100 positive integers (that is, ). Instead of adding them in order, we regroup and add . The next pair to combine is . Then . Keep going. This gives 50 pairs which each add up to , so . 1
This insight is usually attributed to Carl Friedrich Gauss, one of the greatest mathematicians of all time, who discovered it as a child when his unpleasant elementary teacher thought he would keep the class busy by requiring them to compute the lengthy sum.
In general, using this same sort of regrouping, we find that . Incidentally, this is exactly the same as , which makes sense if you think of the triangular numbers as counting the number of handshakes that take place at a party with people: the first person shakes hands, the next shakes an additional hands and so on.
The point of all of this is that some sequences, while not arithmetic or geometric, can be interpreted as the sequence of partial sums of arithmetic and geometric sequences. Luckily there are methods we can use to compute these sums quickly, which we will explore in the next two sections.
How can you decide whether a sequence is the sequence of partial sums of an arithmetic or geometric sequence? Describe what you would do to check, using an example.
What questions do you have? Write at least one question about the content of this section that you or a classmate might be curious about after reading this section.
Your sister’s summer job pays her $1000 per week, with a raise of 5% per week as a bonus for not being a quitter. How much will she make in the 10th week?
Suppose that the candy machine currently holds exactly 650 Skittles, and every time someone inserts a quarter, exactly 7 Skittles come out of the machine.
Starting with any rectangle, we can create a new, larger rectangle by attaching a square to the longer side. For example, if we start with a rectangle, we would glue on a square, forming a rectangle:
Create a sequence of rectangles using this rule starting with a rectangle. Then write out the sequence of perimeters for the rectangles (the first term of the sequence would be 6, since the perimeter of a rectangle is 6; the next term would be 10).
Repeat the above part, this time starting with a rectangle.
Find recursive formulas for each of the sequences of perimeters you found in parts (a) and (b). Don’t forget to give the initial conditions as well.
Are the sequences arithmetic? Geometric? If not, are they close to being either of these (i.e., are the differences or ratios almost constant)? Explain.
We can write the recurrence relation as . What happens when you multiply all the different versions of this recurrence relation (for different values of ) together?
Another context in which sequences arise is calculus when you study sequences and series (which is the word in calculus for what we call a sequence of partial sums). Some of the techniques we have developed here can be applied there as well. This is an example of a telescoping sum, similar to the telescoping technique we used.
A geometric sequence has a constant rate of growth in the sense that the ratio of consecutive terms is always the same. But what can we say about the difference of consecutive terms in an geometric sequence?
Find a closed formula for the sequence of differences. Then use this closed formula to find a different recurrence relation for the original sequence (other than ).
Explain what these sequences have in common with each other and then use that to find a closed formula for each of them. How do their closed formulas relate to each other? What can you say in general?