{"id":1068,"date":"2015-11-12T18:35:32","date_gmt":"2015-11-12T18:35:32","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=1068"},"modified":"2017-03-31T21:54:43","modified_gmt":"2017-03-31T21:54:43","slug":"write-and-interpret-a-linear-function","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/chapter\/write-and-interpret-a-linear-function\/","title":{"raw":"Write and interpret a linear function","rendered":"Write and interpret a linear function"},"content":{"raw":"<section id=\"fs-id1165137770240\" data-depth=\"1\"><p id=\"fs-id1165137911671\">Now that we have written equations for linear functions in both the slope-intercept form and the point-slope form, we can choose which method to use based on the information we are given. That information may be provided in the form of a graph, a point and a slope, two points, and so on. Look at the graph of the function <em>f<\/em>\u00a0in Figure 8.<span id=\"fs-id1165135182766\" data-type=\"media\" data-alt=\"Graph depicting how to calculate the slope of a line\">\r\n<\/span><\/p>\r\n\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201025\/CNX_Precalc_Figure_02_01_0062.jpg\" alt=\"Graph depicting how to calculate the slope of a line\" width=\"487\" height=\"347\" data-media-type=\"image\/jpg\"\/><b>Figure 8<\/b>[\/caption]\r\n<p id=\"fs-id1165137657203\">We are not given the slope of the line, but we can choose any two points on the line to find the slope. Let\u2019s choose (0, 7)\u00a0and (4, 4). We can use these points to calculate the slope.<\/p>\r\n\r\n<div id=\"fs-id1165137666429\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases} m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{ }=\\frac{4 - 7}{4 - 0}\\hfill \\\\ \\text{ }=-\\frac{3}{4} \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165135176567\">Now we can substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\r\n\r\n<div id=\"fs-id1165135450369\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y - 4=-\\frac{3}{4}\\left(x - 4\\right)\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137634475\">If we want to rewrite the equation in the slope-intercept form, we would find<\/p>\r\n\r\n<div id=\"fs-id1165137768649\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y - 4=-\\frac{3}{4}\\left(x - 4\\right)\\hfill \\\\ y - 4=-\\frac{3}{4}x+3\\hfill \\\\ \\text{ }y=-\\frac{3}{4}x+7\\hfill \\end{cases}[\/latex]<\/div>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201027\/CNX_Precalc_Figure_02_01_0072.jpg\" alt=\"\" width=\"487\" height=\"155\" data-media-type=\"image\/jpg\"\/><b>Figure 9<\/b>[\/caption]\r\n<p id=\"fs-id1165137769983\">If we wanted to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the <em data-effect=\"italics\">y<\/em>-axis when the output value is 7. Therefore, <em>b<\/em> = 7.\u00a0We now have the initial value <em>b<\/em>\u00a0and the slope <em>m<\/em>\u00a0so we can substitute <em>m<\/em>\u00a0and <em>b<\/em>\u00a0into the slope-intercept form of a line.<span id=\"fs-id1165137548391\" data-type=\"media\" data-display=\"block\" data-alt=\"\">\r\n<\/span><\/p>\r\n<p id=\"fs-id1165137705273\">So the function is [latex]f\\left(x\\right)=-\\frac{3}{4}x+7[\/latex],\u00a0and the linear equation would be [latex]y=-\\frac{3}{4}x+7[\/latex].<\/p>\r\n\r\n<div id=\"fs-id1165137824876\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\r\n<h3 id=\"fs-id1165137824881\">How To: Given the graph of a linear function, write an equation to represent the function.<\/h3>\r\n<ol id=\"fs-id1165137803240\" data-number-style=\"arabic\"><li>Identify two points on the line.<\/li>\r\n\t<li>Use the two points to calculate the slope.<\/li>\r\n\t<li>Determine where the line crosses the <em data-effect=\"italics\">y<\/em>-axis to identify the <em data-effect=\"italics\">y<\/em>-intercept by visual inspection.<\/li>\r\n\t<li>Substitute the slope and <em data-effect=\"italics\">y<\/em>-intercept into the slope-intercept form of a line equation.<\/li>\r\n<\/ol><\/div>\r\n<div id=\"Example_02_01_07\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137602269\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165137602271\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 7: Writing an Equation for a Linear Function<\/h3>\r\nWrite an equation for a linear function given a graph of <em>f<\/em>\u00a0shown in Figure 10.<span data-type=\"media\" data-alt=\"Graph of an increasing function with points at (-3, 0) and (0, 1).\">\r\n<\/span>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"369\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201028\/CNX_Precalc_Figure_02_01_008a2.jpg\" alt=\"Graph of an increasing function with points at (-3, 0) and (0, 1).\" width=\"369\" height=\"378\" data-media-type=\"image\/jpg\"\/><b>Figure 10<\/b>[\/caption]\r\n\r\n<\/div>\r\n<div id=\"fs-id1165135536535\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165135536538\">Identify two points on the line, such as (0, 2) and (\u20132, \u20134). Use the points to calculate the slope.<\/p>\r\n\r\n<div id=\"fs-id1165137824250\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases} m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{ }=\\frac{-4 - 2}{-2 - 0}\\hfill \\\\ \\text{ }=\\frac{-6}{-2}\\hfill \\\\ \\text{ }=3\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137732234\">Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\r\n\r\n<div id=\"fs-id1165134305424\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\\\ y-\\left(-4\\right)=3\\left(x-\\left(-2\\right)\\right)\\\\ y+4=3\\left(x+2\\right)\\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137731540\">We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\r\n\r\n<div id=\"fs-id1165137460061\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y+4=3\\left(x+2\\right)\\hfill \\\\ y+4=3x+6\\hfill \\\\ \\text{ }y=3x+2\\hfill \\end{cases}[\/latex]<\/div>\r\n<\/div>\r\n<div id=\"fs-id1165135194076\" class=\"commentary\" data-type=\"commentary\">\r\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\r\nThis makes sense because we can see from Figure 11\u00a0that the line crosses the y-axis at the point (0, 2), which is the <em data-effect=\"italics\">y<\/em>-intercept, so <em>b<\/em>\u00a0= 2.\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"369\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201029\/CNX_Precalc_Figure_02_01_008b2.jpg\" alt=\"Graph of an increasing line with points at (0, 2) and (-2, -4).\" width=\"369\" height=\"378\" data-media-type=\"image\/jpg\"\/><b>Figure 11<\/b>[\/caption]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_02_01_08\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137426936\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165137757806\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 8: Writing an Equation for a Linear Cost Function<\/h3>\r\n<p id=\"fs-id1165137638162\">Suppose Ben starts a company in which he incurs a fixed cost of $1,250 per month for the overhead, which includes his office rent. His production costs are $37.50 per item. Write a linear function <em>C\u00a0<\/em>where <i>C<\/i>(<em>x<\/em>)\u00a0is the cost for <em>x<\/em>\u00a0items produced in a given month.<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137406776\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165137406778\">The fixed cost is present every month, $1,250. The costs that can vary include the cost to produce each item, which is $37.50 for Ben. The variable cost, called the marginal cost, is represented by 37.5. The cost Ben incurs is the sum of these two costs, represented by [latex]C\\left(x\\right)=1250+37.5x[\/latex].<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137767515\" class=\"commentary\" data-type=\"commentary\">\r\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\r\n<p id=\"fs-id1165135511326\">If Ben produces 100 items in a month, his monthly cost is represented by<\/p>\r\n\r\n<div id=\"fs-id1165137417815\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}C\\left(100\\right)=1250+37.5\\left(100\\right)\\hfill\\text{ } \\\\ =5000\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137862645\">So his monthly cost would be $5,000.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_02_01_09\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137459731\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165135259656\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 9: Writing an Equation for a Linear Function Given Two Points<\/h3>\r\n<p id=\"fs-id1165135259662\">If <em>f<\/em>\u00a0is a linear function, with [latex]f\\left(3\\right)=-2[\/latex] , and [latex]f\\left(8\\right)=1[\/latex], find an equation for the function in slope-intercept form.<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137730073\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165137730075\">We can write the given points using coordinates.<\/p>\r\n\r\n<div id=\"fs-id1165137639761\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(3\\right)=-2\\to \\left(3,-2\\right)\\hfill \\\\ f\\left(8\\right)=1\\to \\left(8,1\\right)\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137603531\">We can then use the points to calculate the slope.<\/p>\r\n\r\n<div id=\"fs-id1165137582561\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases} m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{ }=\\frac{1-\\left(-2\\right)}{8 - 3}\\hfill \\\\ \\text{ }=\\frac{3}{5}\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137851970\">Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\r\n\r\n<div id=\"fs-id1165137583929\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\text{ }y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y-\\left(-2\\right)=\\frac{3}{5}\\left(x - 3\\right)\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137629473\">We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\r\n\r\n<div id=\"fs-id1165135543458\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y+2=\\frac{3}{5}\\left(x - 3\\right)\\hfill \\\\ y+2=\\frac{3}{5}x-\\frac{9}{5}\\hfill \\\\ \\text{ }y=\\frac{3}{5}x-\\frac{19}{5}\\hfill \\end{cases}[\/latex]<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 5<\/h3>\r\n<p id=\"fs-id1165135456746\">If [latex]f\\left(x\\right)[\/latex] is a linear function, with [latex]f\\left(2\\right)=-11[\/latex], and [latex]f\\left(4\\right)=-25[\/latex], find an equation for the function in slope-intercept form.<\/p>\r\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-8\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>\r\n<\/section><section id=\"fs-id1165137894282\" data-depth=\"1\"><h2 style=\"text-align: center;\" data-type=\"title\"\/>\r\n<h2 style=\"text-align: center;\" data-type=\"title\"\/>\r\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Modeling Real-World Problems with Linear Functions<\/span><\/h2>\r\n<p id=\"fs-id1165137594074\">In the real world, problems are not always explicitly stated in terms of a function or represented with a graph. Fortunately, we can analyze the problem by first representing it as a linear function and then interpreting the components of the function. As long as we know, or can figure out, the initial value and the rate of change of a linear function, we can solve many different kinds of real-world problems.<\/p>\r\n\r\n<div id=\"fs-id1165137900351\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\r\n<h3 id=\"fs-id1165137404879\">How To: Given a linear function <em>f<\/em>\u00a0and the initial value and rate of change, evaluate <em>f<\/em>(<em>c<\/em>).<\/h3>\r\n<ol id=\"fs-id1165137660790\" data-number-style=\"arabic\"><li>Determine the initial value and the rate of change (slope).<\/li>\r\n\t<li>Substitute the values into [latex]f\\left(x\\right)=mx+b[\/latex].<\/li>\r\n\t<li>Evaluate the function at [latex]x=c[\/latex].<\/li>\r\n<\/ol><\/div>\r\n<div id=\"Example_02_01_10\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137836747\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165137836750\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 10: Using a Linear Function to Determine the Number of Songs in a Music Collection<\/h3>\r\n<p id=\"fs-id1165137740859\">Marcus currently has 200 songs in his music collection. Every month, he adds 15 new songs. Write a formula for the number of songs, <em>N<\/em>, in his collection as a function of time, <em>t<\/em>, the number of months. How many songs will he own in a year?<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165135411391\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165135411394\">The initial value for this function is 200 because he currently owns 200 songs, so <i>N<\/i>(0) = 200, which means that <em>b<\/em> = 200.<\/p>\r\n\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201031\/CNX_Precalc_Figure_02_01_0102.jpg\" alt=\"\" width=\"487\" height=\"131\" data-media-type=\"image\/jpg\"\/><b>Figure 12<\/b>[\/caption]\r\n<p id=\"fs-id1165137738190\">The number of songs increases by 15 songs per month, so the rate of change is 15 songs per month. Therefore we know that <em>m<\/em> = 15. We can substitute the initial value and the rate of change into the slope-intercept form of a line.<span id=\"fs-id1165137417445\" data-type=\"media\" data-alt=\"\">\r\n<\/span><\/p>\r\n<p id=\"fs-id1165137810258\">We can write the formula [latex]N\\left(t\\right)=15t+200[\/latex].<\/p>\r\n<p id=\"fs-id1165137454711\">With this formula, we can then predict how many songs Marcus will have in 1 year (12 months). In other words, we can evaluate the function at <em>t<\/em> = 12.<\/p>\r\n\r\n<div id=\"fs-id1165137462736\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}N\\left(12\\right)=15\\left(12\\right)+200\\hfill \\\\ \\text{ }=180+200\\hfill \\\\ \\text{ }=380\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137694205\">Marcus will have 380 songs in 12 months.<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165135296377\" class=\"commentary\" data-type=\"commentary\">\r\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\r\n<p id=\"fs-id1165134065131\">Notice that <em data-effect=\"italics\">N<\/em> is an increasing linear function. As the input (the number of months) increases, the output (number of songs) increases as well.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_02_01_11\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137803740\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165137766973\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 11: Using a Linear Function to Calculate Salary Plus Commission<\/h3>\r\n<p id=\"fs-id1165137742312\">Working as an insurance salesperson, Ilya earns a base salary plus a commission on each new policy. Therefore, Ilya\u2019s weekly income, <i>I<\/i>, depends on the number of new policies, <em>n<\/em>, he sells during the week. Last week he sold 3 new policies, and earned $760 for the week. The week before, he sold 5 new policies and earned $920. Find an equation for <em>I<\/em>(<em>n<\/em>), and interpret the meaning of the components of the equation.<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165135169132\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165135169134\">The given information gives us two input-output pairs: (3, 760) and (5, 920). We start by finding the rate of change.<\/p>\r\n\r\n<div id=\"fs-id1165135195046\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}m=\\frac{920 - 760}{5 - 3}\\hfill \\\\ \\text{ }=\\frac{$160}{\\text{2 policies}}\\hfill \\\\ \\text{ }=$80\\text{ per policy}\\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137855034\">Keeping track of units can help us interpret this quantity. Income increased by $160 when the number of policies increased by 2, so the rate of change is $80 per policy. Therefore, Ilya earns a commission of $80 for each policy sold during the week.<\/p>\r\n<p id=\"fs-id1165137855040\">We can then solve for the initial value.<\/p>\r\n\r\n<div id=\"fs-id1165135484088\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\text{ }I\\left(n\\right)=80n+b\\hfill &amp; \\hfill \\\\ \\text{ }760=80\\left(3\\right)+b\\hfill &amp; \\text{when }n=3, I\\left(3\\right)=760\\hfill \\\\ 760 - 80\\left(3\\right)=b\\hfill &amp; \\hfill \\\\ \\text{ }520=b\\hfill &amp; \\hfill \\end{cases}[\/latex]<\/div>\r\n<p id=\"fs-id1165137400716\">The value of <em>b<\/em>\u00a0is the starting value for the function and represents Ilya\u2019s income when\u00a0<em>n<\/em> = 0, or when no new policies are sold. We can interpret this as Ilya\u2019s base salary for the week, which does not depend upon the number of policies sold.<\/p>\r\n<p id=\"fs-id1165135203653\">We can now write the final equation.<\/p>\r\n\r\n<div id=\"fs-id1165137506449\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]I\\left(n\\right)=80n+520[\/latex]<\/div>\r\n<p id=\"fs-id1165137655487\">Our final interpretation is that Ilya\u2019s base salary is $520 per week and he earns an additional $80 commission for each policy sold.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_02_01_12\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137705959\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165137705961\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 12: Using Tabular Form to Write an Equation for a Linear Function<\/h3>\r\n<p id=\"fs-id1165135161325\">The table below relates the number of rats in a population to time, in weeks. Use the table to write a linear equation.<\/p>\r\n\r\n<table id=\"Table_02_01_02\" summary=\"Two rows and five columns. The first row is labeled, 'w, the numers of weeks'. The second row is labeled is labeled, 'P(w), number of rats'. Reading the remaining rows as ordered pairs (i.e., (w, P(w)), we have the following values: (0, 1000), (2, 1080), (4, 1160), and (6, 1240).\"><tbody><tr><td><strong><em data-effect=\"italics\">w<\/em>, number of weeks<\/strong><\/td>\r\n<td>0<\/td>\r\n<td>2<\/td>\r\n<td>4<\/td>\r\n<td>6<\/td>\r\n<\/tr><tr><td><strong><em data-effect=\"italics\">P(w)<\/em>, number of rats<\/strong><\/td>\r\n<td>1000<\/td>\r\n<td>1080<\/td>\r\n<td>1160<\/td>\r\n<td>1240<\/td>\r\n<\/tr><\/tbody><\/table><\/div>\r\n<div id=\"fs-id1165137643331\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165137530990\">We can see from the table that the initial value for the number of rats is 1000, so <em>b<\/em> = 1000.<\/p>\r\n<p id=\"fs-id1165137935601\">Rather than solving for <em>m<\/em>, we can tell from looking at the table that the population increases by 80 for every 2 weeks that pass. This means that the rate of change is 80 rats per 2 weeks, which can be simplified to 40 rats per week.<\/p>\r\n\r\n<div id=\"fs-id1165137737900\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]P\\left(w\\right)=40w+1000[\/latex]<\/div>\r\n<p id=\"fs-id1165137465125\">If we did not notice the rate of change from the table we could still solve for the slope using any two points from the table. For example, using (2, 1080) and (6, 1240)<\/p>\r\n\r\n<div id=\"fs-id1165137627069\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}m=\\frac{1240 - 1080}{6 - 2}\\hfill \\\\ \\text{ }=\\frac{160}{4}\\hfill \\\\ \\text{ }=40\\hfill \\end{cases}[\/latex]<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-id1165137725510\" class=\"note precalculus qa textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"Q&amp;A\">\r\n<h3 id=\"fs-id1165137920800\">Q &amp; A<\/h3>\r\n<strong>Is the initial value always provided in a table of values like the table in Example 12?<\/strong>\r\n<p id=\"fs-id1165137762000\"><em data-effect=\"italics\">No. Sometimes the initial value is provided in a table of values, but sometimes it is not. If you see an input of 0, then the initial value would be the corresponding output. If the initial value is not provided because there is no value of input on the table equal to 0, find the slope, substitute one coordinate pair and the slope into [latex]f\\left(x\\right)=mx+b[\/latex], and solve for <\/em>b<em data-effect=\"italics\">. <\/em><\/p>\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 6<\/h3>\r\n<p id=\"fs-id1165137645254\">A new plant food was introduced to a young tree to test its effect on the height of the tree. The table below\u00a0shows the height of the tree, in feet, <em>x<\/em>\u00a0months since the measurements began. Write a linear function, <em>H<\/em>(<em>x<\/em>), where <em>x<\/em>\u00a0is the number of months since the start of the experiment.<\/p>\r\n\r\n<table id=\"Table_02_01_03\" summary=\"Two rows and six columns. The first row is labeled, 'x'. The second row is labeled is labeled, 'H(x)'. Reading the remaining rows as ordered pairs (i.e., (x, H(x)), we have the following values: (0, 12.5), (2, 13.5), (4, 14.5), (8, 16.5), and (12, 18.5).\"><tbody><tr><td><em><strong>x<\/strong><\/em><\/td>\r\n<td>0<\/td>\r\n<td>2<\/td>\r\n<td>4<\/td>\r\n<td>8<\/td>\r\n<td>12<\/td>\r\n<\/tr><tr><td><em><strong>H<\/strong><\/em><strong>(<em>x<\/em>)<\/strong><\/td>\r\n<td>12.5<\/td>\r\n<td>13.5<\/td>\r\n<td>14.5<\/td>\r\n<td>16.5<\/td>\r\n<td>18.5<\/td>\r\n<\/tr><\/tbody><\/table><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-8\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>\r\n<\/section>","rendered":"<section id=\"fs-id1165137770240\" data-depth=\"1\">\n<p id=\"fs-id1165137911671\">Now that we have written equations for linear functions in both the slope-intercept form and the point-slope form, we can choose which method to use based on the information we are given. That information may be provided in the form of a graph, a point and a slope, two points, and so on. Look at the graph of the function <em>f<\/em>\u00a0in Figure 8.<span id=\"fs-id1165135182766\" data-type=\"media\" data-alt=\"Graph depicting how to calculate the slope of a line\"><br \/>\n<\/span><\/p>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201025\/CNX_Precalc_Figure_02_01_0062.jpg\" alt=\"Graph depicting how to calculate the slope of a line\" width=\"487\" height=\"347\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 8<\/b><\/p>\n<\/div>\n<p id=\"fs-id1165137657203\">We are not given the slope of the line, but we can choose any two points on the line to find the slope. Let\u2019s choose (0, 7)\u00a0and (4, 4). We can use these points to calculate the slope.<\/p>\n<div id=\"fs-id1165137666429\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases} m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{ }=\\frac{4 - 7}{4 - 0}\\hfill \\\\ \\text{ }=-\\frac{3}{4} \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165135176567\">Now we can substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<div id=\"fs-id1165135450369\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y - 4=-\\frac{3}{4}\\left(x - 4\\right)\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137634475\">If we want to rewrite the equation in the slope-intercept form, we would find<\/p>\n<div id=\"fs-id1165137768649\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y - 4=-\\frac{3}{4}\\left(x - 4\\right)\\hfill \\\\ y - 4=-\\frac{3}{4}x+3\\hfill \\\\ \\text{ }y=-\\frac{3}{4}x+7\\hfill \\end{cases}[\/latex]<\/div>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201027\/CNX_Precalc_Figure_02_01_0072.jpg\" alt=\"\" width=\"487\" height=\"155\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 9<\/b><\/p>\n<\/div>\n<p id=\"fs-id1165137769983\">If we wanted to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the <em data-effect=\"italics\">y<\/em>-axis when the output value is 7. Therefore, <em>b<\/em> = 7.\u00a0We now have the initial value <em>b<\/em>\u00a0and the slope <em>m<\/em>\u00a0so we can substitute <em>m<\/em>\u00a0and <em>b<\/em>\u00a0into the slope-intercept form of a line.<span id=\"fs-id1165137548391\" data-type=\"media\" data-display=\"block\" data-alt=\"\"><br \/>\n<\/span><\/p>\n<p id=\"fs-id1165137705273\">So the function is [latex]f\\left(x\\right)=-\\frac{3}{4}x+7[\/latex],\u00a0and the linear equation would be [latex]y=-\\frac{3}{4}x+7[\/latex].<\/p>\n<div id=\"fs-id1165137824876\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137824881\">How To: Given the graph of a linear function, write an equation to represent the function.<\/h3>\n<ol id=\"fs-id1165137803240\" data-number-style=\"arabic\">\n<li>Identify two points on the line.<\/li>\n<li>Use the two points to calculate the slope.<\/li>\n<li>Determine where the line crosses the <em data-effect=\"italics\">y<\/em>-axis to identify the <em data-effect=\"italics\">y<\/em>-intercept by visual inspection.<\/li>\n<li>Substitute the slope and <em data-effect=\"italics\">y<\/em>-intercept into the slope-intercept form of a line equation.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_02_01_07\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137602269\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137602271\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 7: Writing an Equation for a Linear Function<\/h3>\n<p>Write an equation for a linear function given a graph of <em>f<\/em>\u00a0shown in Figure 10.<span data-type=\"media\" data-alt=\"Graph of an increasing function with points at (-3, 0) and (0, 1).\"><br \/>\n<\/span><\/p>\n<div style=\"width: 379px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201028\/CNX_Precalc_Figure_02_01_008a2.jpg\" alt=\"Graph of an increasing function with points at (-3, 0) and (0, 1).\" width=\"369\" height=\"378\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 10<\/b><\/p>\n<\/div>\n<\/div>\n<div id=\"fs-id1165135536535\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135536538\">Identify two points on the line, such as (0, 2) and (\u20132, \u20134). Use the points to calculate the slope.<\/p>\n<div id=\"fs-id1165137824250\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases} m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{ }=\\frac{-4 - 2}{-2 - 0}\\hfill \\\\ \\text{ }=\\frac{-6}{-2}\\hfill \\\\ \\text{ }=3\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137732234\">Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<div id=\"fs-id1165134305424\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\\\ y-\\left(-4\\right)=3\\left(x-\\left(-2\\right)\\right)\\\\ y+4=3\\left(x+2\\right)\\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137731540\">We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\n<div id=\"fs-id1165137460061\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y+4=3\\left(x+2\\right)\\hfill \\\\ y+4=3x+6\\hfill \\\\ \\text{ }y=3x+2\\hfill \\end{cases}[\/latex]<\/div>\n<\/div>\n<div id=\"fs-id1165135194076\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p>This makes sense because we can see from Figure 11\u00a0that the line crosses the y-axis at the point (0, 2), which is the <em data-effect=\"italics\">y<\/em>-intercept, so <em>b<\/em>\u00a0= 2.<\/p>\n<div style=\"width: 379px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201029\/CNX_Precalc_Figure_02_01_008b2.jpg\" alt=\"Graph of an increasing line with points at (0, 2) and (-2, -4).\" width=\"369\" height=\"378\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 11<\/b><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_02_01_08\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137426936\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137757806\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 8: Writing an Equation for a Linear Cost Function<\/h3>\n<p id=\"fs-id1165137638162\">Suppose Ben starts a company in which he incurs a fixed cost of $1,250 per month for the overhead, which includes his office rent. His production costs are $37.50 per item. Write a linear function <em>C\u00a0<\/em>where <i>C<\/i>(<em>x<\/em>)\u00a0is the cost for <em>x<\/em>\u00a0items produced in a given month.<\/p>\n<\/div>\n<div id=\"fs-id1165137406776\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137406778\">The fixed cost is present every month, $1,250. The costs that can vary include the cost to produce each item, which is $37.50 for Ben. The variable cost, called the marginal cost, is represented by 37.5. The cost Ben incurs is the sum of these two costs, represented by [latex]C\\left(x\\right)=1250+37.5x[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165137767515\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165135511326\">If Ben produces 100 items in a month, his monthly cost is represented by<\/p>\n<div id=\"fs-id1165137417815\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}C\\left(100\\right)=1250+37.5\\left(100\\right)\\hfill\\text{ } \\\\ =5000\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137862645\">So his monthly cost would be $5,000.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_02_01_09\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137459731\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165135259656\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 9: Writing an Equation for a Linear Function Given Two Points<\/h3>\n<p id=\"fs-id1165135259662\">If <em>f<\/em>\u00a0is a linear function, with [latex]f\\left(3\\right)=-2[\/latex] , and [latex]f\\left(8\\right)=1[\/latex], find an equation for the function in slope-intercept form.<\/p>\n<\/div>\n<div id=\"fs-id1165137730073\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137730075\">We can write the given points using coordinates.<\/p>\n<div id=\"fs-id1165137639761\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(3\\right)=-2\\to \\left(3,-2\\right)\\hfill \\\\ f\\left(8\\right)=1\\to \\left(8,1\\right)\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137603531\">We can then use the points to calculate the slope.<\/p>\n<div id=\"fs-id1165137582561\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases} m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{ }=\\frac{1-\\left(-2\\right)}{8 - 3}\\hfill \\\\ \\text{ }=\\frac{3}{5}\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137851970\">Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<div id=\"fs-id1165137583929\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\text{ }y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y-\\left(-2\\right)=\\frac{3}{5}\\left(x - 3\\right)\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137629473\">We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\n<div id=\"fs-id1165135543458\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y+2=\\frac{3}{5}\\left(x - 3\\right)\\hfill \\\\ y+2=\\frac{3}{5}x-\\frac{9}{5}\\hfill \\\\ \\text{ }y=\\frac{3}{5}x-\\frac{19}{5}\\hfill \\end{cases}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\n<p id=\"fs-id1165135456746\">If [latex]f\\left(x\\right)[\/latex] is a linear function, with [latex]f\\left(2\\right)=-11[\/latex], and [latex]f\\left(4\\right)=-25[\/latex], find an equation for the function in slope-intercept form.<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-8\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n<section id=\"fs-id1165137894282\" data-depth=\"1\">\n<h2 style=\"text-align: center;\" data-type=\"title\">\n<p><span style=\"text-decoration: underline;\">Modeling Real-World Problems with Linear Functions<\/span><\/h2>\n<p id=\"fs-id1165137594074\">In the real world, problems are not always explicitly stated in terms of a function or represented with a graph. Fortunately, we can analyze the problem by first representing it as a linear function and then interpreting the components of the function. As long as we know, or can figure out, the initial value and the rate of change of a linear function, we can solve many different kinds of real-world problems.<\/p>\n<div id=\"fs-id1165137900351\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137404879\">How To: Given a linear function <em>f<\/em>\u00a0and the initial value and rate of change, evaluate <em>f<\/em>(<em>c<\/em>).<\/h3>\n<ol id=\"fs-id1165137660790\" data-number-style=\"arabic\">\n<li>Determine the initial value and the rate of change (slope).<\/li>\n<li>Substitute the values into [latex]f\\left(x\\right)=mx+b[\/latex].<\/li>\n<li>Evaluate the function at [latex]x=c[\/latex].<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_02_01_10\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137836747\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137836750\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 10: Using a Linear Function to Determine the Number of Songs in a Music Collection<\/h3>\n<p id=\"fs-id1165137740859\">Marcus currently has 200 songs in his music collection. Every month, he adds 15 new songs. Write a formula for the number of songs, <em>N<\/em>, in his collection as a function of time, <em>t<\/em>, the number of months. How many songs will he own in a year?<\/p>\n<\/div>\n<div id=\"fs-id1165135411391\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135411394\">The initial value for this function is 200 because he currently owns 200 songs, so <i>N<\/i>(0) = 200, which means that <em>b<\/em> = 200.<\/p>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201031\/CNX_Precalc_Figure_02_01_0102.jpg\" alt=\"\" width=\"487\" height=\"131\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 12<\/b><\/p>\n<\/div>\n<p id=\"fs-id1165137738190\">The number of songs increases by 15 songs per month, so the rate of change is 15 songs per month. Therefore we know that <em>m<\/em> = 15. We can substitute the initial value and the rate of change into the slope-intercept form of a line.<span id=\"fs-id1165137417445\" data-type=\"media\" data-alt=\"\"><br \/>\n<\/span><\/p>\n<p id=\"fs-id1165137810258\">We can write the formula [latex]N\\left(t\\right)=15t+200[\/latex].<\/p>\n<p id=\"fs-id1165137454711\">With this formula, we can then predict how many songs Marcus will have in 1 year (12 months). In other words, we can evaluate the function at <em>t<\/em> = 12.<\/p>\n<div id=\"fs-id1165137462736\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}N\\left(12\\right)=15\\left(12\\right)+200\\hfill \\\\ \\text{ }=180+200\\hfill \\\\ \\text{ }=380\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137694205\">Marcus will have 380 songs in 12 months.<\/p>\n<\/div>\n<div id=\"fs-id1165135296377\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165134065131\">Notice that <em data-effect=\"italics\">N<\/em> is an increasing linear function. As the input (the number of months) increases, the output (number of songs) increases as well.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_02_01_11\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137803740\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137766973\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 11: Using a Linear Function to Calculate Salary Plus Commission<\/h3>\n<p id=\"fs-id1165137742312\">Working as an insurance salesperson, Ilya earns a base salary plus a commission on each new policy. Therefore, Ilya\u2019s weekly income, <i>I<\/i>, depends on the number of new policies, <em>n<\/em>, he sells during the week. Last week he sold 3 new policies, and earned $760 for the week. The week before, he sold 5 new policies and earned $920. Find an equation for <em>I<\/em>(<em>n<\/em>), and interpret the meaning of the components of the equation.<\/p>\n<\/div>\n<div id=\"fs-id1165135169132\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135169134\">The given information gives us two input-output pairs: (3, 760) and (5, 920). We start by finding the rate of change.<\/p>\n<div id=\"fs-id1165135195046\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}m=\\frac{920 - 760}{5 - 3}\\hfill \\\\ \\text{ }=\\frac{$160}{\\text{2 policies}}\\hfill \\\\ \\text{ }=$80\\text{ per policy}\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137855034\">Keeping track of units can help us interpret this quantity. Income increased by $160 when the number of policies increased by 2, so the rate of change is $80 per policy. Therefore, Ilya earns a commission of $80 for each policy sold during the week.<\/p>\n<p id=\"fs-id1165137855040\">We can then solve for the initial value.<\/p>\n<div id=\"fs-id1165135484088\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\text{ }I\\left(n\\right)=80n+b\\hfill & \\hfill \\\\ \\text{ }760=80\\left(3\\right)+b\\hfill & \\text{when }n=3, I\\left(3\\right)=760\\hfill \\\\ 760 - 80\\left(3\\right)=b\\hfill & \\hfill \\\\ \\text{ }520=b\\hfill & \\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137400716\">The value of <em>b<\/em>\u00a0is the starting value for the function and represents Ilya\u2019s income when\u00a0<em>n<\/em> = 0, or when no new policies are sold. We can interpret this as Ilya\u2019s base salary for the week, which does not depend upon the number of policies sold.<\/p>\n<p id=\"fs-id1165135203653\">We can now write the final equation.<\/p>\n<div id=\"fs-id1165137506449\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]I\\left(n\\right)=80n+520[\/latex]<\/div>\n<p id=\"fs-id1165137655487\">Our final interpretation is that Ilya\u2019s base salary is $520 per week and he earns an additional $80 commission for each policy sold.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_02_01_12\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137705959\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137705961\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 12: Using Tabular Form to Write an Equation for a Linear Function<\/h3>\n<p id=\"fs-id1165135161325\">The table below relates the number of rats in a population to time, in weeks. Use the table to write a linear equation.<\/p>\n<table id=\"Table_02_01_02\" summary=\"Two rows and five columns. The first row is labeled, 'w, the numers of weeks'. The second row is labeled is labeled, 'P(w), number of rats'. Reading the remaining rows as ordered pairs (i.e., (w, P(w)), we have the following values: (0, 1000), (2, 1080), (4, 1160), and (6, 1240).\">\n<tbody>\n<tr>\n<td><strong><em data-effect=\"italics\">w<\/em>, number of weeks<\/strong><\/td>\n<td>0<\/td>\n<td>2<\/td>\n<td>4<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td><strong><em data-effect=\"italics\">P(w)<\/em>, number of rats<\/strong><\/td>\n<td>1000<\/td>\n<td>1080<\/td>\n<td>1160<\/td>\n<td>1240<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div id=\"fs-id1165137643331\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137530990\">We can see from the table that the initial value for the number of rats is 1000, so <em>b<\/em> = 1000.<\/p>\n<p id=\"fs-id1165137935601\">Rather than solving for <em>m<\/em>, we can tell from looking at the table that the population increases by 80 for every 2 weeks that pass. This means that the rate of change is 80 rats per 2 weeks, which can be simplified to 40 rats per week.<\/p>\n<div id=\"fs-id1165137737900\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]P\\left(w\\right)=40w+1000[\/latex]<\/div>\n<p id=\"fs-id1165137465125\">If we did not notice the rate of change from the table we could still solve for the slope using any two points from the table. For example, using (2, 1080) and (6, 1240)<\/p>\n<div id=\"fs-id1165137627069\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}m=\\frac{1240 - 1080}{6 - 2}\\hfill \\\\ \\text{ }=\\frac{160}{4}\\hfill \\\\ \\text{ }=40\\hfill \\end{cases}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"fs-id1165137725510\" class=\"note precalculus qa textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"Q&amp;A\">\n<h3 id=\"fs-id1165137920800\">Q &amp; A<\/h3>\n<p><strong>Is the initial value always provided in a table of values like the table in Example 12?<\/strong><\/p>\n<p id=\"fs-id1165137762000\"><em data-effect=\"italics\">No. Sometimes the initial value is provided in a table of values, but sometimes it is not. If you see an input of 0, then the initial value would be the corresponding output. If the initial value is not provided because there is no value of input on the table equal to 0, find the slope, substitute one coordinate pair and the slope into [latex]f\\left(x\\right)=mx+b[\/latex], and solve for <\/em>b<em data-effect=\"italics\">. <\/em><\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 6<\/h3>\n<p id=\"fs-id1165137645254\">A new plant food was introduced to a young tree to test its effect on the height of the tree. The table below\u00a0shows the height of the tree, in feet, <em>x<\/em>\u00a0months since the measurements began. Write a linear function, <em>H<\/em>(<em>x<\/em>), where <em>x<\/em>\u00a0is the number of months since the start of the experiment.<\/p>\n<table id=\"Table_02_01_03\" summary=\"Two rows and six columns. The first row is labeled, 'x'. The second row is labeled is labeled, 'H(x)'. Reading the remaining rows as ordered pairs (i.e., (x, H(x)), we have the following values: (0, 12.5), (2, 13.5), (4, 14.5), (8, 16.5), and (12, 18.5).\">\n<tbody>\n<tr>\n<td><em><strong>x<\/strong><\/em><\/td>\n<td>0<\/td>\n<td>2<\/td>\n<td>4<\/td>\n<td>8<\/td>\n<td>12<\/td>\n<\/tr>\n<tr>\n<td><em><strong>H<\/strong><\/em><strong>(<em>x<\/em>)<\/strong><\/td>\n<td>12.5<\/td>\n<td>13.5<\/td>\n<td>14.5<\/td>\n<td>16.5<\/td>\n<td>18.5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-8\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\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-1068\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: Jay Abramson, et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175<\/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\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.<\/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":276,"menu_order":6,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Precalculus\",\"author\":\"Jay Abramson, et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1068","chapter","type-chapter","status-publish","hentry"],"part":1048,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1068\/revisions"}],"predecessor-version":[{"id":2843,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1068\/revisions\/2843"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/1048"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1068\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/media?parent=1068"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1068"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/contributor?post=1068"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/license?post=1068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}