17.3 Slope of a line — Learn
Prerequisites: the horizontal and vertical steps from Section 17.2, and dividing with negative numbers from Section 1.3.
Objectives: find the slope of a line from two points; find the slope from a graph; tell positive, negative, zero and undefined slopes apart; say what the sign of a slope means.
By the end of this section, you can measure how steep a line is.
Slope is rise over run
The slope of a line measures how steep it is. It compares the vertical change to the horizontal change.
The rise is the vertical step, and the run is the horizontal step. Divide the rise by the run.
The slope of a line is the same between any two points on it. That is what makes a straight line straight.
Example 1. Find the slope of the line through and .
The rise is the change in , and the run is the change in .
Divide the rise by the run.
The slope is 2. The line goes up 2 for every 1 across.
Investigate the slope
Predict. Before you move the sliders, predict whether the slope changes if you swap which point is A and which is B.
Test. The figure draws two points, the line through them, and the rise and the run as the two legs of a triangle. Move the points and watch the slope and the equation change.
Explain. Write two or three sentences. Say why the slope is the rise divided by the run and not the other way round. Use the words "rise", "run" and "steeper".
The sign of the slope
The sign of the slope tells you the direction of the line.
- A positive slope means the line goes up as you move right.
- A negative slope means the line goes down as you move right.
- A zero slope means the line is horizontal.
- An undefined slope means the line is vertical.
Example 2. Find the slope of the line through and .
The rise is , and the run is .
The slope is . The rise is negative, so the line falls as you move right.
Example 3. Find the slope of the line through and .
The rise is , and the run is .
The slope is 0. Both points have the same -coordinate, so the line is horizontal.
Example 4. Find the slope of the line through and .
The run is . Division by 0 has no answer, so the slope is undefined.
The line is vertical. A vertical line has no slope.
Slope from a graph
You can read a slope straight from a graph. Choose two points on the line, and count the rise and the run.
Example 5. A line passes through and . Find its slope.
From to , the rise is and the run is .
The slope is 2. You can use any two points on the line and you will get the same answer.
Slope as a rate
A slope is a rate. It says how much the vertical amount changes for each unit of the horizontal amount.
For a distance-time graph, the slope is the speed. For a cost graph, the slope is the price of one item. You will use this in Section 17.7.
Example 6. A path rises 6 m over a horizontal run of 8 m. Find its slope.
The slope is . The path rises 3 m for every 4 m across.
Watch out
A common mistake is to swap the rise and the run.
A second trap is the sign. When one point is left of the other, the run is negative, and the slope can be negative. Keep the order of the points the same in the top and the bottom of the fraction.
Progress check
Return to the chapter problem. The gate is and the kiosk is .
- Find the rise and the run from the gate to the kiosk.
- Find the slope of the main path.
- The second path runs from the kiosk to the pond . Find its slope.
In Section 17.4 you will compare the two slopes.
You should now be able to
- find the slope of a line using ;
- read the rise and the run from a graph;
- tell a positive slope from a negative one;
- explain why a horizontal line has slope 0;
- explain why a vertical line has an undefined slope;
- say what a slope means as a rate.