{"id":931,"date":"2021-09-26T02:58:23","date_gmt":"2021-09-26T02:58:23","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/?post_type=chapter&#038;p=931"},"modified":"2021-12-10T22:53:58","modified_gmt":"2021-12-10T22:53:58","slug":"6-5-2-construct-an-equation-given-one-or-two-points","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/chapter\/6-5-2-construct-an-equation-given-one-or-two-points\/","title":{"raw":"6.5.2: Constructing an Equation Given Points on a Line","rendered":"6.5.2: Constructing an Equation Given Points on a Line"},"content":{"raw":"<div class=\"wrapper\">\r\n<div id=\"wrap\">\r\n<div id=\"content\" role=\"main\">\r\n<div id=\"post-391\" class=\"standard post-391 chapter type-chapter status-publish hentry\">\r\n<div class=\"entry-content\">\r\n<div class=\"bcc-box bcc-highlight\">\r\n<h3>Learning Outcomes<\/h3>\r\n<ul>\r\n \t<li>Write the equation of a line using slope and a point on the line<\/li>\r\n \t<li>Write the equation of a line using two points on the line<\/li>\r\n<\/ul>\r\n<\/div>\r\n<h2 id=\"Find the Equation of a Line Given the Slope and a Point on the Line\">Finding the Equation of a Line<\/h2>\r\n<h3>Given the Slope and a Point on the Line<\/h3>\r\nUsing the slope-intercept equation of a line is straight forward when we know both the slope, [latex]m[\/latex], and the [latex]y[\/latex]-intercept, [latex](0, b)[\/latex], but what if we know the slope and a point on the line that is not the [latex]y[\/latex]-intercept?\r\n\r\nFor example, suppose we know that a line has a slope of [latex]5[\/latex] and that the point [latex](2, 1)[\/latex] lies on the line. To lie on the line\u00a0[latex](2, 1)[\/latex] must satisfy the linear equation [latex]y=5x+b[\/latex]. Remember we know that [latex]m=5[\/latex]. In other words, the point [latex](2, 1)[\/latex] must be a solution of the equation [latex]y=5x+b[\/latex], since it lies on the line. If we replace [latex]x[\/latex] and [latex]y[\/latex] with [latex]2[\/latex] and\u00a0[latex]1[\/latex], respectively, we can solve the resulting equation for\u00a0[latex]b[\/latex].\r\n\r\n[latex]\\begin{equation}\\begin{aligned}y&amp; = mx+b\\;\\;\\;\\;\\;\\;m=5 \\text{ and } (2,1)\\text{ is an }(x, y)\\text{ solution} \\\\ 1&amp; = 5(2)+b \\\\1 &amp; = 10 + b \\\\ -9 &amp; = b\\end{aligned}\\end{equation}[\/latex]\r\n\r\nSo, since\u00a0[latex]m=5[\/latex] and\u00a0[latex]b=-9[\/latex], the equation of the line is\u00a0[latex]y=5x-9[\/latex].\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example<\/h3>\r\nDetermine the equation of the line that has a slope of [latex]3[\/latex] and contains the point [latex](1,4)[\/latex].\r\n<h4>Solution<\/h4>\r\nSubstitute the slope (m) into\u00a0[latex]y=mx+b[\/latex]:\r\n<p style=\"text-align: center;\">[latex]y=3x+b[\/latex]<\/p>\r\nSubstitute the point [latex](1,4)[\/latex] for [latex]x[\/latex] and [latex]y[\/latex]:\r\n<p style=\"text-align: center;\">[latex]4=3\\left(1\\right)+b[\/latex]<\/p>\r\nSolve for b:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}4=3+b\\\\1=b\\end{array}[\/latex]<\/p>\r\nWrite the equation of the line [latex]y=mx+b[\/latex]\u00a0with [latex]m=3[\/latex]\u00a0and [latex]b=1[\/latex].\r\n<h4>Answer<\/h4>\r\n[latex]y=3x+1[\/latex]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\nTo confirm our algebra, we can check by graphing the equation [latex]y=3x+1[\/latex]. The equation checks because when graphed it passes through the point [latex](1,4)[\/latex].\r\n<div class=\"wp-nocaption aligncenter\"><img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064327\/image045.jpg\" alt=\"An uphill line passes through the y-intercept of (0,1) and the point (1,4). The rise is 3 and the run is 1.\" width=\"348\" height=\"349\" \/><\/div>\r\n&nbsp;\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example<\/h3>\r\nDetermine the equation of the line that has a slope of [latex]\\frac{7}{8}[\/latex]\u00a0and contains the point [latex]\\left(4,\\frac{5}{4}\\right)[\/latex].\r\n<h4>Solution<\/h4>\r\nSubstitute the slope (m) into [latex]y=mx+b[\/latex]:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=mx+b\\\\\\\\y=\\frac{7}{8}x+b\\end{array}[\/latex]<\/p>\r\nSubstitute the point [latex]\\left(4,\\frac{5}{4}\\right)[\/latex]\u00a0for x and y:\r\n<p style=\"text-align: center;\">[latex]\\frac{5}{4}=\\frac{7}{8}\\left(4\\right)+b[\/latex]<\/p>\r\nSolve for b:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\frac{5}{4}=\\frac{28}{8}+b\\\\\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\frac{5}{4}=\\frac{14}{4}+b\\\\\\\\\\frac{5}{4}-\\frac{14}{4}=\\frac{14}{4}-\\frac{14}{4}+b\\\\\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-\\frac{9}{4}=b\\end{array}[\/latex]<\/p>\r\nWrite the equation of the line [latex]y=mx+b[\/latex] with [latex] \\displaystyle m=\\frac{7}{8}[\/latex] and [latex] \\displaystyle b=-\\frac{9}{4}[\/latex].\r\n<h4>Answer<\/h4>\r\n[latex]y=\\frac{7}{8}x-\\frac{9}{4}[\/latex]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It<\/h3>\r\nWrite the equation of the line that has a slope of [latex]\\frac{3}{2}[\/latex]\u00a0and contains the point [latex]\\left(2,5\\right)[\/latex].\r\n\r\n[reveal-answer q=\"hjm698\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm698\"]\r\n\r\n[latex]y=\\frac{3}{2}x+2[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n&nbsp;\r\n<p id=\"video2\">Watch the video below for another example of how to find the equation given the slope and a point on the line.<\/p>\r\n<iframe src=\"https:\/\/www.youtube.com\/embed\/URYnKqEctgc?feature=oembed&amp;rel=0\" width=\"500\" height=\"375\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n<iframe id=\"ohm31488\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=31488&amp;theme=oea&amp;iframe_resize_id=ohm31488&amp;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe>\r\n\r\n<\/div>\r\n<h3 id=\"Find the Equation of a Line Given Two Points on the Line\">Given Two Points on the Line<\/h3>\r\nLet\u2019s suppose now that we don\u2019t know either the slope nor the [latex]y[\/latex]-intercept, but we do know the location of two points on the line. In this case, we first need to find the slope of the line by using the two points, then we will know the slope and a point (actually 2 points).\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example<\/h3>\r\nDetermine the equation of the line that passes through the points [latex](2,1)[\/latex] and [latex](\u22121,\u22125)[\/latex].\r\n<h4>Solution<\/h4>\r\nFind the slope using the given points:\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\frac{1-(-5)}{2-(-1)}=\\frac{6}{3}=2[\/latex]<\/p>\r\nSubstitute the slope (m) into [latex]y=mx+b[\/latex]:\r\n<p style=\"text-align: center;\">[latex]y=2x+b[\/latex]<\/p>\r\nSubstitute the coordinates of either point for [latex]x[\/latex] and [latex]y[\/latex]\u2013 this example uses [latex](2, 1)[\/latex].\r\n<p style=\"text-align: center;\">[latex]1=2(2)+b[\/latex]<\/p>\r\nSolve for b.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,1=4+b\\\\\u22123=b\\end{array}[\/latex]<\/p>\r\nWrite the equation of the line [latex]y=mx+b[\/latex]\u00a0with [latex]m=2[\/latex] and [latex]b=-3[\/latex].\r\n<h4>Answer<\/h4>\r\n[latex]y=2x-3[\/latex]\r\n\r\n<\/div>\r\n<\/div>\r\nNotice that is doesn\u2019t matter which point we use when we substitute and solve for b\u2014we get the same result for b either way. If we think about it, we have to because both points lie on the line and are therefore solutions of the equation. In the example above, we substituted the coordinates of the point [latex](2, 1)[\/latex] in the equation [latex]y=2x+b[\/latex]. Let\u2019s start with the same equation, [latex]y=2x+b[\/latex], but substitute in [latex](\u22121,\u22125)[\/latex]:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,\\,y=2x+b\\\\-5=2\\left(-1\\right)+b\\\\-5=-2+b\\\\-3=b\\end{array}[\/latex]<\/p>\r\nThe final equation is the same: [latex]y=2x\u20133[\/latex].\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example<\/h3>\r\nDetermine the equation of the line that passes through the points [latex](-4.6,6.45)[\/latex] and [latex](1.15,7.6)[\/latex].\r\n<h4>Solution<\/h4>\r\nFind the slope using the given points:\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\frac{7.6-6.45}{1.15-(-4.6)}=\\frac{1.15}{5.75}=0.2[\/latex]<\/p>\r\nSubstitute the slope (m) into [latex] \\displaystyle y=mx+b[\/latex]:\r\n<p style=\"text-align: center;\">[latex] \\displaystyle y=0.2x+b[\/latex]<\/p>\r\nSubstitute either point for [latex]x[\/latex] and [latex]y[\/latex]\u2014this example uses [latex](1.15,7.6)[\/latex]. Then solve for b:\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\begin{array}{l}\\,\\,\\,\\,\\,\\,7.6\\,\\,=\\,\\,0.2(1.15)+b\\\\\\,\\,\\,\\,\\,\\,7.6\\,\\,=\\,\\,0.23+b\\\\\\,\\,\\,\\,\\,\\,7.6\\,\\,=\\,\\,0.23+b\\\\\\underline{-0.23\\,\\,\\,\\,-0.23}\\\\\\,\\,\\,\\,\\,7.37\\,=\\,\\,b\\end{array}[\/latex]<\/p>\r\nWrite the equation of the line [latex] \\displaystyle y=mx+b[\/latex] with [latex]m=0.2[\/latex] and [latex]b=7.37[\/latex].\r\n<p style=\"text-align: center;\">[latex] \\displaystyle y=0.2x+7.37[\/latex]<\/p>\r\n\r\n<h4>Answer<\/h4>\r\nThe equation of the line that passes through the points [latex](-4.6,6.45)[\/latex] and [latex](1.15,7.6)[\/latex] is [latex]y=0.2x+7.37[\/latex].\r\n\r\n<\/div>\r\n&nbsp;\r\n\r\nWatch the video to see another example.\r\n<iframe src=\"https:\/\/www.youtube.com\/embed\/P1ex_a6iYDo?feature=oembed&amp;rel=0\" width=\"500\" height=\"281\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n<iframe id=\"ohm152704\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=152704&amp;theme=oea&amp;iframe_resize_id=ohm152704&amp;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe>\r\n\r\n<\/div>\r\n&nbsp;\r\n<h3>Given the Graph<\/h3>\r\nIf we are given the graph of a line, we can find its equation by determining the slope and a point on the line.\r\n<div class=\"textbox examples\">\r\n<h3>Example<\/h3>\r\nDetermine the equation of the graphed line:\r\n\r\n<img class=\"aligncenter wp-image-1978 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5676\/2021\/09\/10223428\/y-2x5-Graph-300x281.png\" alt=\"\" width=\"300\" height=\"281\" \/>\r\n<h4>Solution<\/h4>\r\nThe points (0, 5) and (2, 1) lie o the graph.\r\n\r\nFind the slope between (0 5) and (2, 1): run = 2, rise = -4, so [latex]m=\\frac{-4}{2}=-2[\/latex].\r\n\r\nWrite the equation with\u00a0[latex]m=-2[\/latex]:\u00a0 \u00a0 [latex]y = -2x+b[\/latex]\r\n\r\nThe point (0 3) is the y-intercept so [latex]b=3[\/latex]:\u00a0 \u00a0 \u00a0[latex]y = -2x+3[\/latex]\r\n<h4>Answer<\/h4>\r\n[latex]y = -2x+3[\/latex]\r\n\r\n<\/div>\r\n<div class=\"textbox examples\">\r\n<h3>Example<\/h3>\r\nDetermine the equation of the graphed line:\r\n\r\n<img class=\"aligncenter wp-image-1979 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5676\/2021\/09\/10224226\/3x-2y3-graph-281x300.png\" alt=\"3x-2y=3 graph\" width=\"281\" height=\"300\" \/>\r\n<h4>Solution<\/h4>\r\nThe points (-1, 3) and (3, 3) lie on the graph.\r\n\r\nFind the slope between the points: rise = 6, run = 4, so [latex]m=\\frac{6}{4}=\\frac{2}{3}[\/latex]\r\n\r\nWrite the equation with\u00a0[latex]m=\\frac{2}{3}[\/latex]:\u00a0 \u00a0 \u00a0[latex]y=\\frac{2}{3}x+b[\/latex]\r\n\r\nSubstitute [latex](x, y)=(3, 3)[\/latex]:\u00a0 \u00a0 \u00a0[latex]3=\\frac{2}{3}\u00b73+b[\/latex]\r\n\r\nSolve for\u00a0[latex]b[\/latex]:\u00a0 \u00a0 \u00a0 [latex]3=2+b\\\\1=b[\/latex]\r\n\r\nWrite the equation with\u00a0[latex]m=\\frac{2}{3}[\/latex] and\u00a0[latex]b=1[\/latex]:[latex]y=\\frac{2}{3}x+1[\/latex]\r\n<h4>Answer<\/h4>\r\n[latex]b=1[\/latex]:[latex]y=\\frac{2}{3}x+1[\/latex]\r\n\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It<\/h3>\r\nDetermine the equation of the graphed line:\r\n\r\n<img class=\"aligncenter wp-image-1980 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5676\/2021\/09\/10225118\/4x3y2-graph-300x296.png\" alt=\"4x+3y=2 graph\" width=\"300\" height=\"296\" \/>\r\n\r\n[reveal-answer q=\"hjm177\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm177\"][latex]y=-\\frac{4}{3}x+\\frac{2}{3}[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\n&nbsp;","rendered":"<div class=\"wrapper\">\n<div id=\"wrap\">\n<div id=\"content\" role=\"main\">\n<div id=\"post-391\" class=\"standard post-391 chapter type-chapter status-publish hentry\">\n<div class=\"entry-content\">\n<div class=\"bcc-box bcc-highlight\">\n<h3>Learning Outcomes<\/h3>\n<ul>\n<li>Write the equation of a line using slope and a point on the line<\/li>\n<li>Write the equation of a line using two points on the line<\/li>\n<\/ul>\n<\/div>\n<h2 id=\"Find the Equation of a Line Given the Slope and a Point on the Line\">Finding the Equation of a Line<\/h2>\n<h3>Given the Slope and a Point on the Line<\/h3>\n<p>Using the slope-intercept equation of a line is straight forward when we know both the slope, [latex]m[\/latex], and the [latex]y[\/latex]-intercept, [latex](0, b)[\/latex], but what if we know the slope and a point on the line that is not the [latex]y[\/latex]-intercept?<\/p>\n<p>For example, suppose we know that a line has a slope of [latex]5[\/latex] and that the point [latex](2, 1)[\/latex] lies on the line. To lie on the line\u00a0[latex](2, 1)[\/latex] must satisfy the linear equation [latex]y=5x+b[\/latex]. Remember we know that [latex]m=5[\/latex]. In other words, the point [latex](2, 1)[\/latex] must be a solution of the equation [latex]y=5x+b[\/latex], since it lies on the line. If we replace [latex]x[\/latex] and [latex]y[\/latex] with [latex]2[\/latex] and\u00a0[latex]1[\/latex], respectively, we can solve the resulting equation for\u00a0[latex]b[\/latex].<\/p>\n<p>[latex]\\begin{equation}\\begin{aligned}y& = mx+b\\;\\;\\;\\;\\;\\;m=5 \\text{ and } (2,1)\\text{ is an }(x, y)\\text{ solution} \\\\ 1& = 5(2)+b \\\\1 & = 10 + b \\\\ -9 & = b\\end{aligned}\\end{equation}[\/latex]<\/p>\n<p>So, since\u00a0[latex]m=5[\/latex] and\u00a0[latex]b=-9[\/latex], the equation of the line is\u00a0[latex]y=5x-9[\/latex].<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example<\/h3>\n<p>Determine the equation of the line that has a slope of [latex]3[\/latex] and contains the point [latex](1,4)[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>Substitute the slope (m) into\u00a0[latex]y=mx+b[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]y=3x+b[\/latex]<\/p>\n<p>Substitute the point [latex](1,4)[\/latex] for [latex]x[\/latex] and [latex]y[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]4=3\\left(1\\right)+b[\/latex]<\/p>\n<p>Solve for b:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}4=3+b\\\\1=b\\end{array}[\/latex]<\/p>\n<p>Write the equation of the line [latex]y=mx+b[\/latex]\u00a0with [latex]m=3[\/latex]\u00a0and [latex]b=1[\/latex].<\/p>\n<h4>Answer<\/h4>\n<p>[latex]y=3x+1[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>To confirm our algebra, we can check by graphing the equation [latex]y=3x+1[\/latex]. The equation checks because when graphed it passes through the point [latex](1,4)[\/latex].<\/p>\n<div class=\"wp-nocaption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064327\/image045.jpg\" alt=\"An uphill line passes through the y-intercept of (0,1) and the point (1,4). The rise is 3 and the run is 1.\" width=\"348\" height=\"349\" \/><\/div>\n<p>&nbsp;<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example<\/h3>\n<p>Determine the equation of the line that has a slope of [latex]\\frac{7}{8}[\/latex]\u00a0and contains the point [latex]\\left(4,\\frac{5}{4}\\right)[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>Substitute the slope (m) into [latex]y=mx+b[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=mx+b\\\\\\\\y=\\frac{7}{8}x+b\\end{array}[\/latex]<\/p>\n<p>Substitute the point [latex]\\left(4,\\frac{5}{4}\\right)[\/latex]\u00a0for x and y:<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{5}{4}=\\frac{7}{8}\\left(4\\right)+b[\/latex]<\/p>\n<p>Solve for b:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\frac{5}{4}=\\frac{28}{8}+b\\\\\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\frac{5}{4}=\\frac{14}{4}+b\\\\\\\\\\frac{5}{4}-\\frac{14}{4}=\\frac{14}{4}-\\frac{14}{4}+b\\\\\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-\\frac{9}{4}=b\\end{array}[\/latex]<\/p>\n<p>Write the equation of the line [latex]y=mx+b[\/latex] with [latex]\\displaystyle m=\\frac{7}{8}[\/latex] and [latex]\\displaystyle b=-\\frac{9}{4}[\/latex].<\/p>\n<h4>Answer<\/h4>\n<p>[latex]y=\\frac{7}{8}x-\\frac{9}{4}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It<\/h3>\n<p>Write the equation of the line that has a slope of [latex]\\frac{3}{2}[\/latex]\u00a0and contains the point [latex]\\left(2,5\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm698\">Show Answer<\/span><\/p>\n<div id=\"qhjm698\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]y=\\frac{3}{2}x+2[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p id=\"video2\">Watch the video below for another example of how to find the equation given the slope and a point on the line.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/URYnKqEctgc?feature=oembed&amp;rel=0\" width=\"500\" height=\"375\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm31488\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=31488&amp;theme=oea&amp;iframe_resize_id=ohm31488&amp;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h3 id=\"Find the Equation of a Line Given Two Points on the Line\">Given Two Points on the Line<\/h3>\n<p>Let\u2019s suppose now that we don\u2019t know either the slope nor the [latex]y[\/latex]-intercept, but we do know the location of two points on the line. In this case, we first need to find the slope of the line by using the two points, then we will know the slope and a point (actually 2 points).<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example<\/h3>\n<p>Determine the equation of the line that passes through the points [latex](2,1)[\/latex] and [latex](\u22121,\u22125)[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>Find the slope using the given points:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\frac{1-(-5)}{2-(-1)}=\\frac{6}{3}=2[\/latex]<\/p>\n<p>Substitute the slope (m) into [latex]y=mx+b[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]y=2x+b[\/latex]<\/p>\n<p>Substitute the coordinates of either point for [latex]x[\/latex] and [latex]y[\/latex]\u2013 this example uses [latex](2, 1)[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]1=2(2)+b[\/latex]<\/p>\n<p>Solve for b.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,1=4+b\\\\\u22123=b\\end{array}[\/latex]<\/p>\n<p>Write the equation of the line [latex]y=mx+b[\/latex]\u00a0with [latex]m=2[\/latex] and [latex]b=-3[\/latex].<\/p>\n<h4>Answer<\/h4>\n<p>[latex]y=2x-3[\/latex]<\/p>\n<\/div>\n<\/div>\n<p>Notice that is doesn\u2019t matter which point we use when we substitute and solve for b\u2014we get the same result for b either way. If we think about it, we have to because both points lie on the line and are therefore solutions of the equation. In the example above, we substituted the coordinates of the point [latex](2, 1)[\/latex] in the equation [latex]y=2x+b[\/latex]. Let\u2019s start with the same equation, [latex]y=2x+b[\/latex], but substitute in [latex](\u22121,\u22125)[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,\\,y=2x+b\\\\-5=2\\left(-1\\right)+b\\\\-5=-2+b\\\\-3=b\\end{array}[\/latex]<\/p>\n<p>The final equation is the same: [latex]y=2x\u20133[\/latex].<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example<\/h3>\n<p>Determine the equation of the line that passes through the points [latex](-4.6,6.45)[\/latex] and [latex](1.15,7.6)[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>Find the slope using the given points:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\frac{7.6-6.45}{1.15-(-4.6)}=\\frac{1.15}{5.75}=0.2[\/latex]<\/p>\n<p>Substitute the slope (m) into [latex]\\displaystyle y=mx+b[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle y=0.2x+b[\/latex]<\/p>\n<p>Substitute either point for [latex]x[\/latex] and [latex]y[\/latex]\u2014this example uses [latex](1.15,7.6)[\/latex]. Then solve for b:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\begin{array}{l}\\,\\,\\,\\,\\,\\,7.6\\,\\,=\\,\\,0.2(1.15)+b\\\\\\,\\,\\,\\,\\,\\,7.6\\,\\,=\\,\\,0.23+b\\\\\\,\\,\\,\\,\\,\\,7.6\\,\\,=\\,\\,0.23+b\\\\\\underline{-0.23\\,\\,\\,\\,-0.23}\\\\\\,\\,\\,\\,\\,7.37\\,=\\,\\,b\\end{array}[\/latex]<\/p>\n<p>Write the equation of the line [latex]\\displaystyle y=mx+b[\/latex] with [latex]m=0.2[\/latex] and [latex]b=7.37[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle y=0.2x+7.37[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>The equation of the line that passes through the points [latex](-4.6,6.45)[\/latex] and [latex](1.15,7.6)[\/latex] is [latex]y=0.2x+7.37[\/latex].<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Watch the video to see another example.<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/P1ex_a6iYDo?feature=oembed&amp;rel=0\" width=\"500\" height=\"281\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm152704\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=152704&amp;theme=oea&amp;iframe_resize_id=ohm152704&amp;show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Given the Graph<\/h3>\n<p>If we are given the graph of a line, we can find its equation by determining the slope and a point on the line.<\/p>\n<div class=\"textbox examples\">\n<h3>Example<\/h3>\n<p>Determine the equation of the graphed line:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1978 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5676\/2021\/09\/10223428\/y-2x5-Graph-300x281.png\" alt=\"\" width=\"300\" height=\"281\" \/><\/p>\n<h4>Solution<\/h4>\n<p>The points (0, 5) and (2, 1) lie o the graph.<\/p>\n<p>Find the slope between (0 5) and (2, 1): run = 2, rise = -4, so [latex]m=\\frac{-4}{2}=-2[\/latex].<\/p>\n<p>Write the equation with\u00a0[latex]m=-2[\/latex]:\u00a0 \u00a0 [latex]y = -2x+b[\/latex]<\/p>\n<p>The point (0 3) is the y-intercept so [latex]b=3[\/latex]:\u00a0 \u00a0 \u00a0[latex]y = -2x+3[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>[latex]y = -2x+3[\/latex]<\/p>\n<\/div>\n<div class=\"textbox examples\">\n<h3>Example<\/h3>\n<p>Determine the equation of the graphed line:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1979 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5676\/2021\/09\/10224226\/3x-2y3-graph-281x300.png\" alt=\"3x-2y=3 graph\" width=\"281\" height=\"300\" \/><\/p>\n<h4>Solution<\/h4>\n<p>The points (-1, 3) and (3, 3) lie on the graph.<\/p>\n<p>Find the slope between the points: rise = 6, run = 4, so [latex]m=\\frac{6}{4}=\\frac{2}{3}[\/latex]<\/p>\n<p>Write the equation with\u00a0[latex]m=\\frac{2}{3}[\/latex]:\u00a0 \u00a0 \u00a0[latex]y=\\frac{2}{3}x+b[\/latex]<\/p>\n<p>Substitute [latex](x, y)=(3, 3)[\/latex]:\u00a0 \u00a0 \u00a0[latex]3=\\frac{2}{3}\u00b73+b[\/latex]<\/p>\n<p>Solve for\u00a0[latex]b[\/latex]:\u00a0 \u00a0 \u00a0 [latex]3=2+b\\\\1=b[\/latex]<\/p>\n<p>Write the equation with\u00a0[latex]m=\\frac{2}{3}[\/latex] and\u00a0[latex]b=1[\/latex]:[latex]y=\\frac{2}{3}x+1[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>[latex]b=1[\/latex]:[latex]y=\\frac{2}{3}x+1[\/latex]<\/p>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It<\/h3>\n<p>Determine the equation of the graphed line:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1980 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5676\/2021\/09\/10225118\/4x3y2-graph-300x296.png\" alt=\"4x+3y=2 graph\" width=\"300\" height=\"296\" \/><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm177\">Show Answer<\/span><\/p>\n<div id=\"qhjm177\" class=\"hidden-answer\" style=\"display: none\">[latex]y=-\\frac{4}{3}x+\\frac{2}{3}[\/latex]<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\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-931\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Original<\/div><ul class=\"citation-list\"><li>Finding the Equation of a Line. <strong>Authored by<\/strong>: Hazel McKenna and Leo Chang. <strong>Provided by<\/strong>: Utah Valley University. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Lumen Try Its. <strong>Provided by<\/strong>: Lumen Learning. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":370291,"menu_order":10,"template":"","meta":{"_candela_citation":"[{\"type\":\"original\",\"description\":\"Finding the Equation of a Line\",\"author\":\"Hazel McKenna and Leo Chang\",\"organization\":\"Utah Valley University\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"Lumen Try Its\",\"author\":\"\",\"organization\":\"Lumen Learning\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-931","chapter","type-chapter","status-publish","hentry"],"part":659,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/chapters\/931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/wp\/v2\/users\/370291"}],"version-history":[{"count":9,"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/chapters\/931\/revisions"}],"predecessor-version":[{"id":1971,"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/chapters\/931\/revisions\/1971"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/parts\/659"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/chapters\/931\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/wp\/v2\/media?parent=931"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=931"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/wp\/v2\/contributor?post=931"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-introductoryalgebra\/wp-json\/wp\/v2\/license?post=931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}