<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Slope

## Understand slope as the steepness of a line.

Estimated16 minsto complete
%
Progress
Practice Slope

MEMORY METER
This indicates how strong in your memory this concept is
Progress
Estimated16 minsto complete
%
Finding the Slope of a Line

Jacques is at the top of a hill in the Whistler Ski Resort. As he looks around he sees a flag with the coordinates (98,60)\begin{align*}(98, 60)\end{align*}  blowing in the wind. Jacques wonders if these coordinates have anything to do with the coordinates (82,124)\begin{align*}(82, 124) \end{align*} he saw on a flag on his way up on the lift. What could these coordinates be telling Jacques about the steepness of the hill?

In this concept, you will learn to find the slope of a line.

### Slopes

The graph of a linear function is a straight line. Although the graphs are all straight lines, the slant or steepness of the lines vary from graph to graph. The slant or steepness of a straight line is referred to as the slope of the line. The slope of a line indicates the rate at which a change in x\begin{align*}x\end{align*} (the horizontal coordinates) creates a change in the value of y\begin{align*}y\end{align*} (the vertical coordinates).

In mathematics, the slope of a line is represented by the letter m\begin{align*}m\end{align*} as defined by:

m=ΔyΔxchange in ychange in xriserun\begin{align*}m = \frac{\Delta y}{\Delta x} \rightarrow \frac{\text{change in }y}{\text{change in }x} \rightarrow \frac{\text{rise}}{\text{run}}\end{align*}

The slope of a graph can be found by counting as shown on the graph below.

m=riserun\begin{align*}m=\frac{\text{rise}}{\text{run}}\end{align*}

First, find two exact points (points on the line that are on the corner of a box on the grid) on the graph.

Next, begin with a point to the left and count horizontally to the right until you are either directly above or directly below the second point.

Then, write the number that you have just moved horizontally in a positive direction as the denominator (run) of the slope.

Next, count the number vertically to the second point. If you move vertically upward then the number is positive. If you move vertically downward then the number is negative.

Then, write this value as the numerator (rise) of the slope.

For the following graph:

m=riserun m=21\begin{align*}m = \frac{\text{rise}}{\text{run}} \quad \ m = \frac{2}{1}\end{align*}

The slope of a line remains unchanged everywhere on the line. The slope of this line is positive as it moves upward from left to right. If the slope of the line were negative then the line would move downward from left to right.

If you are not given a graph, the slope of a line can be determined by using the coordinates of two points on the line.

Let’s look at another example.

The points A(15,8)\begin{align*}A(15, 8)\end{align*} and B(10,7)\begin{align*}B(10, 7)\end{align*} are on a straight line. What is the slope of the line?

When two points on the straight line are known, the slope can be calculated using the formula m=y2y1x2x1\begin{align*}m=\frac{y_2-y_1}{x_2-x_1}\end{align*} where (x1,y1)\begin{align*}(x_1, y_1)\end{align*} are the coordinates of the point chosen to be the first point and (x2,y2)\begin{align*}(x_2, y_2)\end{align*} are the coordinates of the point chosen to be the second point. Of the two given points the one chosen as the first and the one chosen as the second will not affect the value of the slope of the line.

First, choose and label the points as the first point and the second point.

(x1,15,y18) and (x2,10,y27)\begin{align*}\begin{pmatrix} x_1, & y_1 \\ 15, & 8 \end{pmatrix} \ \text{and} \ \begin{pmatrix} x_2, & y_2 \\ 10, & 7 \end{pmatrix}\end{align*}

Next, write the formula for finding the slope.

m=y2y1x2x1\begin{align*}m = \frac{y_2 - y_1}{x_2 - x_1}\end{align*}

Next, fill in the values for the coordinates as they have been named.

mm==y2y1x2x1781015\begin{align*}\begin{array}{rcl} m &=& \frac{y_2-y_1}{x_2-x_1}\\ m &=& \frac{7-8}{10-15} \end{array}\end{align*}

Next, simplify the numerator and the denominator of the formula.

mm==-1-515\begin{align*}\begin{array}{rcl} m &=& \frac{\text{-}1}{\text{-}5}\\ m &=& \frac{1}{5} \end{array}\end{align*}

The slope of the straight line is 15\begin{align*}\frac{1}{5}\end{align*}.

Let’s look at the slopes of the two special straight lines.

Find the slope of the line having x=-4\begin{align*}x = \text{-}4\end{align*} as its equation.

First, graph the straight line and determine the coordinates of two points that the line passes through.

The vertical line passes through the point (4,0)\begin{align*}(-4, 0)\end{align*} and is parallel to the y\begin{align*}y\end{align*}-axis. The line also passes through the point (4,1)\begin{align*}(-4, -1)\end{align*}

First, name the points as being the first point and the second point.

(x1,4,y10) and (x2,4,y21)\begin{align*}\begin{pmatrix} x_1, & y_1 \\ -4, & 0 \end{pmatrix} \ \text{and} \ \begin{pmatrix} x_2, & y_2 \\ -4, & -1 \end{pmatrix}\end{align*}

Next, write the formula for finding the slope.

m=y2y1x2x1\begin{align*}m = \frac{y_2-y_1}{x_2-x_1}\end{align*}

Next, fill in the values for the coordinates as they have been named.

mmm===y2y1x2x1-10-4-4-10-4+4\begin{align*}\begin{array}{rcl} m &=& \frac{y_2-y_1}{x_2-x_1}\\ m &=& \frac{\text{-}1-0}{\text{-}4-\text{-}4}\\ m &=& \frac{\text{-}1-0}{\text{-}4+4} \end{array}\end{align*}

Next, simplify the numerator and the denominator of the formula.

\begin{align*}\begin{array}{rcl} m &=& \frac{\text{-}1}{0}\\ m &=& \text{undefined} \end{array}\end{align*}

Remember division by zero is undefined.

The slope of the vertical line having the equation \begin{align*}x=\text{-}4\end{align*} is undefined.

All vertical lines have a slope that is undefined.

Find the slope of the line having \begin{align*}y=5\end{align*} as its equation.

First, graph the straight line and determine the coordinates of two points that the line passes through.

The horizontal line passes through the point \begin{align*}(0, 5)\end{align*} and is parallel to the \begin{align*}x\end{align*}-axis. The line also passes through the point \begin{align*}(1, 5)\end{align*}.

First, name the points as being the first point and the second point.

\begin{align*}\begin{pmatrix} x_1, & y_1 \\ 0, & 5 \end{pmatrix} \ \text{and} \ \begin{pmatrix} x_2, & y_2 \\ 1, & 5 \end{pmatrix}\end{align*}

Next, write the formula for finding the slope.

\begin{align*}m = \frac{y_2-y_1}{x_2-x_1}\end{align*}

Next, fill in the values for the coordinates as they have been named.

\begin{align*}\begin{array}{rcl} m &=& \frac{y_2-y_1}{x_2-x_1}\\ m &=& \frac{5-5}{1-0} \end{array}\end{align*}

Next, simplify the numerator and the denominator of the formula.

\begin{align*}\begin{array}{rcl} m &=& \frac{0}{1}\\ m &=& 0 \end{array}\end{align*}

Remember any number divided by zero equals zero.

The slope of the horizontal line having the equation \begin{align*}y=5\end{align*} is zero.

All horizontal lines have a slope of zero.

### Examples

#### Example 1

Earlier, you were given a problem about Jacques and the coordinates on the flags. He needs to figure out if the coordinates have anything to do with the steepness of the ski hill. How can Jacques figure this out?

He can use the formula to calculate the slope of the ski hill.

First, name the points as being the first point and the second point.

\begin{align*}\begin{pmatrix} x_1, & y_1 \\ 98, & 60 \end{pmatrix} \ \text{and} \ \begin{pmatrix} x_2, & y_2 \\ 82, & 124 \end{pmatrix}\end{align*}

Next, write the formula for finding the slope.

\begin{align*}m = \frac{y_2-y_1}{x_2-x_1}\end{align*}

Next, fill in the values for the coordinates as they have been named.

\begin{align*}\begin{array}{rcl} m &=& \frac{y_2-y_1}{x_2-x_1}\\ m &=& \frac{124-60}{82-98} \end{array}\end{align*}

Next, simplify the numerator and the denominator of the formula.

\begin{align*}\begin{array}{rcl} m &=& \frac{64}{\text{-}16}\\ m &=& \frac{\text{-}4}{1} \end{array}\end{align*}

The slope of the line is \begin{align*}\frac{\text{-}4}{1}\end{align*}.

Remember, the slope of a line indicates the rate at which a change in \begin{align*}x\end{align*} creates a change in the value of \begin{align*}y\end{align*}. For the ski hill, a horizontal change of positive 1 changes the vertical value 4 units downward. The ski hill is very steep.

#### Example 2

What is the slope of the straight line shown on the following graph?

First, select two exact points on the line.

Next, begin with a point to the left and count horizontally to the right until you are either directly above or directly below the second point.

Then, write the number that you have just moved horizontally in a positive direction as the denominator (run) of the slope.

Next, count the number vertically to the second point. If you move vertically upward then the number is positive. If you move vertically downward then the number is negative.

Then, write this value as the numerator (rise) of the slope.

For the above graph:

\begin{align*}m = \frac{\text{rise}}{\text{run}} \quad m = \frac{{\color{blue}2}}{{\color{red}3}}\end{align*}

#### Example 3

What is the slope of the line passing through the points \begin{align*}A(-6, 10)\end{align*} and \begin{align*}B(-2, 7)\end{align*}?

First, name the points as being the first point and the second point.

\begin{align*}\begin{pmatrix} x_1, & y_1 \\ -6, & 10 \end{pmatrix} \ \text{and} \ \begin{pmatrix} x_2, & y_2 \\ -2, & 7 \end{pmatrix}\end{align*}

Next, write the formula for finding the slope.

\begin{align*}m = \frac{y_2-y_1}{x_2-x_1}\end{align*}

Next, fill in the values for the coordinates as they have been named.

\begin{align*}\begin{array}{rcl} m &=& \frac{y_2-y_1}{x_2-x_1}\\ m &=& \frac{7-10}{\text{-}2-\text{-}6}\\ m &=& \frac{7-10}{\text{-}2+6} \end{array}\end{align*}

Next, simplify the numerator and the denominator of the formula.

\begin{align*}m = \frac{\text{-}3}{4}\end{align*}

The slope of the line is \begin{align*}\frac{\text{-}3}{4}\end{align*}.

#### Example 4

Describe the graph of a line that has \begin{align*}y=-3\end{align*} as its equation and state the slope of the line.

First, draw a graph to model the equation \begin{align*}y=-3\end{align*}.

The graph is a horizontal line parallel to the \begin{align*}x\end{align*}-axis. The slope of a horizontal line is zero.

\begin{align*}m=0\end{align*}

#### Example 5

Use the formula for slope to calculate the slope of the straight line passing through the points \begin{align*}(-8, -5)\end{align*} and \begin{align*}(12, -6)\end{align*}.

First, name the points as being the first point and the second point.

\begin{align*}\begin{pmatrix} x_1, & y_1 \\ -8, & -5 \end{pmatrix} \ \text{and} \ \begin{pmatrix} x_2, & y_2 \\ 12, & -6 \end{pmatrix}\end{align*}

Next, write the formula for finding the slope.

\begin{align*}m = \frac{y_2-y_1}{x_2-x_1}\end{align*}

Next, fill in the values for the coordinates as they have been named.

\begin{align*}\begin{array}{rcl} m &=& \frac{y_2-y_1}{x_2-x_1}\\ m &=& \frac{\text{-}6-\text{-}5}{12-\text{-}8}\\ m &=& \frac{\text{-}6+5}{12+8} \end{array}\end{align*}

Next, simplify the numerator and the denominator of the formula.

\begin{align*}m = \frac{\text{-}1}{20}\end{align*}

The slope of the line is \begin{align*}\frac{\text{-}1}{20}\end{align*}.

### Review

Answer true or false for each of the following questions.

1. True or false. The equation of a line is always linear.

2. True or false. A linear equation will be shown as a straight line on a graph.

3. True or false. The \begin{align*}x\end{align*}-intercept is where the line crosses the \begin{align*}y\end{align*} axis.

4. True or false. The \begin{align*}y\end{align*}-intercept is where the line crosses the \begin{align*}y\end{align*} axis.

5. True or false. A vertical line has an undefined slope.

6. True or false. A horizontal line has a slope of 0.

7. True or false. Slope is the distance that the line travels on the coordinate graph.

8. True or false. Slope is found using a ratio.

9. True or false. You can figure out the slope of a line if you have been given one set of points.

10. True or false. You will need two sets of points that a line passes through to figure out the slope.

Figure out the slope of a line that passes through each of the following pairs of points.

11. \begin{align*}(2, 3) (3, 4)\end{align*}

12. \begin{align*}(4, 5) (2, 3)\end{align*}

13. \begin{align*}(2, 1) (\text{-}1, 3)\end{align*}

14. \begin{align*}(3, 1) (4, 3)\end{align*}

15. \begin{align*}(5, 7) (3, 6)\end{align*}

16. \begin{align*}(3, 0) (4, 1)\end{align*}

17. \begin{align*}(6, 4) (2, 7)\end{align*}

18. \begin{align*}(2, 0) (0, 1)\end{align*}

19. \begin{align*}(6, 1) (1, 6)\end{align*}

20. \begin{align*}(4, 4) (5, 0)\end{align*}

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

TermDefinition
Horizontally Horizontally means written across in rows.
Negative Slope A line with a negative slope will slant down from left to right.
Positive Slope A line with a positive slope will slant up from left to right.
Ratio A ratio is a comparison of two quantities that can be written in fraction form, with a colon or with the word “to”.
Slope Slope is a measure of the steepness of a line. A line can have positive, negative, zero (horizontal), or undefined (vertical) slope. The slope of a line can be found by calculating “rise over run” or “the change in the $y$ over the change in the $x$.” The symbol for slope is $m$
Undefined An expression in mathematics is undefined when it has no meaning. Division by zero is undefined.
Vertically Vertically means written up and down in columns.

1. [1]^ License: CC BY-NC 3.0
2. [2]^ License: CC BY-NC 3.0
3. [3]^ License: CC BY-NC 3.0
4. [4]^ License: CC BY-NC 3.0
5. [5]^ License: CC BY-NC 3.0
6. [6]^ License: CC BY-NC 3.0
7. [7]^ License: CC BY-NC 3.0

### Explore More

Sign in to explore more, including practice questions and solutions for Slope.