6.2 Slope of a Line
When you graph linear equations, you may notice that some lines tilt up as they go from left to right, and other lines tilt down. Some lines are very steep, and other lines are flatter. In mathematics, the measure of the steepness of a line is called the slope of the line.
The concept of slope has many applications in the real world. In construction, the pitch of a roof, the slant of pipes used for plumbing, and the steepness of a wheelchair ramp are all applications of slope. When you ski, bike, or jog on a hill, you may consider the slope of the hill because this will give you an idea of the difficulty level of that hill.
We can assign a numerical value to the slope of a line by finding the ratio of the rise and run. The rise is the amount the vertical distance changes, while the run measures the horizontal change.
Slope of a Line Ratio
| Slope of a Line Ratio |
Note: The letter m is used to denote slope. |
| To use the slope of a line ratio: |
| Step 1: Locate two points on a line whose coordinates are integers.
Step 2: Starting with the point on the left, sketch a right triangle, going from the first point to the second point. Step 3: Count the rise and the run on the legs of the triangle. Step 4: Take the ratio of rise to run to find the slope, Step 5: Reduce your ratio, if necessary. |
Note that we “read” a line from left to right just like we read words in English. The line in the first figure is going up from left to right, so it has positive slope. The line in the second figure is going down from left to right, so it has negative slope.

Example 1
Find the slope of the line below.

| Steps | Solution |
| Locate two points on the line whose coordinates are integers. | ![]() |
| Starting with the point on the left, sketch a right triangle, going from the first point to the second point. | ![]() |
| Count the rise and the run on the legs of the triangle. | ![]() |
| Take the ratio of rise to run to find the slope, Determine whether the slope is positive or negative by checking if the line is going up or down from left to right. |
The slope is positive because the line goes up from left to right. |
| Reduce your ratio, if necessary. | The ratio cannot be reduced in this example. |
Practice 1
Find the slope of each of the following linear relations.
a)![]() |
b)![]() |
c)![]() |
d)![]() |
Slope of a Horizontal Line
Example 2
Find the slope of
.
| Steps | Solution |
| Draw a sketch of the graph, and locate two points on the line whose coordinates are integers. | ![]() |
| Identify the rise and the run. | The rise is 0. The run is 3. |
| Take the ratio of rise to run to find the slope, |
![]() The slope of the horizontal line |
Practice 2
Find the slope of each line using the slope ratio.
| a)
|
b)
|
Slope of a Vertical Line
Example 3
Find the slope of
.
| Steps | Solution |
| Draw a sketch of the graph, and locate two points on the line whose coordinates are integers. | ![]() |
| Identify the rise and the run. | The rise is The run is |
| Take the ratio of rise to run to find the slope, |
![]() The slope of the vertical line |
Practice 3
Find the slope of the lines using the slope ratio.
| a)
|
b)
|
To recap:
| Slope of a Horizontal Line | Slope of a Vertical Line |
The slope of a horizontal line, ![]() |
The slope of a vertical line, ![]() |
Graph a Line Given a Point and the Slope
Example 4
Graph the line that passes through the point (1, –1) whose slope is
.
| Steps | Solution |
| Plot the given point. | ![]() |
| Use the slope ratio to identify the rise and run. | |
| Starting at the given point, count out the rise and run to mark the second point. | ![]() |
| Connect the points with a line. | ![]() |
Practice 4
Draw the line that goes through the point (1, –3) and has a slope of
. Plot four points on the coordinate plane to help you draw the line.
![]() |
Slope Word Problems
Practice 5
| The “pitch” of a building’s roof is the slope of the roof. Knowing the pitch is important in climates where there is heavy snowfall. If the roof is too flat, the weight of the snow may cause it to collapse. What is the slope of the roof shown below?
|
Practice 6
| The sewage pipes going away from your house to the street must slope downward
|
Homework
-
Find the slope of each of the following linear relations.
a)

b)

c)

d)

e)

f)

-
Find the slope of each line.
a) 
b) 
c) 
d) 
e) 
f) 
g) 
h) 
-
Graph a line with the given slope and point.
a) (1, –2);

b) (2, 5);

c) (1, 5); m = –3 
d) (–1, –4);

e) y-intercept = 3;

f) x-intercept = –2;

-
The rules for wheelchair ramps require a maximum 1-inch rise for a 12-inch run.
a) How long must the ramp be to accommodate a 24-inch rise to the door?
b) Draw a diagram of the ramp. -
A local road has a grade of 6%. The grade of a road is its slope expressed as a percentage. Find the slope of the road as a fraction, and then simplify. What rise and run would reflect this slope or grade?
-
A hiker climbs a mountain. The elevation increases by 300 metres for every 2 kilometres of horizontal distance. What is the slope of the hike?
-
The elevation of a road decreases by 200 centimetres for every 20 metres of horizontal distance. What is the slope of the road?
-
A local road rises 2 feet for every 50 feet of highway.
a) What is the slope of the highway?
b) The grade of a highway is its slope expressed as a percentage. What is the grade of the highway? -
What does the sign of the slope tell you about a line?
-
Why is the slope of a vertical line “undefined”?
-
How does the graph of a line with slope
differ from the graph of a line with slope
? -
The slope of a roof can be determined by measuring the change in height compared to the horizontal distance. If the roof rises y feet in height for every feet of horizontal distance, and the slope of the roof is
, what is the value of y?
Answers
1.
| a) |
b) |
c) |
d) |
e) |
f) |
2.
| a) 0 | b) 0 | c) undefined | d) undefined |
| e) 0 | f) 0 | g) undefined | h) undefined |
3.
a)![]() |
b)![]() |
c)![]() |
d)![]() |
e)![]() |
f)![]() |
| 4.
a) 288 inches or 24 feet |
5. rise = 3 run = 50
|
6.
|
7.
|
8. a)
b) ![]()
9. When the slope is a positive number, the line goes up from left to right. When the slope is a negative number, the line goes down from left to right.
10. A vertical line has 0 run, and since division by 0 is undefined, the slope is undefined.
11. A graph with a slope of
has a rise of 1 and a run of 2, while a graph with a slope of
has a rise of 2 and a run of 1.
12. 12 feet
Attribution
Unless otherwise indicated, material on this page has been adapted from the following resource:
Marecek, L., & Honeycutt Mathis, A. (2020). Intermediate algebra 2e. OpenStax. https://collection.bccampus.ca/textbooks/key-concepts-of-intermediate-level-math-bccampus-204/, licensed under CC BY 4.0
Mazur, I. (2021). Introductory algebra. BCcampus. https://collection.bccampus.ca/textbooks/intermediate-algebra-bccampus-412/, licensed under CC BY 4.0























