Write the terms of a sequence defined by an explicit formula.
Write the terms of a sequence defined by a recursive formula.
Use factorial notation.
A video game company launches an exciting new advertising campaign. They predict the number of online visits to their website, or hits, will double each day. The model they are using shows hits the first day, hits the second day, hits the third day, and so on (Table ).
Table
Day
1
2
3
4
5
…
Hits
2
4
8
16
32
…
If their model continues, how many hits will there be at the end of the month? To answer this question, we’ll first need to know how to determine a list of numbers written in a specific order. In this section, we will explore these kinds of ordered lists.
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
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 , , , , and .
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 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 nthterm of the sequence, where nn 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 nth term.
The first term of the sequence is , the second term is , the third term is , and so on. The nth term of the sequence can be found by raising 2 to the nth power. An explicit formula for a sequence is named by a lower case letter , , ... with the subscript . The explicit formula for this sequence is
Now that we have a formula for the nth 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 in the formula.
If the doubling trend continues, the company will get hits on the last day of the month. That is over 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 nth term of the sequence are shown in Table .
Table
1
2
3
4
5
term of the sequence,
2
4
8
16
32
Graphing provides a visual representation of the sequence as a set of distinct points. We can see from the graph in Figure that the number of hits is rising at an exponential rate. This particular sequence forms an exponential function.
Figure
Lastly, we can write this particular sequence as
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 terms of the sequence, we could write
This sequence is called a finite sequence because it does not continue indefinitely.
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 positive integers. The numbers in a sequence are called terms. The variable with a number subscript is used to represent the terms in a sequence and to indicate the position of the term in the sequence.
We call the first term of the sequence, the second term of the sequence, the third term of the sequence, and so on. The term is called the nth term of the sequence, or the general term of the sequence. An explicit formula defines the nth term of a sequence using the position of the term. A sequence that continues indefinitely is an infinite sequence.
Q&A: Does a sequence always have to begin with ?
No. In certain problems, it may be useful to define the initial term as instead of . In these problems, the domain of the function includes .
How to: Given an explicit formula, write the first terms of a sequence
Substitute each value of into the formula. Begin with to find the first term, .
To find the second term, , use .
Continue in the same manner until you have identified all nn terms.
Example : Writing the Terms of a Sequence Defined by an Explicit Formula
Write the first five terms of the sequence defined by the explicit formula .
Solution
Substitute into the formula. Repeat with values through for .
The first five terms are .
Analysis
The sequence values can be listed in a table. A table, such as Table , is a convenient way to input the function into a graphing utility.
Table
1
2
3
4
5
5
2
–1
–4
–7
A graph can be made from this table of values. From the graph in Figure , we can see that this sequence represents a linear function, but notice the graph is not continuous because the domain is over the positive integers only.
Figure
Exercise
Write the first five terms of the sequence defined by the explicit formula.
Answer
The first five terms are .
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 increases. Let’s take a look at the following sequence.
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 nn terms of a sequence
Substitute each value of nn into the formula. Begin with to find the first term, . The sign of the term is given by the in the explicit formula.
To find the second term, , use .
Continue in the same manner until you have identified all terms.
Example : Writing the Terms of an Alternating Sequence Defined by an Explicit Formula
Write the first five terms of the sequence.
Solution
Substitute , , and so on in the formula.
The first five terms are .
Analysis
The graph of this function, shown in Figure , looks different from the ones we have seen previously in this section because the terms of the sequence alternate between positive and negative values.
Figure
Q&A: In the example above, does the to the power of account for the oscillations of signs?
Yes, the power might be, , , and so on, but any odd powers will result in a negative term, and any even power will result in a positive term.
Exercise
Write the first five terms of the sequence:
Answer
The first five terms are .
Investigating Piecewise Explicit Formulas
We’ve learned that sequences are functions whose domain is over the positive integers. This is true for other types of functions, including some piecewise functions. Recall that a piecewise function is a function defined by multiple subsections. A different formula might represent each individual subsection.
How to: Given an explicit formula for a piecewise function, write the first terms of a sequence
Identify the formula to which applies.
To find the first term, , use in the appropriate formula.
Identify the formula to which applies.
To find the second term, , use in the appropriate formula.
Continue in the same manner until you have identified all terms.
Example : Writing the Terms of a Sequence Defined by a Piecewise Explicit Formula
Write the first six terms of the sequence.
Solution
Substitute , , and so on in the appropriate formula. Use when is not a multiple of . Use when is a multiple of .
The first six terms are .
Analysis
Every third point on the graph shown in Figure stands out from the two nearby points. This occurs because the sequence was defined by a piecewise function.
Figure
Exercise
Write the first six terms of the sequence.
Answer
The first six terms are .
Finding an Explicit Formula
Thus far, we have been given the explicit formula and asked to find a number of terms of the sequence. Sometimes, the explicit formula for the nth term of a sequence is not given. Instead, we are given several terms from the sequence. When this happens, we can work in reverse to find an explicit formula from the first few terms of a sequence. The key to finding an explicit formula is to look for a pattern in the terms. Keep in mind that the pattern may involve alternating terms, formulas for numerators, formulas for denominators, exponents, or bases.
How to: Given the first few terms of a sequence, find an explicit formula for the sequence
Look for a pattern among the terms.
If the terms are fractions, look for a separate pattern among the numerators and denominators.
Look for a pattern among the signs of the terms.
Write a formula for in terms of . Test your formula for , , and .
Example : Writing an Explicit Formula for the nth Term of a Sequence
Write an explicit formula for the nth term of each sequence.
Solution
Look for the pattern in each sequence.
The terms alternate between positive and negative. We can use to make the terms alternate. The numerator can be represented by . The denominator can be represented by .
The terms are all negative.
So we know that the fraction is negative, the numerator is , and the denominator can be represented by .
The terms are powers of . For , the first term is so the exponent must be .
Exercise
Write an explicit formula for the nth term of the sequence.
Answer
Exercise
Write an explicit formula for the nth term of the sequence.
Answer
Exercise
Write an explicit formula for the nth term of the sequence.
Answer
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 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 petals, and different varieties of daisies that may have or 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 in terms of preceding terms. For example, suppose we know the following:
We can find the subsequent terms of the sequence using the first term.
So the first four terms of the sequence are .
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.
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 and , so
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.
Q&A: Must the first two terms always be given in a recursive formula?
No. The Fibonacci sequence defines each term using the two preceding terms, but many recursive formulas define each term using only one preceding term. These sequences need only the first term to be defined.
How to: Given a recursive formula with only the first term provided, write the first n terms of a sequence
Identify the initial term, , which is given as part of the formula. This is the first term.
To find the second term, , substitute the initial term into the formula for . Solve.
To find the third term, , substitute the second term into the formula. Solve.
Repeat until you have solved for the nth term.
Example : Writing the Terms of a Sequence Defined by a Recursive Formula
Write the first five terms of the sequence defined by the recursive formula.
Solution
The first term is given in the formula. For each subsequent term, we replace with the value of the preceding term.
The first five terms are . See Figure .
Figure
Exercise
Write the first five terms of the sequence defined by the recursive formula.
Answer
How to: Given a recursive formula with two initial terms, write the first terms of a sequence
Identify the initial term, , which is given as part of the formula.
Identify the second term, , which is given as part of the formula.
To find the third term, substitute the initial term and the second term into the formula. Evaluate.
Repeat until you have evaluated the nth term.
Example : Writing the Terms of a Sequence Defined by a Recursive Formula
Write the first six terms of the sequence defined by the recursive formula.
Solution
The first two terms are given. For each subsequent term, we replace and with the values of the two preceding terms.
The first six terms are . See Figure .
Figure
Exercise
Write the first terms of the sequence defined by the recursive formula.
Answer
.
Using Factorial Notation
The formulas for some sequences include products of consecutive positive integers. factorial, written as , is the product of the positive integers from to . For example,
An example of formula containing a factorial is . The sixth term of the sequence can be found by substituting for .
The factorial of any whole number is We can therefore also think of as .
FACTORIAL
factorial is a mathematical operation that can be defined using a recursive formula. The factorial of , denoted , is defined for a positive integer as:
The special case is defined as .
Q&A: Can factorials always be found using a calculator?
No. Factorials get large very quickly—faster than even exponential functions! When the output gets too large for the calculator, it will not be able to calculate the factorial.
Example : Writing the Terms of a Sequence Using Factorials
Write the first five terms of the sequence defined by the explicit formula .
Solution
Substitute , , and so on in the formula.
The first five terms are .
Analysis
Figure shows the graph of the sequence. Notice that, since factorials grow very quickly, the presence of the factorial term in the denominator results in the denominator becoming much larger than the numerator as nn increases. This means the quotient gets smaller and, as the plot of the terms shows, the terms are decreasing and nearing zero.
Figure
Exercise
Write the first five terms of the sequence defined by the explicit formula .
Answer
The first five terms are .
Media
Access this online resource for additional instruction and practice with sequences.