3 / 6 · Basic
Slope
A road with a 6% grade rises 6 metres for every 100 metres across: a slope of 6/100 = 3/50.
Jump to the 10 practice questionsYou will learn
- Find slope as rise over run
- Use the slope formula with coordinates
- Know the slopes of flat and upright lines
Before this: Graphing a linear equation
1Explain
Rise over run
Some lines climb steeply, some gently, some fall, and some lie flat. The number that measures this tilt is the slope, written m. OpenStax lists the places you meet it outside a classroom: the pitch of a roof, the grade of a highway and a ramp for a wheelchair. To find the slope of a line, pick two points on it, draw the right triangle between them, and measure two sides. The vertical change is the rise and the horizontal change is the run. The slope is m = rise/run.
From (−4, −4) to (4, 2): run 8 to the right, rise 6 up. The slope is 6/8 = 3/4.
2Problem
From (−4, −4) to (4, 2)
What is the slope of the line through (−4, −4) and (4, 2)?
Hint
Rise 6, run 8.
Solution
Answer: 3/4
m = (2 − (−4)) / (4 − (−4)) = 6/8 = 3/4.
3Explore
The slope formula
With coordinates you do not need to count squares. For points (x₁, y₁) and (x₂, y₂), the rise is y₂ − y₁ and the run is x₂ − x₁, so m = (y₂ − y₁)/(x₂ − x₁). For (−4, −4) and (4, 2): m = (2 − (−4))/(4 − (−4)) = 6/8 = 3/4. Subtract in the same order on the top and bottom. If you start with the second point instead, both differences change sign and the slope is the same: (−4 − 2)/(−4 − 4) = −6/−8 = 3/4. A positive slope rises from left to right; a negative slope falls.
Move the two points: the dashed triangle shows run and rise, and the slope is rise ÷ run in lowest terms.
4Problem
(1, 2) and (3, 8)
What is the slope of the line through (1, 2) and (3, 8)?
Hint
6 ÷ 2.
Solution
Answer: 3
m = (8 − 2) / (3 − 1) = 6/2 = 3.
5Problem
(−2, 5) and (4, 2)
What is the slope of the line through (−2, 5) and (4, 2)?
Hint
−3 ÷ 6.
Solution
Answer: -1/2
m = (2 − 5) / (4 − (−2)) = −3/6 = −1/2.
6Problem
(0, −3) and (5, 7)
What is the slope of the line through (0, −3) and (5, 7)?
Hint
10 ÷ 5.
Solution
Answer: 2
m = (7 − (−3)) / (5 − 0) = 10/5 = 2.
7Problem
(−3, 1) and (1, −7)
What is the slope of the line through (−3, 1) and (1, −7)?
Hint
−8 ÷ 4.
Solution
Answer: −2
m = (−7 − 1) / (1 − (−3)) = −8/4 = −2.
8Explain
Flat lines and upright lines
On a horizontal line every point has the same y-coordinate, so the rise between any two points is 0 and the slope is 0/run = 0. On a vertical line every point has the same x-coordinate, so the run is 0. Division by zero is not defined, so OpenStax says the slope of a vertical line is undefined. Keep the two apart: a horizontal line such as y = 4 has slope zero, which is a number, while a vertical line such as x = 3 has no slope at all. In the graph lab, drag one point straight above the other and the panel reports exactly that.
9Problem
y = 4
What is the slope of the line y = 4?
Hint
No rise.
Solution
Answer: 0
It is horizontal: the rise between any two points is 0, and 0 divided by the run is 0.
10Problem
x = 3
What is the slope of the line x = 3?
Hint
No run.
Solution
Answer: Undefined
It is vertical: the run is 0, and division by 0 is not defined.
11Explain
Slope in buildings and roads
The grade of a road is its slope written as a percent. A 6% grade means a rise of 6 for a run of 100, which simplifies to 3/50. Builders describe a roof by how many inches it rises over a 12-inch run: a 4-12 pitch has slope 4/12 = 1/3. OpenStax also quotes a rule for wheelchair ramps of at most a 1-inch rise for every 12 inches of run. To climb 24 inches to a door, a ramp therefore needs at least 24 × 12 = 288 inches of run, which is 24 feet.
12Problem
A 6% grade
A road has a 6% grade. Write its slope as a fraction in lowest terms.
Hint
6/100 in lowest terms.
Solution
Answer: 3/50
6% = 6/100, and dividing top and bottom by 2 gives 3/50.
13Problem
A 4-12 roof
A roof has a 4-12 pitch: it rises 4 inches over a 12-inch run. What is its slope in lowest terms?
Hint
4/12 in lowest terms.
Solution
Answer: 1/3
4/12 simplifies to 1/3.
14Problem
A ramp
A ramp may rise at most 1 inch per 12 inches of run. How many inches of run does a 24-inch rise need?
inches
Hint
12 inches of run per inch of rise.
Solution
Answer: 288 inches
1/12 = 24/run, so run = 24 × 12 = 288 inches, which is 24 feet.
15Explain
Steepness and sign
The size of the slope, ignoring its sign, tells you how steep the line is. A slope of 3 is steeper than a slope of 1/2, and a slope of −3 is just as steep as 3, only falling instead of rising. A slope of 1 climbs at the same rate it moves across, which on a grid with square cells is a 45 degree line. As the slope grows towards very large numbers, the line gets closer and closer to vertical, which is one way to see why a vertical line has no slope at all.
16Explore
Drag the points
Drag to turn. Scroll or pinch to zoom.
17Explain
Read the labels, not the squares
Slope compares changes in coordinate values. Distances on the page can mislead. If the axes use different scales, counting squares without reading the labels can give the wrong ratio. Write the vertical change and horizontal change with their units before dividing. A stretched drawing can change the apparent angle without changing the slope calculated from the same pair of coordinates.
18
Summary
- Slope m = rise/run = (y₂ − y₁)/(x₂ − x₁).
- Positive slope rises from left to right, negative falls.
- Horizontal lines have slope 0; vertical lines have undefined slope.
- A grade is a slope written as a percent.