Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

9.1: Sequences

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives

By the end of this section, you will be able to:

  • Write the first few terms of a sequence
  • Find a formula for the general term (nth term) of a sequence
  • Use factorial notation
  • Find the partial sum
  • Use summation notation to write a sum

Before you get started, take this readiness quiz.

  1. Evaluate 2n+3 for the integers 1,2,3, and 4.
    If you missed this problem, review Example 1.6.
  2. Evaluate (1)n for the integers 1,2,3, and 4.
    If you missed this problem, review Example 1.19.
  3. If f(n)=n2+2, find f(1)+f(2)+f(3).
    If you missed this problem, review Example 3.49.

Write the First Few Terms of a Sequence

Let’s look at the function f(x)=2x and evaluate it for just the counting numbers.

f(x)=2x  
x 2x
1 2
2 4
3 6
4 8
5 10
... ...
Table 12.1.1

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.

Definition 9.1.1

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.

2,4,6,8,10,

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,

2,4,6,8

Often when working with sequences we do not want to write out all the terms. We want more compact way to show how each term is defined. When we worked with functions, we wrote f(x)=2x and we said the expression 2x 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 f(x)=2x, we would write it as an=2n. The an is the nth term of the sequence, the term in the nth position where n 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.

Definition 9.1.2

The general term of the sequence is found from the formula for writing the nth term of the sequence. The nth term of the sequence, an, is the term in the nth position where n is a value in the domain.

When we are given the general term of the sequence, we can find the terms by replacing n with the counting numbers in order. For an=2n,

n 1 2 3 4 5 6
an 21 22 23 24 25 26
  2 4 6 8 10  
Table 12.1.2

a1,a2,a3,a4,a5,,an,

2,4,6,8,10,

To find the values of a sequence, we substitute in the counting numbers in order into the general term of the sequence.

Example 9.1.1

Write the first five terms of the sequence whose general term is an=4n3.

Solution:

We substitute the values 1,2,3,4, and 5 into the formula, an=4n3, in order.

This figure shows three rows and five columns. The first row reads nth term equals 4 times n minus 3 written five times. The second row reads a sub 1 equals 4 times g times 1 minus 3, a sub 2 equals 4 times g times 2 minus 3, a sub 3 equals 4 times g times 3 minus 3, a sub 4 equals 4 times g times 4 minus 3, a sub 5 equals 4 times g times 5 minus 3. The third row reads, a sub 1 equals 1, a sub 2 equals 5, a sub 3 equals 9, a sub 4 equals 13, a sub 5 equals 17.
Figure 12.1.1

Answer:

The first five terms of the sequence are 1,5,9,13, and 17.

Exercise 9.1.1

Write the first five terms of the sequence whose general term is an=3n4.

Answer

1,2,5,8,11

Exercise 9.1.2

Write the first five terms of the sequence whose general term is an=2n5.

Answer

3,1,1,3,5

For some sequences, the variable is an exponent.

Example 9.1.2

Write the first five terms of the sequence whose general term is an=2n+1.

Solution:

We substitute the values 1,2,3,4, and 5 into the formula, an=2n+1, in order.

This figure shows three rows and five columns. The first row reads “nth term equals 2 to the nth power plus 1” written five times. The second row reads, “a sub 1 equals 2 times 1 plus 1, a sub 2 equals 2 to the power of 2 plus 1, a sub 3 equals 2 to the power 3 plus 1, a sub 4 equals 2 to the power of 4 plus 1, a sub 5 equals 2 to the power 5 plus 1”. The last row reads “a sub 1 equals 3, a sub 2 equals 5, a sub 3 equals 9, a sub 4 equals 17, a sub 5 equals 33”.
Figure 12.1.2

Answer:

The first five terms of the sequence are 3,5,9,17, and 33.

Exercise 9.1.3

Write the first five terms of the sequence whose general term is an=3n+4.

Answer

7,13,31,85,247

Exercise 9.1.4

Write the first five terms of the sequence whose general term is an=2n5.

Answer

3,1,3,11,27

It is not uncommon to see the expressions (1)n or (1)n+1 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.

n 1 2 3 4 5
(1)n (1)1
1
(1)2
1
(1)3
1
(1)4
1
(1)5
1
(1)n+1 (1)1+1
1
(1)2+1
1
(1)3+1
1
(1)4+1
1
(1)5+1
1
Table 12.1.3

a1,a2,a3,a4,a5,,an,

1,1,1,1,11,1,1,1,1

Example 9.1.3

Write the first five terms of the sequence whose general term is an=(1)nn3.

Solution:

We substitute the values 1,2,3,4, and 5 into the formula, an=(1)nn3, in order.

This figure shows three rows and five columns. The first row reads “nth term equals negative 1 to the nth power times n cubed” written five times. The second row reads a sub 1 equals negative 1 to the power of 1 times g times 1 cubed, a sub 2 equals negative 1 squared time g times 2 cubed, a sub 3 equals negative 1 cubed times g times 23 cubed, a sub 4 equals negative 1 to the power of 4 times g times 4 cubed, a sub 5 equals negative 1 to the power of 5 times g times 5 cubed. The last row reads, “a sub 1 equals negative 1, a sub 2 equals 8, a sub 3 equals negative 27, a sub 4 equals 64, and a sub 5 equals negative 125.
Figure 12.1.3

Answer:

The first five terms of the sequence are 1,8,27,64,1,8,27,64, and 125.

Exercise 9.1.5

Write the first five terms of the sequence whose general term is an=(1)nn2.

Answer

1,4,9,16,25

Exercise 9.1.6

Write the first five terms of the sequence whose general term is an=(1)n+1n3.

Answer

1,8,27,64,125

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 9.1.4

Find a general term for the sequence whose first five terms are shown. 4,8,12,16,20,

Solution:


  .
  .
We look for a pattern in the terms. .
The numbers are all multiples of 4. .
  The general term of the sequence is an=4n.
Table 12.1.4

Answer:

The general term of the sequence is an=4n.

Exercise 9.1.7

Find a general term for the sequence whose first five terms are shown.

3,6,9,12,15,

Answer

an=3n

Exercise 9.1.8

Find a general term for the sequence whose first five terms are shown.

5,10,15,20,25,

Answer

an=5n

Example 9.1.5

Find a general term for the sequence whose first five terms are shown. 2,4,8,16,32,

Solution:

 
.
Figure 12.1.8
 
.
Figure 12.1.9
We look for a pattern in the terms.
.
Figure 12.1.10
The numbers are powers of 2. The signs are alternating, with even n negative.
.
Figure 12.1.11
  The general term of the sequence is an=(1)n+12n
Table 12.1.5

Answer:

The general term of the sequence is an=(1)n+12n.

Exercise 9.1.9

Find a general term for the sequence whose first five terms are shown.

3,9,27,81,243,

Answer

an=(1)n3n

Exercise 9.1.10

Find a general term for the sequence whose first five terms are shown

1,4,9,16,25,

Answer

an=(1)n+1n2

Example 9.1.6

Find a general term for the sequence whose first five terms are shown. 13,19,127,181,1243,

Solution:

 
.
Figure 12.1.12
 
.
Figure 12.1.13
We look for a pattern in the terms.
.
Figure 12.1.14
The numerators are all 1.
.
Figure 12.1.15
The denominators are powers of 3. The general term of the sequence is an=13n.
Table 12.1.6

Answer:

The general term of the sequence is an=13n.

Exercise 9.1.11

Find a general term for the sequence whose first five terms are shown.

12,14,18,116,132,

Answer

an=12n

Exercise 9.1.12

Find a general term for the sequence whose first five terms are shown.

11,14,19,116,125,

Answer

an=1n2

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, 5!, read 5 factorial, means 54321. The exclamation point is not punctuation here; it indicates the factorial notation.

Definition 9.1.3

If n is a positive integer, then n! is

n!=n(n1)(n2)

We define 0! as 1, so 0!=1.

The values of n! for the first 5 positive integers are shown.

1!2!3!4!5!12132143215432112624120

Example 9.1.7

Write the first five terms of the sequence whose general term is an=1n!.

Solution:

We substitute the values 1,2,3,4,5 into the formula, an=1n!, in order.

This figure shows four rows and five columns. The first row reads, “nth term equals one divided by n factorial” written five times. The second row reads “a sub 1 equals one divided by 1 factorial, a sub 2 equals 1 divided by 2 factorial, a sub 3 equals 1 divided by 3 factorial, a sub 4 equals 1 divided by 4 factorial, a sub 5 equals 1 divided by 5 factorial”. The third row reads “a sub 1 equals 1 divided 1”, “a sub 2 equals 1 divided by 2 times g times 1”, “a sub 3 equals 1 divided by 3 times g times 2 g times 1”, “a sub 4 equals 1 divided 4 times g times 3 times g times 2 times g times 1”, “a sub 5 equals 1 divided by 5 g times 4 times g times 3 times g times 2 times g times 1”, “a sub 1 equals 1, a sub 2 equals one-half”, “a sub 3 equals one-sixth”, “a sub 4 equals 1 divided by 24”, “a sub 5 equals 1 divided by 120”.
Figure 12.1.16

Answer:

The first five terms of the sequence are 1,12,16,124,1120.

Exercise 9.1.13

Write the first five terms of the sequence whose general term is an=2n!.

Answer

2,1,13,112,160

Exercise 9.1.14

Write the first five terms of the sequence whose general term is an=3n!.

Answer

3,32,12,18,140

When there is a fraction with factorials in the numerator and denominator, we line up the factors vertically to make our calculations easier.

Example 9.1.8

Write the first five terms of the sequence whose general term is an=(n+1)!(n1)!.

Solution:

We substitute the values 1,2,3,4,5 into the formula, an=(n+1)!(n1)!, in order.

This figure shows five columns and five rows. The first row shows the sequence “nth term equals n plus 1 times factorial divided by n minus 1 times factorial” written five times. The second row is “a sub 1 equals 1 plus 1 times factorial divided by 1 minus 1 times factorial”, “a sub 2 equals 2 plus 1 times factorial divided by 2 minus 1 times factorial”, “a sub 3 equals 3 plus 1 times factorial divided by 3 minus 1 times factorial”, “a sub 4 equals 4 plus 1 times factorial divided by 4 minus 1 times factorial”, “a sub 5 equals 5 plus 1 times factorial divided by 5 minus 1 times factorial”. The third row reads “a sub 1 equals 2 times factorial divided by 0 times factorial”, “a sub 2 equals 3 times factorial divided by 1 times factorial”, “a sub 3 equals 4 times factorial divided by 2 times factorial”, “a sub 3 equals 4 times factorial divided by 2 times factorial”, “a sub 4 equals 5 times factorial divided by 3 times factorial”, “a sub 5 equals 6 times factorial divided by 4 times factorial”. The fourth row reads, “a sub 1 equals 2 times g time 1 divided by 1”, “a sub 2 equals 3 times g times 2 times g times 1 divided by 1”, “a sub 3 equals 4 times g times 3 times g times 2 times g times 1 divided by 2 times g times 1”, “a sub 4 equals 5 times g times 4 times g times 3 times g times 2 times g times 1 divided by 3 g times 2 times g times 1”, and “a sub 5 equals 6 times g times 5 times g times 4 times g times 3 times g times 2 times g times 1 divided by 4 times g times 3 times g times 2 times g times 1”. The fifth row reads “a sub 1 equals 2”, “a sub 2 equals 6”, “a sub 3 equals 12”, “a sub 4 equals 20”, “a sub 5 equals 30”.
Figure 12.1.17

Answer:

The first five terms of the sequence are 2,6,12,20, and 30.

Exercise 9.1.15

Write the first five terms of the sequence whose general term is an=(n1)!(n+1)!

Answer

12,16,112,120,130

Exercise 9.1.16

Write the first five terms of the sequence whose general term is an=n!(n+1)!.

Answer

12,13,14,15,16

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, a1+a2+a3+a4+a5 can be written as 5i=1ai. We read this as “the sum of a sub i from i equals one to five.” The symbol means to add and the i is the index of summation. The 1 tells us where to start (initial value) and the 5 tells us where to end (terminal value).

Definition 9.1.4

The sum of the first n terms of a sequence whose nth term is an is written in summation notation as:

ni=1ai=a1+a2+a3+a4+a5++an

The i is the index of summation and the 1 tells us where to start and the n tells us where to end.

When we add a finite number of terms, we call the sum a partial sum.

Example 9.1.9

Expand the partial sum and find its value: 5i=12i.

Solution:

  5i=12i
We substitute the values 1,2,3,4,5 in order. 21+22+23+24+25
Simplify. 2+4+6+8+10
Add. 305i=12i=30
Table 12.1.7

Answer:

305i=12i=30
Exercise 9.1.17

Expand the partial sum and find its value: 5i=13i.

Answer

45

Exercise 9.1.18

Expand the partial sum and find its value: 5i=14i.

Answer

60

The index does not always have to be i we can use any letter, but i and k are commonly used. The index does not have to start with 1 either—it can start and end with any positive integer.

Example 9.1.10

Expand the partial sum and find its value: 3k=01k!.

Solution:

3k=01k!Wesubstitutethevalues0,1,2,3inorder.11+11!+12!+13!Evaluatethefactorials.11+11+12!+16Simplify.1+1+36+16Simplify.166Simplify.833k=01k!=83

Exercise 9.1.19

Expand the partial sum and find its value: 3k=02k!.

Answer

163

Exercise 9.1.20

Expand the partial sum and find its value: 3k=03k!.

Answer

8

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 9.1.11

Write the sum using summation notation: 1+12+13+14+15.

Solution:

1+12+13+14+15n:1,2,3,4,5We look for a pattern in the terms. Terms: 1,12,13,14,15The numerators are all one. Pattern: 11,12,13,14,15,1nThe denominators are the counting numbers from one to five.The sum written in summation notation1+12+13+14+15=5n=11n.

Exercise 9.1.21

Write the sum using summation notation: 12+14+18+116+132.

Answer

5n=112n

Exercise 9.1.22

Write the sum using summation notation: 1+14+19+116+125

Answer

5n=11n2

When the terms of a sum have negative coefficients, we must carefully analyze the pattern of the signs.

Example 9.1.12

Write the sum using summation notation: 1+827+64125.

Solution:


 
.
Figure 12.1.18
 
.
Figure 12.1.19
We look for a pattern in the terms.
.
Figure 12.1.20
The signs of the terms alternate,
and the odd terms are negative.
.
Figure 12.1.21
The numbers are the cubes of the
counting numbers from one to five.
.
Figure 12.1.22
 
.
Figure 12.1.23
  The sum written in summation notation is
  1+827+64125=5n=1(1)nn3
Table 12.1.8
Exercise 9.1.23

Write each sum using summation notation: 14+916+25.

Answer

5n=1(1)n+1n2

Exercise 9.1.24

Write each sum using summation notation: 2+46+810.

Answer

5n=1(1)n2n

Access this online resource for additional instruction and practice with sequences.

https://openstax.org/l/37serseqfindpat

Key Concepts

  • Factorial Notation

If n is a positive integer, then n! is

n!=n(n1)(n2)(3)(2)(1)

We define 0! as 1, so 0!=1

  • Summation Notation

The sum of the first n terms of a sequence whose nth term an is written in summation notation as:

ni=1ai=a1+a2+a3+a4+a5++an

The i is the index of summation and the 1 tells us where to start and the n tells us where to end.

Glossary

finite sequence
A sequence with a domain that is limited to a finite number of counting numbers.
general term of a sequence
The general term of the sequence is the formula for writing the nth term of the sequence. The nth term of the sequence, an, is the term in the nth position where n is a value in the domain.
infinite sequence
A sequence whose domain is all counting numbers and there is an infinite number of counting numbers.
partial sum
When we add a finite number of terms of a sequence, we call the sum a partial sum.
sequence
A sequence is a function whose domain is the counting numbers.

This page titled 9.1: Sequences is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.

Support Center

How can we help?