<meta http-equiv="refresh" content="1; url=/nojavascript/">

# Slope of a Line Using Two Points

%
Progress
Practice Slope of a Line Using Two Points
Progress
%
Finding the Slope and Equation of a Line

The grade, or slope, of a road is measured in a percentage. For example, if a road has a downgrade of 7%, this means, that over every 100 horizontal feet, the road will slope down 7 feet vertically.

If a highway has a downgrade of 12% for 3 miles (5280 feet in a mile), how much will the road drop? What is the slope of this stretch of highway?

### Guidance

The slope of a line determines how steep or flat it is. When we place a line in the coordinate plane, we can measure the slope, or steepness, of a line. Recall the parts of the coordinate plane, also called a $x-y$ plane and the Cartesian plane, after the mathematician Descartes.

To plot a point, order matters. First, every point is written $(x, y),$ where $x$ is the movement in the $x-$ direction and $y$ is the movement in the $y-$ direction. If $x$ is negative, the point will be in the $2^{nd}$ or $3^{rd}$ quadrants. If $y$ is negative, the point will be in the $3^{rd}$ or $4^{th}$ quadrants. The quadrants are always labeled in a counter-clockwise direction and using Roman numerals.

The point in the $4^{th}$ quadrant would be (9, -5).

To find the slope of a line or between two points, first, we start with right triangles. Let’s take the two points (9, 6) and (3, 4). Plotting them on a $x-y$ plane, we have:

To turn this segment into a right triangle, draw a vertical line down from the higher point, and a horizontal line from the lower point, towards the vertical line. Where the two lines intersect is the third vertex of the slope triangle.

Now, count the vertical and horizontal units along the horizontal and vertical sides ( ${\color{red}{\mathbf{red}}}$ dotted lines).

The slope is a fraction with the vertical distance over the horizontal distance, also called the “rise over run.” Because the vertical distance goes down, we say that it is -2. The horizontal distance moves towards the negative direction (the left), so we would say that it is -6. So, for slope between these two points, the slope would be $\frac{-2}{-6}$ or $\frac{1}{3}$ .

Note : You can also draw the right triangle above the line segment.

#### Example A

Use a slope triangle to find the slope of the line below.

Solution: Notice the two points that are drawn on the line. These are given to help you find the slope. Draw a triangle between these points and find the slope.

From the slope triangle above, we see that the slope is $\frac{-4}{4} = -1$ .

Whenever a slope reduces to a whole number, the “run” will always be positive 1. Also, notice that this line points in the opposite direction as the line segment above. We say this line has a negative slope because the slope is a negative number and points from the $2^{nd}$ to $4^{th}$ quadrants. A line with positive slope will point in the opposite direction and point between the $1^{st}$ and $3^{rd}$ quadrants.

If we go back to our previous example with points (9, 6) and (3, 4), we can find the vertical distance and horizontal distance another way.

From the picture, we see that the vertical distance is the same as the difference between the $y-$ values and the horizontal distance is the difference between the $x-$ values. Therefore, the slope is $\frac{6-4}{9-3}$ . We can extend this idea to any two points, $(x_1, y_1)$ and $(x_2, y_2)$ .

Slope Formula: For two points $(x_1, y_1)$ and $(x_2, y_2),$ the slope between them is $\frac{y_2 - y_1}{x_2 - x_1}$ . The symbol for slope is $m$ .

It does not matter which point you choose as $(x_1, y_1)$ or $(x_2, y_2)$ .

#### Example B

Find the slope between (-4, 1) and (6, -5).

Solution: Use the Slope Formula above. Set $(x_1, y_1) = (-4, 1)$ and $(x_2, y_2) = (6, -5)$ .

$m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{6 -(-4)}{-5 - 1} = \frac{10}{-6} = -\frac{5}{3}$

#### Example C

Find the slope between (9, -1) and (2, -1).

Solution: Use the Slope Formula. Set $(x_1, y_1) = (9, -1)$ and $(x_2, y_2) = (2, -1)$ .

$m = \frac{-1 - (-1)}{2 - 9} = \frac{0}{-7} = 0$

Here, we have zero slope. Plotting these two points we have a horizontal line. This is because the $y-$ values are the same. Anytime the $y-$ values are the same we will have a horizontal line and the slope will be zero.

Intro Problem Revisit The road slopes down 12 feet over every 100 feet.

Let's set up a ratio to find out how much the road slopes in 3 miles, or $3 \cdot 5280 = 15,840$ feet.

$\frac{12}{100}&= \frac{x}{15,840} \\15840 \cdot \frac{12}{100} &= x \\x &= 1900.8$

The road drops 1900.8 feet over the 3 miles. The slope of the road is $\frac{12}{100}$ or $\frac{3}{25}$ when the fraction is reduced.

### Guided Practice

1. Use a slope triangle to find the slope of the line below.

2. Find the slope between (2, 7) and (-3, -3).

3. Find the slope between (-4, 5) and (-4, -1).

1. Counting the squares, the vertical distance is down 6, or -6, and the horizontal distance is to the right 8, or +8. The slope is then $\frac{-6}{8}$ or $-\frac{2}{3}$ .

2. Use the Slope Formula. Set $(x_1, y_1) = (2, 7)$ and $(x_2, y_2) = (-3, -3)$ .

$m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{-3 -7}{-3 -2} = \frac{-10}{-5} = 2$

3. Again, use the Slope Formula. Set $(x_1, y_1) = (-4, 5)$ and $(x_2, y_2) = (-4, -1)$ .

$m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{-1 -5}{-4 -(-4)} = \frac{-6}{0}$

You cannot divide by zero. Therefore, this slope is undefined. If you were to plot these points, you would find they form a vertical line. All vertical lines have an undefined slope.

Important Note : Always reduce your slope fractions. Also, if the numerator or denominator of a slope is negative, then the slope is negative. If they are both negative, then we have a negative number divided by a negative number, which is positive, thus a positive slope.

### Explore More

Find the slope of each line by using slope triangles.

Find the slope between each pair of points using the Slope Formula.

1. (-5, 6) and (-3, 0)
2. (1, -1) and (6, -1)
3. (3, 2) and (-9, -2)
4. (8, -4) and (8, 1)
5. (10, 2) and (4, 3)
6. (-3, -7) and (-6, -3)
7. (4, -5) and (0, -13)
8. (4, -15) and (-6, -11)
9. (12, 7) and (10, -1)
10. Challenge The slope between two points $(a, b)$ and (1, -2) is $\frac{1}{2}$ . Find $a$ and $b$ .