{"id":104,"date":"2021-01-12T22:19:50","date_gmt":"2021-01-12T22:19:50","guid":{"rendered":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/linear-equations\/"},"modified":"2023-04-19T20:25:57","modified_gmt":"2023-04-19T20:25:57","slug":"linear-equations","status":"publish","type":"chapter","link":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/linear-equations\/","title":{"rendered":"Linear Equations"},"content":{"raw":"<span style=\"display: none;\">\r\n[latexpage]\r\n<\/span>\r\n<div id=\"4d23ed2a-403f-41a4-9665-a77a034c64b1\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\r\n<p id=\"delete_me\">Linear regression for two variables is based on a linear equation with one independent\r\nvariable. The equation has the form:<\/p>\r\n$$y=a+bx$$\r\n\r\nwhere <em data-effect=\"italics\">a<\/em> and <em data-effect=\"italics\">b<\/em> are constant numbers.\r\n<p id=\"element-708\">The variable <strong><em data-effect=\"italics\">x<\/em> is the independent variable, and <em data-effect=\"italics\">y<\/em> is the dependent variable.<\/strong> Typically, you choose a value to substitute for the independent variable and then solve for the dependent variable.<\/p>\r\n\r\n<div id=\"element-906\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.1<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-12\">The following examples are linear equations.<\/p>\r\n$$y=3+2x$$\r\n\r\n$$y=-0.01+1.2x$$\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp88007136\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.1<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-279\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-486\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-156\">Is the following an example of a linear equation?<\/p>\r\n<p id=\"eip-idp75670576\"><em data-effect=\"italics\">y<\/em> = \u20130.125 \u2013 3.5<em data-effect=\"italics\">x<\/em><\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<p id=\"eip-498\">The graph of a linear equation of the form <em data-effect=\"italics\">y<\/em> = <em data-effect=\"italics\">a<\/em> + <em data-effect=\"italics\">bx<\/em> is a <strong>straight line<\/strong>. Any line that is not vertical can be described by some linear equation.<\/p>\r\n\r\n<div id=\"element-44\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.2<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"eip-153\">Graph the equation <em data-effect=\"italics\">y<\/em> = \u20131 + 2<em data-effect=\"italics\">x<\/em>.<\/p>\r\n\r\n<div id=\"linrgs_lineq1\" class=\"os-figure\">\r\n<figure data-id=\"linrgs_lineq1\"><span id=\"idp38882144\" data-type=\"media\" data-alt=\"Graph of the equation y = -1 + 2x. This is a straight line that crosses the y-axis at -1 and is sloped up and to the right, rising 2 units for every one unit of run.\">\r\n<img class=\"alignnone wp-image-578 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94.jpg\" alt=\"Graph of the equation y = -1 + 2x. This is a straight line that crosses the y-axis at -1 and is sloped up and to the right, rising 2 units for every one unit of run.\" width=\"703\" height=\"401\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.2<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp3088096\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.2<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-46\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-373\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-763\">Is the following an example of a linear equation? Why or why not?<\/p>\r\n\r\n<div id=\"fs-idp22692736\" class=\"os-figure\">\r\n<figure data-id=\"fs-idp22692736\"><span id=\"eip-idp139727523885744\" data-type=\"media\" data-alt=\"This is a graph of an equation. The x-axis is labeled in intervals of 2 from 0 - 14; the y-axis is labeled in intervals of 2 from 0 - 12. The equation's graph is a curve that crosses the y-axis at 2 and curves upward and to the right.\" data-display=\"block\">\r\n<img class=\"alignnone wp-image-580 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de.png\" alt=\"This is a graph of an equation. The x-axis is labeled in intervals of 2 from 0 - 14; the y-axis is labeled in intervals of 2 from 0 - 12. The equation's graph is a curve that crosses the y-axis at 2 and curves upward and to the right.\" width=\"488\" height=\"333\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.3<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-913\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.3<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-292\">Aaron's Word Processing Service (AWPS) does word processing. The rate for services is \\$32 per hour plus a \\$31.50 one-time charge. The total cost to a customer depends on the number of hours it takes to complete the job.<\/p>\r\n\r\n<div id=\"element-455\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"idp59356256\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-60\">Find the equation that expresses the <strong>total cost<\/strong> in terms of the <strong>number of hours<\/strong> required to complete the job.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"idp59359008\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">12.3<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-337\">Let <em data-effect=\"italics\">x<\/em> = the number of hours it takes to get the job done.\r\n<span data-type=\"newline\">\r\n<\/span>Let <em data-effect=\"italics\">y<\/em> = the total cost to the customer.<\/p>\r\n<p id=\"element-456\">The \\$31.50 is a fixed cost. If it takes <em data-effect=\"italics\">x<\/em> hours to complete the job, then (32)(<em data-effect=\"italics\">x<\/em>) is the cost of the word processing only. The total cost is: <em data-effect=\"italics\">y<\/em> = 31.50 + 32<em data-effect=\"italics\">x<\/em><\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm27179040\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.3<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-977\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-161\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-101\">Emma\u2019s Extreme Sports hires hang-gliding instructors and pays them a fee of \\$50 per class as well as $20 per student in the class. The total cost Emma pays depends on the number of students in a class. Find the equation that expresses the total cost in terms of the number of students in a class.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<section id=\"fs-idm35899664\" data-depth=\"1\">\r\n<h3 data-type=\"title\">Slope and <em data-effect=\"italics\">Y<\/em>-Intercept of a Linear Equation<\/h3>\r\n<p id=\"fs-idp15969440\">For the linear equation <em data-effect=\"italics\">y<\/em> = <em data-effect=\"italics\">a<\/em> + <em data-effect=\"italics\">bx<\/em>, <em data-effect=\"italics\">b<\/em> = slope and <em data-effect=\"italics\">a<\/em> = <em data-effect=\"italics\">y<\/em>-intercept. From algebra recall that the slope is a number that describes the steepness of a line, and the <em data-effect=\"italics\">y<\/em>-intercept is the <em data-effect=\"italics\">y<\/em> coordinate of the point (0, <em data-effect=\"italics\">a<\/em>) where the line crosses the <em data-effect=\"italics\">y<\/em>-axis.<\/p>\r\n\r\n<div id=\"linrgs_slope1\" class=\"os-figure\">\r\n<figure data-id=\"linrgs_slope1\"><span id=\"idp66522560a\" data-type=\"media\" data-alt=\"Three possible graphs of the equation y = a + bx. For the first graph, (a), b &gt; 0 and so the line slopes upward to the right. For the second, b = 0 and the graph of the equation is a horizontal line. In the third graph, (c), b &lt; 0 and the line slopes downward to the right.\"><img class=\"alignnone wp-image-581 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9.jpg\" alt=\"Three possible graphs of the equation y = a + bx. For the first graph, (a), b &gt; 0 and so the line slopes upward to the right. For the second, b = 0 and the graph of the equation is a horizontal line. In the third graph, (c), b &lt; 0 and the line slopes downward to the right.\" width=\"975\" height=\"229\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.4<\/span> <span class=\"os-caption\">Three possible graphs of <em data-effect=\"italics\">y<\/em> = <em data-effect=\"italics\">a<\/em> + <em data-effect=\"italics\">bx<\/em>. (a) If <em data-effect=\"italics\">b<\/em> &gt; 0, the line slopes upward to the right. (b) If <em data-effect=\"italics\">b<\/em> = 0, the line is horizontal. (c) If <em data-effect=\"italics\">b<\/em> &lt; 0, the line slopes downward to the right.<\/span><\/div>\r\n<\/div>\r\n<div id=\"element-201\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.4<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-693\">Svetlana tutors to make extra money for college. For each tutoring session, she charges a one-time fee of \\$25 plus \\$15 per hour of tutoring. A linear equation that expresses the total amount of money Svetlana earns for each session she tutors is <em data-effect=\"italics\">y<\/em> = 25 + 15<em data-effect=\"italics\">x<\/em>.<\/p>\r\n\r\n<div id=\"element-00112\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"idp139982000\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-71\">What are the independent and dependent variables? What is the <em data-effect=\"italics\">y<\/em>-intercept and what is the slope? Interpret them using complete sentences.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"idp27992816\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">12.4<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-88\">The independent variable (<em data-effect=\"italics\">x<\/em>) is the number of hours Svetlana tutors each session. The dependent variable (<em data-effect=\"italics\">y<\/em>) is the amount, in dollars, Svetlana earns for each session.<\/p>\r\n<p id=\"element-9\">The <em data-effect=\"italics\">y<\/em>-intercept is 25 (<em data-effect=\"italics\">a<\/em> = 25). At the start of the tutoring session, Svetlana charges a one-time fee of \\$25 (this is when <em data-effect=\"italics\">x<\/em> = 0). The slope is 15 (<em data-effect=\"italics\">b<\/em> = 15). For each session, Svetlana earns \\$15 for each hour she tutors.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp5590144\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.4<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-972\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-854\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-379\">Ethan repairs household appliances like dishwashers and refrigerators. For each visit, he charges \\$25 plus \\$20 per hour of work. A linear equation that expresses the total amount of money Ethan earns per visit is <em data-effect=\"italics\">y<\/em> = 25 + 20<em data-effect=\"italics\">x<\/em>.<\/p>\r\n<p id=\"eip-idm158116832\">What are the independent and dependent variables? What is the <em data-effect=\"italics\">y<\/em>-intercept and what is the slope? Interpret them using complete sentences.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>","rendered":"<p><span style=\"display: none;\"><br \/>\n[latexpage]<br \/>\n<\/span><\/p>\n<div id=\"4d23ed2a-403f-41a4-9665-a77a034c64b1\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\n<p id=\"delete_me\">Linear regression for two variables is based on a linear equation with one independent<br \/>\nvariable. The equation has the form:<\/p>\n<p>$$y=a+bx$$<\/p>\n<p>where <em data-effect=\"italics\">a<\/em> and <em data-effect=\"italics\">b<\/em> are constant numbers.<\/p>\n<p id=\"element-708\">The variable <strong><em data-effect=\"italics\">x<\/em> is the independent variable, and <em data-effect=\"italics\">y<\/em> is the dependent variable.<\/strong> Typically, you choose a value to substitute for the independent variable and then solve for the dependent variable.<\/p>\n<div id=\"element-906\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.1<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-12\">The following examples are linear equations.<\/p>\n<p>$$y=3+2x$$<\/p>\n<p>$$y=-0.01+1.2x$$<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp88007136\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.1<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-279\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-486\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-156\">Is the following an example of a linear equation?<\/p>\n<p id=\"eip-idp75670576\"><em data-effect=\"italics\">y<\/em> = \u20130.125 \u2013 3.5<em data-effect=\"italics\">x<\/em><\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"eip-498\">The graph of a linear equation of the form <em data-effect=\"italics\">y<\/em> = <em data-effect=\"italics\">a<\/em> + <em data-effect=\"italics\">bx<\/em> is a <strong>straight line<\/strong>. Any line that is not vertical can be described by some linear equation.<\/p>\n<div id=\"element-44\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.2<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"eip-153\">Graph the equation <em data-effect=\"italics\">y<\/em> = \u20131 + 2<em data-effect=\"italics\">x<\/em>.<\/p>\n<div id=\"linrgs_lineq1\" class=\"os-figure\">\n<figure data-id=\"linrgs_lineq1\"><span id=\"idp38882144\" data-type=\"media\" data-alt=\"Graph of the equation y = -1 + 2x. This is a straight line that crosses the y-axis at -1 and is sloped up and to the right, rising 2 units for every one unit of run.\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-578 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94.jpg\" alt=\"Graph of the equation y = -1 + 2x. This is a straight line that crosses the y-axis at -1 and is sloped up and to the right, rising 2 units for every one unit of run.\" width=\"703\" height=\"401\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94.jpg 703w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94-300x171.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94-65x37.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94-225x128.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/58c6fc49ff4d159b3739185a0969b76ec243ea94-350x200.jpg 350w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.2<\/span><\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp3088096\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.2<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-46\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-373\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-763\">Is the following an example of a linear equation? Why or why not?<\/p>\n<div id=\"fs-idp22692736\" class=\"os-figure\">\n<figure data-id=\"fs-idp22692736\"><span id=\"eip-idp139727523885744\" data-type=\"media\" data-alt=\"This is a graph of an equation. The x-axis is labeled in intervals of 2 from 0 - 14; the y-axis is labeled in intervals of 2 from 0 - 12. The equation's graph is a curve that crosses the y-axis at 2 and curves upward and to the right.\" data-display=\"block\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-580 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de.png\" alt=\"This is a graph of an equation. The x-axis is labeled in intervals of 2 from 0 - 14; the y-axis is labeled in intervals of 2 from 0 - 12. The equation's graph is a curve that crosses the y-axis at 2 and curves upward and to the right.\" width=\"488\" height=\"333\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de.png 488w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de-300x205.png 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de-65x44.png 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de-225x154.png 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/4daa281de84a53ce9a4a47f1375057b29ceb86de-350x239.png 350w\" sizes=\"auto, (max-width: 488px) 100vw, 488px\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.3<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-913\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.3<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-292\">Aaron&#8217;s Word Processing Service (AWPS) does word processing. The rate for services is \\$32 per hour plus a \\$31.50 one-time charge. The total cost to a customer depends on the number of hours it takes to complete the job.<\/p>\n<div id=\"element-455\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"idp59356256\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-60\">Find the equation that expresses the <strong>total cost<\/strong> in terms of the <strong>number of hours<\/strong> required to complete the job.<\/p>\n<\/div>\n<\/div>\n<div id=\"idp59359008\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">12.3<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-337\">Let <em data-effect=\"italics\">x<\/em> = the number of hours it takes to get the job done.<br \/>\n<span data-type=\"newline\"><br \/>\n<\/span>Let <em data-effect=\"italics\">y<\/em> = the total cost to the customer.<\/p>\n<p id=\"element-456\">The \\$31.50 is a fixed cost. If it takes <em data-effect=\"italics\">x<\/em> hours to complete the job, then (32)(<em data-effect=\"italics\">x<\/em>) is the cost of the word processing only. The total cost is: <em data-effect=\"italics\">y<\/em> = 31.50 + 32<em data-effect=\"italics\">x<\/em><\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm27179040\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.3<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-977\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-161\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-101\">Emma\u2019s Extreme Sports hires hang-gliding instructors and pays them a fee of \\$50 per class as well as $20 per student in the class. The total cost Emma pays depends on the number of students in a class. Find the equation that expresses the total cost in terms of the number of students in a class.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"fs-idm35899664\" data-depth=\"1\">\n<h3 data-type=\"title\">Slope and <em data-effect=\"italics\">Y<\/em>-Intercept of a Linear Equation<\/h3>\n<p id=\"fs-idp15969440\">For the linear equation <em data-effect=\"italics\">y<\/em> = <em data-effect=\"italics\">a<\/em> + <em data-effect=\"italics\">bx<\/em>, <em data-effect=\"italics\">b<\/em> = slope and <em data-effect=\"italics\">a<\/em> = <em data-effect=\"italics\">y<\/em>-intercept. From algebra recall that the slope is a number that describes the steepness of a line, and the <em data-effect=\"italics\">y<\/em>-intercept is the <em data-effect=\"italics\">y<\/em> coordinate of the point (0, <em data-effect=\"italics\">a<\/em>) where the line crosses the <em data-effect=\"italics\">y<\/em>-axis.<\/p>\n<div id=\"linrgs_slope1\" class=\"os-figure\">\n<figure data-id=\"linrgs_slope1\"><span id=\"idp66522560a\" data-type=\"media\" data-alt=\"Three possible graphs of the equation y = a + bx. For the first graph, (a), b &gt; 0 and so the line slopes upward to the right. For the second, b = 0 and the graph of the equation is a horizontal line. In the third graph, (c), b &lt; 0 and the line slopes downward to the right.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-581 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9.jpg\" alt=\"Three possible graphs of the equation y = a + bx. For the first graph, (a), b &gt; 0 and so the line slopes upward to the right. For the second, b = 0 and the graph of the equation is a horizontal line. In the third graph, (c), b &lt; 0 and the line slopes downward to the right.\" width=\"975\" height=\"229\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9.jpg 975w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9-300x70.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9-768x180.jpg 768w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9-65x15.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9-225x53.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/917c2e46d011f6c189abf15b143542d3739078e9-350x82.jpg 350w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">12.4<\/span> <span class=\"os-caption\">Three possible graphs of <em data-effect=\"italics\">y<\/em> = <em data-effect=\"italics\">a<\/em> + <em data-effect=\"italics\">bx<\/em>. (a) If <em data-effect=\"italics\">b<\/em> &gt; 0, the line slopes upward to the right. (b) If <em data-effect=\"italics\">b<\/em> = 0, the line is horizontal. (c) If <em data-effect=\"italics\">b<\/em> &lt; 0, the line slopes downward to the right.<\/span><\/div>\n<\/div>\n<div id=\"element-201\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">12.4<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-693\">Svetlana tutors to make extra money for college. For each tutoring session, she charges a one-time fee of \\$25 plus \\$15 per hour of tutoring. A linear equation that expresses the total amount of money Svetlana earns for each session she tutors is <em data-effect=\"italics\">y<\/em> = 25 + 15<em data-effect=\"italics\">x<\/em>.<\/p>\n<div id=\"element-00112\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"idp139982000\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-71\">What are the independent and dependent variables? What is the <em data-effect=\"italics\">y<\/em>-intercept and what is the slope? Interpret them using complete sentences.<\/p>\n<\/div>\n<\/div>\n<div id=\"idp27992816\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">12.4<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-88\">The independent variable (<em data-effect=\"italics\">x<\/em>) is the number of hours Svetlana tutors each session. The dependent variable (<em data-effect=\"italics\">y<\/em>) is the amount, in dollars, Svetlana earns for each session.<\/p>\n<p id=\"element-9\">The <em data-effect=\"italics\">y<\/em>-intercept is 25 (<em data-effect=\"italics\">a<\/em> = 25). At the start of the tutoring session, Svetlana charges a one-time fee of \\$25 (this is when <em data-effect=\"italics\">x<\/em> = 0). The slope is 15 (<em data-effect=\"italics\">b<\/em> = 15). For each session, Svetlana earns \\$15 for each hour she tutors.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp5590144\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">12.4<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-972\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-854\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-379\">Ethan repairs household appliances like dishwashers and refrigerators. For each visit, he charges \\$25 plus \\$20 per hour of work. A linear equation that expresses the total amount of money Ethan earns per visit is <em data-effect=\"italics\">y<\/em> = 25 + 20<em data-effect=\"italics\">x<\/em>.<\/p>\n<p id=\"eip-idm158116832\">What are the independent and dependent variables? What is the <em data-effect=\"italics\">y<\/em>-intercept and what is the slope? Interpret them using complete sentences.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n","protected":false},"author":1,"menu_order":1,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-104","chapter","type-chapter","status-publish","hentry"],"part":103,"_links":{"self":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/104\/revisions"}],"predecessor-version":[{"id":583,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/104\/revisions\/583"}],"part":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/parts\/103"}],"metadata":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/104\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=104"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/contributor?post=104"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/license?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}