Lines and Graphing · Chapter 10
Slope
The numbered examples below are interactive: the numbers change every time you load the page. Type your answer, press Enter or Check, and use New numbers to practice again.
As we graph linear equations, we see that some lines slant up as they go from left to right and some slant down. Some lines are steep and some are flatter. What determines whether a line slants up or down, and whether its slant is steep or flat? The steepness of the slant of a line is called the slope of the line. Slope has many real-world uses: the pitch of a roof and the grade of a highway or wheelchair ramp are examples.
Using a Geoboard to Model Slope
Stretching a rubber band between two pegs on a geoboard gives a concrete way to model a line on a coordinate grid.
Here the band forms a line, and we stretched one part of it straight up from the left peg and over to the right to make a right triangle, with one side vertical and one side horizontal. The vertical leg goes up spaces, so the rise is . The horizontal leg goes across spaces, so the run is . (Count the spaces between the pegs, not the pegs themselves.) The slope of this line is .
The slope of a line is
The rise measures the vertical change and the run measures the horizontal change.
When we work with geoboards, start at a peg on the left and connect to a peg to the right, then stretch the band to form a right triangle. If we go up, the rise is positive. If we stretch down, the rise is negative. We always count the run from left to right, so the run is positive. Count the rise first, then the run.
What is the slope of the line on the geoboard?
What is the slope of the line on the geoboard?
Notice that in the first example the slope is positive and in the second the slope is negative. Reading from left to right, a line going up has positive slope, and a line going down has negative slope.
Finding the Slope of a Line from its Graph
To find the slope from a graph, we locate two points on the line, preferably with integer coordinates, start at the point on the left, and sketch a right triangle so we can count the rise and the run.
How to find the slope from a graph.
Step 1. Locate two points on the 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, .
Find the slope of the line through and shown below.
Find the slope of the line through and shown below.
The slope of a line is the same no matter which two points we use. For example, the line passes through and . These two points give a rise of and a run of :
The slope of a line is constant!
Find the slope of the line through and shown below.
Slope of Horizontal and Vertical Lines
Horizontal lines have equations (all the -coordinates are the same). Vertical lines have equations (all the -coordinates are the same).
Horizontal line . Use the points and . The rise is and the run is :
Vertical line . Use the points and . The rise is and the run is :
The slope of a horizontal line, , is .
The slope of a vertical line, , is undefined (we cannot divide by ).
Find the slope of each line.
Quick guide to the slopes of lines.
The Slope Formula
Sometimes we need the slope of a line between two points and we don’t have a graph. We introduce subscripts to tell two points apart: is read “ sub , sub ” and identifies the first point, and identifies the second point.
Look at the line through and . The rise is , the difference of the -coordinates, so
The run is , the difference of the -coordinates, so
Putting these into gives .
Slope Formula. The slope of the line between two points and is
Say it to yourself: “slope is of the second point minus of the first point, over of the second point minus of the first point.”
Find the slope of the line between and .
Find the slope of the line between and .
Find the slope of the line between and .
Find the slope of the line between and .
Worked-example videos
Adapted from OpenStax Prealgebra, licensed under CC BY 4.0.