Sequences and Their Notations

Learning Outcomes

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

  • Write the terms of a sequence defined by an explicit formula.
  • Write the terms of a sequence defined by a recursive formula.
  • Write a recursive formula for a sequence.

Writing the Terms of a Sequence Defined by an Explicit Formula

One way to describe an ordered list of numbers is as a sequence. A sequence is a function whose domain is a subset of the counting numbers. The sequence established by the number of hits on the website is

[latex]\left\{2,4,8,16,32,\dots \right\}[/latex].

The ellipsis (…) indicates that the sequence continues indefinitely. Each number in the sequence is called a term. The first five terms of this sequence are 2, 4, 8, 16, and 32.

Listing all of the terms for a sequence can be cumbersome. For example, finding the number of hits on the website at the end of the month would require listing out as many as 31 terms. A more efficient way to determine a specific term is by writing a formula to define the sequence.

One type of formula is an explicit formula, which defines the terms of a sequence using their position in the sequence. Explicit formulas are helpful if we want to find a specific term of a sequence without finding all of the previous terms. We can use the formula to find the [latex]n\text{th}[/latex] term of the sequence, where [latex]n[/latex] is any positive number. In our example, each number in the sequence is double the previous number, so we can use powers of 2 to write a formula for the [latex]n\text{th}[/latex] term.

Sequence of {2, 4, 8, 16, 32, ...} expressed in exponential form (i.e., {2^1, 2^2, 2^3, ..., 2^n, ...}

Figure 1

The first term of the sequence is [latex]{2}^{1}=2[/latex], the second term is [latex]{2}^{2}=4[/latex], the third term is [latex]{2}^{3}=8[/latex], and so on. The [latex]n\text{th}[/latex] term of the sequence can be found by raising 2 to the [latex]n\text{th}[/latex] power. An explicit formula for a sequence is named by a lower case letter [latex]a,b,c..[/latex]. with the subscript [latex]n[/latex]. The explicit formula for this sequence is

[latex]{a}_{n}={2}^{n}[/latex].

Now that we have a formula for the [latex]n\text{th}[/latex] term of the sequence, we can answer the question posed at the beginning of this section. We were asked to find the number of hits at the end of the month, which we will take to be 31 days. To find the number of hits on the last day of the month, we need to find the 31st term of the sequence. We will substitute 31 for [latex]n[/latex] in the formula.

[latex]\begin{align}{a}_{31}&={2}^{31} \\ &=\text{2,147,483,648} \end{align}[/latex]

If the doubling trend continues, the company will get [latex]\text{2,147,483,648}[/latex] hits on the last day of the month. That is over 2.1 billion hits! The huge number is probably a little unrealistic because it does not take consumer interest and competition into account. It does, however, give the company a starting point from which to consider business decisions.

Another way to represent the sequence is by using a table. The first five terms of the sequence and the [latex]n\text{th}[/latex] term of the sequence are shown in the table.

[latex]n[/latex] 1 2 3 4 5 [latex]n[/latex]
[latex]n\text{th}[/latex] term of the sequence, [latex]{a}_{n}[/latex] 2 4 8 16 32 [latex]{2}^{n}[/latex]

Lastly, we can write this particular sequence as

[latex]\left\{2,4,8,16,32,\dots ,{2}^{n},\dots \right\}[/latex].

A sequence that continues indefinitely is called an infinite sequence. The domain of an infinite sequence is the set of counting numbers. If we consider only the first 10 terms of the sequence, we could write

[latex]\left\{2,4,8,16,32,\dots ,{2}^{n},\dots ,1024\right\}[/latex].

This sequence is called a finite sequence because it does not continue indefinitely.

A General Note: Sequence

A sequence is a function whose domain is the set of positive integers. A finite sequence is a sequence whose domain consists of only the first [latex]n[/latex] positive integers. The numbers in a sequence are called terms. The variable [latex]a[/latex] with a number subscript is used to represent the terms in a sequence and to indicate the position of the term in the sequence.

[latex]{a}_{1},{a}_{2},{a}_{3},\dots ,{a}_{n},\dots [/latex]

We call [latex]{a}_{1}[/latex] the first term of the sequence, [latex]{a}_{2}[/latex] the second term of the sequence, [latex]{a}_{3}[/latex] the third term of the sequence, and so on. The term [latex]{a}_{n}[/latex] is called the [latex]n\text{th}[/latex] term of the sequence, or the general term of the sequence. An explicit formula defines the [latex]n\text{th}[/latex] term of a sequence using the position of the term. A sequence that continues indefinitely is an infinite sequence.

How To: Given an explicit formula, write the first [latex]n[/latex] terms of a sequence.

  1. Substitute each value of [latex]n[/latex] into the formula. Begin with [latex]n=1[/latex] to find the first term, [latex]{a}_{1}[/latex].
  2. To find the second term, [latex]{a}_{2}[/latex], use [latex]n=2[/latex].
  3. Continue in the same manner until you have identified all [latex]n[/latex] terms.

Example 1: Writing the Terms of a Sequence Defined by an Explicit Formula

Write the first five terms of the sequence defined by the explicit formula [latex]{a}_{n}=-3n+8[/latex].

 

Try It

Write the first five terms of the sequence defined by the explicit formula [latex]{t}_{n}=5n - 4[/latex].

Try It

Investigating Alternating Sequences

Sometimes sequences have terms that are alternate. In fact, the terms may actually alternate in sign. The steps to finding terms of the sequence are the same as if the signs did not alternate. However, the resulting terms will not show increase or decrease as [latex]n[/latex] increases. Let’s take a look at the following sequence.

[latex]\left\{2,-4,6,-8\right\}[/latex]

Notice the first term is greater than the second term, the second term is less than the third term, and the third term is greater than the fourth term. This trend continues forever. Do not rearrange the terms in numerical order to interpret the sequence.

How To: Given an explicit formula with alternating terms, write the first [latex]n[/latex] terms of a sequence.

  1. Substitute each value of [latex]n[/latex] into the formula. Begin with [latex]n=1[/latex] to find the first term, [latex]{a}_{1}[/latex]. The sign of the term is given by the [latex]{\left(-1\right)}^{n}[/latex] in the explicit formula.
  2. To find the second term, [latex]{a}_{2}[/latex], use [latex]n=2[/latex].
  3. Continue in the same manner until you have identified all [latex]n[/latex] terms.

Example 2: Writing the Terms of an Alternating Sequence Defined by an Explicit Formula

Write the first five terms of the sequence.

[latex]{a}_{n}=\frac{{\left(-1\right)}^{n}{n}^{2}}{n+1}[/latex]

 

Try It

Write the first five terms of the sequence:

[latex]{a}_{n}=\frac{4n}{{\left(-2\right)}^{n}}[/latex]

Writing the Terms of a Sequence Defined by a Recursive Formula

Sequences occur naturally in the growth patterns of nautilus shells, pinecones, tree branches, and many other natural structures. We may see the sequence in the leaf or branch arrangement, the number of petals of a flower, or the pattern of the chambers in a nautilus shell. Their growth follows the Fibonacci sequence, a famous sequence in which each term can be found by adding the preceding two terms. The numbers in the sequence are 1, 1, 2, 3, 5, 8, 13, 21, 34,…. Other examples from the natural world that exhibit the Fibonacci sequence are the Calla Lily, which has just one petal, the Black-Eyed Susan with 13 petals, and different varieties of daisies that may have 21 or 34 petals.

Each term of the Fibonacci sequence depends on the terms that come before it. The Fibonacci sequence cannot easily be written using an explicit formula. Instead, we describe the sequence using a recursive formula, a formula that defines the terms of a sequence using previous terms.

A recursive formula always has two parts: the value of an initial term (or terms), and an equation defining [latex]{a}_{n}[/latex] in terms of preceding terms. For example, suppose we know the following:

[latex]\begin{align}&{a}_{1}=3 \\ &{a}_{n}=2{a}_{n - 1}-1, \text{ for } n\ge 2 \end{align}[/latex]

We can find the subsequent terms of the sequence using the first term.

[latex]\begin{align}&{a}_{1}=3\\ &{a}_{2}=2{a}_{1}-1=2\left(3\right)-1=5\\ &{a}_{3}=2{a}_{2}-1=2\left(5\right)-1=9\\ &{a}_{4}=2{a}_{3}-1=2\left(9\right)-1=17\end{align}[/latex]

So the first four terms of the sequence are [latex]\left\{3,\text{ }5,\text{ }9,\text{ }17\right\}[/latex] .

The recursive formula for the Fibonacci sequence states the first two terms and defines each successive term as the sum of the preceding two terms.

[latex]\begin{align}&{a}_{1}=1 \\ &{a}_{2}=1 \\ &{a}_{n}={a}_{n - 1}+{a}_{n - 2}, \text{ for } n\ge 3 \end{align}[/latex]

To find the tenth term of the sequence, for example, we would need to add the eighth and ninth terms. We were told previously that the eighth and ninth terms are 21 and 34, so

[latex]{a}_{10}={a}_{9}+{a}_{8}=34+21=55[/latex]

A General Note: Recursive Formula

A recursive formula is a formula that defines each term of a sequence using preceding term(s). Recursive formulas must always state the initial term, or terms, of the sequence.

How To: Given a recursive formula with only the first term provided, write the first [latex]n[/latex] terms of a sequence.

  1. Identify the initial term, [latex]{a}_{1}[/latex], which is given as part of the formula. This is the first term.
  2. To find the second term, [latex]{a}_{2}[/latex], substitute the initial term into the formula for [latex]{a}_{n - 1}[/latex]. Solve.
  3. To find the third term, [latex]{a}_{3}[/latex], substitute the second term into the formula. Solve.
  4. Repeat until you have solved for the [latex]n\text{th}[/latex] term.

Example 5: Writing the Terms of a Sequence Defined by a Recursive Formula

Write the first five terms of the sequence defined by the recursive formula.

[latex]\begin{align}&{a}_{1}=9\\ &{a}_{n}=3{a}_{n - 1}-20\text{, for }n\ge 2\end{align}[/latex]

Try It

Write the first five terms of the sequence defined by the recursive formula.

[latex]\begin{align}&{a}_{1}=2\\ &{a}_{n}=2{a}_{n - 1}+1\text{, for }n\ge 2\end{align}[/latex]

Try It

How To: Given a recursive formula with two initial terms, write the first [latex]n[/latex] terms of a sequence.

  1. Identify the initial term, [latex]{a}_{1}[/latex], which is given as part of the formula.
  2. Identify the second term, [latex]{a}_{2}[/latex], which is given as part of the formula.
  3. To find the third term, substitute the initial term and the second term into the formula. Evaluate.
  4. Repeat until you have evaluated the [latex]n\text{th}[/latex] term.

Example 6: Writing the Terms of a Sequence Defined by a Recursive Formula

Write the first six terms of the sequence defined by the recursive formula.

[latex]\begin{align}&{a}_{1}=1\\ &{a}_{2}=2\\ &{a}_{n}=3{a}_{n - 1}+4{a}_{n - 2}\text{, for }n\ge 3\end{align}[/latex]

Try It

Write the first eight terms of the sequence defined by the recursive formula.

[latex]\begin{align} &{a}_{1}=0\\ &{a}_{2}=1 \\ &{a}_{3}=1 \\ &{a}_{n}=\frac{{a}_{n - 1}}{{a}_{n - 2}}+{a}_{n - 3}\text{, for }n\ge 4 \end{align}[/latex]

Try It

Using Factorial Notation

The formulas for some sequences include products of consecutive positive integers. [latex]n[/latex] factorial, written as [latex]n![/latex], is the product of the positive integers from 1 to [latex]n[/latex]. For example,

[latex]\begin{align}&4!=4\cdot 3\cdot 2\cdot 1=24 \\ &5!=5\cdot 4\cdot 3\cdot 2\cdot 1=120 \end{align}[/latex]

An example of formula containing a factorial is [latex]{a}_{n}=\left(n+1\right)![/latex]. The sixth term of the sequence can be found by substituting 6 for [latex]n[/latex].

[latex]{a}_{6}=\left(6+1\right)!=7!=7\cdot 6\cdot 5\cdot 4\cdot 3\cdot 2\cdot 1=5040[/latex]

The factorial of any whole number [latex]n[/latex] is [latex]n\left(n - 1\right)![/latex] We can therefore also think of [latex]5![/latex] as [latex]5\cdot 4!\text{.}[/latex]

A General Note: Factorial

n factorial is a mathematical operation that can be defined using a recursive formula. The factorial of [latex]n[/latex], denoted [latex]n![/latex], is defined for a positive integer [latex]n[/latex] as:

[latex]\begin{align}&0!=1\\ &1!=1\\ &n!=n\left(n - 1\right)\left(n - 2\right)\cdots \left(2\right)\left(1\right)\text{, for }n\ge 2\end{align}[/latex]

The special case [latex]0![/latex] is defined as [latex]0!=1[/latex].

Example 7: Writing the Terms of a Sequence Using Factorials

Write the first five terms of the sequence defined by the explicit formula [latex]{a}_{n}=\frac{5n}{\left(n+2\right)!}[/latex].

Try It

Write the first five terms of the sequence defined by the explicit formula [latex]{a}_{n}=\frac{\left(n+1\right)!}{2n}[/latex].

Try It