Sequences
Write the First Few Terms of a Sequence
Let’s look at the function and evaluate it for just the counting numbers.
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
| 4 | 8 |
| 5 | 10 |
If we list the function values in order as 2, 4, 6, 8, and 10, we have a sequence. A sequence is a function whose domain is the counting numbers.
A sequence can also be seen as an ordered list of numbers and each number in the list is a term. A sequence may have an infinite number of terms or a finite number of terms. Our sequence has three dots (ellipsis) at the end which indicates the list never ends. If the domain is the set of all counting numbers, then the sequence is an infinite sequence. Its domain is all counting numbers and there is an infinite number of counting numbers.
If we limit the domain to a finite number of counting numbers, then the sequence is a finite sequence. If we use only the first four counting numbers, 1, 2, 3, 4 our sequence would be the finite sequence,
Often when working with sequences we do not want to write out all the terms. We want a more compact way to show how each term is defined. When we worked with functions, we wrote and we said the expression was the rule that defined values in the range. While a sequence is a function, we do not use the usual function notation. Instead of writing the function as , we would write it as . The is the nth term of the sequence, the term in the nth position where is a value in the domain. The formula for writing the nth term of the sequence is called the general term or formula of the sequence.
When we are given the general term of the sequence, we can find the terms by replacing with the counting numbers in order. For ,
| 1 | 2 | 3 | 4 | 5 | ||
|---|---|---|---|---|---|---|
To find the values of a sequence, we substitute in the counting numbers in order into the general term of the sequence.
Example 12.1. Write the first five terms of the sequence whose general term is .
Solution. We substitute the values 1, 2, 3, 4, and 5 into the formula, , in order.
The first five terms of the sequence are 1, 5, 9, 13, and 17.
Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Substitute into .Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Substitute into .For some sequences, the variable is an exponent.
Example 12.2. Write the first five terms of the sequence whose general term is .
Solution. We substitute the values 1, 2, 3, 4, and 5 into the formula, , in order.
The first five terms of the sequence are 3, 5, 9, 17, and 33.
Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Substitute into .Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Substitute into .It is not uncommon to see the expressions or in the general term for a sequence. If we evaluate each of these expressions for a few values, we see that this expression alternates the sign for the terms.
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
The terms in the next example will alternate signs as a result of the powers of .
Example 12.3. Write the first five terms of the sequence whose general term is .
Solution. We substitute the values 1, 2, 3, 4, and 5 into the formula, , in order.
The first five terms of the sequence are and .
Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Evaluate the power of and then for .Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
The factor makes the first term positive and then alternates signs.Find a Formula for the General Term (nth Term) of a Sequence
Sometimes we have a few terms of a sequence and it would be helpful to know the general term or nth term. To find the general term, we look for patterns in the terms. Often the patterns involve multiples or powers. We also look for a pattern in the signs of the terms.
Example 12.4. Find a general term for the sequence whose first five terms are shown.
Solution. We look for a pattern in the terms.
| Observation | Pattern |
|---|---|
| The terms are . | For , the terms are . |
| The numbers are all multiples of 4. | The general term of the sequence is . |
Find a general term for the sequence .
Each term is a multiple of its position .Find a general term for the sequence .
Each term is a multiple of its position .Example 12.5. Find a general term for the sequence whose first five terms are shown.
Solution. We look for a pattern in the terms. The numbers are powers of 2. The signs are alternating, with even negative.
The general term of the sequence is .
Find a general term for the sequence .
The absolute values are powers of 3, and the signs alternate beginning with a negative term.Find a general term for the sequence .
The absolute values are squares, and the signs alternate beginning with a positive term.Example 12.6. Find a general term for the sequence whose first five terms are shown.
Solution. We look for a pattern in the terms. The numerators are all 1. The denominators are powers of 3:
The general term of the sequence is .
Find a general term for the sequence .
The numerators are 1 and the denominators are powers of 2.Find a general term for the sequence .
The denominators are the squares of the counting numbers.Use Factorial Notation
Sequences often have terms that are products of consecutive integers. We indicate these products with a special notation called factorial notation. For example, , read 5 factorial, means . The exclamation point is not punctuation here; it indicates the factorial notation.
The values of for the first 5 positive integers are shown.
Example 12.7. Write the first five terms of the sequence whose general term is .
Solution. We substitute the values 1, 2, 3, 4, 5 into the formula, , in order.
The first five terms of the sequence are .
Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Evaluate for .Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Evaluate for .When there is a fraction with factorials in the numerator and denominator, we line up the factors vertically to make our calculations easier.
Example 12.8. Write the first five terms of the sequence whose general term is .
Solution. We substitute the values 1, 2, 3, 4, 5 into the formula, , in order.
The first five terms of the sequence are 2, 6, 12, 20, and 30.
Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Expand enough factorial factors to cancel common factors.Write the first five terms of the sequence whose general term is . Enter the terms separated by commas.
Since , simplify the general term first.Find the Partial Sum
Sometimes in applications, rather than just list the terms, it is important for us to add the terms of a sequence. Rather than just connect the terms with plus signs, we can use summation notation.
For example, can be written as . We read this as “the sum of a sub i from i equals one to five.” The symbol means to add and the is the index of summation. The 1 tells us where to start (initial value) and the 5 tells us where to end (terminal value).
When we add a finite number of terms, we call the sum a partial sum.
Example 12.9. Expand the partial sum and find its value: .
Solution.
Therefore, .
Expand the partial sum and find its value: .
Substitute , then add the five terms.Expand the partial sum and find its value: .
Substitute , then add the five terms.The index does not always have to be ; we can use any letter, but and are commonly used. The index does not have to start with 1 either—it can start and end with any positive integer.
Example 12.10. Expand the partial sum and find its value: .
Solution.
Therefore, .
Expand the partial sum and find its value: .
Substitute and remember that .Expand the partial sum and find its value: .
Substitute and remember that .Use Summation Notation to Write a Sum
In the last two examples, we went from summation notation to writing out the sum. Now we will start with a sum and change it to summation notation. This is very similar to finding the general term of a sequence. We will need to look at the terms and find a pattern. Often the patterns involve multiples or powers.
Example 12.11. Write the sum using summation notation:
Solution. We look for a pattern in the terms. The numerators are all one. The denominators are the counting numbers from one to five:
The sum written in summation notation is
Write the sum using summation notation: .
The denominators are powers of 2 for through .Write the sum using summation notation: .
The denominators are the squares of the counting numbers from 1 through 5.When the terms of a sum have negative coefficients, we must carefully analyze the pattern of the signs.
Example 12.12. Write the sum using summation notation:
Solution. We look for a pattern in the terms. The signs of the terms alternate, and the odd terms are negative. The numbers are the cubes of the counting numbers from one to five.
The sum written in summation notation is
Write the sum using summation notation: .
The absolute values are squares, and the signs alternate beginning with a positive term.Write the sum using summation notation: .
The absolute values are twice the counting numbers, and the signs alternate beginning with a negative term.Key terms: factorial notation, finite sequence, general term, index of summation, infinite sequence, partial sum, sequence, summation notation, term.
Adapted from [Intermediate Algebra 2e, Section 12.1: Sequences](https://openstax.org/books/intermediate-algebra-2e/pages/12-1-sequences) by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/). Access the original for free at [OpenStax](https://openstax.org/). Changes: omitted the “Be Prepared” readiness exercises, section exercise set, and external media link; converted “Try It” exercises to interactive checks and adapted formatting for the web.