{"id":363,"date":"2015-10-26T17:26:57","date_gmt":"2015-10-26T17:26:57","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=363"},"modified":"2017-03-31T18:16:25","modified_gmt":"2017-03-31T18:16:25","slug":"finding-a-linear-equation","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/chapter\/finding-a-linear-equation\/","title":{"raw":"Finding a Linear Equation","rendered":"Finding a Linear Equation"},"content":{"raw":"Perhaps the most familiar form of a linear equation is the slope-intercept form, written as [latex]y=mx+b[\/latex], where [latex]m=\\text{slope}[\/latex] and [latex]b=y\\text{-intercept}[\/latex]. Let us begin with the slope.\r\n<h2>The Slope of a Line<\/h2>\r\nThe <strong>slope<\/strong> of a line refers to the ratio of the vertical change in <em>y<\/em> over the horizontal change in <em>x<\/em> between any two points on a line. It indicates the direction in which a line slants as well as its steepness. Slope is sometimes described as rise over run.\r\n<div style=\"text-align: center;\">[latex]m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}[\/latex]<\/div>\r\nIf the slope is positive, the line slants to the right. If the slope is negative, the line slants to the left. As the slope increases, the line becomes steeper. Some examples are shown in Figure 2. The lines indicate the following slopes: [latex]m=-3[\/latex], [latex]m=2[\/latex], and [latex]m=\\frac{1}{3}[\/latex].\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\/09\/25200321\/CNX_CAT_Figure_02_02_002.jpg\" alt=\"Coordinate plane with the x and y axes ranging from negative 10 to 10. Three linear functions are plotted: y = negative 3 times x minus 2; y = 2 times x plus 1; and y = x over 3 plus 2.\" width=\"487\" height=\"442\" data-media-type=\"image\/jpg\" \/> <b>Figure 2<\/b>[\/caption]\r\n\r\n<div class=\"textbox\">\r\n<h3>A General Note: The Slope of a Line<\/h3>\r\nThe slope of a line, <em>m<\/em>, represents the change in <em>y<\/em> over the change in <em>x.<\/em> Given two points, [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] and [latex]\\left({x}_{2},{y}_{2}\\right)[\/latex], the following formula determines the slope of a line containing these points:\r\n<div style=\"text-align: center;\">[latex]m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}[\/latex]<\/div>\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 7: Finding the Slope of a Line Given Two Points<\/h3>\r\nFind the slope of a line that passes through the points [latex]\\left(2,-1\\right)[\/latex] and [latex]\\left(-5,3\\right)[\/latex].\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nWe substitute the <em>y-<\/em>values and the <em>x-<\/em>values into the formula.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}m\\hfill&amp;=\\frac{3-\\left(-1\\right)}{-5 - 2}\\hfill \\\\ \\hfill&amp;=\\frac{4}{-7}\\hfill \\\\ \\hfill&amp;=-\\frac{4}{7}\\hfill \\end{array}[\/latex]<\/div>\r\nThe slope is [latex]-\\frac{4}{7}[\/latex].\r\n\r\n<\/div>\r\n<div>\r\n<h3>Analysis of the Solution<\/h3>\r\nIt does not matter which point is called [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] or [latex]\\left({x}_{2},{y}_{2}\\right)[\/latex]. As long as we are consistent with the order of the <em>y<\/em> terms and the order of the <em>x<\/em> terms in the numerator and denominator, the calculation will yield the same result.\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 7<\/h3>\r\nFind the slope of the line that passes through the points [latex]\\left(-2,6\\right)[\/latex] and [latex]\\left(1,4\\right)[\/latex].\r\n\r\n<a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 8: Identifying the Slope and <em>y-<\/em>intercept of a Line Given an Equation<\/h3>\r\nIdentify the slope and <em>y-<\/em>intercept, given the equation [latex]y=-\\frac{3}{4}x - 4[\/latex].\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nAs the line is in [latex]y=mx+b[\/latex] form, the given line has a slope of [latex]m=-\\frac{3}{4}[\/latex]. The <em>y-<\/em>intercept is [latex]b=-4[\/latex].\r\n\r\n<\/div>\r\n<div>\r\n<h3>Analysis of the Solution<\/h3>\r\nThe <em>y<\/em>-intercept is the point at which the line crosses the <em>y-<\/em>axis. On the <em>y-<\/em>axis, [latex]x=0[\/latex]. We can always identify the <em>y-<\/em>intercept when the line is in slope-intercept form, as it will always equal <em>b.<\/em> Or, just substitute [latex]x=0[\/latex] and solve for <em>y.<\/em>\r\n\r\n<\/div>\r\n<h2>The Point-Slope Formula<\/h2>\r\nGiven the slope and one point on a line, we can find the equation of the line using the point-slope formula.\r\n<div style=\"text-align: center;\">[latex]y-{y}_{1}=m\\left(x-{x}_{1}\\right)[\/latex]<\/div>\r\nThis is an important formula, as it will be used in other areas of college algebra and often in calculus to find the equation of a tangent line. We need only one point and the slope of the line to use the formula. After substituting the slope and the coordinates of one point into the formula, we simplify it and write it in slope-intercept form.\r\n<div class=\"textbox\">\r\n<h3>A General Note: The Point-Slope Formula<\/h3>\r\nGiven one point and the slope, the point-slope formula will lead to the equation of a line:\r\n<div style=\"text-align: center;\">[latex]y-{y}_{1}=m\\left(x-{x}_{1}\\right)[\/latex]<\/div>\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 9: Finding the Equation of a Line Given the Slope and One Point<\/h3>\r\nWrite the equation of the line with slope [latex]m=-3[\/latex] and passing through the point [latex]\\left(4,8\\right)[\/latex]. Write the final equation in slope-intercept form.\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nUsing the point-slope formula, substitute [latex]-3[\/latex] for <em>m <\/em>and the point [latex]\\left(4,8\\right)[\/latex] for [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex].\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y - 8=-3\\left(x - 4\\right)\\hfill \\\\ y - 8=-3x+12\\hfill \\\\ y=-3x+20\\hfill \\end{array}[\/latex]<\/div>\r\n<\/div>\r\n<div>\r\n<h3>Analysis of the Solution<\/h3>\r\nNote that any point on the line can be used to find the equation. If done correctly, the same final equation will be obtained.\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 8<\/h3>\r\nGiven [latex]m=4[\/latex], find the equation of the line in slope-intercept form passing through the point [latex]\\left(2,5\\right)[\/latex].\r\n\r\n<a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 10: Finding the Equation of a Line Passing Through Two Given Points<\/h3>\r\nFind the equation of the line passing through the points [latex]\\left(3,4\\right)[\/latex] and [latex]\\left(0,-3\\right)[\/latex]. Write the final equation in slope-intercept form.\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nFirst, we calculate the slope using the slope formula and two points.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\hfill \\\\ m=\\frac{-3 - 4}{0 - 3}\\hfill \\\\ =\\frac{-7}{-3}\\hfill \\\\ =\\frac{7}{3}\\hfill \\end{array}[\/latex]<\/div>\r\nNext, we use the point-slope formula with the slope of [latex]\\frac{7}{3}[\/latex], and either point. Let\u2019s pick the point [latex]\\left(3,4\\right)[\/latex] for [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex].\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y - 4=\\frac{7}{3}\\left(x - 3\\right)\\hfill \\\\ y - 4=\\frac{7}{3}x - 7\\hfill&amp;\\text{Distribute the }\\frac{7}{3}.\\hfill \\\\ y=\\frac{7}{3}x - 3\\hfill \\end{array}[\/latex]<\/div>\r\nIn slope-intercept form, the equation is written as [latex]y=\\frac{7}{3}x - 3[\/latex].\r\n\r\n<\/div>\r\n<div>\r\n<h3>Analysis of the Solution<\/h3>\r\nTo prove that either point can be used, let us use the second point [latex]\\left(0,-3\\right)[\/latex] and see if we get the same equation.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y-\\left(-3\\right)=\\frac{7}{3}\\left(x - 0\\right)\\hfill \\\\ y+3=\\frac{7}{3}x\\hfill \\\\ y=\\frac{7}{3}x - 3\\hfill \\end{array}[\/latex]<\/div>\r\nWe see that the same line will be obtained using either point. This makes sense because we used both points to calculate the slope.\r\n\r\n<\/div>\r\n<h2>Standard Form of a Line<\/h2>\r\nAnother way that we can represent the equation of a line is in <strong>standard form<\/strong>. Standard form is given as\r\n<div style=\"text-align: center;\">[latex]Ax+By=C[\/latex]<\/div>\r\nwhere [latex]A[\/latex], [latex]B[\/latex], and [latex]C[\/latex] are integers. The <em>x- <\/em>and <em>y-<\/em>terms are on one side of the equal sign and the constant term is on the other side.\r\n<div class=\"textbox shaded\">\r\n<h3>Example 11: Finding the Equation of a Line and Writing It in Standard Form<\/h3>\r\nFind the equation of the line with [latex]m=-6[\/latex] and passing through the point [latex]\\left(\\frac{1}{4},-2\\right)[\/latex]. Write the equation in standard form.\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nWe begin using the point-slope formula.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y-\\left(-2\\right)=-6\\left(x-\\frac{1}{4}\\right)\\hfill \\\\ y+2=-6x+\\frac{3}{2}\\hfill \\end{array}[\/latex]<\/div>\r\nFrom here, we multiply through by 2, as no fractions are permitted in standard form, and then move both variables to the left aside of the equal sign and move the constants to the right.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}2\\left(y+2\\right)=\\left(-6x+\\frac{3}{2}\\right)2\\hfill \\\\ 2y+4=-12x+3\\hfill \\\\ 12x+2y=-1\\hfill \\end{array}[\/latex]<\/div>\r\nThis equation is now written in standard form.\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 9<\/h3>\r\nFind the equation of the line in standard form with slope [latex]m=-\\frac{1}{3}[\/latex] and passing through the point [latex]\\left(1,\\frac{1}{3}\\right)[\/latex].\r\n\r\n<a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>\r\n<h2>Vertical and Horizontal Lines<\/h2>\r\nThe equations of vertical and horizontal lines do not require any of the preceding formulas, although we can use the formulas to prove that the equations are correct. The equation of a <strong>vertical line<\/strong> is given as\r\n<div style=\"text-align: center;\">[latex]x=c[\/latex]<\/div>\r\nwhere <em>c <\/em>is a constant. The slope of a vertical line is undefined, and regardless of the <em>y-<\/em>value of any point on the line, the <em>x-<\/em>coordinate of the point will be <em>c<\/em>.\r\n\r\nSuppose that we want to find the equation of a line containing the following points: [latex]\\left(-3,-5\\right),\\left(-3,1\\right),\\left(-3,3\\right)[\/latex], and [latex]\\left(-3,5\\right)[\/latex]. First, we will find the slope.\r\n<div style=\"text-align: center;\">[latex]m=\\frac{5 - 3}{-3-\\left(-3\\right)}=\\frac{2}{0}[\/latex]<\/div>\r\nZero in the denominator means that the slope is undefined and, therefore, we cannot use the point-slope formula. However, we can plot the points. Notice that all of the <em>x-<\/em>coordinates are the same and we find a vertical line through [latex]x=-3[\/latex].\r\n\r\nThe equation of a <strong>horizontal line<\/strong> is given as\r\n<div style=\"text-align: center;\">[latex]y=c[\/latex]<\/div>\r\nwhere <em>c <\/em>is a constant. The slope of a horizontal line is zero, and for any <em>x-<\/em>value of a point on the line, the <em>y-<\/em>coordinate will be <em>c<\/em>.\r\n\r\nSuppose we want to find the equation of a line that contains the following set of points: [latex]\\left(-2,-2\\right),\\left(0,-2\\right),\\left(3,-2\\right)[\/latex], and [latex]\\left(5,-2\\right)[\/latex]. We can use the point-slope formula. First, we find the slope using any two points on the line.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}m=\\frac{-2-\\left(-2\\right)}{0-\\left(-2\\right)}\\hfill \\\\ =\\frac{0}{2}\\hfill \\\\ =0\\hfill \\end{array}[\/latex]<\/div>\r\nUse any point for [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] in the formula, or use the <em>y<\/em>-intercept.\r\n<div>[latex]\\begin{array}{l}y-\\left(-2\\right)=0\\left(x - 3\\right)\\hfill \\\\ y+2=0\\hfill \\\\ y=-2\\hfill \\end{array}[\/latex]<\/div>\r\nThe graph is a horizontal line through [latex]y=-2[\/latex]. Notice that all of the <em>y-<\/em>coordinates are the same.\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\/09\/25200322\/CNX_CAT_Figure_02_02_003.jpg\" alt=\"Coordinate plane with the x-axis ranging from negative 7 to 4 and the y-axis ranging from negative 4 to 4. The function y = negative 2 and the line x = negative 3 are plotted.\" width=\"487\" height=\"367\" data-media-type=\"image\/jpg\" \/> <b>Figure 3.<\/b> The line <i>x<\/i> = \u22123 is a vertical line. The line <i>y<\/i> = \u22122 is a horizontal line.[\/caption]\r\n\r\n<div class=\"textbox shaded\">\r\n<h3>Example 12: Finding the Equation of a Line Passing Through the Given Points<\/h3>\r\nFind the equation of the line passing through the given points: [latex]\\left(1,-3\\right)[\/latex] and [latex]\\left(1,4\\right)[\/latex].\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nThe <em>x-<\/em>coordinate of both points is 1. Therefore, we have a vertical line, [latex]x=1[\/latex].\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 10<\/h3>\r\nFind the equation of the line passing through [latex]\\left(-5,2\\right)[\/latex] and [latex]\\left(2,2\\right)[\/latex].\r\n\r\n<a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>","rendered":"<p>Perhaps the most familiar form of a linear equation is the slope-intercept form, written as [latex]y=mx+b[\/latex], where [latex]m=\\text{slope}[\/latex] and [latex]b=y\\text{-intercept}[\/latex]. Let us begin with the slope.<\/p>\n<h2>The Slope of a Line<\/h2>\n<p>The <strong>slope<\/strong> of a line refers to the ratio of the vertical change in <em>y<\/em> over the horizontal change in <em>x<\/em> between any two points on a line. It indicates the direction in which a line slants as well as its steepness. Slope is sometimes described as rise over run.<\/p>\n<div style=\"text-align: center;\">[latex]m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}[\/latex]<\/div>\n<p>If the slope is positive, the line slants to the right. If the slope is negative, the line slants to the left. As the slope increases, the line becomes steeper. Some examples are shown in Figure 2. The lines indicate the following slopes: [latex]m=-3[\/latex], [latex]m=2[\/latex], and [latex]m=\\frac{1}{3}[\/latex].<\/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\/09\/25200321\/CNX_CAT_Figure_02_02_002.jpg\" alt=\"Coordinate plane with the x and y axes ranging from negative 10 to 10. Three linear functions are plotted: y = negative 3 times x minus 2; y = 2 times x plus 1; and y = x over 3 plus 2.\" width=\"487\" height=\"442\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 2<\/b><\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>A General Note: The Slope of a Line<\/h3>\n<p>The slope of a line, <em>m<\/em>, represents the change in <em>y<\/em> over the change in <em>x.<\/em> Given two points, [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] and [latex]\\left({x}_{2},{y}_{2}\\right)[\/latex], the following formula determines the slope of a line containing these points:<\/p>\n<div style=\"text-align: center;\">[latex]m=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 7: Finding the Slope of a Line Given Two Points<\/h3>\n<p>Find the slope of a line that passes through the points [latex]\\left(2,-1\\right)[\/latex] and [latex]\\left(-5,3\\right)[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>We substitute the <em>y-<\/em>values and the <em>x-<\/em>values into the formula.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}m\\hfill&=\\frac{3-\\left(-1\\right)}{-5 - 2}\\hfill \\\\ \\hfill&=\\frac{4}{-7}\\hfill \\\\ \\hfill&=-\\frac{4}{7}\\hfill \\end{array}[\/latex]<\/div>\n<p>The slope is [latex]-\\frac{4}{7}[\/latex].<\/p>\n<\/div>\n<div>\n<h3>Analysis of the Solution<\/h3>\n<p>It does not matter which point is called [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] or [latex]\\left({x}_{2},{y}_{2}\\right)[\/latex]. As long as we are consistent with the order of the <em>y<\/em> terms and the order of the <em>x<\/em> terms in the numerator and denominator, the calculation will yield the same result.<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 7<\/h3>\n<p>Find the slope of the line that passes through the points [latex]\\left(-2,6\\right)[\/latex] and [latex]\\left(1,4\\right)[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 8: Identifying the Slope and <em>y-<\/em>intercept of a Line Given an Equation<\/h3>\n<p>Identify the slope and <em>y-<\/em>intercept, given the equation [latex]y=-\\frac{3}{4}x - 4[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>As the line is in [latex]y=mx+b[\/latex] form, the given line has a slope of [latex]m=-\\frac{3}{4}[\/latex]. The <em>y-<\/em>intercept is [latex]b=-4[\/latex].<\/p>\n<\/div>\n<div>\n<h3>Analysis of the Solution<\/h3>\n<p>The <em>y<\/em>-intercept is the point at which the line crosses the <em>y-<\/em>axis. On the <em>y-<\/em>axis, [latex]x=0[\/latex]. We can always identify the <em>y-<\/em>intercept when the line is in slope-intercept form, as it will always equal <em>b.<\/em> Or, just substitute [latex]x=0[\/latex] and solve for <em>y.<\/em><\/p>\n<\/div>\n<h2>The Point-Slope Formula<\/h2>\n<p>Given the slope and one point on a line, we can find the equation of the line using the point-slope formula.<\/p>\n<div style=\"text-align: center;\">[latex]y-{y}_{1}=m\\left(x-{x}_{1}\\right)[\/latex]<\/div>\n<p>This is an important formula, as it will be used in other areas of college algebra and often in calculus to find the equation of a tangent line. We need only one point and the slope of the line to use the formula. After substituting the slope and the coordinates of one point into the formula, we simplify it and write it in slope-intercept form.<\/p>\n<div class=\"textbox\">\n<h3>A General Note: The Point-Slope Formula<\/h3>\n<p>Given one point and the slope, the point-slope formula will lead to the equation of a line:<\/p>\n<div style=\"text-align: center;\">[latex]y-{y}_{1}=m\\left(x-{x}_{1}\\right)[\/latex]<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 9: Finding the Equation of a Line Given the Slope and One Point<\/h3>\n<p>Write the equation of the line with slope [latex]m=-3[\/latex] and passing through the point [latex]\\left(4,8\\right)[\/latex]. Write the final equation in slope-intercept form.<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>Using the point-slope formula, substitute [latex]-3[\/latex] for <em>m <\/em>and the point [latex]\\left(4,8\\right)[\/latex] for [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y - 8=-3\\left(x - 4\\right)\\hfill \\\\ y - 8=-3x+12\\hfill \\\\ y=-3x+20\\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<div>\n<h3>Analysis of the Solution<\/h3>\n<p>Note that any point on the line can be used to find the equation. If done correctly, the same final equation will be obtained.<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 8<\/h3>\n<p>Given [latex]m=4[\/latex], find the equation of the line in slope-intercept form passing through the point [latex]\\left(2,5\\right)[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 10: Finding the Equation of a Line Passing Through Two Given Points<\/h3>\n<p>Find the equation of the line passing through the points [latex]\\left(3,4\\right)[\/latex] and [latex]\\left(0,-3\\right)[\/latex]. Write the final equation in slope-intercept form.<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>First, we calculate the slope using the slope formula and two points.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\hfill \\\\ m=\\frac{-3 - 4}{0 - 3}\\hfill \\\\ =\\frac{-7}{-3}\\hfill \\\\ =\\frac{7}{3}\\hfill \\end{array}[\/latex]<\/div>\n<p>Next, we use the point-slope formula with the slope of [latex]\\frac{7}{3}[\/latex], and either point. Let\u2019s pick the point [latex]\\left(3,4\\right)[\/latex] for [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y - 4=\\frac{7}{3}\\left(x - 3\\right)\\hfill \\\\ y - 4=\\frac{7}{3}x - 7\\hfill&\\text{Distribute the }\\frac{7}{3}.\\hfill \\\\ y=\\frac{7}{3}x - 3\\hfill \\end{array}[\/latex]<\/div>\n<p>In slope-intercept form, the equation is written as [latex]y=\\frac{7}{3}x - 3[\/latex].<\/p>\n<\/div>\n<div>\n<h3>Analysis of the Solution<\/h3>\n<p>To prove that either point can be used, let us use the second point [latex]\\left(0,-3\\right)[\/latex] and see if we get the same equation.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y-\\left(-3\\right)=\\frac{7}{3}\\left(x - 0\\right)\\hfill \\\\ y+3=\\frac{7}{3}x\\hfill \\\\ y=\\frac{7}{3}x - 3\\hfill \\end{array}[\/latex]<\/div>\n<p>We see that the same line will be obtained using either point. This makes sense because we used both points to calculate the slope.<\/p>\n<\/div>\n<h2>Standard Form of a Line<\/h2>\n<p>Another way that we can represent the equation of a line is in <strong>standard form<\/strong>. Standard form is given as<\/p>\n<div style=\"text-align: center;\">[latex]Ax+By=C[\/latex]<\/div>\n<p>where [latex]A[\/latex], [latex]B[\/latex], and [latex]C[\/latex] are integers. The <em>x- <\/em>and <em>y-<\/em>terms are on one side of the equal sign and the constant term is on the other side.<\/p>\n<div class=\"textbox shaded\">\n<h3>Example 11: Finding the Equation of a Line and Writing It in Standard Form<\/h3>\n<p>Find the equation of the line with [latex]m=-6[\/latex] and passing through the point [latex]\\left(\\frac{1}{4},-2\\right)[\/latex]. Write the equation in standard form.<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>We begin using the point-slope formula.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}y-\\left(-2\\right)=-6\\left(x-\\frac{1}{4}\\right)\\hfill \\\\ y+2=-6x+\\frac{3}{2}\\hfill \\end{array}[\/latex]<\/div>\n<p>From here, we multiply through by 2, as no fractions are permitted in standard form, and then move both variables to the left aside of the equal sign and move the constants to the right.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}2\\left(y+2\\right)=\\left(-6x+\\frac{3}{2}\\right)2\\hfill \\\\ 2y+4=-12x+3\\hfill \\\\ 12x+2y=-1\\hfill \\end{array}[\/latex]<\/div>\n<p>This equation is now written in standard form.<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 9<\/h3>\n<p>Find the equation of the line in standard form with slope [latex]m=-\\frac{1}{3}[\/latex] and passing through the point [latex]\\left(1,\\frac{1}{3}\\right)[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<h2>Vertical and Horizontal Lines<\/h2>\n<p>The equations of vertical and horizontal lines do not require any of the preceding formulas, although we can use the formulas to prove that the equations are correct. The equation of a <strong>vertical line<\/strong> is given as<\/p>\n<div style=\"text-align: center;\">[latex]x=c[\/latex]<\/div>\n<p>where <em>c <\/em>is a constant. The slope of a vertical line is undefined, and regardless of the <em>y-<\/em>value of any point on the line, the <em>x-<\/em>coordinate of the point will be <em>c<\/em>.<\/p>\n<p>Suppose that we want to find the equation of a line containing the following points: [latex]\\left(-3,-5\\right),\\left(-3,1\\right),\\left(-3,3\\right)[\/latex], and [latex]\\left(-3,5\\right)[\/latex]. First, we will find the slope.<\/p>\n<div style=\"text-align: center;\">[latex]m=\\frac{5 - 3}{-3-\\left(-3\\right)}=\\frac{2}{0}[\/latex]<\/div>\n<p>Zero in the denominator means that the slope is undefined and, therefore, we cannot use the point-slope formula. However, we can plot the points. Notice that all of the <em>x-<\/em>coordinates are the same and we find a vertical line through [latex]x=-3[\/latex].<\/p>\n<p>The equation of a <strong>horizontal line<\/strong> is given as<\/p>\n<div style=\"text-align: center;\">[latex]y=c[\/latex]<\/div>\n<p>where <em>c <\/em>is a constant. The slope of a horizontal line is zero, and for any <em>x-<\/em>value of a point on the line, the <em>y-<\/em>coordinate will be <em>c<\/em>.<\/p>\n<p>Suppose we want to find the equation of a line that contains the following set of points: [latex]\\left(-2,-2\\right),\\left(0,-2\\right),\\left(3,-2\\right)[\/latex], and [latex]\\left(5,-2\\right)[\/latex]. We can use the point-slope formula. First, we find the slope using any two points on the line.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}m=\\frac{-2-\\left(-2\\right)}{0-\\left(-2\\right)}\\hfill \\\\ =\\frac{0}{2}\\hfill \\\\ =0\\hfill \\end{array}[\/latex]<\/div>\n<p>Use any point for [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] in the formula, or use the <em>y<\/em>-intercept.<\/p>\n<div>[latex]\\begin{array}{l}y-\\left(-2\\right)=0\\left(x - 3\\right)\\hfill \\\\ y+2=0\\hfill \\\\ y=-2\\hfill \\end{array}[\/latex]<\/div>\n<p>The graph is a horizontal line through [latex]y=-2[\/latex]. Notice that all of the <em>y-<\/em>coordinates are the same.<\/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\/09\/25200322\/CNX_CAT_Figure_02_02_003.jpg\" alt=\"Coordinate plane with the x-axis ranging from negative 7 to 4 and the y-axis ranging from negative 4 to 4. The function y = negative 2 and the line x = negative 3 are plotted.\" width=\"487\" height=\"367\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 3.<\/b> The line <i>x<\/i> = \u22123 is a vertical line. The line <i>y<\/i> = \u22122 is a horizontal line.<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 12: Finding the Equation of a Line Passing Through the Given Points<\/h3>\n<p>Find the equation of the line passing through the given points: [latex]\\left(1,-3\\right)[\/latex] and [latex]\\left(1,4\\right)[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>The <em>x-<\/em>coordinate of both points is 1. Therefore, we have a vertical line, [latex]x=1[\/latex].<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 10<\/h3>\n<p>Find the equation of the line passing through [latex]\\left(-5,2\\right)[\/latex] and [latex]\\left(2,2\\right)[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\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-363\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>College Algebra. <strong>Authored by<\/strong>: OpenStax College Algebra. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface<\/a>. <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":276,"menu_order":4,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc-attribution\",\"description\":\"College Algebra\",\"author\":\"OpenStax College Algebra\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\",\"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-363","chapter","type-chapter","status-publish","hentry"],"part":208,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":5,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/363\/revisions"}],"predecessor-version":[{"id":2778,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/363\/revisions\/2778"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/208"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/363\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/media?parent=363"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=363"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/contributor?post=363"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/license?post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}