{"id":213,"date":"2024-10-18T21:13:08","date_gmt":"2024-10-18T21:13:08","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/chapter\/more-on-linear-functions-learn-it-2\/"},"modified":"2024-10-18T21:13:08","modified_gmt":"2024-10-18T21:13:08","slug":"more-on-linear-functions-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/chapter\/more-on-linear-functions-learn-it-2\/","title":{"raw":"More on Linear Functions: Learn It 2","rendered":"More on Linear Functions: Learn It 2"},"content":{"raw":"\n<h2>Writing the Equation of a Line Using Two Points<\/h2>\n<p>Point-slope form of an equation is also useful if we know any two points through which a line passes. Suppose, for example, we know that a line passes through the points [latex]\\left(0,\\text{ }1\\right)[\/latex] and [latex]\\left(3,\\text{ }2\\right)[\/latex]. We can use the coordinates of the two points to find the slope.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}{m}=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\\\ \\text{}{m}=\\frac{2 - 1}{3 - 0}\\hfill \\\\ \\text{}{m}=\\frac{1}{3}\\hfill \\end{array}[\/latex]<\/p>\n<p>Now we can use the slope we found and the coordinates of one of the points to find the equation for the line. Let's use [latex](0, 1)[\/latex] for our point.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\\\ y - 1=\\frac{1}{3}\\left(x - 0\\right)\\end{array}[\/latex]<\/p>\n<p>As before, we can use algebra to rewrite the equation in slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{lll}y - 1=\\frac{1}{3}\\left(x - 0\\right)\\hfill &amp; \\hfill \\\\ y - 1=\\frac{1}{3}x\\hfill &amp; \\text{Distribute the }\\frac{1}{3}.\\hfill \\\\ \\text{}y=\\frac{1}{3}x+1\\hfill &amp; \\text{Add 1 to each side}.\\hfill \\end{array}[\/latex]<\/p>\n<p>Both equations describe the line graphed below.<\/p>\n<section class=\"textbox example\">Write the point-slope form of an equation of a line that passes through the points&nbsp;[latex]\\left(5,\\text{ }1\\right)[\/latex] and [latex]\\left(8,\\text{ }7\\right)[\/latex]. Then rewrite the equation in slope-intercept form. [reveal-answer q=\"981323\"]Show Solution[\/reveal-answer] [hidden-answer a=\"981323\"] Let\u2019s begin by finding the slope.\n\n\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}{m}=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{}{m}=\\frac{7 - 1}{8 - 5}\\hfill \\\\ \\text{}{m}=\\frac{6}{3}\\hfill \\\\ \\text{}{m}=2\\hfill \\end{array}[\/latex]<\/p>\n\n\nSo [latex]m=2[\/latex]. Next, we substitute the slope and the coordinates for one of the points into point-slope form. We can choose either point, but we will use [latex]\\left(5,\\text{ }1\\right)[\/latex].\n\n\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\\\ y - 1=2\\left(x - 5\\right)\\end{array}[\/latex]<\/p>\n\n\nTo rewrite the equation in slope-intercept form, we use algebra.\n\n\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y - 1=2\\left(x - 5\\right)\\hfill \\\\ y - 1=2x - 10\\hfill \\\\ \\text{}y=2x - 9\\hfill \\end{array}[\/latex]<\/p>\n\n\nThe slope-intercept form of the equation of the line is [latex]y=2x - 9[\/latex]. [\/hidden-answer]<\/section>\n<section class=\"textbox tryIt\">\n<p>[ohm2_question hide_question_numbers=1]13528[\/ohm2_question]<\/p>\n<\/section>\n<h2>Writing the Equation of a Line Using a Graph<\/h2>\n<p>So far we have written point-slope form and slope-intercept form of a line when given a point and the slope as well as when given two points. Sometimes the only information we are provided is the graph of the line. Let's look into how we can write the point-slope form and slope-intercept form of a line when only given a graph.<\/p>\n<p>Look at the graph of the function [latex]f[\/latex] given below.<\/p>\n<center><img class=\"aligncenter wp-image-9343 size-full\" src=\"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-content\/uploads\/sites\/18\/2023\/10\/ad267d8ce45e7410c4a1abb402789284ed15ea9c.webp#fixme\" alt=\"This graph shows a linear function graphed on an x y coordinate plane. The x axis is labeled from negative 2 to 8 and the y axis is labeled from negative 1 to 8. The function f is graph along the points (0, 7) and (4, 4).\" width=\"487\" height=\"347\"><\/center>\n<p>&nbsp;<\/p>\n<p>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 [latex](0,7)[\/latex] and [latex](4,4)[\/latex].<\/p>\n<center>[latex]\\begin{array}{ccl} m &amp; = &amp; \\frac{y_2 - y_1}{x_2 - x_1} \\\\ &amp; = &amp; \\frac{4 - 7}{4 - 0} \\\\ &amp; = &amp; -\\frac{3}{4} \\end{array} [\/latex]<\/center>\n<p>&nbsp;<\/p>\n<p>Now we can substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<center>[latex]\\begin{array}{ccl} y - y_1 &amp; = &amp; m(x - x_1) \\\\ y - 4 &amp; = &amp; -\\frac{3}{4}(x - 4) \\end{array} [\/latex]<\/center>\n<p>&nbsp;<\/p>\n<p>If we want to rewrite the equation in the slope-intercept form, we would find<\/p>\n<center>[latex]\\begin{array}{ccl} y - 4 &amp; = &amp; -\\frac{3}{4}(x - 4) \\\\ y - 4 &amp; = &amp; -\\frac{3}{4}x + 3 \\\\ y &amp; = &amp; -\\frac{3}{4}x + 7 \\end{array} [\/latex]<\/center>\n<p>&nbsp;<\/p>\n<p>If we want to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the y-axis when the output value is [latex]7[\/latex]. Therefore, [latex]b=7[\/latex]. We now have the initial value [latex]b[\/latex] and the slope [latex]m[\/latex] so we can substitute [latex]m[\/latex] and [latex]b[\/latex] into the slope-intercept form of a line.<\/p>\n<center><img class=\"aligncenter wp-image-9344 size-full\" src=\"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-content\/uploads\/sites\/18\/2023\/10\/d0721a58dc75094ba9ea4cf8d804d63dbb9cf6fc.webp#fixme\" alt=\"This image shows the equation f of x equals m times x plus b. It shows that m is the value negative three fourths and b is 7. It then shows the equation rewritten as f of x equals negative three fourths times x plus 7.\" width=\"487\" height=\"155\"><\/center>\n<p>&nbsp;<\/p>\n<p>So the function is [latex]f(x)=-\\frac{3}{4}x+7[\/latex], and the linear equation would be [latex]y=-\\frac{3}{4}x+7[\/latex].<\/p>\n<section class=\"textbox questionHelp\"><strong>How to: Given the graph of a linear function, write an equation to represent the function.<\/strong>\n<ol id=\"fs-id1575825\" type=\"1\">\n\t<li>Identify two points on the line.<\/li>\n\t<li>Use the two points to calculate the slope.<\/li>\n\t<li>Determine where the line crosses the&nbsp;[latex]y[\/latex]-axis to identify the&nbsp;[latex]y[\/latex]-intercept by visual inspection.<\/li>\n\t<li>Substitute the slope and&nbsp;[latex]y[\/latex]-intercept into the slope-intercept form of a line equation.<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox example\">Write an equation for a linear function given a graph of [latex]f[\/latex] shown below.<center><img class=\"aligncenter size-medium wp-image-9348\" src=\"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-content\/uploads\/sites\/18\/2023\/10\/903e1ea392429e5544bbc558c913d95f8a5cea16-293x300.webp#fixme\" alt=\"This figure shows an increasing function graphed on an x y coordinate plane. The x axis is labeled from negative 10 to 10. The y axis is labeled from negative 10 to 10. The function passes through the points (0, 2) and (-2, -4). These points are not labeled on this graph. \" width=\"293\" height=\"300\"><\/center>[reveal-answer q=\"981333\"]Show Solution[\/reveal-answer] [hidden-answer a=\"981333\"]\n\n\n<p>Identify two points on the line, such as [latex](0, 2)[\/latex] and [latex](-2, -4)[\/latex]. Use the points to calculate the slope.<\/p>\n<p style=\"text-align: center;\">[latex] \\begin{array}{ccl} m &amp; = &amp; \\frac{y_2-y_1}{x_2-x_1} \\\\ &amp; = &amp; \\frac{-4-2}{-2-0} \\\\ &amp; = &amp; \\frac{-6}{-2} \\\\ &amp; = &amp; 3 \\end{array} [\/latex]<\/p>\n<p>Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<p style=\"text-align: center;\">[latex] \\begin{array}{ccl} y - y_1 &amp; = &amp; m(x - x_1) \\\\ y - (-4) &amp; = &amp; 3(x - (-2)) \\\\ y + 4 &amp; = &amp; 3(x + 2) \\end{array} [\/latex]<\/p>\n<p>We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex] \\begin{array}{ccl} y + 4 &amp; = &amp; 3(x + 2) \\\\ y + 4 &amp; = &amp; 3x + 6 \\\\ y &amp; = &amp; 3x + 2 \\end{array} [\/latex]<\/p>\n[\/hidden-answer]<\/section>\n<section class=\"textbox tryIt\">\n<p>[ohm2_question hide_question_numbers=1]13529[\/ohm2_question]<\/p>\n<\/section>\n<h2>Writing and Interpreting an Equation for a Linear Function<\/h2>\n<p>Now we can choose which method to use to write equations for linear functions 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. Let's try a few more examples when we are given the details of a linear function in different ways.<\/p>\n<section class=\"textbox example\">Suppose Ben starts a company in which he incurs a fixed cost of [latex]$1,250[\/latex] per month for the overhead, which includes his office rent. His production costs are [latex]$37.50[\/latex] per item. Write a linear function [latex]C[\/latex] where [latex]C(x)[\/latex] is the cost for [latex]x[\/latex] items produced in a given month. [reveal-answer q=\"981343\"]Show Solution[\/reveal-answer] [hidden-answer a=\"981343\"] The fixed cost is present every month, [latex]$1,250[\/latex]. The costs that can vary include the cost to produce each item, which is [latex]$37.50[\/latex]. The variable cost, called the marginal cost, is represented by [latex]37.5[\/latex]. The cost Ben incurs is the sum of these two costs, represented by [latex]C(x)=1250+37.5x[\/latex]. <strong>Analysis<\/strong> If Ben produces [latex]100[\/latex] items in a month, his monthly cost is found by substituting [latex]100[\/latex] for [latex]x[\/latex].<center>[latex] \\begin{array}{ccl} C(100) &amp; = &amp; 1250 + 37.5(100) \\\\ &amp; = &amp; 5000 \\\\ \\end{array} [\/latex]<\/center>So his monthly cost would be [latex]$5,000[\/latex]. [\/hidden-answer]<\/section>\n<section class=\"textbox example\">If [latex]f[\/latex] is a linear function, with [latex]f(3)=\u22122[\/latex], and [latex]f(8)=1[\/latex], find an equation for the function in slope-intercept form. [reveal-answer q=\"981353\"]Show Solution[\/reveal-answer] [hidden-answer a=\"981353\"]\n\n\n<p>We can write the given points using coordinates.<\/p>\n<p style=\"text-align: center;\">[latex] f(3) = -2 \\rightarrow (3, -2) [\/latex]<\/p><center>[latex] f(8) = 1 \\rightarrow (8, 1) [\/latex]\n<p>We can then use the points to calculate the slope.<\/p>\n<p style=\"text-align: center;\">[latex] \\begin{array}{ccl} m &amp; = &amp; \\frac{y_2-y_1}{x_2-x_1} \\\\ &amp; = &amp; \\frac{1-(-2)}{8-3} \\\\ &amp; = &amp; \\frac{3}{5} \\end{array} [\/latex]<\/p>\n<p>Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<p style=\"text-align: center;\">[latex] \\begin{array}{ccl} y - y_1 &amp; = &amp; m(x - x_1) \\\\ y - (-2) &amp; = &amp; \\frac{3}{5}(x - 3) \\end{array} [\/latex]<\/p>\n<p>We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex] \\begin{array}{ccl} y + 2 &amp; = &amp; \\frac{3}{5}(x - 3) \\\\ y + 2 &amp; = &amp; \\frac{3}{5}x - \\frac{9}{5} \\\\ y &amp; = &amp; \\frac{3}{5}x - \\frac{19}{5} \\end{array} [\/latex]<\/p>\n[\/hidden-answer]<\/center><\/section>\n","rendered":"<h2>Writing the Equation of a Line Using Two Points<\/h2>\n<p>Point-slope form of an equation is also useful if we know any two points through which a line passes. Suppose, for example, we know that a line passes through the points [latex]\\left(0,\\text{ }1\\right)[\/latex] and [latex]\\left(3,\\text{ }2\\right)[\/latex]. We can use the coordinates of the two points to find the slope.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}{m}=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\\\ \\text{}{m}=\\frac{2 - 1}{3 - 0}\\hfill \\\\ \\text{}{m}=\\frac{1}{3}\\hfill \\end{array}[\/latex]<\/p>\n<p>Now we can use the slope we found and the coordinates of one of the points to find the equation for the line. Let&#8217;s use [latex](0, 1)[\/latex] for our point.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\\\ y - 1=\\frac{1}{3}\\left(x - 0\\right)\\end{array}[\/latex]<\/p>\n<p>As before, we can use algebra to rewrite the equation in slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{lll}y - 1=\\frac{1}{3}\\left(x - 0\\right)\\hfill & \\hfill \\\\ y - 1=\\frac{1}{3}x\\hfill & \\text{Distribute the }\\frac{1}{3}.\\hfill \\\\ \\text{}y=\\frac{1}{3}x+1\\hfill & \\text{Add 1 to each side}.\\hfill \\end{array}[\/latex]<\/p>\n<p>Both equations describe the line graphed below.<\/p>\n<section class=\"textbox example\">Write the point-slope form of an equation of a line that passes through the points&nbsp;[latex]\\left(5,\\text{ }1\\right)[\/latex] and [latex]\\left(8,\\text{ }7\\right)[\/latex]. Then rewrite the equation in slope-intercept form. <\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q981323\">Show Solution<\/button> <\/p>\n<div id=\"q981323\" class=\"hidden-answer\" style=\"display: none\"> Let\u2019s begin by finding the slope.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}{m}=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\hfill \\\\ \\text{}{m}=\\frac{7 - 1}{8 - 5}\\hfill \\\\ \\text{}{m}=\\frac{6}{3}\\hfill \\\\ \\text{}{m}=2\\hfill \\end{array}[\/latex]<\/p>\n<p>So [latex]m=2[\/latex]. Next, we substitute the slope and the coordinates for one of the points into point-slope form. We can choose either point, but we will use [latex]\\left(5,\\text{ }1\\right)[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\\\ y - 1=2\\left(x - 5\\right)\\end{array}[\/latex]<\/p>\n<p>To rewrite the equation in slope-intercept form, we use algebra.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y - 1=2\\left(x - 5\\right)\\hfill \\\\ y - 1=2x - 10\\hfill \\\\ \\text{}y=2x - 9\\hfill \\end{array}[\/latex]<\/p>\n<p>The slope-intercept form of the equation of the line is [latex]y=2x - 9[\/latex]. <\/p><\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\">\n<iframe loading=\"lazy\" id=\"ohm13528\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=13528&theme=lumen&iframe_resize_id=ohm13528&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><br \/>\n<\/section>\n<h2>Writing the Equation of a Line Using a Graph<\/h2>\n<p>So far we have written point-slope form and slope-intercept form of a line when given a point and the slope as well as when given two points. Sometimes the only information we are provided is the graph of the line. Let&#8217;s look into how we can write the point-slope form and slope-intercept form of a line when only given a graph.<\/p>\n<p>Look at the graph of the function [latex]f[\/latex] given below.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9343 size-full\" src=\"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-content\/uploads\/sites\/18\/2023\/10\/ad267d8ce45e7410c4a1abb402789284ed15ea9c.webp#fixme\" alt=\"This graph shows a linear function graphed on an x y coordinate plane. The x axis is labeled from negative 2 to 8 and the y axis is labeled from negative 1 to 8. The function f is graph along the points (0, 7) and (4, 4).\" width=\"487\" height=\"347\" \/><\/div>\n<p>&nbsp;<\/p>\n<p>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 [latex](0,7)[\/latex] and [latex](4,4)[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccl} m & = & \\frac{y_2 - y_1}{x_2 - x_1} \\\\ & = & \\frac{4 - 7}{4 - 0} \\\\ & = & -\\frac{3}{4} \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Now we can substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccl} y - y_1 & = & m(x - x_1) \\\\ y - 4 & = & -\\frac{3}{4}(x - 4) \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>If we want to rewrite the equation in the slope-intercept form, we would find<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccl} y - 4 & = & -\\frac{3}{4}(x - 4) \\\\ y - 4 & = & -\\frac{3}{4}x + 3 \\\\ y & = & -\\frac{3}{4}x + 7 \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>If we want to find the slope-intercept form without first writing the point-slope form, we could have recognized that the line crosses the y-axis when the output value is [latex]7[\/latex]. Therefore, [latex]b=7[\/latex]. We now have the initial value [latex]b[\/latex] and the slope [latex]m[\/latex] so we can substitute [latex]m[\/latex] and [latex]b[\/latex] into the slope-intercept form of a line.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9344 size-full\" src=\"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-content\/uploads\/sites\/18\/2023\/10\/d0721a58dc75094ba9ea4cf8d804d63dbb9cf6fc.webp#fixme\" alt=\"This image shows the equation f of x equals m times x plus b. It shows that m is the value negative three fourths and b is 7. It then shows the equation rewritten as f of x equals negative three fourths times x plus 7.\" width=\"487\" height=\"155\" \/><\/div>\n<p>&nbsp;<\/p>\n<p>So the function is [latex]f(x)=-\\frac{3}{4}x+7[\/latex], and the linear equation would be [latex]y=-\\frac{3}{4}x+7[\/latex].<\/p>\n<section class=\"textbox questionHelp\"><strong>How to: Given the graph of a linear function, write an equation to represent the function.<\/strong><\/p>\n<ol id=\"fs-id1575825\" type=\"1\">\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&nbsp;[latex]y[\/latex]-axis to identify the&nbsp;[latex]y[\/latex]-intercept by visual inspection.<\/li>\n<li>Substitute the slope and&nbsp;[latex]y[\/latex]-intercept into the slope-intercept form of a line equation.<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox example\">Write an equation for a linear function given a graph of [latex]f[\/latex] shown below.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-9348\" src=\"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-content\/uploads\/sites\/18\/2023\/10\/903e1ea392429e5544bbc558c913d95f8a5cea16-293x300.webp#fixme\" alt=\"This figure shows an increasing function graphed on an x y coordinate plane. The x axis is labeled from negative 10 to 10. The y axis is labeled from negative 10 to 10. The function passes through the points (0, 2) and (-2, -4). These points are not labeled on this graph.\" width=\"293\" height=\"300\" \/><\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q981333\">Show Solution<\/button> <\/p>\n<div id=\"q981333\" class=\"hidden-answer\" style=\"display: none\">\n<p>Identify two points on the line, such as [latex](0, 2)[\/latex] and [latex](-2, -4)[\/latex]. Use the points to calculate the slope.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccl} m & = & \\frac{y_2-y_1}{x_2-x_1} \\\\ & = & \\frac{-4-2}{-2-0} \\\\ & = & \\frac{-6}{-2} \\\\ & = & 3 \\end{array}[\/latex]<\/p>\n<p>Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccl} y - y_1 & = & m(x - x_1) \\\\ y - (-4) & = & 3(x - (-2)) \\\\ y + 4 & = & 3(x + 2) \\end{array}[\/latex]<\/p>\n<p>We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccl} y + 4 & = & 3(x + 2) \\\\ y + 4 & = & 3x + 6 \\\\ y & = & 3x + 2 \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\">\n<iframe loading=\"lazy\" id=\"ohm13529\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=13529&theme=lumen&iframe_resize_id=ohm13529&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><br \/>\n<\/section>\n<h2>Writing and Interpreting an Equation for a Linear Function<\/h2>\n<p>Now we can choose which method to use to write equations for linear functions 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. Let&#8217;s try a few more examples when we are given the details of a linear function in different ways.<\/p>\n<section class=\"textbox example\">Suppose Ben starts a company in which he incurs a fixed cost of [latex]$1,250[\/latex] per month for the overhead, which includes his office rent. His production costs are [latex]$37.50[\/latex] per item. Write a linear function [latex]C[\/latex] where [latex]C(x)[\/latex] is the cost for [latex]x[\/latex] items produced in a given month. <\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q981343\">Show Solution<\/button> <\/p>\n<div id=\"q981343\" class=\"hidden-answer\" style=\"display: none\"> The fixed cost is present every month, [latex]$1,250[\/latex]. The costs that can vary include the cost to produce each item, which is [latex]$37.50[\/latex]. The variable cost, called the marginal cost, is represented by [latex]37.5[\/latex]. The cost Ben incurs is the sum of these two costs, represented by [latex]C(x)=1250+37.5x[\/latex]. <strong>Analysis<\/strong> If Ben produces [latex]100[\/latex] items in a month, his monthly cost is found by substituting [latex]100[\/latex] for [latex]x[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccl} C(100) & = & 1250 + 37.5(100) \\\\ & = & 5000 \\\\ \\end{array}[\/latex]<\/div>\n<p>So his monthly cost would be [latex]$5,000[\/latex]. <\/p><\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\">If [latex]f[\/latex] is a linear function, with [latex]f(3)=\u22122[\/latex], and [latex]f(8)=1[\/latex], find an equation for the function in slope-intercept form. <\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q981353\">Show Solution<\/button> <\/p>\n<div id=\"q981353\" class=\"hidden-answer\" style=\"display: none\">\n<p>We can write the given points using coordinates.<\/p>\n<p style=\"text-align: center;\">[latex]f(3) = -2 \\rightarrow (3, -2)[\/latex]<\/p>\n<div style=\"text-align: center;\">[latex]f(8) = 1 \\rightarrow (8, 1)[\/latex]<\/p>\n<p>We can then use the points to calculate the slope.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccl} m & = & \\frac{y_2-y_1}{x_2-x_1} \\\\ & = & \\frac{1-(-2)}{8-3} \\\\ & = & \\frac{3}{5} \\end{array}[\/latex]<\/p>\n<p>Substitute the slope and the coordinates of one of the points into the point-slope form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccl} y - y_1 & = & m(x - x_1) \\\\ y - (-2) & = & \\frac{3}{5}(x - 3) \\end{array}[\/latex]<\/p>\n<p>We can use algebra to rewrite the equation in the slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccl} y + 2 & = & \\frac{3}{5}(x - 3) \\\\ y + 2 & = & \\frac{3}{5}x - \\frac{9}{5} \\\\ y & = & \\frac{3}{5}x - \\frac{19}{5} \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":6,"menu_order":22,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc-attribution\",\"description\":\"Algebra and Trigonometry 2e\",\"author\":\"Jay Abramson\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/algebra-and-trigonometry-2e\/pages\/4-1-linear-functions\",\"project\":\"4.1 Linear Functions\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/algebra-and-trigonometry-2e\/pages\/1-introduction-to-prerequisites\"}]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":185,"module-header":"","content_attributions":[{"type":"cc-attribution","description":"Algebra and Trigonometry 2e","author":"Jay Abramson","organization":"OpenStax","url":"https:\/\/openstax.org\/books\/algebra-and-trigonometry-2e\/pages\/4-1-linear-functions","project":"4.1 Linear Functions","license":"cc-by","license_terms":"Access for free at https:\/\/openstax.org\/books\/algebra-and-trigonometry-2e\/pages\/1-introduction-to-prerequisites"}],"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\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/213"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":0,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/213\/revisions"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/parts\/185"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/213\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapter-type?post=213"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/contributor?post=213"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/license?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}