{"id":437,"date":"2019-07-15T22:45:01","date_gmt":"2019-07-15T22:45:01","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/waymakercollegealgebracorequisite\/chapter\/sequences-defined-by-an-explicit-formula\/"},"modified":"2019-07-15T22:45:01","modified_gmt":"2019-07-15T22:45:01","slug":"sequences-defined-by-an-explicit-formula","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/chapter\/sequences-defined-by-an-explicit-formula\/","title":{"raw":"Sequences Defined by an Explicit Formula","rendered":"Sequences Defined by an Explicit Formula"},"content":{"raw":"\n<div class=\"textbox learning-objectives\"><h3>Learning Outcomes<\/h3><ul><li>Write the terms of a sequence defined by an explicit formula<\/li><li>Write&nbsp;the formula for the nth term of a sequence<\/li><li>Find the terms of an alternating sequence<\/li><\/ul><\/div><div class=\"textbox examples\"><h3>tip for success<\/h3>We'll learn quite a lot of new terminology in this module that will be frequently used in context. Making a glossary for yourself and using flashcards to memorize the terms will help reduce the challenge in this module. Work on memorizing the terms and using them in context each day so that they will be familiar to you on quizzes and tests.\n\n<\/div>\nOne way to describe an ordered list of numbers is as a <strong>sequence<\/strong>. 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\n\n<p style=\"text-align: center\">[latex]\\left\\{2,4,8,16,32,\\dots \\right\\}[\/latex].\n\nThe <strong>ellipsis<\/strong> (\u2026) indicates that the sequence continues indefinitely. Each number in the sequence is called a <strong>term<\/strong>. The first five terms of this sequence are 2, 4, 8, 16, and 32.\n\nListing 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.\n\nOne type of formula is an <strong>explicit formula<\/strong>, 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 <strong> [latex]n\\text{th}[\/latex] term of the sequence<\/strong>, 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.\n\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220152\/CNX_Precalc_Figure_11_01_0012.jpg\" alt=\"Sequence of {2, 4, 8, 16, 32, ...} expressed in exponential form (i.e., {2^1, 2^2, 2^3, ..., 2^n, ...}\" width=\"487\" height=\"89\">\n\nThe 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\n\n<\/p><p style=\"text-align: center\">[latex]{a}_{n}={2}^{n}[\/latex]\n\nNow 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 31<sup>st<\/sup> term of the sequence. We will substitute 31 for [latex]n[\/latex] in the formula.\n\n<\/p><p style=\"text-align: center\">[latex]\\begin{align}{a}_{31}&amp;={2}^{31} \\\\ &amp;=\\text{2,147,483,648} \\end{align}[\/latex]\n\nIf 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.\n\nAnother 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.\n\n<\/p><table><tbody><tr><td><strong> [latex]n[\/latex] <\/strong><\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><td>[latex]n[\/latex]<\/td><\/tr><tr><td><strong> [latex]n\\text{th}[\/latex] term of the sequence, [latex]{a}_{n}[\/latex] <\/strong><\/td><td>2<\/td><td>4<\/td><td>8<\/td><td>16<\/td><td>32<\/td><td>[latex]{2}^{n}[\/latex]<\/td><\/tr><\/tbody><\/table>Graphing provides a visual representation of the sequence as a set of distinct points. We can see from the graph below that the number of hits is rising at an exponential rate. This particular sequence forms an exponential function.\n\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220155\/CNX_Precalc_Figure_11_01_0022.jpg\" alt=\"Graph of a plotted exponential function, f(n) = 2^n, where the x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"397\">\n\nLastly, we can write this particular sequence as\n\n<p style=\"text-align: center\">[latex]\\left\\{2,4,8,16,32,\\dots ,{2}^{n},\\dots \\right\\}[\/latex].\n\nA sequence that continues indefinitely is called an <strong>infinite sequence<\/strong>. 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\n\n<\/p><p style=\"text-align: center\">[latex]\\left\\{2,4,8,16,32,\\dots ,1024\\right\\}[\/latex]\n\nThis sequence is called a <strong>finite sequence<\/strong> because it does not continue indefinitely.\n\n<\/p><div class=\"textbox\"><h3>A General Note: Sequence<\/h3>A <strong>sequence<\/strong> is a function whose domain is the set of positive integers. A <strong>finite sequence<\/strong> is a sequence whose domain consists of only the first [latex]n[\/latex] positive integers. The numbers in a sequence are called <strong>terms<\/strong>. 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.\n\n<p style=\"text-align: center\">[latex]{a}_{1},{a}_{2},{a}_{3},\\dots ,{a}_{n},\\dots [\/latex]\n\nWe 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 <strong> [latex]n\\text{th}[\/latex] term of the sequence<\/strong>, or the general term of the sequence. An <strong>explicit formula<\/strong> defines the [latex]n\\text{th}[\/latex] term of a sequence using the position of the term. A sequence that continues indefinitely is an <strong>infinite sequence<\/strong>.\n\n<\/p><\/div><div class=\"textbox\"><h3>Q &amp; A<\/h3><h3>Does a sequence always have to begin with [latex]{a}_{1}?[\/latex]<\/h3><em>No. In certain problems, it may be useful to define the initial term as [latex]{a}_{0}[\/latex] instead of [latex]{a}_{1}[\/latex]. In these problems, the domain of the function includes 0.<\/em>\n\n<\/div><div class=\"textbox\"><h3>How To: Given an explicit formula, write the first [latex]n[\/latex] terms of a sequence.<\/h3><ol><li>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].<\/li><li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex].<\/li><li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li><\/ol><\/div><div class=\"textbox exercises\"><h3>Example: Writing the Terms of a Sequence Defined by an Explicit Formula<\/h3>Write the first five terms of the sequence defined by the explicit formula [latex]{a}_{n}=-3n+8[\/latex].\n\n[reveal-answer q=\"776421\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"776421\"]\n\nSubstitute [latex]n=1[\/latex] into the formula. Repeat with values 2 through 5 for [latex]n[\/latex].\n\n<p style=\"text-align: center\">[latex]\\begin{align}n=1 &amp;&amp; {a}_{1}=-3\\left(1\\right)+8=5 \\\\ n=2 &amp;&amp; {a}_{2}=-3\\left(2\\right)+8=2 \\\\ n=3 &amp;&amp; {a}_{3}=-3\\left(3\\right)+8=-1 \\\\ n=4 &amp;&amp; {a}_{4}=-3\\left(4\\right)+8=-4 \\\\ n=5 &amp;&amp; {a}_{5}=-3\\left(5\\right)+8=-7 \\end{align}[\/latex]\n\n<\/p><p style=\"text-align: left\">The first five terms are [latex]\\left\\{5,2,-1,-4,-7\\right\\}[\/latex].\n\n<\/p><h4>Analysis of the Solution<\/h4>The sequence values can be listed in a table. A table&nbsp;is a convenient way to input the function into a graphing utility.\n\n<table summary=\"\"><tbody><tr><td><strong> [latex]n[\/latex] <\/strong><\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><\/tr><tr><td><strong> [latex]{a}_{n}[\/latex] <\/strong><\/td><td>5<\/td><td>2<\/td><td>\u20131<\/td><td>\u20134<\/td><td>\u20137<\/td><\/tr><\/tbody><\/table>A graph can be made from this table of values. From the graph in Figure 2, 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.\n\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220157\/CNX_Precalc_Figure_11_01_0032.jpg\" alt=\"Graph of a scattered plot where the x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"584\">\n\n[\/hidden-answer]\n\n<\/div><div class=\"textbox key-takeaways\"><h3>Try It<\/h3>Write the first five terms of the sequence defined by the <strong>explicit formula<\/strong> [latex]{t}_{n}=5n - 4[\/latex].\n\n[reveal-answer q=\"25802\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"25802\"]\n\nThe first five terms are [latex]\\left\\{1,6, 11, 16, 21\\right\\}\n\n[\/latex][\/hidden-answer]\n[embed]https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5846&amp;theme=oea&amp;iframe_resize_id=mom2[\/embed]\n\n\n\n<\/div><h2>Investigating Explicit Formulas<\/h2>We\u2019ve learned that sequences are functions whose domain is over the positive integers. This is true for other types of functions, including some <strong>piecewise functions<\/strong>. Recall that a piecewise function is a function defined by multiple subsections. A different formula might represent each individual subsection.\n\n<div class=\"textbox examples\"><h3>recall piecewise functions<\/h3>You saw piecewise-defined functions in <a href=\"https:\/\/courses.lumenlearning.com\/collegealgebracoreq\/chapter\/piecewise-defined-functions\/\" target=\"_blank\" rel=\"noopener\">Module 5: Function Basics.<\/a> Feel free to return there for a refresher at anytime.\n\n<\/div><div class=\"textbox\"><h3>How To: Given an explicit formula for a piecewise function, write the first [latex]n[\/latex] terms of a sequence<\/h3><ol><li>Identify the formula to which [latex]n=1[\/latex] applies.<\/li><li>To find the first term, [latex]{a}_{1}[\/latex], use [latex]n=1[\/latex] in the appropriate formula.<\/li><li>Identify the formula to which [latex]n=2[\/latex] applies.<\/li><li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex] in the appropriate formula.<\/li><li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li><\/ol><\/div><div class=\"textbox exercises\"><h3>Example: Writing the Terms of a Sequence Defined by a Piecewise Explicit Formula<\/h3>Write the first six terms of the sequence.\n\n<p style=\"text-align: center\">[latex]{a_{n}}=\\begin{cases}n^{2} &amp; \\text{if }n\\text{ is not divisible by 3} \\\\[1mm] \\dfrac{n}{3} &amp; \\text{if }n\\text{ is divisible by 3}\\end{cases}[\/latex]\n\n[reveal-answer q=\"537263\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"537263\"]\n\nSubstitute [latex]n=1,n=2[\/latex], and so on in the appropriate formula. Use [latex]{n}^{2}[\/latex] when [latex]n[\/latex] is not a multiple of 3. Use [latex]\\frac{n}{3}[\/latex] when [latex]n[\/latex] is a multiple of 3.\n\n<\/p><p style=\"text-align: center\">[latex]\\begin{align}&amp;{a}_{1}={1}^{2}=1 &amp;&amp; \\text{1 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &amp;{a}_{2}={2}^{2}=4 &amp;&amp; \\text{2 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &amp;{a}_{3}=\\frac{3}{3}=1 &amp;&amp; \\text{3 is a multiple of 3. Use }\\frac{n}{3}. \\\\[1mm] &amp;{a}_{4}={4}^{2}=16 &amp;&amp; \\text{4 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &amp;{a}_{5}={5}^{2}=25 &amp;&amp; \\text{5 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &amp;{a}_{6}=\\frac{6}{3}=2 &amp;&amp; \\text{6 is a multiple of 3. Use }\\frac{n}{3}. \\end{align}[\/latex]\n\nThe first six terms are [latex]\\left\\{1,4,1,16,25,2\\right\\}[\/latex].\n\n<\/p><h4>Analysis of the Solution<\/h4>Every third point on the graph shown in Figure 5&nbsp;stands out from the two nearby points. This occurs because the sequence was defined by a piecewise function.\n\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220200\/CNX_Precalc_Figure_11_01_0052.jpg\" alt=\"Graph of a scattered plot where the x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"322\">\n\n[\/hidden-answer]\n\n<\/div><div class=\"textbox key-takeaways\"><h3>Try It<\/h3>Write the first six terms of the sequence.\n\n<p style=\"text-align: center\">[latex]{a_{n}}=\\begin{cases}2n^{3} &amp; \\text{if }n\\text{ is odd} \\\\[1mm] \\dfrac{5n}{2} &amp; \\text{if }n\\text{ is even}\\end{cases}[\/latex]\n\n[reveal-answer q=\"493717\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"493717\"]\n\nThe first six terms are [latex]\\left\\{2,5,54,10,250,15\\right\\}[\/latex].\n\n[\/hidden-answer]\n\n<\/p><\/div><h2>Finding an Explicit Formula<\/h2>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 [latex]n\\text{th}[\/latex] 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.\n\n<div class=\"textbox examples\"><h3>tip for success<\/h3>Finding an explicit formula for a sequence involves creativity and diligence. Sometimes it can be difficult to find! Do work through all the examples to gain experience with as many patterns as possible.\n\n<\/div><div class=\"textbox\"><h3>How To: Given the first few terms of a sequence, find an explicit formula for the sequence.<\/h3><ol><li>Look for a pattern among the terms.<\/li><li>If the terms are fractions, look for a separate pattern among the numerators and denominators.<\/li><li>Look for a pattern among the signs of the terms.<\/li><li>Write a formula for [latex]{a}_{n}[\/latex] in terms of [latex]n[\/latex]. Test your formula for [latex]n=1,n=2[\/latex],&nbsp;and&nbsp;[latex]n=3[\/latex].<\/li><\/ol><\/div><div class=\"textbox examples\"><h3>tip for success<\/h3>Try to find the patterns in the example below before looking at the answers.\n\n<\/div><div class=\"textbox exercises\"><h3>Example: Writing an Explicit Formula for the <em style=\"font-size: 16px\">n<\/em><span style=\"font-size: 16px\">th Term of a Sequence<\/span><\/h3>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of each sequence.\n\n<ol><li>[latex]\\left\\{-\\dfrac{2}{11},\\dfrac{3}{13},-\\dfrac{4}{15},\\dfrac{5}{17},-\\dfrac{6}{19},\\dots \\right\\}[\/latex]<\/li><li>[latex]\\left\\{-\\dfrac{2}{25},-\\dfrac{2}{125},-\\frac{2}{625},-\\dfrac{2}{3\\text{,}125},-\\frac{2}{15\\text{,}625},\\dots \\right\\}[\/latex]<\/li><li>[latex]\\left\\{{e}^{4},{e}^{5},{e}^{6},{e}^{7},{e}^{8},\\dots \\right\\}[\/latex]<\/li><\/ol>[reveal-answer q=\"328784\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"328784\"]\n\nLook for the pattern in each sequence.\n\n<ol><li>The terms alternate between positive and negative. We can use [latex]{\\left(-1\\right)}^{n}[\/latex] to make the terms alternate. The numerator can be represented by [latex]n+1[\/latex]. The denominator can be represented by [latex]2n+9[\/latex].<div style=\"text-align: center\">[latex]{a}_{n}=\\dfrac{{\\left(-1\\right)}^{n}\\left(n+1\\right)}{2n+9}[\/latex]<\/div><\/li><li>The terms are all negative.<div style=\"text-align: center\">[latex]\\begin{align} &amp; \\left\\{-\\dfrac{2}{25},-\\dfrac{2}{125},-\\dfrac{2}{625},-\\dfrac{2}{3\\text{,}125},-\\dfrac{2}{15\\text{,}625},\\dots \\right\\}&amp;&amp; \\text{The numerator is 2.} \\\\[1mm] &amp; \\left\\{-\\dfrac{2}{5^2},-\\dfrac{2}{5^3},-\n\\dfrac{2}{5^4},-\\dfrac{2}{5^5},-\\dfrac{2}{5^6},\\dots,-\\dfrac{2}{5^n},\\dots \\right\\} &amp;&amp; \\text{The denominators are increasing powers of 5.}\\end{align}[\/latex]<\/div>So we know that the fraction is negative, the numerator is 2, and the denominator can be represented by [latex]{5}^{n+1}[\/latex].\n\n<div style=\"text-align: center\">[latex]{a}_{n}=-\\dfrac{2}{{5}^{n+1}}[\/latex]<\/div><\/li><li>The terms are powers of [latex]e[\/latex]. For [latex]n=1[\/latex], the first term is [latex]{e}^{4}[\/latex] so the exponent must be [latex]n+3[\/latex].<div style=\"text-align: center\">[latex]{a}_{n}={e}^{n+3}[\/latex]<\/div><\/li><\/ol>[\/hidden-answer]\n\n<\/div><div class=\"textbox key-takeaways\"><h3>Try It<\/h3>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of the sequence.\n\n<p style=\"text-align: center\">[latex]\\{9;\u221281,729;\u22126,561;59,049\\}[\/latex]\n\n[reveal-answer q=\"806943\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"806943\"]\n\n[latex]{a}_{n}={\\left(-1\\right)}^{n+1}{9}^{n}[\/latex]\n\n[\/hidden-answer]\n[embed]https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5805&amp;theme=oea&amp;iframe_resize_id=mom3[\/embed]\n\n\n\n<\/p><\/div><div class=\"textbox key-takeaways\"><h3>Try It<\/h3>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of the sequence.\n\n<div style=\"text-align: center\">[latex]\\left\\{-\\dfrac{3}{4},-\\dfrac{9}{8},-\\dfrac{27}{12},-\\dfrac{81}{16},-\\dfrac{243}{20},\\dots\\right\\}[\/latex]<\/div>[reveal-answer q=\"282988\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"282988\"]\n\n[latex]{a}_{n}=-\\dfrac{{3}^{n}}{4n}[\/latex]\n\n[\/hidden-answer]\n\n<div style=\"text-align: center\"><div style=\"text-align: left\"><\/div><\/div>[embed]https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5806&amp;theme=oea&amp;iframe_resize_id=mom5[\/embed]\n\n\n\n<\/div><div class=\"textbox key-takeaways\"><h3>Try It<\/h3>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of the sequence.\n\n<div style=\"text-align: center\">[latex]\\left\\{\\dfrac{1}{{e}^{2}}, \\dfrac{1}{e}, 1, e, {e}^{2},...\\right\\}[\/latex]<\/div>[reveal-answer q=\"804020\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"804020\"]\n\n[latex]{a}_{n}={e}^{n - 3}[\/latex]\n\n[\/hidden-answer]\n\n<\/div><h2>Investigating Alternating Sequences<\/h2>Sometimes sequences have terms that alternate in sign. The steps to finding terms of the sequence are the same as if the signs did not alternate. Let\u2019s take a look at the following sequence.\n\n<div style=\"text-align: center\">[latex]\\left\\{2,-4,6,-8\\right\\}[\/latex]<\/div>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.\n\n<div class=\"textbox\"><h3>How To: Given an explicit formula with alternating terms, write the first [latex]n[\/latex] terms of a sequence.<\/h3><ol><li>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 in the explicit formula is given by the [latex]{\\left(-1\\right)}^{n}[\/latex] if the first term is negative and&nbsp;[latex]{\\left(-1\\right)}^{n-1}[\/latex] if the first term is positive.<\/li><li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex].<\/li><li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li><\/ol><\/div><div class=\"textbox exercises\"><h3>Example: Writing the Terms of an Alternating Sequence Defined by an Explicit Formula<\/h3>Write the first five terms of the sequence.\n\n<div style=\"text-align: center\">[latex]{a}_{n}=\\dfrac{{\\left(-1\\right)}^{n}{n}^{2}}{n+1}[\/latex]<\/div>[reveal-answer q=\"979322\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"979322\"]\n\nSubstitute [latex]n=1[\/latex], [latex]n=2[\/latex], and so on in the formula.\n\n<div style=\"text-align: center\">[latex]\\begin{align}&amp;n=1 &amp;&amp; {a}_{1}=\\dfrac{{\\left(-1\\right)}^{1}{2}^{2}}{1+1}=-\\dfrac{1}{2} \\\\[1mm] &amp;n=2 &amp;&amp; {a}_{2}=\\dfrac{{\\left(-1\\right)}^{2}{2}^{2}}{2+1}=\\dfrac{4}{3} \\\\[1mm] &amp;n=3 &amp;&amp; {a}_{3}=\\dfrac{{\\left(-1\\right)}^{3}{3}^{2}}{3+1}=-\\frac{9}{4} \\\\[1mm] &amp;n=4 &amp;&amp; {a}_{4}=\\dfrac{{\\left(-1\\right)}^{4}{4}^{2}}{4+1}=\\dfrac{16}{5} \\\\[1mm] &amp;n=5 &amp;&amp; {a}_{5}=\\dfrac{{\\left(-1\\right)}^{5}{5}^{2}}{5+1}=-\\dfrac{25}{6} \\end{align}[\/latex]<\/div><div><\/div>The first five terms are [latex]\\left\\{-\\dfrac{1}{2},\\dfrac{4}{3},-\\dfrac{9}{4},\\dfrac{16}{5},-\\dfrac{25}{6}\\right\\}[\/latex].\n\n<h4>Analysis of the Solution<\/h4>The graph of this function looks different from the ones we have seen previously in this section because the terms of the sequence alternate between positive and negative values.\n\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220159\/CNX_Precalc_Figure_11_01_0042.jpg\" alt=\"Graph of a scattered plot with labeled points: (1, -1\/2), (2, 4\/3), (3, -9\/4), (4, 16\/5), and (5, -25\/6). The x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"482\">\n\n[\/hidden-answer]\n\n<\/div><div class=\"textbox\"><h3>Q &amp; A<\/h3><h4>In Example: Writing the Terms of an Alternating Sequence Defined by an Explicit Formula, does the (\u20131) to the power of [latex]n[\/latex] account for the oscillations of signs?<\/h4><em>Yes, the power might be<\/em> [latex]n,n+1,n - 1[\/latex], <em>and so on, but any odd powers will result in a negative term, and any even power will result in a positive term.<\/em>\n\n<\/div><div class=\"textbox key-takeaways\"><h3>Try It<\/h3>Write the first five terms of the sequence:\n\n<div style=\"text-align: center\">[latex]{a}_{n}=\\dfrac{4n}{{\\left(-2\\right)}^{n}}[\/latex]<\/div><div><\/div>[reveal-answer q=\"196840\"]Show Solution[\/reveal-answer]\n[hidden-answer a=\"196840\"]\n\nThe first five terms are [latex]\\left\\{-2, 2, -\\dfrac{3}{2}, 1,-\\dfrac{5}{8}\\right\\}[\/latex].\n\n[\/hidden-answer]\n\n[embed]https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5823&amp;theme=oea&amp;iframe_resize_id=mom30[\/embed]\n\n\n\n<\/div>\n","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<ul>\n<li>Write the terms of a sequence defined by an explicit formula<\/li>\n<li>Write&nbsp;the formula for the nth term of a sequence<\/li>\n<li>Find the terms of an alternating sequence<\/li>\n<\/ul>\n<\/div>\n<div class=\"textbox examples\">\n<h3>tip for success<\/h3>\n<p>We&#8217;ll learn quite a lot of new terminology in this module that will be frequently used in context. Making a glossary for yourself and using flashcards to memorize the terms will help reduce the challenge in this module. Work on memorizing the terms and using them in context each day so that they will be familiar to you on quizzes and tests.<\/p>\n<\/div>\n<p>One way to describe an ordered list of numbers is as a <strong>sequence<\/strong>. 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<\/p>\n<p style=\"text-align: center\">[latex]\\left\\{2,4,8,16,32,\\dots \\right\\}[\/latex].<\/p>\n<p>The <strong>ellipsis<\/strong> (\u2026) indicates that the sequence continues indefinitely. Each number in the sequence is called a <strong>term<\/strong>. The first five terms of this sequence are 2, 4, 8, 16, and 32.<\/p>\n<p>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.<\/p>\n<p>One type of formula is an <strong>explicit formula<\/strong>, 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 <strong> [latex]n\\text{th}[\/latex] term of the sequence<\/strong>, 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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220152\/CNX_Precalc_Figure_11_01_0012.jpg\" alt=\"Sequence of {2, 4, 8, 16, 32, ...} expressed in exponential form (i.e., {2^1, 2^2, 2^3, ..., 2^n, ...}\" width=\"487\" height=\"89\" \/><\/p>\n<p>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<\/p>\n<p style=\"text-align: center\">[latex]{a}_{n}={2}^{n}[\/latex]<\/p>\n<p>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 31<sup>st<\/sup> term of the sequence. We will substitute 31 for [latex]n[\/latex] in the formula.<\/p>\n<p style=\"text-align: center\">[latex]\\begin{align}{a}_{31}&={2}^{31} \\\\ &=\\text{2,147,483,648} \\end{align}[\/latex]<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong> [latex]n[\/latex] <\/strong><\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<td>5<\/td>\n<td>[latex]n[\/latex]<\/td>\n<\/tr>\n<tr>\n<td><strong> [latex]n\\text{th}[\/latex] term of the sequence, [latex]{a}_{n}[\/latex] <\/strong><\/td>\n<td>2<\/td>\n<td>4<\/td>\n<td>8<\/td>\n<td>16<\/td>\n<td>32<\/td>\n<td>[latex]{2}^{n}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Graphing provides a visual representation of the sequence as a set of distinct points. We can see from the graph below that the number of hits is rising at an exponential rate. This particular sequence forms an exponential function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220155\/CNX_Precalc_Figure_11_01_0022.jpg\" alt=\"Graph of a plotted exponential function, f(n) = 2^n, where the x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"397\" \/><\/p>\n<p>Lastly, we can write this particular sequence as<\/p>\n<p style=\"text-align: center\">[latex]\\left\\{2,4,8,16,32,\\dots ,{2}^{n},\\dots \\right\\}[\/latex].<\/p>\n<p>A sequence that continues indefinitely is called an <strong>infinite sequence<\/strong>. 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<\/p>\n<p style=\"text-align: center\">[latex]\\left\\{2,4,8,16,32,\\dots ,1024\\right\\}[\/latex]<\/p>\n<p>This sequence is called a <strong>finite sequence<\/strong> because it does not continue indefinitely.<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Sequence<\/h3>\n<p>A <strong>sequence<\/strong> is a function whose domain is the set of positive integers. A <strong>finite sequence<\/strong> is a sequence whose domain consists of only the first [latex]n[\/latex] positive integers. The numbers in a sequence are called <strong>terms<\/strong>. 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.<\/p>\n<p style=\"text-align: center\">[latex]{a}_{1},{a}_{2},{a}_{3},\\dots ,{a}_{n},\\dots[\/latex]<\/p>\n<p>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 <strong> [latex]n\\text{th}[\/latex] term of the sequence<\/strong>, or the general term of the sequence. An <strong>explicit formula<\/strong> defines the [latex]n\\text{th}[\/latex] term of a sequence using the position of the term. A sequence that continues indefinitely is an <strong>infinite sequence<\/strong>.<\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>Q &amp; A<\/h3>\n<h3>Does a sequence always have to begin with [latex]{a}_{1}?[\/latex]<\/h3>\n<p><em>No. In certain problems, it may be useful to define the initial term as [latex]{a}_{0}[\/latex] instead of [latex]{a}_{1}[\/latex]. In these problems, the domain of the function includes 0.<\/em><\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given an explicit formula, write the first [latex]n[\/latex] terms of a sequence.<\/h3>\n<ol>\n<li>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].<\/li>\n<li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex].<\/li>\n<li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Writing the Terms of a Sequence Defined by an Explicit Formula<\/h3>\n<p>Write the first five terms of the sequence defined by the explicit formula [latex]{a}_{n}=-3n+8[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q776421\">Show Solution<\/span><\/p>\n<div id=\"q776421\" class=\"hidden-answer\" style=\"display: none\">\n<p>Substitute [latex]n=1[\/latex] into the formula. Repeat with values 2 through 5 for [latex]n[\/latex].<\/p>\n<p style=\"text-align: center\">[latex]\\begin{align}n=1 && {a}_{1}=-3\\left(1\\right)+8=5 \\\\ n=2 && {a}_{2}=-3\\left(2\\right)+8=2 \\\\ n=3 && {a}_{3}=-3\\left(3\\right)+8=-1 \\\\ n=4 && {a}_{4}=-3\\left(4\\right)+8=-4 \\\\ n=5 && {a}_{5}=-3\\left(5\\right)+8=-7 \\end{align}[\/latex]<\/p>\n<p style=\"text-align: left\">The first five terms are [latex]\\left\\{5,2,-1,-4,-7\\right\\}[\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>The sequence values can be listed in a table. A table&nbsp;is a convenient way to input the function into a graphing utility.<\/p>\n<table summary=\"\">\n<tbody>\n<tr>\n<td><strong> [latex]n[\/latex] <\/strong><\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td><strong> [latex]{a}_{n}[\/latex] <\/strong><\/td>\n<td>5<\/td>\n<td>2<\/td>\n<td>\u20131<\/td>\n<td>\u20134<\/td>\n<td>\u20137<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>A graph can be made from this table of values. From the graph in Figure 2, 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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220157\/CNX_Precalc_Figure_11_01_0032.jpg\" alt=\"Graph of a scattered plot where the x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"584\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Write the first five terms of the sequence defined by the <strong>explicit formula<\/strong> [latex]{t}_{n}=5n - 4[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q25802\">Show Solution<\/span><\/p>\n<div id=\"q25802\" class=\"hidden-answer\" style=\"display: none\">\n<p>The first five terms are [latex]\\left\\{1,6, 11, 16, 21\\right\\}[\/latex]<\/p><\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"ohm5846\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5846&#38;theme=oea&#38;iframe_resize_id=ohm5846&#38;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2>Investigating Explicit Formulas<\/h2>\n<p>We\u2019ve learned that sequences are functions whose domain is over the positive integers. This is true for other types of functions, including some <strong>piecewise functions<\/strong>. Recall that a piecewise function is a function defined by multiple subsections. A different formula might represent each individual subsection.<\/p>\n<div class=\"textbox examples\">\n<h3>recall piecewise functions<\/h3>\n<p>You saw piecewise-defined functions in <a href=\"https:\/\/courses.lumenlearning.com\/collegealgebracoreq\/chapter\/piecewise-defined-functions\/\" target=\"_blank\" rel=\"noopener\">Module 5: Function Basics.<\/a> Feel free to return there for a refresher at anytime.<\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given an explicit formula for a piecewise function, write the first [latex]n[\/latex] terms of a sequence<\/h3>\n<ol>\n<li>Identify the formula to which [latex]n=1[\/latex] applies.<\/li>\n<li>To find the first term, [latex]{a}_{1}[\/latex], use [latex]n=1[\/latex] in the appropriate formula.<\/li>\n<li>Identify the formula to which [latex]n=2[\/latex] applies.<\/li>\n<li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex] in the appropriate formula.<\/li>\n<li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Writing the Terms of a Sequence Defined by a Piecewise Explicit Formula<\/h3>\n<p>Write the first six terms of the sequence.<\/p>\n<p style=\"text-align: center\">[latex]{a_{n}}=\\begin{cases}n^{2} & \\text{if }n\\text{ is not divisible by 3} \\\\[1mm] \\dfrac{n}{3} & \\text{if }n\\text{ is divisible by 3}\\end{cases}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q537263\">Show Solution<\/span><\/p>\n<div id=\"q537263\" class=\"hidden-answer\" style=\"display: none\">\n<p>Substitute [latex]n=1,n=2[\/latex], and so on in the appropriate formula. Use [latex]{n}^{2}[\/latex] when [latex]n[\/latex] is not a multiple of 3. Use [latex]\\frac{n}{3}[\/latex] when [latex]n[\/latex] is a multiple of 3.<\/p>\n<p style=\"text-align: center\">[latex]\\begin{align}&{a}_{1}={1}^{2}=1 && \\text{1 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &{a}_{2}={2}^{2}=4 && \\text{2 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &{a}_{3}=\\frac{3}{3}=1 && \\text{3 is a multiple of 3. Use }\\frac{n}{3}. \\\\[1mm] &{a}_{4}={4}^{2}=16 && \\text{4 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &{a}_{5}={5}^{2}=25 && \\text{5 is not a multiple of 3. Use }{n}^{2}. \\\\[1mm] &{a}_{6}=\\frac{6}{3}=2 && \\text{6 is a multiple of 3. Use }\\frac{n}{3}. \\end{align}[\/latex]<\/p>\n<p>The first six terms are [latex]\\left\\{1,4,1,16,25,2\\right\\}[\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>Every third point on the graph shown in Figure 5&nbsp;stands out from the two nearby points. This occurs because the sequence was defined by a piecewise function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220200\/CNX_Precalc_Figure_11_01_0052.jpg\" alt=\"Graph of a scattered plot where the x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"322\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Write the first six terms of the sequence.<\/p>\n<p style=\"text-align: center\">[latex]{a_{n}}=\\begin{cases}2n^{3} & \\text{if }n\\text{ is odd} \\\\[1mm] \\dfrac{5n}{2} & \\text{if }n\\text{ is even}\\end{cases}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q493717\">Show Solution<\/span><\/p>\n<div id=\"q493717\" class=\"hidden-answer\" style=\"display: none\">\n<p>The first six terms are [latex]\\left\\{2,5,54,10,250,15\\right\\}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Finding an Explicit Formula<\/h2>\n<p>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 [latex]n\\text{th}[\/latex] 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.<\/p>\n<div class=\"textbox examples\">\n<h3>tip for success<\/h3>\n<p>Finding an explicit formula for a sequence involves creativity and diligence. Sometimes it can be difficult to find! Do work through all the examples to gain experience with as many patterns as possible.<\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given the first few terms of a sequence, find an explicit formula for the sequence.<\/h3>\n<ol>\n<li>Look for a pattern among the terms.<\/li>\n<li>If the terms are fractions, look for a separate pattern among the numerators and denominators.<\/li>\n<li>Look for a pattern among the signs of the terms.<\/li>\n<li>Write a formula for [latex]{a}_{n}[\/latex] in terms of [latex]n[\/latex]. Test your formula for [latex]n=1,n=2[\/latex],&nbsp;and&nbsp;[latex]n=3[\/latex].<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox examples\">\n<h3>tip for success<\/h3>\n<p>Try to find the patterns in the example below before looking at the answers.<\/p>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Writing an Explicit Formula for the <em style=\"font-size: 16px\">n<\/em><span style=\"font-size: 16px\">th Term of a Sequence<\/span><\/h3>\n<p>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of each sequence.<\/p>\n<ol>\n<li>[latex]\\left\\{-\\dfrac{2}{11},\\dfrac{3}{13},-\\dfrac{4}{15},\\dfrac{5}{17},-\\dfrac{6}{19},\\dots \\right\\}[\/latex]<\/li>\n<li>[latex]\\left\\{-\\dfrac{2}{25},-\\dfrac{2}{125},-\\frac{2}{625},-\\dfrac{2}{3\\text{,}125},-\\frac{2}{15\\text{,}625},\\dots \\right\\}[\/latex]<\/li>\n<li>[latex]\\left\\{{e}^{4},{e}^{5},{e}^{6},{e}^{7},{e}^{8},\\dots \\right\\}[\/latex]<\/li>\n<\/ol>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q328784\">Show Solution<\/span><\/p>\n<div id=\"q328784\" class=\"hidden-answer\" style=\"display: none\">\n<p>Look for the pattern in each sequence.<\/p>\n<ol>\n<li>The terms alternate between positive and negative. We can use [latex]{\\left(-1\\right)}^{n}[\/latex] to make the terms alternate. The numerator can be represented by [latex]n+1[\/latex]. The denominator can be represented by [latex]2n+9[\/latex].\n<div style=\"text-align: center\">[latex]{a}_{n}=\\dfrac{{\\left(-1\\right)}^{n}\\left(n+1\\right)}{2n+9}[\/latex]<\/div>\n<\/li>\n<li>The terms are all negative.\n<div style=\"text-align: center\">[latex]\\begin{align} & \\left\\{-\\dfrac{2}{25},-\\dfrac{2}{125},-\\dfrac{2}{625},-\\dfrac{2}{3\\text{,}125},-\\dfrac{2}{15\\text{,}625},\\dots \\right\\}&& \\text{The numerator is 2.} \\\\[1mm] & \\left\\{-\\dfrac{2}{5^2},-\\dfrac{2}{5^3},- \\dfrac{2}{5^4},-\\dfrac{2}{5^5},-\\dfrac{2}{5^6},\\dots,-\\dfrac{2}{5^n},\\dots \\right\\} && \\text{The denominators are increasing powers of 5.}\\end{align}[\/latex]<\/div>\n<p>So we know that the fraction is negative, the numerator is 2, and the denominator can be represented by [latex]{5}^{n+1}[\/latex].<\/p>\n<div style=\"text-align: center\">[latex]{a}_{n}=-\\dfrac{2}{{5}^{n+1}}[\/latex]<\/div>\n<\/li>\n<li>The terms are powers of [latex]e[\/latex]. For [latex]n=1[\/latex], the first term is [latex]{e}^{4}[\/latex] so the exponent must be [latex]n+3[\/latex].\n<div style=\"text-align: center\">[latex]{a}_{n}={e}^{n+3}[\/latex]<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of the sequence.<\/p>\n<p style=\"text-align: center\">[latex]\\{9;\u221281,729;\u22126,561;59,049\\}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q806943\">Show Solution<\/span><\/p>\n<div id=\"q806943\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]{a}_{n}={\\left(-1\\right)}^{n+1}{9}^{n}[\/latex]<\/p>\n<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"ohm5805\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5805&#38;theme=oea&#38;iframe_resize_id=ohm5805&#38;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of the sequence.<\/p>\n<div style=\"text-align: center\">[latex]\\left\\{-\\dfrac{3}{4},-\\dfrac{9}{8},-\\dfrac{27}{12},-\\dfrac{81}{16},-\\dfrac{243}{20},\\dots\\right\\}[\/latex]<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q282988\">Show Solution<\/span><\/p>\n<div id=\"q282988\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]{a}_{n}=-\\dfrac{{3}^{n}}{4n}[\/latex]<\/p>\n<\/div>\n<\/div>\n<div style=\"text-align: center\">\n<div style=\"text-align: left\"><\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"ohm5806\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5806&#38;theme=oea&#38;iframe_resize_id=ohm5806&#38;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Write an explicit formula for the [latex]n\\text{th}[\/latex] term of the sequence.<\/p>\n<div style=\"text-align: center\">[latex]\\left\\{\\dfrac{1}{{e}^{2}}, \\dfrac{1}{e}, 1, e, {e}^{2},...\\right\\}[\/latex]<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q804020\">Show Solution<\/span><\/p>\n<div id=\"q804020\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]{a}_{n}={e}^{n - 3}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Investigating Alternating Sequences<\/h2>\n<p>Sometimes sequences have terms that alternate in sign. The steps to finding terms of the sequence are the same as if the signs did not alternate. Let\u2019s take a look at the following sequence.<\/p>\n<div style=\"text-align: center\">[latex]\\left\\{2,-4,6,-8\\right\\}[\/latex]<\/div>\n<p>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.<\/p>\n<div class=\"textbox\">\n<h3>How To: Given an explicit formula with alternating terms, write the first [latex]n[\/latex] terms of a sequence.<\/h3>\n<ol>\n<li>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 in the explicit formula is given by the [latex]{\\left(-1\\right)}^{n}[\/latex] if the first term is negative and&nbsp;[latex]{\\left(-1\\right)}^{n-1}[\/latex] if the first term is positive.<\/li>\n<li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex].<\/li>\n<li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Writing the Terms of an Alternating Sequence Defined by an Explicit Formula<\/h3>\n<p>Write the first five terms of the sequence.<\/p>\n<div style=\"text-align: center\">[latex]{a}_{n}=\\dfrac{{\\left(-1\\right)}^{n}{n}^{2}}{n+1}[\/latex]<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q979322\">Show Solution<\/span><\/p>\n<div id=\"q979322\" class=\"hidden-answer\" style=\"display: none\">\n<p>Substitute [latex]n=1[\/latex], [latex]n=2[\/latex], and so on in the formula.<\/p>\n<div style=\"text-align: center\">[latex]\\begin{align}&n=1 && {a}_{1}=\\dfrac{{\\left(-1\\right)}^{1}{2}^{2}}{1+1}=-\\dfrac{1}{2} \\\\[1mm] &n=2 && {a}_{2}=\\dfrac{{\\left(-1\\right)}^{2}{2}^{2}}{2+1}=\\dfrac{4}{3} \\\\[1mm] &n=3 && {a}_{3}=\\dfrac{{\\left(-1\\right)}^{3}{3}^{2}}{3+1}=-\\frac{9}{4} \\\\[1mm] &n=4 && {a}_{4}=\\dfrac{{\\left(-1\\right)}^{4}{4}^{2}}{4+1}=\\dfrac{16}{5} \\\\[1mm] &n=5 && {a}_{5}=\\dfrac{{\\left(-1\\right)}^{5}{5}^{2}}{5+1}=-\\dfrac{25}{6} \\end{align}[\/latex]<\/div>\n<div><\/div>\n<p>The first five terms are [latex]\\left\\{-\\dfrac{1}{2},\\dfrac{4}{3},-\\dfrac{9}{4},\\dfrac{16}{5},-\\dfrac{25}{6}\\right\\}[\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>The graph of this function looks different from the ones we have seen previously in this section because the terms of the sequence alternate between positive and negative values.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03220159\/CNX_Precalc_Figure_11_01_0042.jpg\" alt=\"Graph of a scattered plot with labeled points: (1, -1\/2), (2, 4\/3), (3, -9\/4), (4, 16\/5), and (5, -25\/6). The x-axis is labeled n and the y-axis is labeled a_n.\" width=\"487\" height=\"482\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox\">\n<h3>Q &amp; A<\/h3>\n<h4>In Example: Writing the Terms of an Alternating Sequence Defined by an Explicit Formula, does the (\u20131) to the power of [latex]n[\/latex] account for the oscillations of signs?<\/h4>\n<p><em>Yes, the power might be<\/em> [latex]n,n+1,n - 1[\/latex], <em>and so on, but any odd powers will result in a negative term, and any even power will result in a positive term.<\/em><\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Write the first five terms of the sequence:<\/p>\n<div style=\"text-align: center\">[latex]{a}_{n}=\\dfrac{4n}{{\\left(-2\\right)}^{n}}[\/latex]<\/div>\n<div><\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q196840\">Show Solution<\/span><\/p>\n<div id=\"q196840\" class=\"hidden-answer\" style=\"display: none\">\n<p>The first five terms are [latex]\\left\\{-2, 2, -\\dfrac{3}{2}, 1,-\\dfrac{5}{8}\\right\\}[\/latex].<\/p>\n<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"ohm5823\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=5823&#38;theme=oea&#38;iframe_resize_id=ohm5823&#38;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-437\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Original<\/div><ul class=\"citation-list\"><li>Revision and Adaptation. <strong>Provided by<\/strong>: Lumen Learning. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>College Algebra. <strong>Authored by<\/strong>: Abramson, Jay et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download for free at http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2<\/li><li>Question ID 5846, 5823. <strong>Authored by<\/strong>: Webwork-Rochester. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: IMathAS Community License CC-BY + GPL<\/li><li>Question ID 5805, 5806. <strong>Authored by<\/strong>: David Lippman. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: IMathAS Community License CC-BY + GPL<\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: OpenStax College. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":17533,"menu_order":6,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc-attribution\",\"description\":\"Precalculus\",\"author\":\"OpenStax College\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"original\",\"description\":\"Revision and Adaptation\",\"author\":\"\",\"organization\":\"Lumen Learning\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"College Algebra\",\"author\":\"Abramson, Jay et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download for free at http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\"},{\"type\":\"cc\",\"description\":\"Question ID 5846, 5823\",\"author\":\"Webwork-Rochester\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"IMathAS Community License CC-BY + GPL\"},{\"type\":\"cc\",\"description\":\"Question ID 5805, 5806\",\"author\":\"David Lippman\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"IMathAS Community License CC-BY + GPL\"}]","CANDELA_OUTCOMES_GUID":"8e4d4f2f-04bc-4c96-8b3a-5a0af2bf3401","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-437","chapter","type-chapter","status-publish","hentry"],"part":431,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/pressbooks\/v2\/chapters\/437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/wp\/v2\/users\/17533"}],"version-history":[{"count":0,"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/pressbooks\/v2\/chapters\/437\/revisions"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/pressbooks\/v2\/parts\/431"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/pressbooks\/v2\/chapters\/437\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/wp\/v2\/media?parent=437"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/pressbooks\/v2\/chapter-type?post=437"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/wp\/v2\/contributor?post=437"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ntcc-collegealgebracorequisite\/wp-json\/wp\/v2\/license?post=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}