{"id":157,"date":"2025-02-13T22:44:26","date_gmt":"2025-02-13T22:44:26","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/sequences-and-their-notations-2\/"},"modified":"2026-03-24T22:22:10","modified_gmt":"2026-03-24T22:22:10","slug":"sequences-and-their-notations-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/sequences-and-their-notations-2\/","title":{"raw":"Sequences and Their Notations: Learn It 1","rendered":"Sequences and Their Notations: Learn It 1"},"content":{"raw":"<div class=\"bcc-box bcc-highlight\"><section class=\"textbox learningGoals\" aria-label=\"Learning Goals\">\r\n<ul>\r\n \t<li style=\"font-weight: 400;\">Expand sequences defined by explicit and recursive formulas<\/li>\r\n \t<li style=\"font-weight: 400;\">Write the explicit formula for a given sequence<\/li>\r\n<\/ul>\r\n<\/section>\r\n<h2>Sequences Defined by an Explicit Formula<\/h2>\r\nA 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 [latex]2[\/latex] hits the first day, [latex]4[\/latex] hits the second day, [latex]8[\/latex] hits the third day, and so on.\r\n<table style=\"width: 631px;\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 36px;\"><strong>Day<\/strong><\/td>\r\n<td style=\"width: 112px;\">[latex]1[\/latex]<\/td>\r\n<td style=\"width: 113px;\">[latex]2[\/latex]<\/td>\r\n<td style=\"width: 113px;\">[latex]3[\/latex]<\/td>\r\n<td style=\"width: 119px;\">[latex]4[\/latex]<\/td>\r\n<td style=\"width: 122px;\">[latex]5[\/latex]<\/td>\r\n<td style=\"width: 16px;\">\u2026<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 36px;\"><strong>Hits<\/strong><\/td>\r\n<td style=\"width: 112px;\">[latex]2[\/latex]<\/td>\r\n<td style=\"width: 113px;\">[latex]4[\/latex]<\/td>\r\n<td style=\"width: 113px;\">[latex]8[\/latex]<\/td>\r\n<td style=\"width: 119px;\">[latex]16[\/latex]<\/td>\r\n<td style=\"width: 122px;\">[latex]32[\/latex]<\/td>\r\n<td style=\"width: 16px;\">\u2026<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nIf their model continues, how many hits will there be at the end of the month? To answer this question, we\u2019ll first need to know how to determine a list of numbers written in a specific order. 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\r\n<p style=\"text-align: center;\">[latex]\\left\\{2,4,8,16,32,\\dots \\right\\}[\/latex].<\/p>\r\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 [latex]2[\/latex], [latex]4[\/latex], [latex]8[\/latex], [latex]16[\/latex], and [latex]32[\/latex].\r\n\r\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 [latex]31[\/latex] terms. A more efficient way to determine a specific term is by writing a formula to define the sequence.\r\n\r\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 [latex]2[\/latex] to write a formula for the [latex]n\\text{th}[\/latex] term.\r\n\r\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\" \/>\r\n\r\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\r\n<p style=\"text-align: center;\">[latex]{a}_{n}={2}^{n}[\/latex].<\/p>\r\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.\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong> [latex]n[\/latex] <\/strong><\/td>\r\n<td>[latex]1[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]3[\/latex]<\/td>\r\n<td>[latex]4[\/latex]<\/td>\r\n<td>[latex]5[\/latex]<\/td>\r\n<td>[latex]n[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong> [latex]n\\text{th}[\/latex] term of the sequence, [latex]{a}_{n}[\/latex] <\/strong><\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]4[\/latex]<\/td>\r\n<td>[latex]8[\/latex]<\/td>\r\n<td>[latex]16[\/latex]<\/td>\r\n<td>[latex]32[\/latex]<\/td>\r\n<td>[latex]{2}^{n}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nGraphing 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.\r\n\r\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\" \/>\r\n\r\nLastly, we can write this particular sequence as\r\n<p style=\"text-align: center;\">[latex]\\left\\{2,4,8,16,32,\\dots ,{2}^{n},\\dots \\right\\}[\/latex].<\/p>\r\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 [latex]10[\/latex] terms of the sequence, we could write\r\n<p style=\"text-align: center;\">[latex]\\left\\{2,4,8,16,32,\\dots ,1024\\right\\}[\/latex]<\/p>\r\nThis sequence is called a <strong>finite sequence<\/strong> because it does not continue indefinitely.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>sequence<\/h3>\r\nA <strong>sequence<\/strong> is a function whose domain is the set of positive integers. Each number in the sequence is called a <strong>term,<\/strong>\u00a0and there's a rule or pattern that tells you how to find each term.\r\n<ul>\r\n \t<li>A <strong>finite sequence<\/strong> is a sequence whose domain consists of only the first [latex]n[\/latex] positive integers. 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.<\/li>\r\n<\/ul>\r\n<p style=\"text-align: center;\">[latex]{a}_{1},{a}_{2},{a}_{3},\\dots ,{a}_{n},\\dots [\/latex]<\/p>\r\n<p style=\"padding-left: 40px;\">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.<\/p>\r\n\r\n<ul>\r\n \t<li>A sequence that continues indefinitely is an <strong>infinite sequence<\/strong>. The ellipsis [latex](...)[\/latex] is used to <span style=\"font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">indicate that the sequence continues indefinitely.<\/span><\/li>\r\n<\/ul>\r\n<\/section>Sequences can be simple, like adding a constant to get the next number, or they can be more complex, with different rules that might involve multiplication, division, or other operations.\r\n\r\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given an explicit formula, write the first [latex]n[\/latex] terms of a sequence.<\/strong>\r\n<ol>\r\n \t<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>\r\n \t<li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex].<\/li>\r\n \t<li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li>\r\n<\/ol>\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Write the first five terms of the sequence defined by the explicit formula [latex]{a}_{n}=-3n+8[\/latex].[reveal-answer q=\"776421\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"776421\"]Substitute [latex]n=1[\/latex] into the formula. Repeat with values [latex]2[\/latex] through [latex]5[\/latex] for [latex]n[\/latex].\r\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]<\/p>\r\n<p style=\"text-align: left;\">The first five terms are [latex]\\left\\{5,2,-1,-4,-7\\right\\}[\/latex].<\/p>\r\n<strong>Analysis of the Solution<\/strong>\r\n\r\nThe sequence values can be listed in a table. A table\u00a0is a convenient way to input the function into a graphing utility.\r\n<table summary=\"\">\r\n<tbody>\r\n<tr>\r\n<td><strong> [latex]n[\/latex] <\/strong><\/td>\r\n<td>[latex]1[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]3[\/latex]<\/td>\r\n<td>[latex]4[\/latex]<\/td>\r\n<td>[latex]5[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong> [latex]{a}_{n}[\/latex] <\/strong><\/td>\r\n<td>[latex]5[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]\u20131[\/latex]<\/td>\r\n<td>[latex]\u20134[\/latex]<\/td>\r\n<td>[latex]\u20137[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nA 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.\r\n\r\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=\"325\" height=\"390\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321842[\/ohm_question]<\/section><section aria-label=\"Try It\">\r\n<h3>Investigating Explicit Formulas<\/h3>\r\nWe\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.\r\n\r\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given an explicit formula for a piecewise function, write the first [latex]n[\/latex] terms of a sequence<\/strong>\r\n<ol>\r\n \t<li>Identify the formula to which [latex]n=1[\/latex] applies.<\/li>\r\n \t<li>To find the first term, [latex]{a}_{1}[\/latex], use [latex]n=1[\/latex] in the appropriate formula.<\/li>\r\n \t<li>Identify the formula to which [latex]n=2[\/latex] applies.<\/li>\r\n \t<li>To find the second term, [latex]{a}_{2}[\/latex], use [latex]n=2[\/latex] in the appropriate formula.<\/li>\r\n \t<li>Continue in the same manner until you have identified all [latex]n[\/latex] terms.<\/li>\r\n<\/ol>\r\n<\/section><\/section><section class=\"textbox example\" aria-label=\"Example\">Write the first six terms of the sequence.\r\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]<\/p>\r\n[reveal-answer q=\"537263\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"537263\"]\r\n\r\nA sequence can also be written as a piecewise function. We just need to use the correct explicit formula based on the rules that is given on the right side of the formulas.\r\n\r\nSo, let's substitute [latex]n=1,n=2[\/latex], and so on in the appropriate formula.\r\n<ul>\r\n \t<li>Use [latex]{n}^{2}[\/latex] when [latex]n[\/latex] is not a multiple of [latex]3[\/latex].<\/li>\r\n \t<li>Use [latex]\\frac{n}{3}[\/latex] when [latex]n[\/latex] is a multiple of [latex]3[\/latex].<\/li>\r\n<\/ul>\r\n<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]<\/p>\r\nThe first six terms are [latex]\\left\\{1,4,1,16,25,2\\right\\}[\/latex].\r\n\r\n<strong>Analysis of the Solution<\/strong>\r\n\r\nNotice that every third point on the graph stands out from the two nearby points. This occurs because the sequence was defined by a piecewise function.\r\n\r\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=\"325\" height=\"215\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><\/div>\r\n<dl id=\"fs-id1165135528358\" class=\"definition\">\r\n \t<dd id=\"fs-id1165135528363\"><\/dd>\r\n<\/dl>","rendered":"<div class=\"bcc-box bcc-highlight\">\n<section class=\"textbox learningGoals\" aria-label=\"Learning Goals\">\n<ul>\n<li style=\"font-weight: 400;\">Expand sequences defined by explicit and recursive formulas<\/li>\n<li style=\"font-weight: 400;\">Write the explicit formula for a given sequence<\/li>\n<\/ul>\n<\/section>\n<h2>Sequences Defined by an Explicit Formula<\/h2>\n<p>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 [latex]2[\/latex] hits the first day, [latex]4[\/latex] hits the second day, [latex]8[\/latex] hits the third day, and so on.<\/p>\n<table style=\"width: 631px;\">\n<tbody>\n<tr>\n<td style=\"width: 36px;\"><strong>Day<\/strong><\/td>\n<td style=\"width: 112px;\">[latex]1[\/latex]<\/td>\n<td style=\"width: 113px;\">[latex]2[\/latex]<\/td>\n<td style=\"width: 113px;\">[latex]3[\/latex]<\/td>\n<td style=\"width: 119px;\">[latex]4[\/latex]<\/td>\n<td style=\"width: 122px;\">[latex]5[\/latex]<\/td>\n<td style=\"width: 16px;\">\u2026<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 36px;\"><strong>Hits<\/strong><\/td>\n<td style=\"width: 112px;\">[latex]2[\/latex]<\/td>\n<td style=\"width: 113px;\">[latex]4[\/latex]<\/td>\n<td style=\"width: 113px;\">[latex]8[\/latex]<\/td>\n<td style=\"width: 119px;\">[latex]16[\/latex]<\/td>\n<td style=\"width: 122px;\">[latex]32[\/latex]<\/td>\n<td style=\"width: 16px;\">\u2026<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If their model continues, how many hits will there be at the end of the month? To answer this question, we\u2019ll first need to know how to determine a list of numbers written in a specific order. 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 [latex]2[\/latex], [latex]4[\/latex], [latex]8[\/latex], [latex]16[\/latex], and [latex]32[\/latex].<\/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 [latex]31[\/latex] 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 [latex]2[\/latex] 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>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>[latex]1[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<td>[latex]3[\/latex]<\/td>\n<td>[latex]4[\/latex]<\/td>\n<td>[latex]5[\/latex]<\/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>[latex]2[\/latex]<\/td>\n<td>[latex]4[\/latex]<\/td>\n<td>[latex]8[\/latex]<\/td>\n<td>[latex]16[\/latex]<\/td>\n<td>[latex]32[\/latex]<\/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 [latex]10[\/latex] 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<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>sequence<\/h3>\n<p>A <strong>sequence<\/strong> is a function whose domain is the set of positive integers. Each number in the sequence is called a <strong>term,<\/strong>\u00a0and there&#8217;s a rule or pattern that tells you how to find each term.<\/p>\n<ul>\n<li>A <strong>finite sequence<\/strong> is a sequence whose domain consists of only the first [latex]n[\/latex] positive integers. 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.<\/li>\n<\/ul>\n<p style=\"text-align: center;\">[latex]{a}_{1},{a}_{2},{a}_{3},\\dots ,{a}_{n},\\dots[\/latex]<\/p>\n<p style=\"padding-left: 40px;\">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.<\/p>\n<ul>\n<li>A sequence that continues indefinitely is an <strong>infinite sequence<\/strong>. The ellipsis [latex](...)[\/latex] is used to <span style=\"font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">indicate that the sequence continues indefinitely.<\/span><\/li>\n<\/ul>\n<\/section>\n<p>Sequences can be simple, like adding a constant to get the next number, or they can be more complex, with different rules that might involve multiplication, division, or other operations.<\/p>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given an explicit formula, write the first [latex]n[\/latex] terms of a sequence.<\/strong><\/p>\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<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">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\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q776421\">Show Solution<\/button><\/p>\n<div id=\"q776421\" class=\"hidden-answer\" style=\"display: none\">Substitute [latex]n=1[\/latex] into the formula. Repeat with values [latex]2[\/latex] through [latex]5[\/latex] 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<p><strong>Analysis of the Solution<\/strong><\/p>\n<p>The sequence values can be listed in a table. A table\u00a0is 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>[latex]1[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<td>[latex]3[\/latex]<\/td>\n<td>[latex]4[\/latex]<\/td>\n<td>[latex]5[\/latex]<\/td>\n<\/tr>\n<tr>\n<td><strong> [latex]{a}_{n}[\/latex] <\/strong><\/td>\n<td>[latex]5[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<td>[latex]\u20131[\/latex]<\/td>\n<td>[latex]\u20134[\/latex]<\/td>\n<td>[latex]\u20137[\/latex]<\/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=\"325\" height=\"390\" \/><\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321842\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321842&theme=lumen&iframe_resize_id=ohm321842&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section aria-label=\"Try It\">\n<h3>Investigating Explicit Formulas<\/h3>\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<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given an explicit formula for a piecewise function, write the first [latex]n[\/latex] terms of a sequence<\/strong><\/p>\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<\/section>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">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\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q537263\">Show Solution<\/button><\/p>\n<div id=\"q537263\" class=\"hidden-answer\" style=\"display: none\">\n<p>A sequence can also be written as a piecewise function. We just need to use the correct explicit formula based on the rules that is given on the right side of the formulas.<\/p>\n<p>So, let&#8217;s substitute [latex]n=1,n=2[\/latex], and so on in the appropriate formula.<\/p>\n<ul>\n<li>Use [latex]{n}^{2}[\/latex] when [latex]n[\/latex] is not a multiple of [latex]3[\/latex].<\/li>\n<li>Use [latex]\\frac{n}{3}[\/latex] when [latex]n[\/latex] is a multiple of [latex]3[\/latex].<\/li>\n<\/ul>\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<p><strong>Analysis of the Solution<\/strong><\/p>\n<p>Notice that every third point on the graph 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=\"325\" height=\"215\" \/><\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<dl id=\"fs-id1165135528358\" class=\"definition\">\n<dd id=\"fs-id1165135528363\"><\/dd>\n<\/dl>\n","protected":false},"author":6,"menu_order":3,"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\":\"\"}]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":156,"module-header":"learn_it","content_attributions":[{"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":""}],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/157"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":9,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/157\/revisions"}],"predecessor-version":[{"id":6002,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/157\/revisions\/6002"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/parts\/156"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/157\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=157"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=157"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=157"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}