{"id":6648,"date":"2020-10-03T15:58:15","date_gmt":"2020-10-03T15:58:15","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/slcc-beginalgebra\/?post_type=chapter&#038;p=6648"},"modified":"2026-01-17T06:15:02","modified_gmt":"2026-01-17T06:15:02","slug":"3-4-slope-of-a-line","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/chapter\/3-4-slope-of-a-line\/","title":{"raw":"3.4: Slope of a Line","rendered":"3.4: Slope of a Line"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>section 3.4 Learning Objectives<\/h3>\r\n<strong>3.4: Slope of a Line<\/strong>\r\n<ul>\r\n \t<li>Identify the slope of a line from the graph<\/li>\r\n \t<li>Find the slope of a line given two points on a line<\/li>\r\n \t<li>Find the slope and y-intercept given the equation of a line<\/li>\r\n \t<li>Find the slope of horizontal and vertical lines<\/li>\r\n \t<li>Find the slopes of parallel and perpendicular lines<\/li>\r\n \t<li>Graph a line using the slope and y-intercept<\/li>\r\n<\/ul>\r\n<\/div>\r\n&nbsp;\r\n<h2 id=\"title1\">Identify slope from a graph<\/h2>\r\nThe mathematical definition of <b>slope<\/b> is very similar to our everyday one. In math, slope is used to describe the steepness and direction of lines. By just looking at the graph of a line, you can learn some things about its slope, especially relative to other lines graphed on the same coordinate plane. Consider the graphs of the three lines shown below:\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064257\/image024-1.jpg\" alt=\"Coordinate plane with x-axis and y-axis from negative 4 to 4. Three lines intersect at the origin: Line A has a positive slope, Line B has a steeper positive slope, Line C has a negative slope.\" width=\"345\" height=\"342\" \/>\r\n\r\nFirst, let\u2019s look at lines A and B. If you imagined these lines to be hills, you would say that line B is steeper than line A. Line B has a greater slope than line A.\r\n\r\nNext, notice that lines A and B slant up as you move from left to right. We say these two lines have a positive slope. Line C slants down from left to right. Line C has a negative slope. Using two of the points on the line, you can find the slope of the line by finding the rise and the run. The vertical change between two points is called the <b>rise<\/b>, and the horizontal change is called the <b>run<\/b>. The slope equals the rise divided by the run: [latex] \\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex].\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064258\/image025-1.jpg\" alt=\"A line that crosses the points (2,1) and (6,3). A blue line labeled Rise goes up two units from the point (2,1). A red line labeled Run goes left from the point (6,3) so that it forms a triangle with the main line and the Rise line. A formula says slope equals rise over run.\" width=\"305\" height=\"294\" \/>\r\n\r\nYou can determine the slope of a line from its graph by looking at the rise and run. One characteristic of a line is that its slope is constant all the way along it. So, you can choose any 2 points along the graph of the line to figure out the slope. Let\u2019s look at an example.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 1<\/h3>\r\nUse the graph to find the slope of the line.\r\n\r\n<b><img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064259\/image026-1.jpg\" alt=\"A line that crosses the points (2,1) and (6,3). A blue line labeled Rise goes up two units from the point (2,1). A red line labeled Run goes left from the point (6,3) so that it forms a triangle with the main line and the Rise line. A formula says slope equals rise over run.\" width=\"305\" height=\"294\" \/><\/b>\r\n\r\n[reveal-answer q=\"606472\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"606472\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex]\\text{rise}=2[\/latex]<\/td>\r\n<td>Start from a point on the line, such as [latex](2,1)[\/latex] and move vertically until in line with another point on the line, such as [latex](6,3)[\/latex]. The rise is 2 units. It is positive because you moved up.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{run}=4[\/latex]<\/td>\r\n<td>Next, move horizontally to the point [latex](6,3)[\/latex]. Count the number of units. The run is 4 units. It is positive because you moved to the right.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\text{Slope}=\\frac{2}{4}=\\frac{1}{2}[\/latex]<\/td>\r\n<td>[latex] \\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\n[latex]Slope=\\frac{1}{2}[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\nThis line will have a slope of [latex] \\displaystyle \\frac{1}{2}[\/latex] no matter which two points you pick on the line. Try measuring the slope from the origin, [latex](0,0)[\/latex], to the point [latex](6,3)[\/latex]. You will find that the [latex]\\text{rise}=3[\/latex] and the [latex]\\text{run}=6[\/latex]. The slope is [latex] \\displaystyle \\frac{\\text{rise}}{\\text{run}}=\\frac{3}{6}=\\frac{1}{2}[\/latex]. It is the same!\r\n\r\nLet\u2019s look at another example.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 2<\/h3>\r\nUse the graph to find the slope of the two lines.<b>\u00a0<\/b>\r\n\r\n<b><img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064300\/image027-1.jpg\" alt=\"Two lines are graphed on coordinate plane: one through points (negative 2, 1) and (negative 1, 5) with positive slope, and another through (negative 1, negative 2) and (3, negative 1) with positive slope. The rise and run are labeled on both sets of points.\" width=\"291\" height=\"281\" \/><\/b>\r\n\r\n[reveal-answer q=\"860733\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"860733\"]Notice that both of these lines have positive slopes, so you expect your answers to be positive.\r\n<table>\r\n<tbody>\r\n<tr>\r\n<th style=\"text-align: center;\" colspan=\"2\">Blue line<\/th>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{rise}=4[\/latex]<\/td>\r\n<td>Start with the blue line, going from point [latex](-2,1)[\/latex] to point [latex](-1,5)[\/latex]. This line has a rise of 4 units up, so it is positive.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{run}=1[\/latex]<\/td>\r\n<td>Run is 1 unit to the right, so it is positive.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\text{Slope }=\\frac{4}{1}=4[\/latex]<\/td>\r\n<td>Substitute the values for the rise and run in the formula [latex] \\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex].<\/td>\r\n<\/tr>\r\n<tr>\r\n<th style=\"text-align: center;\" colspan=\"2\">Red line<\/th>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{rise}=1[\/latex]<\/td>\r\n<td>The red line, going from point [latex](-1,-2)[\/latex] to point [latex](3,-1)[\/latex] has a rise of 1 unit.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{run}=4[\/latex]<\/td>\r\n<td>The red line has a run of 4 units.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\text{Slope }=\\frac{1}{4}[\/latex]<\/td>\r\n<td>Substitute the values for the rise and run into the formula [latex] \\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex].<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope of the blue line is 4 and the slope of the red line is [latex]\\frac{1}{4}[\/latex].[\/hidden-answer]\r\n\r\n<\/div>\r\nWhen you look at the two lines, you can see that the blue line is steeper than the red line. It makes sense the value of the slope of the blue line, 4, is greater than the value of the slope of the red line, [latex] \\displaystyle \\frac{1}{4}[\/latex]. The greater the slope, the steeper the line.\r\n\r\nhttps:\/\/youtu.be\/29BpBqsiE5w\r\n<h3 id=\"Using Intercepts to Graph Lines\">Distinguish between graphs of lines with negative and positive slopes<\/h3>\r\nDirection is important when it comes to determining slope. It\u2019s important to pay attention to whether you are moving up, down, left, or right; that is, if you are moving in a positive or negative direction. If you go up to get to your second point, the rise is positive. If you go down to get to your second point, the rise is negative. If you go right to get to your second point, the run is positive. If you go left to get to your second point, the run is negative.\r\n\r\nIn the following two examples, you will see a slope that is positive and one that is negative.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 3 (Advanced)<\/h3>\r\nFind the slope of the line graphed below.\r\n\r\n<b><img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064305\/image029.jpg\" alt=\"Line drawn through the point (-3,-0.25) and (3,4.25).\" width=\"358\" height=\"343\" \/><\/b>\r\n\r\n[reveal-answer q=\"82644\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"82644\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex]\\text{rise}=4.5[\/latex]<\/td>\r\n<td>Start at [latex](-3,-0.25)[\/latex] and rise 4.5. This means moving 4.5 units in a positive direction.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{run}=6[\/latex]<\/td>\r\n<td>From there, run 6 units in a positive direction to [latex](3,4.25)[\/latex].<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\text{Slope}=\\frac{4.5}{6}=0.75[\/latex]<\/td>\r\n<td>[latex]\\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope of the line is 0.75.[\/hidden-answer]\r\n\r\n<\/div>\r\nThe next example shows a line with a negative slope.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 4<\/h3>\r\nFind the slope of the line graphed below.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064301\/image028.jpg\" alt=\"A downward-sloping line that goes through points A and B. Point A is (0,4) and point B is (2,1). The rise goes down three units, and the run goes right 2 units.\" width=\"308\" height=\"297\" \/>\r\n\r\n[reveal-answer q=\"924393\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"924393\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex]\\text{rise}=-3[\/latex]<\/td>\r\n<td>Starting at Point A, [latex](0,4)[\/latex], we must go down 3 units to line up with Point B. This means the rise is [latex]-3[\/latex] since we move 3 units in a negative direction.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\text{run}=2[\/latex]<\/td>\r\n<td>From there, run 2 units in a positive direction to Point B [latex](2,1)[\/latex].<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\text{Slope}=\\frac{-3}{2}[\/latex]<\/td>\r\n<td>[latex] \\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope of the line is [latex]-\\frac{3}{2}[\/latex].[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the example above, you could have also found the slope by starting at point B, rising [latex]+3[\/latex] (up) and then running [latex]-2[\/latex] (left) to arrive at point A. The result is still a slope of [latex]\\displaystyle\\frac{\\text{rise}}{\\text{run}}=\\frac{+3}{-2}=-\\frac{3}{2}[\/latex].\r\n<h2 id=\"title1\">Find the slope given two points on the line<\/h2>\r\nYou\u2019ve seen that you can find the slope of a line on a graph by measuring the rise and the run. You can also find the slope of a line without its graph if you know the coordinates of any two points on that line. Every point has a set of coordinates: an <i>x<\/i>-value and a <i>y<\/i>-value, written as an ordered pair (<i>x<\/i>, <i>y<\/i>). The <i>x<\/i>-value tells you where a point is horizontally. The <i>y-<\/i>value tells you where the point is vertically.\r\n\r\nConsider two points on a line\u2014Point 1 and Point 2. Point 1 has coordinates [latex]\\left(x_{1},y_{1}\\right)[\/latex]\u00a0and Point 2 has coordinates [latex]\\left(x_{2},y_{2}\\right)[\/latex].\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064308\/image031.jpg\" alt=\"A line with its rise and run. The first point on the line is labeled Point 1, or (x1, y1). The second point on the line is labeled Point 2, or (x2,y2). The rise is (y2 minus y1). The run is (x2 minus X1).\" width=\"416\" height=\"401\" \/>\r\n\r\nThe rise is the vertical change between the two points, which is the difference between their <i>y<\/i>-coordinates. That makes the rise [latex]\\left(y_{2}-y_{1}\\right)[\/latex]. The run between these two points is the difference in the <i>x<\/i>-coordinates, or [latex]\\left(x_{2}-x_{1}\\right)[\/latex].\r\n\r\nSo, [latex] \\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}[\/latex] or [latex] \\displaystyle m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}[\/latex]\r\n\r\nIn the example below, you\u2019ll see that the line has two points each indicated as an ordered pair. The point [latex](0,2)[\/latex] is indicated as Point 1, and [latex](\u22122,6)[\/latex] as Point 2. So you are going to move from Point 1 to Point 2. A triangle is drawn in above the line to help illustrate the rise and run.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064310\/image032.jpg\" alt=\"Coordinate plane grid with decreasing line through Point 1 (0,2) and Point 2 (negative 2,6). Rise is 4 and run is negative 2.\" width=\"410\" height=\"396\" \/>\r\n\r\nYou can see from the graph that the rise going from Point 1 to Point 2 is 4, because you are moving 4 units in a positive direction (up). The run is [latex]\u22122[\/latex], because you are then moving in a negative direction (left) 2 units. Using the slope formula,\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}=\\frac{4}{-2}=-2[\/latex].<\/p>\r\nYou do not need the graph to find the slope. You can just use the coordinates, keeping careful track of which is Point 1 and which is Point 2. Let\u2019s organize the information about the two points:\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Name<\/th>\r\n<th>Ordered Pair<\/th>\r\n<th>Coordinates<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>Point 1<\/td>\r\n<td>[latex](0,2)[\/latex]<\/td>\r\n<td>[latex]\\begin{array}{l}x_{1}=0\\\\y_{1}=2\\end{array}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Point 2<\/td>\r\n<td>[latex](\u22122,6)[\/latex]<\/td>\r\n<td>[latex]\\begin{array}{l}x_{2}=-2\\\\y_{2}=6\\end{array}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe slope, [latex]m=\\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\\frac{6-2}{-2-0}=\\frac{4}{-2}=-2[\/latex]. The slope of the line, <i>m<\/i>, is [latex]\u22122[\/latex].\r\n\r\nIt doesn\u2019t matter which point is designated as Point 1 and which is Point 2. You could have called [latex](\u22122,6)[\/latex] Point 1, and [latex](0,2)[\/latex] Point 2. In that\u00a0case, putting the coordinates into the slope formula produces the equation [latex]m=\\frac{2-6}{0-\\left(-2\\right)}=\\frac{-4}{2}=-2[\/latex]. Once again, the slope is [latex]m=-2[\/latex]. That\u2019s the same slope as before. The important thing is to be consistent when you subtract: you must always subtract in the same order.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 5<\/h3>\r\nWhat is the slope of the line that contains the points [latex](5,5)[\/latex] and [latex](4,2)[\/latex]?\r\n\r\n[reveal-answer q=\"666697\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"666697\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}x_{1}=4\\\\y_{1}=2\\end{array}[\/latex]<\/td>\r\n<td>[latex]\\left(4,2\\right)=\\text{Point }1,\\left(x_{1},y_{1}\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}x_{2}=5\\\\y_{2}=5\\end{array}[\/latex]<\/td>\r\n<td>[latex]\\left(5,5\\right)=\\text{Point }2,\\left(x_{2},y_{2}\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}m=\\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\\frac{5-2}{5-4}=\\frac{3}{1}\\\\\\\\m=3\\end{array}[\/latex]<\/td>\r\n<td>Substitute the values into the slope formula and simplify.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope is 3.[\/hidden-answer]\r\n\r\n<\/div>\r\nThe example below shows the solution when you reverse the order of the points, calling [latex](5,5)[\/latex] Point 1 and [latex](4,2)[\/latex] Point 2.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 6<\/h3>\r\nWhat is the slope of the line that contains the points [latex](5,5)[\/latex] and [latex](4,2)[\/latex]?\r\n\r\n[reveal-answer q=\"76013\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"76013\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}x_{1}=5\\\\y_{1}=5\\end{array}[\/latex]<\/td>\r\n<td>[latex](5,5)=\\text{Point }1[\/latex], [latex]\\left(x_{1},y_{1}\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}x_{2}=4\\\\y_{2}=2\\end{array}[\/latex]<\/td>\r\n<td>[latex](4,2)=\\text{Point }2[\/latex], [latex]\\left(x_{2},y_{2}\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}m=\\frac{y_{2}-y_{1}}{{x_2}-x_{1}}\\\\\\\\m=\\frac{2-5}{4-5}=\\frac{-3}{-1}=3\\\\\\\\m=3\\end{array}[\/latex]<\/td>\r\n<td>Substitute the values into the slope formula and simplify.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope is 3.[\/hidden-answer]\r\n\r\n<\/div>\r\nNotice that regardless of which ordered pair is named Point 1 and which is named Point 2, the slope is still 3.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 7 (Advanced)<\/h3>\r\nWhat is the slope of the line that contains the points [latex](3,-6.25)[\/latex] and [latex](-1,8.5)[\/latex]?\r\n\r\n[reveal-answer q=\"291649\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"291649\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex]\\begin{array}{l}x_{1}=3\\\\y_{1}=-6.25\\end{array}[\/latex]<\/td>\r\n<td>[latex](3,-6.25)=\\text{Point }1[\/latex], [latex] \\displaystyle ({{x}_{1}},{{y}_{1}})[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\begin{array}{l}{{x}_{2}}=-1\\\\{{y}_{2}}=8.5\\end{array}[\/latex]<\/td>\r\n<td>[latex](-1,8.5)=\\text{Point }2[\/latex], [latex] \\displaystyle ({{x}_{2}},{{y}_{2}})[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\begin{array}{l}m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\m=\\frac{8.5-(-6.25)}{-1-3}\\\\\\\\m=\\frac{14.75}{-4}\\\\\\\\m=-3.6875\\end{array}[\/latex]<\/td>\r\n<td>Substitute the values into the slope formula and simplify.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope is [latex]-3.6875[\/latex].[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 id=\"video2\"><\/h2>\r\nhttps:\/\/youtu.be\/ZW7rQa8SJSU\r\n<h2><strong>Find the slope and y-intercept given the equation of the line:<\/strong><\/h2>\r\nWe can also determine the slope of a line from the equation of the line.\u00a0 To do this, we first need to write the equation in Slope-Intercept Form.\r\n<p style=\"text-align: center;\"><strong>Slope-Intercept Form: [latex]y=mx+b[\/latex]\u00a0 \u00a0<\/strong><\/p>\r\nTo write an equation in Slope-Intercept Form, we need to solve for [latex]y[\/latex] in the equation.\u00a0 Once the equation is in this form, we know a couple of things just by looking at the equation.\r\n<p style=\"text-align: center;\"><strong>The coefficient of [latex]x[\/latex] is the slope of the line.<\/strong><\/p>\r\n<p style=\"text-align: center;\"><strong>The y-intercept is the point [latex](0,b)[\/latex].<\/strong><\/p>\r\n\r\n<div class=\"textbox exercises\">\r\n<h3>Example 8<\/h3>\r\nFind the slope and y-intercept of the line with equation [latex]y=-3x+7[\/latex]\r\n\r\n[reveal-answer q=\"16868\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"16868\"]\r\n\r\nThis equation is already in Slope-Intercept Form.\u00a0 Therefore, to find the slope of the line we just need to identify the coefficient of [latex]x[\/latex].\u00a0 In this equation, that is [latex]-3[\/latex].\r\n<p style=\"text-align: center;\">[latex]y=-3x+7[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 Slope =\u00a0 [latex]-3[\/latex]<\/p>\r\nThe y-intercept of a line is always a point with an x-coordinate of 0.\u00a0 We can find the y-coordinate of the y-intercept by looking at the constant term in the equation when it is in Slope-Intercept Form.\u00a0 In this equation, that is 7. The reason this works is because if we were to substitute [latex]x=0[\/latex] into the equation, we would quickly obtain an output of [latex]y=7[\/latex].\r\n<p style=\"text-align: center;\">[latex]y=-3x+7[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0y-intercept =\u00a0 [latex](0, 7)[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 9<\/h3>\r\nFind the slope and y-intercept of the line with equation\u00a0[latex]-4x+2y=-6[\/latex]\r\n\r\n[reveal-answer q=\"177985\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"177985\"]\r\n\r\nWe first need to solve for [latex]y[\/latex] to write this equation in Slope-Intercept Form.\r\n<p style=\"text-align: center;\">[latex]-4x+2y=-6[\/latex]<\/p>\r\nAdd\u00a0[latex]4x[\/latex] to both sides of the equation to get:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[latex]2y=4x-6[\/latex]\r\n\r\n&nbsp;\r\n\r\nDivide each term by 2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[latex] \\frac{2y}{2}=\\frac{4x}{2}-\\frac{6}{2} [\/latex]\r\n<p style=\"text-align: center;\">[latex]y=2x-3[\/latex]<\/p>\r\nNow that the equation is in Slope-Intercept Form, we can see that the slope is 2 and the y-intercept is the point [latex](0,-3)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 10<\/h3>\r\nFind the slope and y-intercept of the line with equation [latex]y=\\frac{3}{5}x[\/latex]:\r\n\r\n[reveal-answer q=\"121959\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"121959\"]\r\n\r\nThis equation is already in Slope-Intercept Form.\u00a0 Therefore, the slope is\u00a0[latex]\\frac{3}{5}[\/latex].\u00a0 However, what would the y-intercept be?\r\n\r\nNote that the equation can be rewritten as [latex]y=\\frac{3}{5}x+0[\/latex]. Written this way it is easier to see that the y-intercept would be the point [latex](0,0)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 id=\"Finding Slopes of Horizontal and Vertical Lines\">Find the slope of horizontal and vertical lines<\/h2>\r\nSo far you\u2019ve considered lines that run \u201cuphill\u201d or \u201cdownhill.\u201d Their slopes may be steep or gradual, but they are always positive or negative numbers. But there are two other kinds of lines, horizontal and vertical. What is the slope of a flat line or level ground? Of a wall or a vertical line?\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064316\/image040.jpg\" alt=\"Horizontal line labeled y=3 on coordinate plane grid with points (negative 3,3), (0,3), (2,3), and (5,3).\" width=\"335\" height=\"324\" \/>\r\n\r\nLet\u2019s consider a horizontal line on a graph. No matter which two points you choose on the line, they will always have the same <i>y<\/i>-coordinate. The equation for this line is [latex]y=3[\/latex]. The equation can also be written as [latex]y=\\left(0\\right)x+3[\/latex].\r\n\r\nUsing the form [latex]y=0x+3[\/latex], you can see that the slope is 0. You can also use the slope formula with two points on this horizontal line to calculate the slope of this horizontal line. Using [latex](\u22123,3)[\/latex] as Point 1 and (2, 3) as Point 2, you get:\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\begin{array}{l}m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\m=\\frac{3-3}{2-\\left(-3\\right)}=\\frac{0}{5}=0\\end{array}[\/latex]<\/p>\r\nThe slope of this horizontal line is 0.\r\n\r\nLet\u2019s consider any horizontal line. No matter which two points you choose on the line, they will always have the same <i>y<\/i>-coordinate. So, when you apply the slope formula, the numerator will always be 0. Zero divided by any non-zero number is 0, so the slope of any horizontal line is always 0.\r\n\r\nThe equation for the horizontal line [latex]y=3[\/latex]\u00a0is telling you that no matter which two points you choose on this line, the <i>y-<\/i>coordinate will always be 3.\r\n\r\nHow about vertical lines? In this case, no matter which two points you choose, they will always have the same <i>x<\/i>-coordinate. The equation for the line shown below is [latex]x=2[\/latex].\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064317\/image041.jpg\" alt=\"Vertical line labeled x=2 on coordinate plane grid with points (2, negative 2), (2,1), (2,3) and (2,4).\" width=\"387\" height=\"374\" \/>\r\n\r\nThere is no way that this equation can be put in the slope-point form, as the coefficient of <i>y<\/i> is [latex]0[\/latex].\r\n\r\nSo, what happens when you use the slope formula with two points on this vertical line to calculate the slope? Using [latex](2,1)[\/latex] as Point 1 and [latex](2,3)[\/latex] as Point 2, you get:\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\begin{array}{l}m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\m=\\frac{3-1}{2-2}=\\frac{2}{0}\\end{array}[\/latex]<\/p>\r\nBut division by zero is undefined for the set of real numbers. Because of this fact, it is said that the slope of this vertical line is undefined. This is true for all vertical lines\u2014they all have a slope that is undefined.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 11<\/h3>\r\nWhat is the slope of the line that contains the points [latex](3,2)[\/latex] and [latex](\u22128,2)[\/latex]?\r\n\r\n[reveal-answer q=\"111566\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"111566\"]\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>[latex] \\displaystyle \\begin{array}{l}{{x}_{1}}=3\\\\{{y}_{1}}=2\\end{array}[\/latex]<\/td>\r\n<td>[latex](3,2)=\\text{Point }1[\/latex], [latex] \\displaystyle \\left(x_{1},x_{2}\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\begin{array}{l}{{x}_{2}}=-8\\\\\\\\{{y}_{2}}=2\\end{array}[\/latex]<\/td>\r\n<td>[latex](\u22128,2)=\\text{Point }2[\/latex], [latex] \\displaystyle ({{x}_{2}},{{y}_{2}})[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex] \\displaystyle \\begin{array}{l}\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\\\frac{(2)-(2)}{(-8)-(3)}=\\frac{0}{-11}=0\\\\\\\\m=0\\end{array}[\/latex]<\/td>\r\n<td>Substitute the values into the slope formula and simplify.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h4>Answer<\/h4>\r\nThe slope is 0, so the line is horizontal.[\/hidden-answer]\r\n\r\n<\/div>\r\nhttps:\/\/youtu.be\/zoLM3rxzndo\r\n<div class=\"textbox exercises\">\r\n<h3>Example 12<\/h3>\r\nFind the slope and y-intercept of the line with equation\u00a0[latex]y=-2[\/latex] :\r\n\r\n[reveal-answer q=\"851789\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"851789\"]\r\n\r\nNote that the equation can be rewritten as [latex]y=0x-2[\/latex] :\r\n\r\nWritten this way it is easier to see that the slope is 0 and the y-intercept is\u00a0[latex](0, -2)[\/latex] .\r\n\r\n&nbsp;\r\n\r\nIf we were to graph [latex]y=-2[\/latex] , it would be a horizontal line.\u00a0 All horizontal lines have a slope of 0.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>ExAMPLE 13<\/h3>\r\nFind the slope and y-intercept of the line with equation [latex]x=3[\/latex]:\r\n\r\n[reveal-answer q=\"369359\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"369359\"]\r\n\r\nThis equation cannot be written in Slope-Intercept Form since there is no [latex]y[\/latex] term.\u00a0 To find the slope of the line, let\u2019s look at two points that are solutions to this equation.\u00a0 Any point with an x-coordinate of 3 is a solution to this equation.\u00a0 Therefore, both \u00a0[latex](3,0)[\/latex]\u00a0and\u00a0\u00a0[latex](3,-2)[\/latex] \u00a0are solutions to the equation [latex]x=3[\/latex].\r\n\r\n&nbsp;\r\n\r\nLet\u2019s use these two points to find the slope of the line.\r\n<p style=\"text-align: center;\">\u00a0[latex]m=\\frac{y_2-y_1}{x_2-x_1}=\\frac{-2-1}{3-3}=\\frac{-2}{0}[\/latex]<\/p>\r\nNotice that we get 0 in the denominator.\u00a0 Since we cannot divide by 0, this slope is <strong>undefined<\/strong>.\r\n\r\nNext, let\u2019s consider the graph of [latex]x=3[\/latex].\r\n\r\n&nbsp;\r\n\r\nThe graph of\u00a0[latex]x=3[\/latex] is a vertical line.\u00a0 All vertical lines have a slope that is undefined.\r\n\r\n<img class=\"size-medium wp-image-7461 aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5465\/2020\/10\/19164348\/Capture-300x277.jpg\" alt=\"Graph of x=3. Vertical line going through x axis at 3\" width=\"300\" height=\"277\" \/>\r\n\r\nWhat about the y-intercept?\u00a0 The y-intercept is the point where the line crosses the y-axis.\u00a0 Since the vertical line of [latex]x=3[\/latex]\u00a0does not cross the y-axis, there is no y-intercept.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 id=\"Characterize the slopes of parallel and perpendicular lines\">Characterize the slopes of parallel and perpendicular lines<\/h2>\r\nWhen you graph two or more linear equations in a coordinate plane, they generally cross at a point. However, when two lines in a coordinate plane never cross, they are called <b>parallel lines<\/b>. You will also look at the case where two lines in a coordinate plane cross at a right angle. These are called <b>perpendicular lines<\/b>. The slopes of the graphs in each of these cases have a special relationship to each other.\r\n\r\nParallel lines are two or more lines in a plane that never intersect. Examples of parallel lines are all around us, such as the opposite sides of a rectangular picture frame and the shelves of a bookcase.\r\n\r\n<img class=\"aligncenter wp-image-1402\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/03\/07212406\/Graphing-Linear-Inequalities-Module-2.png\" alt=\"Line y=2x+3 and line y=2x-3. Caption says Equations of parallel lines will have the same slopes and different intercepts.\" width=\"315\" height=\"243\" \/>\r\n\r\nPerpendicular lines are two or more lines that intersect at a 90-degree angle, like the two lines drawn on this graph. These 90-degree angles are also known as right angles.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064331\/image054.jpg\" alt=\"Two lines on a coordinate system that cross to form a 90 degree angle. Two green small squares labeled 90 degrees are drawn where they cross and at the corner of the origin.\" width=\"390\" height=\"340\" \/>\r\n\r\nPerpendicular lines are also everywhere, not just on graph paper but also in the world around us, from the crossing pattern of roads at an intersection to the colored lines of a plaid shirt.\r\n<div class=\"textbox shaded\">\r\n<h3>Parallel Lines<\/h3>\r\nTwo non-vertical lines in a plane are parallel if they have both:\r\n<ul>\r\n \t<li>the same slope<\/li>\r\n \t<li>different <i>y<\/i>-intercepts<\/li>\r\n<\/ul>\r\nAny two vertical lines in a plane are parallel.\r\n\r\n<\/div>\r\n<h2 class=\"yt watch-title-container\"><span id=\"eow-title\" class=\"watch-title\" dir=\"ltr\" title=\"The Slope of Parallel and Perpendicular Lines\">Find the slopes of parallel lines<\/span><\/h2>\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 14<\/h3>\r\nFind the slope of a line parallel to the line [latex]y=\u22123x+4[\/latex].\r\n\r\n[reveal-answer q=\"350329\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"350329\"]\r\n\r\nIdentify the slope of the given line.\r\n\r\nThe given line is written in [latex]y=mx+b[\/latex]\u00a0form, with [latex]m=\u22123[\/latex] and [latex]b=4[\/latex]. The slope is [latex]\u22123[\/latex].\r\n\r\nA line parallel to the given line has the same slope.\r\n<h4>Answer<\/h4>\r\nThe slope of the parallel line is [latex]\u22123[\/latex].[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 15<\/h3>\r\nDetermine whether the lines [latex]y=6x+5[\/latex] and [latex]y=6x\u20131[\/latex]\u00a0are parallel.\r\n\r\n[reveal-answer q=\"619259\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"619259\"]\r\n\r\nIdentify the slopes of the given lines.\r\n\r\nThe given lines are written in [latex]y=mx+b[\/latex]\u00a0form, with [latex]m=6[\/latex]\u00a0for the first line and [latex]m=6[\/latex]\u00a0for the second line. The slope of both lines is 6.\r\n\r\nLook at <i>b<\/i>, the <i>y<\/i>-value of the <i>y<\/i>-intercept, to see if the lines are perhaps exactly the same line, in which case we don\u2019t say they are parallel.\r\n\r\nThe first line has a <i>y<\/i>-intercept at [latex](0,5)[\/latex], and the second line has a <em>y<\/em>-intercept at [latex](0,\u22121)[\/latex]. They are not the same line.\r\n\r\nThe slopes of the lines are the same and they have different <i>y<\/i>-intercepts, so they are not the same line and they are parallel.\r\n<h4>Answer<\/h4>\r\nThe lines are parallel.[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 class=\"yt watch-title-container\"><span id=\"eow-title\" class=\"watch-title\" dir=\"ltr\" title=\"The Slope of Parallel and Perpendicular Lines\">Find the slopes of perpendicular lines<\/span><\/h2>\r\n<div class=\"textbox shaded\">\r\n<h3>Perpendicular Lines<\/h3>\r\nTwo non-vertical lines are perpendicular if the slope of one is the negative reciprocal of the slope of the other. If the slope of the first equation is [latex]\\frac{2}{3}[\/latex], then the slope of the second equation will need to be [latex]-\\frac{3}{2}[\/latex] for the lines to be perpendicular.\r\n\r\n<\/div>\r\nYou can also check the two slopes to see if the lines are perpendicular by multiplying the two slopes together. If they are perpendicular, the product of the slopes will be [latex]\u22121[\/latex]. For example, [latex] \\frac{2}{3}\\cdot-\\frac{3}{2}=-1[\/latex].\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 16<\/h3>\r\nFind the slope of a line perpendicular to the line [latex]y=2x\u20136[\/latex].\r\n\r\n[reveal-answer q=\"331107\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"331107\"]The given line is written in\u00a0<span class=\"s1\">[latex]y=mx+b[\/latex]<\/span>\u00a0form, with [latex]m=2[\/latex] and [latex]b=-6[\/latex]. The slope of this line is then 2, or equivalently, [latex]m=\\frac{2}{1}[\/latex].\r\n\r\nA line perpendicular to this would have a slope that is the negative reciprocal of [latex]\\frac{2}{1}[\/latex], which is [latex]-\\frac{1}{2}[\/latex].\r\n<h4>Answer<\/h4>\r\nThe slope of the perpendicular line is [latex]-\\frac{1}{2}[\/latex].[\/hidden-answer]\r\n\r\n<\/div>\r\nTo find the slope of a perpendicular line, find the reciprocal, [latex] \\displaystyle \\frac{2}{1}[\/latex], which is [latex]\\frac{1}{2}[\/latex],and then find the opposite of this reciprocal, which is [latex] \\displaystyle -\\tfrac{1}{2}[\/latex].\r\n\r\nNote that the product [latex]2\\left(-\\frac{1}{2}\\right)=\\frac{2}{1}\\left(-\\frac{1}{2}\\right)=-1[\/latex], so this means the lines are perpendicular.\r\n\r\nIn the case where one of the lines is vertical, the slope of that line is undefined and it is not possible to calculate the product with an undefined number. When one line is vertical, the line perpendicular to it will be horizontal, having a slope of zero ([latex]m=0[\/latex]).\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 17<\/h3>\r\nDetermine whether the lines [latex]y=\u22128x+5[\/latex]\u00a0and [latex] \\displaystyle y\\,\\text{=}\\,\\,\\frac{1}{8}x-1[\/latex] are parallel, perpendicular, or neither.\r\n\r\n[reveal-answer q=\"981152\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"981152\"]\r\n\r\nIdentify the slopes of the given lines.\r\n\r\nThe given lines are written in [latex]y=mx+b[\/latex] form, with [latex]m=\u22128[\/latex] for the first line and\u00a0[latex]m=\\frac{1}{8}[\/latex] for the second line.\r\n\r\nDetermine if the slopes are the same or if they are negative reciprocals.\r\n\r\n[latex]-8\\ne\\frac{1}{8}[\/latex], so the lines are not parallel.\r\n\r\nThe negative reciprocal of [latex]\u22128[\/latex] is [latex] \\displaystyle \\frac{1}{8}[\/latex], so the lines are perpendicular.\r\n\r\nThe slopes of the lines are negative reciprocals, so the lines are perpendicular.\r\n<h4>Answer<\/h4>\r\nThe lines are perpendicular.[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 class=\"yt watch-title-container\"><\/h2>\r\nhttps:\/\/youtu.be\/IIy4N2lAkDs\r\n\r\nIn this last example, you will work with an equation of a line given in Standard Form instead of Slope-Intercept Form as the previous examples have been given in.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 18<\/h3>\r\nConsider the equation: [latex]8x-5y=10[\/latex]\r\n\r\nWhat is the slope of a line that is parallel to the above line?\r\n\r\nWhat is the slope of a line that is perpendicular to the above line?\r\n\r\n[reveal-answer q=\"390273\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"390273\"]\r\n\r\nFirst, we must write the equation in Slope-Intercept Form.\u00a0 To do this, we must solve for y.\r\n<p style=\"text-align: center;\">[latex]8x-5y=10[\/latex]<\/p>\r\nSubtract 8x from both sides of the equation\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}8x-5y=10\\\\\\underline{\\,\\,\\,\\,-8x\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-8x}\\\\ \\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-5y=-8x+10\\end{array}[\/latex]<\/p>\r\nDivide each term by -5\r\n<p style=\"text-align: center;\">[latex]\\frac{-5y}{-5}=\\frac{-8x}{-5}+\\frac{10}{-5}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]y=\\frac{8}{5}x-2[\/latex]<\/p>\r\nNow that the equation is in Slope-Intercept Form, we know the slope of this line is [latex]\\frac{8}{5}[\/latex].\r\n\r\nSince parallel lines have the same slope, we now know that the slope of a line parallel to\u00a0[latex]8x-5y=10[\/latex] is also\u00a0[latex]\\frac{8}{5}[\/latex].\r\n\r\nPerpendicular lines have slopes that are negative reciprocals of each other.\u00a0 Since the negative reciprocal of\u00a0[latex]\\frac{8}{5}[\/latex] is\u00a0[latex]-\\frac{5}{8}[\/latex], a line perpendicular to\u00a0[latex]8x-5y=10[\/latex] would have a slope of\u00a0[latex]-\\frac{5}{8}[\/latex].\r\n\r\n<strong>Solution:\u00a0<\/strong>\r\n\r\nA line parallel to\u00a0[latex]8x-5y=10[\/latex] would have a slope of\u00a0[latex]\\frac{8}{5}[\/latex].\r\n\r\nA line perpendicular to\u00a0[latex]8x-5y=10[\/latex] would have a slope of\u00a0[latex]-\\frac{5}{8}[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Graph a line using the slope and y-intercept<\/h2>\r\nPreviously we learned how to graph linear equations by finding ordered pairs that are solutions to the equation and then using those points to create a graph of the line.\u00a0 Another option for graphing linear functions is using the slope and y-intercept.\r\n\r\nLet us consider the following function.\r\n<p style=\"text-align: center;\">[latex]f\\left(x\\right)=\\dfrac{1}{2}x+1[\/latex]<\/p>\r\nThe function is in slope-intercept form.\u00a0 Therefore, we know the slope of the line is [latex]\\dfrac{1}{2}[\/latex] and the [latex]y[\/latex]-intercept is the point [latex](0,1)[\/latex].\u00a0 Next, we will look at the slope.\r\n<p style=\"text-align: center;\">[latex]slope=\\frac{rise}{run}=\\frac{1}{2}[\/latex]<\/p>\r\nSo, starting from the [latex]y[\/latex]-intercept [latex](0,1)[\/latex], we can \"rise\" 1 unit and \"run\" 2 units to locate a second point on our line.\u00a0 In other words, we will go up 1 unit and to the right 2 units.\u00a0 That brings us to the point [latex](2,2)[\/latex].\u00a0 We can repeat that process from the point [latex](2,2)[\/latex] to locate an additional point on the line.\u00a0 Drawing a line through those points creates the graph of our equation.\r\n\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201048\/CNX_Precalc_Figure_02_02_0032.jpg\" alt=\"graph of the line y = (1\/2)x +1 showing the &quot;rise&quot;, or change in the y direction as 1 and the &quot;run&quot;, or change in x direction as 2, and the y-intercept at (0,1)\" width=\"617\" height=\"340\" \/>\r\n<div class=\"textbox\">\r\n<h3>How To: Given the equation for a linear function, graph the function using the <em>y<\/em>-intercept and slope<\/h3>\r\n<ol>\r\n \t<li>Evaluate the function at an input value of zero to find the <em>y-<\/em>intercept.\u00a0 This will always be [latex](0,b)[\/latex].<\/li>\r\n \t<li>Identify the slope.<\/li>\r\n \t<li>Plot the point represented by the <em>y-<\/em>intercept.<\/li>\r\n \t<li>Use [latex]\\dfrac{\\text{rise}}{\\text{run}}[\/latex] to determine at least two more points on the line.<\/li>\r\n \t<li>Sketch the line that passes through the points.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 19<\/h3>\r\nGraph [latex]f\\left(x\\right)=-\\dfrac{2}{3}x+5[\/latex] using the <em>y-<\/em>intercept and slope.\r\n\r\n[reveal-answer q=\"421669\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"421669\"]\r\n\r\nThe function is written in slope-intercept form.\u00a0 Therefore, we know the slope of the line is [latex]-\\frac{2}{3}[\/latex] and the [latex]y[\/latex]-intercept is the point [latex](0,5)[\/latex].\u00a0 We will begin graphing by plotting the point [latex](0,5)[\/latex].\u00a0 From this point we will use the slope to locate a second point on the line.\u00a0 The fraction [latex]-\\frac{2}{3}[\/latex] can also be written as [latex]\\frac{-2}{3}[\/latex].\u00a0 Let's consider what this means in terms of our slope.\r\n<p style=\"text-align: center;\">[latex]slope=\\frac{rise}{run}=\\frac{-2}{3}[\/latex]<\/p>\r\nWhat do you think the negative in the numerator means in terms of locating our second point?\u00a0 When the numerator is positive, we go up the indicated number of units.\u00a0 Since our numerator is negative, we will go down 2 units instead.\u00a0 Going down 2 units and then right 3 units brings us to the point [latex](3,3)[\/latex].\u00a0 Drawing a line through the points [latex](0,5)[\/latex] and [latex](3,3)[\/latex] creates the graph of this equation.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201050\/CNX_Precalc_Figure_02_02_0042.jpg\" alt=\"Coordinate system with decreasing line with points at (0,5), (3,3) and (6,1). Vertical and horizontal arrows are drawn below the line, indicating steps from one shown point to the next.\" width=\"487\" height=\"318\" \/>\r\n\r\nNotice that the line slants downward from left to right.\u00a0 This is consistent with having a negative slope.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the following video we show another example of how to graph a linear function given the y-intercepts and the slope.\r\n\r\nhttps:\/\/youtu.be\/N6lEPh11gk8\r\n\r\nIn the next example, we will graph another linear function using the slope and [latex]y[\/latex]-intercept.\u00a0 However, in this example, the equation is not given in slope-intercept form.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 20<\/h3>\r\nGraph [latex]3x+4y=24[\/latex]\u00a0using the slope and y-intercept.\r\n[reveal-answer q=\"930515\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"930515\"]\r\n\r\nThis equation is not written in slope-intercept form.\u00a0 Therefore, the first thing we need to do is solve for [latex]y[\/latex] and rewrite the equation in slope-intercept form.\r\n<p style=\"text-align: center;\">[latex]3x+4y=24[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\underline{-3x\\hspace{.42in}-3x}\\hspace{.1in}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.95in}4y=-3x+24[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\frac{4y}{4}=\\frac{-3x}{4}+\\frac{24}{4}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]y=-\\frac{3}{4}x+6[\/latex]<\/p>\r\nNow that the equation is in slope-intercept form, we know that the slope of the line is [latex]-\\frac{3}{4}[\/latex] and the [latex]y[\/latex]-intercept is the point [latex](0,6)[\/latex].\r\n\r\nTo graph the equation, we will first plot the point [latex](0,6)[\/latex].\u00a0 Then, using the slope to locate a second point on the line, we will go down 3 units (because the slope is negative) and then right 4 units.\u00a0 That brings us to the point [latex](4,3)[\/latex].\u00a0 Drawing a line through our two points gives us the graph of the equation.\r\n\r\n&nbsp;\r\n\r\n<img class=\"aligncenter wp-image-2482 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/121\/2016\/07\/13204212\/Screen-Shot-2016-07-13-at-1.35.32-PM-300x229.png\" alt=\"A decreasing linear graph with points labeled at (0,6), (4,3) and (8,0).\" width=\"300\" height=\"229\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Summary<\/h2>\r\nSlope describes the steepness of a line. The slope of any line remains constant along the line. The slope can also tell you information about the direction of the line on the coordinate plane. Slope can be calculated either by looking at the graph of a line or by using the coordinates of any two points on a line. There are two common formulas for slope: [latex] \\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex] and [latex] \\displaystyle m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}[\/latex] where [latex]m=\\text{slope}[\/latex]\u00a0and [latex] \\displaystyle ({{x}_{1}},{{y}_{1}})[\/latex] and [latex] \\displaystyle ({{x}_{2}},{{y}_{2}})[\/latex] are two points on the line.\r\n\r\nThe images below summarize the slopes of different types of lines.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/02\/04064320\/image042.gif\" alt=\"Four coordinate plane graphs: uphill line with positive slope, downhill line with negative slope, horizontal line with slope equals zero, and vertical line with undefined slope.\" width=\"456\" height=\"183\" \/>\r\n<h2><\/h2>","rendered":"<div class=\"textbox learning-objectives\">\n<h3>section 3.4 Learning Objectives<\/h3>\n<p><strong>3.4: Slope of a Line<\/strong><\/p>\n<ul>\n<li>Identify the slope of a line from the graph<\/li>\n<li>Find the slope of a line given two points on a line<\/li>\n<li>Find the slope and y-intercept given the equation of a line<\/li>\n<li>Find the slope of horizontal and vertical lines<\/li>\n<li>Find the slopes of parallel and perpendicular lines<\/li>\n<li>Graph a line using the slope and y-intercept<\/li>\n<\/ul>\n<\/div>\n<p>&nbsp;<\/p>\n<h2 id=\"title1\">Identify slope from a graph<\/h2>\n<p>The mathematical definition of <b>slope<\/b> is very similar to our everyday one. In math, slope is used to describe the steepness and direction of lines. By just looking at the graph of a line, you can learn some things about its slope, especially relative to other lines graphed on the same coordinate plane. Consider the graphs of the three lines shown below:<\/p>\n<p><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\/04064257\/image024-1.jpg\" alt=\"Coordinate plane with x-axis and y-axis from negative 4 to 4. Three lines intersect at the origin: Line A has a positive slope, Line B has a steeper positive slope, Line C has a negative slope.\" width=\"345\" height=\"342\" \/><\/p>\n<p>First, let\u2019s look at lines A and B. If you imagined these lines to be hills, you would say that line B is steeper than line A. Line B has a greater slope than line A.<\/p>\n<p>Next, notice that lines A and B slant up as you move from left to right. We say these two lines have a positive slope. Line C slants down from left to right. Line C has a negative slope. Using two of the points on the line, you can find the slope of the line by finding the rise and the run. The vertical change between two points is called the <b>rise<\/b>, and the horizontal change is called the <b>run<\/b>. The slope equals the rise divided by the run: [latex]\\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex].<\/p>\n<p><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\/04064258\/image025-1.jpg\" alt=\"A line that crosses the points (2,1) and (6,3). A blue line labeled Rise goes up two units from the point (2,1). A red line labeled Run goes left from the point (6,3) so that it forms a triangle with the main line and the Rise line. A formula says slope equals rise over run.\" width=\"305\" height=\"294\" \/><\/p>\n<p>You can determine the slope of a line from its graph by looking at the rise and run. One characteristic of a line is that its slope is constant all the way along it. So, you can choose any 2 points along the graph of the line to figure out the slope. Let\u2019s look at an example.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 1<\/h3>\n<p>Use the graph to find the slope of the line.<\/p>\n<p><b><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\/04064259\/image026-1.jpg\" alt=\"A line that crosses the points (2,1) and (6,3). A blue line labeled Rise goes up two units from the point (2,1). A red line labeled Run goes left from the point (6,3) so that it forms a triangle with the main line and the Rise line. A formula says slope equals rise over run.\" width=\"305\" height=\"294\" \/><\/b><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q606472\">Show Solution<\/span><\/p>\n<div id=\"q606472\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\text{rise}=2[\/latex]<\/td>\n<td>Start from a point on the line, such as [latex](2,1)[\/latex] and move vertically until in line with another point on the line, such as [latex](6,3)[\/latex]. The rise is 2 units. It is positive because you moved up.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\text{run}=4[\/latex]<\/td>\n<td>Next, move horizontally to the point [latex](6,3)[\/latex]. Count the number of units. The run is 4 units. It is positive because you moved to the right.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\text{Slope}=\\frac{2}{4}=\\frac{1}{2}[\/latex]<\/td>\n<td>[latex]\\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>[latex]Slope=\\frac{1}{2}[\/latex]<\/p><\/div>\n<\/div>\n<\/div>\n<p>This line will have a slope of [latex]\\displaystyle \\frac{1}{2}[\/latex] no matter which two points you pick on the line. Try measuring the slope from the origin, [latex](0,0)[\/latex], to the point [latex](6,3)[\/latex]. You will find that the [latex]\\text{rise}=3[\/latex] and the [latex]\\text{run}=6[\/latex]. The slope is [latex]\\displaystyle \\frac{\\text{rise}}{\\text{run}}=\\frac{3}{6}=\\frac{1}{2}[\/latex]. It is the same!<\/p>\n<p>Let\u2019s look at another example.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 2<\/h3>\n<p>Use the graph to find the slope of the two lines.<b>\u00a0<\/b><\/p>\n<p><b><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\/04064300\/image027-1.jpg\" alt=\"Two lines are graphed on coordinate plane: one through points (negative 2, 1) and (negative 1, 5) with positive slope, and another through (negative 1, negative 2) and (3, negative 1) with positive slope. The rise and run are labeled on both sets of points.\" width=\"291\" height=\"281\" \/><\/b><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q860733\">Show Solution<\/span><\/p>\n<div id=\"q860733\" class=\"hidden-answer\" style=\"display: none\">Notice that both of these lines have positive slopes, so you expect your answers to be positive.<\/p>\n<table>\n<tbody>\n<tr>\n<th style=\"text-align: center;\" colspan=\"2\">Blue line<\/th>\n<\/tr>\n<tr>\n<td>[latex]\\text{rise}=4[\/latex]<\/td>\n<td>Start with the blue line, going from point [latex](-2,1)[\/latex] to point [latex](-1,5)[\/latex]. This line has a rise of 4 units up, so it is positive.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\text{run}=1[\/latex]<\/td>\n<td>Run is 1 unit to the right, so it is positive.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\text{Slope }=\\frac{4}{1}=4[\/latex]<\/td>\n<td>Substitute the values for the rise and run in the formula [latex]\\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex].<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: center;\" colspan=\"2\">Red line<\/th>\n<\/tr>\n<tr>\n<td>[latex]\\text{rise}=1[\/latex]<\/td>\n<td>The red line, going from point [latex](-1,-2)[\/latex] to point [latex](3,-1)[\/latex] has a rise of 1 unit.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\text{run}=4[\/latex]<\/td>\n<td>The red line has a run of 4 units.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\text{Slope }=\\frac{1}{4}[\/latex]<\/td>\n<td>Substitute the values for the rise and run into the formula [latex]\\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex].<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope of the blue line is 4 and the slope of the red line is [latex]\\frac{1}{4}[\/latex].<\/p><\/div>\n<\/div>\n<\/div>\n<p>When you look at the two lines, you can see that the blue line is steeper than the red line. It makes sense the value of the slope of the blue line, 4, is greater than the value of the slope of the red line, [latex]\\displaystyle \\frac{1}{4}[\/latex]. The greater the slope, the steeper the line.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Determine the Slope of a Line From a Graph (No Formula)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/29BpBqsiE5w?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h3 id=\"Using Intercepts to Graph Lines\">Distinguish between graphs of lines with negative and positive slopes<\/h3>\n<p>Direction is important when it comes to determining slope. It\u2019s important to pay attention to whether you are moving up, down, left, or right; that is, if you are moving in a positive or negative direction. If you go up to get to your second point, the rise is positive. If you go down to get to your second point, the rise is negative. If you go right to get to your second point, the run is positive. If you go left to get to your second point, the run is negative.<\/p>\n<p>In the following two examples, you will see a slope that is positive and one that is negative.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 3 (Advanced)<\/h3>\n<p>Find the slope of the line graphed below.<\/p>\n<p><b><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\/04064305\/image029.jpg\" alt=\"Line drawn through the point (-3,-0.25) and (3,4.25).\" width=\"358\" height=\"343\" \/><\/b><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q82644\">Show Solution<\/span><\/p>\n<div id=\"q82644\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\text{rise}=4.5[\/latex]<\/td>\n<td>Start at [latex](-3,-0.25)[\/latex] and rise 4.5. This means moving 4.5 units in a positive direction.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\text{run}=6[\/latex]<\/td>\n<td>From there, run 6 units in a positive direction to [latex](3,4.25)[\/latex].<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\text{Slope}=\\frac{4.5}{6}=0.75[\/latex]<\/td>\n<td>[latex]\\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope of the line is 0.75.<\/p><\/div>\n<\/div>\n<\/div>\n<p>The next example shows a line with a negative slope.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 4<\/h3>\n<p>Find the slope of the line graphed below.<\/p>\n<p><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\/04064301\/image028.jpg\" alt=\"A downward-sloping line that goes through points A and B. Point A is (0,4) and point B is (2,1). The rise goes down three units, and the run goes right 2 units.\" width=\"308\" height=\"297\" \/><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q924393\">Show Solution<\/span><\/p>\n<div id=\"q924393\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\text{rise}=-3[\/latex]<\/td>\n<td>Starting at Point A, [latex](0,4)[\/latex], we must go down 3 units to line up with Point B. This means the rise is [latex]-3[\/latex] since we move 3 units in a negative direction.<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\text{run}=2[\/latex]<\/td>\n<td>From there, run 2 units in a positive direction to Point B [latex](2,1)[\/latex].<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\text{Slope}=\\frac{-3}{2}[\/latex]<\/td>\n<td>[latex]\\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope of the line is [latex]-\\frac{3}{2}[\/latex].<\/p><\/div>\n<\/div>\n<\/div>\n<p>In the example above, you could have also found the slope by starting at point B, rising [latex]+3[\/latex] (up) and then running [latex]-2[\/latex] (left) to arrive at point A. The result is still a slope of [latex]\\displaystyle\\frac{\\text{rise}}{\\text{run}}=\\frac{+3}{-2}=-\\frac{3}{2}[\/latex].<\/p>\n<h2 id=\"title1\">Find the slope given two points on the line<\/h2>\n<p>You\u2019ve seen that you can find the slope of a line on a graph by measuring the rise and the run. You can also find the slope of a line without its graph if you know the coordinates of any two points on that line. Every point has a set of coordinates: an <i>x<\/i>-value and a <i>y<\/i>-value, written as an ordered pair (<i>x<\/i>, <i>y<\/i>). The <i>x<\/i>-value tells you where a point is horizontally. The <i>y-<\/i>value tells you where the point is vertically.<\/p>\n<p>Consider two points on a line\u2014Point 1 and Point 2. Point 1 has coordinates [latex]\\left(x_{1},y_{1}\\right)[\/latex]\u00a0and Point 2 has coordinates [latex]\\left(x_{2},y_{2}\\right)[\/latex].<\/p>\n<p><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\/04064308\/image031.jpg\" alt=\"A line with its rise and run. The first point on the line is labeled Point 1, or (x1, y1). The second point on the line is labeled Point 2, or (x2,y2). The rise is (y2 minus y1). The run is (x2 minus X1).\" width=\"416\" height=\"401\" \/><\/p>\n<p>The rise is the vertical change between the two points, which is the difference between their <i>y<\/i>-coordinates. That makes the rise [latex]\\left(y_{2}-y_{1}\\right)[\/latex]. The run between these two points is the difference in the <i>x<\/i>-coordinates, or [latex]\\left(x_{2}-x_{1}\\right)[\/latex].<\/p>\n<p>So, [latex]\\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}[\/latex] or [latex]\\displaystyle m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}[\/latex]<\/p>\n<p>In the example below, you\u2019ll see that the line has two points each indicated as an ordered pair. The point [latex](0,2)[\/latex] is indicated as Point 1, and [latex](\u22122,6)[\/latex] as Point 2. So you are going to move from Point 1 to Point 2. A triangle is drawn in above the line to help illustrate the rise and run.<\/p>\n<p><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\/04064310\/image032.jpg\" alt=\"Coordinate plane grid with decreasing line through Point 1 (0,2) and Point 2 (negative 2,6). Rise is 4 and run is negative 2.\" width=\"410\" height=\"396\" \/><\/p>\n<p>You can see from the graph that the rise going from Point 1 to Point 2 is 4, because you are moving 4 units in a positive direction (up). The run is [latex]\u22122[\/latex], because you are then moving in a negative direction (left) 2 units. Using the slope formula,<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\text{Slope}=\\frac{\\text{rise}}{\\text{run}}=\\frac{4}{-2}=-2[\/latex].<\/p>\n<p>You do not need the graph to find the slope. You can just use the coordinates, keeping careful track of which is Point 1 and which is Point 2. Let\u2019s organize the information about the two points:<\/p>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Ordered Pair<\/th>\n<th>Coordinates<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Point 1<\/td>\n<td>[latex](0,2)[\/latex]<\/td>\n<td>[latex]\\begin{array}{l}x_{1}=0\\\\y_{1}=2\\end{array}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Point 2<\/td>\n<td>[latex](\u22122,6)[\/latex]<\/td>\n<td>[latex]\\begin{array}{l}x_{2}=-2\\\\y_{2}=6\\end{array}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The slope, [latex]m=\\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\\frac{6-2}{-2-0}=\\frac{4}{-2}=-2[\/latex]. The slope of the line, <i>m<\/i>, is [latex]\u22122[\/latex].<\/p>\n<p>It doesn\u2019t matter which point is designated as Point 1 and which is Point 2. You could have called [latex](\u22122,6)[\/latex] Point 1, and [latex](0,2)[\/latex] Point 2. In that\u00a0case, putting the coordinates into the slope formula produces the equation [latex]m=\\frac{2-6}{0-\\left(-2\\right)}=\\frac{-4}{2}=-2[\/latex]. Once again, the slope is [latex]m=-2[\/latex]. That\u2019s the same slope as before. The important thing is to be consistent when you subtract: you must always subtract in the same order.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 5<\/h3>\n<p>What is the slope of the line that contains the points [latex](5,5)[\/latex] and [latex](4,2)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q666697\">Show Solution<\/span><\/p>\n<div id=\"q666697\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\begin{array}{l}x_{1}=4\\\\y_{1}=2\\end{array}[\/latex]<\/td>\n<td>[latex]\\left(4,2\\right)=\\text{Point }1,\\left(x_{1},y_{1}\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\begin{array}{l}x_{2}=5\\\\y_{2}=5\\end{array}[\/latex]<\/td>\n<td>[latex]\\left(5,5\\right)=\\text{Point }2,\\left(x_{2},y_{2}\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\begin{array}{l}m=\\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\\frac{5-2}{5-4}=\\frac{3}{1}\\\\\\\\m=3\\end{array}[\/latex]<\/td>\n<td>Substitute the values into the slope formula and simplify.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope is 3.<\/p><\/div>\n<\/div>\n<\/div>\n<p>The example below shows the solution when you reverse the order of the points, calling [latex](5,5)[\/latex] Point 1 and [latex](4,2)[\/latex] Point 2.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 6<\/h3>\n<p>What is the slope of the line that contains the points [latex](5,5)[\/latex] and [latex](4,2)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q76013\">Show Solution<\/span><\/p>\n<div id=\"q76013\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\begin{array}{l}x_{1}=5\\\\y_{1}=5\\end{array}[\/latex]<\/td>\n<td>[latex](5,5)=\\text{Point }1[\/latex], [latex]\\left(x_{1},y_{1}\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\begin{array}{l}x_{2}=4\\\\y_{2}=2\\end{array}[\/latex]<\/td>\n<td>[latex](4,2)=\\text{Point }2[\/latex], [latex]\\left(x_{2},y_{2}\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\begin{array}{l}m=\\frac{y_{2}-y_{1}}{{x_2}-x_{1}}\\\\\\\\m=\\frac{2-5}{4-5}=\\frac{-3}{-1}=3\\\\\\\\m=3\\end{array}[\/latex]<\/td>\n<td>Substitute the values into the slope formula and simplify.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope is 3.<\/p><\/div>\n<\/div>\n<\/div>\n<p>Notice that regardless of which ordered pair is named Point 1 and which is named Point 2, the slope is still 3.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 7 (Advanced)<\/h3>\n<p>What is the slope of the line that contains the points [latex](3,-6.25)[\/latex] and [latex](-1,8.5)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q291649\">Show Solution<\/span><\/p>\n<div id=\"q291649\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\begin{array}{l}x_{1}=3\\\\y_{1}=-6.25\\end{array}[\/latex]<\/td>\n<td>[latex](3,-6.25)=\\text{Point }1[\/latex], [latex]\\displaystyle ({{x}_{1}},{{y}_{1}})[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\begin{array}{l}{{x}_{2}}=-1\\\\{{y}_{2}}=8.5\\end{array}[\/latex]<\/td>\n<td>[latex](-1,8.5)=\\text{Point }2[\/latex], [latex]\\displaystyle ({{x}_{2}},{{y}_{2}})[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\begin{array}{l}m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\m=\\frac{8.5-(-6.25)}{-1-3}\\\\\\\\m=\\frac{14.75}{-4}\\\\\\\\m=-3.6875\\end{array}[\/latex]<\/td>\n<td>Substitute the values into the slope formula and simplify.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope is [latex]-3.6875[\/latex].<\/p><\/div>\n<\/div>\n<\/div>\n<h2 id=\"video2\"><\/h2>\n<p><iframe loading=\"lazy\" id=\"oembed-2\" title=\"Ex 1:  Determine the Slope a Line Given Two Points on a Line\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/ZW7rQa8SJSU?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><strong>Find the slope and y-intercept given the equation of the line:<\/strong><\/h2>\n<p>We can also determine the slope of a line from the equation of the line.\u00a0 To do this, we first need to write the equation in Slope-Intercept Form.<\/p>\n<p style=\"text-align: center;\"><strong>Slope-Intercept Form: [latex]y=mx+b[\/latex]\u00a0 \u00a0<\/strong><\/p>\n<p>To write an equation in Slope-Intercept Form, we need to solve for [latex]y[\/latex] in the equation.\u00a0 Once the equation is in this form, we know a couple of things just by looking at the equation.<\/p>\n<p style=\"text-align: center;\"><strong>The coefficient of [latex]x[\/latex] is the slope of the line.<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>The y-intercept is the point [latex](0,b)[\/latex].<\/strong><\/p>\n<div class=\"textbox exercises\">\n<h3>Example 8<\/h3>\n<p>Find the slope and y-intercept of the line with equation [latex]y=-3x+7[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q16868\">Show Answer<\/span><\/p>\n<div id=\"q16868\" class=\"hidden-answer\" style=\"display: none\">\n<p>This equation is already in Slope-Intercept Form.\u00a0 Therefore, to find the slope of the line we just need to identify the coefficient of [latex]x[\/latex].\u00a0 In this equation, that is [latex]-3[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]y=-3x+7[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 Slope =\u00a0 [latex]-3[\/latex]<\/p>\n<p>The y-intercept of a line is always a point with an x-coordinate of 0.\u00a0 We can find the y-coordinate of the y-intercept by looking at the constant term in the equation when it is in Slope-Intercept Form.\u00a0 In this equation, that is 7. The reason this works is because if we were to substitute [latex]x=0[\/latex] into the equation, we would quickly obtain an output of [latex]y=7[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]y=-3x+7[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0y-intercept =\u00a0 [latex](0, 7)[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 9<\/h3>\n<p>Find the slope and y-intercept of the line with equation\u00a0[latex]-4x+2y=-6[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q177985\">Show Answer<\/span><\/p>\n<div id=\"q177985\" class=\"hidden-answer\" style=\"display: none\">\n<p>We first need to solve for [latex]y[\/latex] to write this equation in Slope-Intercept Form.<\/p>\n<p style=\"text-align: center;\">[latex]-4x+2y=-6[\/latex]<\/p>\n<p>Add\u00a0[latex]4x[\/latex] to both sides of the equation to get:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[latex]2y=4x-6[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<p>Divide each term by 2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[latex]\\frac{2y}{2}=\\frac{4x}{2}-\\frac{6}{2}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]y=2x-3[\/latex]<\/p>\n<p>Now that the equation is in Slope-Intercept Form, we can see that the slope is 2 and the y-intercept is the point [latex](0,-3)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 10<\/h3>\n<p>Find the slope and y-intercept of the line with equation [latex]y=\\frac{3}{5}x[\/latex]:<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q121959\">Show Answer<\/span><\/p>\n<div id=\"q121959\" class=\"hidden-answer\" style=\"display: none\">\n<p>This equation is already in Slope-Intercept Form.\u00a0 Therefore, the slope is\u00a0[latex]\\frac{3}{5}[\/latex].\u00a0 However, what would the y-intercept be?<\/p>\n<p>Note that the equation can be rewritten as [latex]y=\\frac{3}{5}x+0[\/latex]. Written this way it is easier to see that the y-intercept would be the point [latex](0,0)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"Finding Slopes of Horizontal and Vertical Lines\">Find the slope of horizontal and vertical lines<\/h2>\n<p>So far you\u2019ve considered lines that run \u201cuphill\u201d or \u201cdownhill.\u201d Their slopes may be steep or gradual, but they are always positive or negative numbers. But there are two other kinds of lines, horizontal and vertical. What is the slope of a flat line or level ground? Of a wall or a vertical line?<\/p>\n<p><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\/04064316\/image040.jpg\" alt=\"Horizontal line labeled y=3 on coordinate plane grid with points (negative 3,3), (0,3), (2,3), and (5,3).\" width=\"335\" height=\"324\" \/><\/p>\n<p>Let\u2019s consider a horizontal line on a graph. No matter which two points you choose on the line, they will always have the same <i>y<\/i>-coordinate. The equation for this line is [latex]y=3[\/latex]. The equation can also be written as [latex]y=\\left(0\\right)x+3[\/latex].<\/p>\n<p>Using the form [latex]y=0x+3[\/latex], you can see that the slope is 0. You can also use the slope formula with two points on this horizontal line to calculate the slope of this horizontal line. Using [latex](\u22123,3)[\/latex] as Point 1 and (2, 3) as Point 2, you get:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\begin{array}{l}m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\m=\\frac{3-3}{2-\\left(-3\\right)}=\\frac{0}{5}=0\\end{array}[\/latex]<\/p>\n<p>The slope of this horizontal line is 0.<\/p>\n<p>Let\u2019s consider any horizontal line. No matter which two points you choose on the line, they will always have the same <i>y<\/i>-coordinate. So, when you apply the slope formula, the numerator will always be 0. Zero divided by any non-zero number is 0, so the slope of any horizontal line is always 0.<\/p>\n<p>The equation for the horizontal line [latex]y=3[\/latex]\u00a0is telling you that no matter which two points you choose on this line, the <i>y-<\/i>coordinate will always be 3.<\/p>\n<p>How about vertical lines? In this case, no matter which two points you choose, they will always have the same <i>x<\/i>-coordinate. The equation for the line shown below is [latex]x=2[\/latex].<\/p>\n<p><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\/04064317\/image041.jpg\" alt=\"Vertical line labeled x=2 on coordinate plane grid with points (2, negative 2), (2,1), (2,3) and (2,4).\" width=\"387\" height=\"374\" \/><\/p>\n<p>There is no way that this equation can be put in the slope-point form, as the coefficient of <i>y<\/i> is [latex]0[\/latex].<\/p>\n<p>So, what happens when you use the slope formula with two points on this vertical line to calculate the slope? Using [latex](2,1)[\/latex] as Point 1 and [latex](2,3)[\/latex] as Point 2, you get:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\begin{array}{l}m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\m=\\frac{3-1}{2-2}=\\frac{2}{0}\\end{array}[\/latex]<\/p>\n<p>But division by zero is undefined for the set of real numbers. Because of this fact, it is said that the slope of this vertical line is undefined. This is true for all vertical lines\u2014they all have a slope that is undefined.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 11<\/h3>\n<p>What is the slope of the line that contains the points [latex](3,2)[\/latex] and [latex](\u22128,2)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q111566\">Show Solution<\/span><\/p>\n<div id=\"q111566\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<tbody>\n<tr>\n<td>[latex]\\displaystyle \\begin{array}{l}{{x}_{1}}=3\\\\{{y}_{1}}=2\\end{array}[\/latex]<\/td>\n<td>[latex](3,2)=\\text{Point }1[\/latex], [latex]\\displaystyle \\left(x_{1},x_{2}\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\begin{array}{l}{{x}_{2}}=-8\\\\\\\\{{y}_{2}}=2\\end{array}[\/latex]<\/td>\n<td>[latex](\u22128,2)=\\text{Point }2[\/latex], [latex]\\displaystyle ({{x}_{2}},{{y}_{2}})[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]\\displaystyle \\begin{array}{l}\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\\\\\\\\\\frac{(2)-(2)}{(-8)-(3)}=\\frac{0}{-11}=0\\\\\\\\m=0\\end{array}[\/latex]<\/td>\n<td>Substitute the values into the slope formula and simplify.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Answer<\/h4>\n<p>The slope is 0, so the line is horizontal.<\/p><\/div>\n<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"oembed-3\" title=\"Ex:  Determine the Slope a Line Given Two Points on a Horizontal and Vertical Line\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/zoLM3rxzndo?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"textbox exercises\">\n<h3>Example 12<\/h3>\n<p>Find the slope and y-intercept of the line with equation\u00a0[latex]y=-2[\/latex] :<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q851789\">Show Answer<\/span><\/p>\n<div id=\"q851789\" class=\"hidden-answer\" style=\"display: none\">\n<p>Note that the equation can be rewritten as [latex]y=0x-2[\/latex] :<\/p>\n<p>Written this way it is easier to see that the slope is 0 and the y-intercept is\u00a0[latex](0, -2)[\/latex] .<\/p>\n<p>&nbsp;<\/p>\n<p>If we were to graph [latex]y=-2[\/latex] , it would be a horizontal line.\u00a0 All horizontal lines have a slope of 0.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>ExAMPLE 13<\/h3>\n<p>Find the slope and y-intercept of the line with equation [latex]x=3[\/latex]:<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q369359\">Show Answer<\/span><\/p>\n<div id=\"q369359\" class=\"hidden-answer\" style=\"display: none\">\n<p>This equation cannot be written in Slope-Intercept Form since there is no [latex]y[\/latex] term.\u00a0 To find the slope of the line, let\u2019s look at two points that are solutions to this equation.\u00a0 Any point with an x-coordinate of 3 is a solution to this equation.\u00a0 Therefore, both \u00a0[latex](3,0)[\/latex]\u00a0and\u00a0\u00a0[latex](3,-2)[\/latex] \u00a0are solutions to the equation [latex]x=3[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p>Let\u2019s use these two points to find the slope of the line.<\/p>\n<p style=\"text-align: center;\">\u00a0[latex]m=\\frac{y_2-y_1}{x_2-x_1}=\\frac{-2-1}{3-3}=\\frac{-2}{0}[\/latex]<\/p>\n<p>Notice that we get 0 in the denominator.\u00a0 Since we cannot divide by 0, this slope is <strong>undefined<\/strong>.<\/p>\n<p>Next, let\u2019s consider the graph of [latex]x=3[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p>The graph of\u00a0[latex]x=3[\/latex] is a vertical line.\u00a0 All vertical lines have a slope that is undefined.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-7461 aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5465\/2020\/10\/19164348\/Capture-300x277.jpg\" alt=\"Graph of x=3. Vertical line going through x axis at 3\" width=\"300\" height=\"277\" \/><\/p>\n<p>What about the y-intercept?\u00a0 The y-intercept is the point where the line crosses the y-axis.\u00a0 Since the vertical line of [latex]x=3[\/latex]\u00a0does not cross the y-axis, there is no y-intercept.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"Characterize the slopes of parallel and perpendicular lines\">Characterize the slopes of parallel and perpendicular lines<\/h2>\n<p>When you graph two or more linear equations in a coordinate plane, they generally cross at a point. However, when two lines in a coordinate plane never cross, they are called <b>parallel lines<\/b>. You will also look at the case where two lines in a coordinate plane cross at a right angle. These are called <b>perpendicular lines<\/b>. The slopes of the graphs in each of these cases have a special relationship to each other.<\/p>\n<p>Parallel lines are two or more lines in a plane that never intersect. Examples of parallel lines are all around us, such as the opposite sides of a rectangular picture frame and the shelves of a bookcase.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1402\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1468\/2016\/03\/07212406\/Graphing-Linear-Inequalities-Module-2.png\" alt=\"Line y=2x+3 and line y=2x-3. Caption says Equations of parallel lines will have the same slopes and different intercepts.\" width=\"315\" height=\"243\" \/><\/p>\n<p>Perpendicular lines are two or more lines that intersect at a 90-degree angle, like the two lines drawn on this graph. These 90-degree angles are also known as right angles.<\/p>\n<p><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\/04064331\/image054.jpg\" alt=\"Two lines on a coordinate system that cross to form a 90 degree angle. Two green small squares labeled 90 degrees are drawn where they cross and at the corner of the origin.\" width=\"390\" height=\"340\" \/><\/p>\n<p>Perpendicular lines are also everywhere, not just on graph paper but also in the world around us, from the crossing pattern of roads at an intersection to the colored lines of a plaid shirt.<\/p>\n<div class=\"textbox shaded\">\n<h3>Parallel Lines<\/h3>\n<p>Two non-vertical lines in a plane are parallel if they have both:<\/p>\n<ul>\n<li>the same slope<\/li>\n<li>different <i>y<\/i>-intercepts<\/li>\n<\/ul>\n<p>Any two vertical lines in a plane are parallel.<\/p>\n<\/div>\n<h2 class=\"yt watch-title-container\"><span id=\"eow-title\" class=\"watch-title\" dir=\"ltr\" title=\"The Slope of Parallel and Perpendicular Lines\">Find the slopes of parallel lines<\/span><\/h2>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 14<\/h3>\n<p>Find the slope of a line parallel to the line [latex]y=\u22123x+4[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q350329\">Show Solution<\/span><\/p>\n<div id=\"q350329\" class=\"hidden-answer\" style=\"display: none\">\n<p>Identify the slope of the given line.<\/p>\n<p>The given line is written in [latex]y=mx+b[\/latex]\u00a0form, with [latex]m=\u22123[\/latex] and [latex]b=4[\/latex]. The slope is [latex]\u22123[\/latex].<\/p>\n<p>A line parallel to the given line has the same slope.<\/p>\n<h4>Answer<\/h4>\n<p>The slope of the parallel line is [latex]\u22123[\/latex].<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 15<\/h3>\n<p>Determine whether the lines [latex]y=6x+5[\/latex] and [latex]y=6x\u20131[\/latex]\u00a0are parallel.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q619259\">Show Solution<\/span><\/p>\n<div id=\"q619259\" class=\"hidden-answer\" style=\"display: none\">\n<p>Identify the slopes of the given lines.<\/p>\n<p>The given lines are written in [latex]y=mx+b[\/latex]\u00a0form, with [latex]m=6[\/latex]\u00a0for the first line and [latex]m=6[\/latex]\u00a0for the second line. The slope of both lines is 6.<\/p>\n<p>Look at <i>b<\/i>, the <i>y<\/i>-value of the <i>y<\/i>-intercept, to see if the lines are perhaps exactly the same line, in which case we don\u2019t say they are parallel.<\/p>\n<p>The first line has a <i>y<\/i>-intercept at [latex](0,5)[\/latex], and the second line has a <em>y<\/em>-intercept at [latex](0,\u22121)[\/latex]. They are not the same line.<\/p>\n<p>The slopes of the lines are the same and they have different <i>y<\/i>-intercepts, so they are not the same line and they are parallel.<\/p>\n<h4>Answer<\/h4>\n<p>The lines are parallel.<\/p><\/div>\n<\/div>\n<\/div>\n<h2 class=\"yt watch-title-container\"><span id=\"eow-title\" class=\"watch-title\" dir=\"ltr\" title=\"The Slope of Parallel and Perpendicular Lines\">Find the slopes of perpendicular lines<\/span><\/h2>\n<div class=\"textbox shaded\">\n<h3>Perpendicular Lines<\/h3>\n<p>Two non-vertical lines are perpendicular if the slope of one is the negative reciprocal of the slope of the other. If the slope of the first equation is [latex]\\frac{2}{3}[\/latex], then the slope of the second equation will need to be [latex]-\\frac{3}{2}[\/latex] for the lines to be perpendicular.<\/p>\n<\/div>\n<p>You can also check the two slopes to see if the lines are perpendicular by multiplying the two slopes together. If they are perpendicular, the product of the slopes will be [latex]\u22121[\/latex]. For example, [latex]\\frac{2}{3}\\cdot-\\frac{3}{2}=-1[\/latex].<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 16<\/h3>\n<p>Find the slope of a line perpendicular to the line [latex]y=2x\u20136[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q331107\">Show Solution<\/span><\/p>\n<div id=\"q331107\" class=\"hidden-answer\" style=\"display: none\">The given line is written in\u00a0<span class=\"s1\">[latex]y=mx+b[\/latex]<\/span>\u00a0form, with [latex]m=2[\/latex] and [latex]b=-6[\/latex]. The slope of this line is then 2, or equivalently, [latex]m=\\frac{2}{1}[\/latex].<\/p>\n<p>A line perpendicular to this would have a slope that is the negative reciprocal of [latex]\\frac{2}{1}[\/latex], which is [latex]-\\frac{1}{2}[\/latex].<\/p>\n<h4>Answer<\/h4>\n<p>The slope of the perpendicular line is [latex]-\\frac{1}{2}[\/latex].<\/p><\/div>\n<\/div>\n<\/div>\n<p>To find the slope of a perpendicular line, find the reciprocal, [latex]\\displaystyle \\frac{2}{1}[\/latex], which is [latex]\\frac{1}{2}[\/latex],and then find the opposite of this reciprocal, which is [latex]\\displaystyle -\\tfrac{1}{2}[\/latex].<\/p>\n<p>Note that the product [latex]2\\left(-\\frac{1}{2}\\right)=\\frac{2}{1}\\left(-\\frac{1}{2}\\right)=-1[\/latex], so this means the lines are perpendicular.<\/p>\n<p>In the case where one of the lines is vertical, the slope of that line is undefined and it is not possible to calculate the product with an undefined number. When one line is vertical, the line perpendicular to it will be horizontal, having a slope of zero ([latex]m=0[\/latex]).<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 17<\/h3>\n<p>Determine whether the lines [latex]y=\u22128x+5[\/latex]\u00a0and [latex]\\displaystyle y\\,\\text{=}\\,\\,\\frac{1}{8}x-1[\/latex] are parallel, perpendicular, or neither.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q981152\">Show Solution<\/span><\/p>\n<div id=\"q981152\" class=\"hidden-answer\" style=\"display: none\">\n<p>Identify the slopes of the given lines.<\/p>\n<p>The given lines are written in [latex]y=mx+b[\/latex] form, with [latex]m=\u22128[\/latex] for the first line and\u00a0[latex]m=\\frac{1}{8}[\/latex] for the second line.<\/p>\n<p>Determine if the slopes are the same or if they are negative reciprocals.<\/p>\n<p>[latex]-8\\ne\\frac{1}{8}[\/latex], so the lines are not parallel.<\/p>\n<p>The negative reciprocal of [latex]\u22128[\/latex] is [latex]\\displaystyle \\frac{1}{8}[\/latex], so the lines are perpendicular.<\/p>\n<p>The slopes of the lines are negative reciprocals, so the lines are perpendicular.<\/p>\n<h4>Answer<\/h4>\n<p>The lines are perpendicular.<\/p><\/div>\n<\/div>\n<\/div>\n<h2 class=\"yt watch-title-container\"><\/h2>\n<p><iframe loading=\"lazy\" id=\"oembed-4\" title=\"The Slopes of Parallel and Perpendicular Lines\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/IIy4N2lAkDs?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>In this last example, you will work with an equation of a line given in Standard Form instead of Slope-Intercept Form as the previous examples have been given in.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 18<\/h3>\n<p>Consider the equation: [latex]8x-5y=10[\/latex]<\/p>\n<p>What is the slope of a line that is parallel to the above line?<\/p>\n<p>What is the slope of a line that is perpendicular to the above line?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q390273\">Show Answer<\/span><\/p>\n<div id=\"q390273\" class=\"hidden-answer\" style=\"display: none\">\n<p>First, we must write the equation in Slope-Intercept Form.\u00a0 To do this, we must solve for y.<\/p>\n<p style=\"text-align: center;\">[latex]8x-5y=10[\/latex]<\/p>\n<p>Subtract 8x from both sides of the equation<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}8x-5y=10\\\\\\underline{\\,\\,\\,\\,-8x\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-8x}\\\\ \\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-5y=-8x+10\\end{array}[\/latex]<\/p>\n<p>Divide each term by -5<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{-5y}{-5}=\\frac{-8x}{-5}+\\frac{10}{-5}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]y=\\frac{8}{5}x-2[\/latex]<\/p>\n<p>Now that the equation is in Slope-Intercept Form, we know the slope of this line is [latex]\\frac{8}{5}[\/latex].<\/p>\n<p>Since parallel lines have the same slope, we now know that the slope of a line parallel to\u00a0[latex]8x-5y=10[\/latex] is also\u00a0[latex]\\frac{8}{5}[\/latex].<\/p>\n<p>Perpendicular lines have slopes that are negative reciprocals of each other.\u00a0 Since the negative reciprocal of\u00a0[latex]\\frac{8}{5}[\/latex] is\u00a0[latex]-\\frac{5}{8}[\/latex], a line perpendicular to\u00a0[latex]8x-5y=10[\/latex] would have a slope of\u00a0[latex]-\\frac{5}{8}[\/latex].<\/p>\n<p><strong>Solution:\u00a0<\/strong><\/p>\n<p>A line parallel to\u00a0[latex]8x-5y=10[\/latex] would have a slope of\u00a0[latex]\\frac{8}{5}[\/latex].<\/p>\n<p>A line perpendicular to\u00a0[latex]8x-5y=10[\/latex] would have a slope of\u00a0[latex]-\\frac{5}{8}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Graph a line using the slope and y-intercept<\/h2>\n<p>Previously we learned how to graph linear equations by finding ordered pairs that are solutions to the equation and then using those points to create a graph of the line.\u00a0 Another option for graphing linear functions is using the slope and y-intercept.<\/p>\n<p>Let us consider the following function.<\/p>\n<p style=\"text-align: center;\">[latex]f\\left(x\\right)=\\dfrac{1}{2}x+1[\/latex]<\/p>\n<p>The function is in slope-intercept form.\u00a0 Therefore, we know the slope of the line is [latex]\\dfrac{1}{2}[\/latex] and the [latex]y[\/latex]-intercept is the point [latex](0,1)[\/latex].\u00a0 Next, we will look at the slope.<\/p>\n<p style=\"text-align: center;\">[latex]slope=\\frac{rise}{run}=\\frac{1}{2}[\/latex]<\/p>\n<p>So, starting from the [latex]y[\/latex]-intercept [latex](0,1)[\/latex], we can &#8220;rise&#8221; 1 unit and &#8220;run&#8221; 2 units to locate a second point on our line.\u00a0 In other words, we will go up 1 unit and to the right 2 units.\u00a0 That brings us to the point [latex](2,2)[\/latex].\u00a0 We can repeat that process from the point [latex](2,2)[\/latex] to locate an additional point on the line.\u00a0 Drawing a line through those points creates the graph of our equation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201048\/CNX_Precalc_Figure_02_02_0032.jpg\" alt=\"graph of the line y = (1\/2)x +1 showing the &quot;rise&quot;, or change in the y direction as 1 and the &quot;run&quot;, or change in x direction as 2, and the y-intercept at (0,1)\" width=\"617\" height=\"340\" \/><\/p>\n<div class=\"textbox\">\n<h3>How To: Given the equation for a linear function, graph the function using the <em>y<\/em>-intercept and slope<\/h3>\n<ol>\n<li>Evaluate the function at an input value of zero to find the <em>y-<\/em>intercept.\u00a0 This will always be [latex](0,b)[\/latex].<\/li>\n<li>Identify the slope.<\/li>\n<li>Plot the point represented by the <em>y-<\/em>intercept.<\/li>\n<li>Use [latex]\\dfrac{\\text{rise}}{\\text{run}}[\/latex] to determine at least two more points on the line.<\/li>\n<li>Sketch the line that passes through the points.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 19<\/h3>\n<p>Graph [latex]f\\left(x\\right)=-\\dfrac{2}{3}x+5[\/latex] using the <em>y-<\/em>intercept and slope.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q421669\">Show Solution<\/span><\/p>\n<div id=\"q421669\" class=\"hidden-answer\" style=\"display: none\">\n<p>The function is written in slope-intercept form.\u00a0 Therefore, we know the slope of the line is [latex]-\\frac{2}{3}[\/latex] and the [latex]y[\/latex]-intercept is the point [latex](0,5)[\/latex].\u00a0 We will begin graphing by plotting the point [latex](0,5)[\/latex].\u00a0 From this point we will use the slope to locate a second point on the line.\u00a0 The fraction [latex]-\\frac{2}{3}[\/latex] can also be written as [latex]\\frac{-2}{3}[\/latex].\u00a0 Let&#8217;s consider what this means in terms of our slope.<\/p>\n<p style=\"text-align: center;\">[latex]slope=\\frac{rise}{run}=\\frac{-2}{3}[\/latex]<\/p>\n<p>What do you think the negative in the numerator means in terms of locating our second point?\u00a0 When the numerator is positive, we go up the indicated number of units.\u00a0 Since our numerator is negative, we will go down 2 units instead.\u00a0 Going down 2 units and then right 3 units brings us to the point [latex](3,3)[\/latex].\u00a0 Drawing a line through the points [latex](0,5)[\/latex] and [latex](3,3)[\/latex] creates the graph of this equation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201050\/CNX_Precalc_Figure_02_02_0042.jpg\" alt=\"Coordinate system with decreasing line with points at (0,5), (3,3) and (6,1). Vertical and horizontal arrows are drawn below the line, indicating steps from one shown point to the next.\" width=\"487\" height=\"318\" \/><\/p>\n<p>Notice that the line slants downward from left to right.\u00a0 This is consistent with having a negative slope.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>In the following video we show another example of how to graph a linear function given the y-intercepts and the slope.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-5\" title=\"Ex: Graph a Line and ID the Slope and Intercepts (Fraction Slope)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/N6lEPh11gk8?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>In the next example, we will graph another linear function using the slope and [latex]y[\/latex]-intercept.\u00a0 However, in this example, the equation is not given in slope-intercept form.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 20<\/h3>\n<p>Graph [latex]3x+4y=24[\/latex]\u00a0using the slope and y-intercept.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q930515\">Show Solution<\/span><\/p>\n<div id=\"q930515\" class=\"hidden-answer\" style=\"display: none\">\n<p>This equation is not written in slope-intercept form.\u00a0 Therefore, the first thing we need to do is solve for [latex]y[\/latex] and rewrite the equation in slope-intercept form.<\/p>\n<p style=\"text-align: center;\">[latex]3x+4y=24[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\underline{-3x\\hspace{.42in}-3x}\\hspace{.1in}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.95in}4y=-3x+24[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{4y}{4}=\\frac{-3x}{4}+\\frac{24}{4}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]y=-\\frac{3}{4}x+6[\/latex]<\/p>\n<p>Now that the equation is in slope-intercept form, we know that the slope of the line is [latex]-\\frac{3}{4}[\/latex] and the [latex]y[\/latex]-intercept is the point [latex](0,6)[\/latex].<\/p>\n<p>To graph the equation, we will first plot the point [latex](0,6)[\/latex].\u00a0 Then, using the slope to locate a second point on the line, we will go down 3 units (because the slope is negative) and then right 4 units.\u00a0 That brings us to the point [latex](4,3)[\/latex].\u00a0 Drawing a line through our two points gives us the graph of the equation.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2482 size-medium\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/121\/2016\/07\/13204212\/Screen-Shot-2016-07-13-at-1.35.32-PM-300x229.png\" alt=\"A decreasing linear graph with points labeled at (0,6), (4,3) and (8,0).\" width=\"300\" height=\"229\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Summary<\/h2>\n<p>Slope describes the steepness of a line. The slope of any line remains constant along the line. The slope can also tell you information about the direction of the line on the coordinate plane. Slope can be calculated either by looking at the graph of a line or by using the coordinates of any two points on a line. There are two common formulas for slope: [latex]\\displaystyle \\text{Slope }=\\frac{\\text{rise}}{\\text{run}}[\/latex] and [latex]\\displaystyle m=\\frac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}[\/latex] where [latex]m=\\text{slope}[\/latex]\u00a0and [latex]\\displaystyle ({{x}_{1}},{{y}_{1}})[\/latex] and [latex]\\displaystyle ({{x}_{2}},{{y}_{2}})[\/latex] are two points on the line.<\/p>\n<p>The images below summarize the slopes of different types of lines.<\/p>\n<p><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\/04064320\/image042.gif\" alt=\"Four coordinate plane graphs: uphill line with positive slope, downhill line with negative slope, horizontal line with slope equals zero, and vertical line with undefined slope.\" width=\"456\" height=\"183\" \/><\/p>\n<h2><\/h2>\n","protected":false},"author":348856,"menu_order":5,"template":"","meta":{"_candela_citation":"[]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-6648","chapter","type-chapter","status-publish","hentry"],"part":2528,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/users\/348856"}],"version-history":[{"count":57,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6648\/revisions"}],"predecessor-version":[{"id":9620,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6648\/revisions\/9620"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/parts\/2528"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6648\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/media?parent=6648"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=6648"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/contributor?post=6648"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/license?post=6648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}