6.4 Slope of a Line
Slope of a Line
A source-bound narrated opening with a worked example, an eight-second thinking pause, a checked result, English captions, and a transcript.
Read the transcriptDownload the videoNarration credits and licences
When you graph linear equations, you may notice that some lines tilt up as they go from left to right and some lines tilt down. Some lines are very steep and some lines are flatter. What determines whether a line tilts up or down or if it is steep or flat?
In mathematics, the ‘tilt’ of a line is called the slope of the line. The concept of slope has many applications in the real world. The pitch of a roof, grade of a highway, and a ramp for a wheelchair are some examples where you literally see slopes. And when you ride a bicycle, you feel the slope as you pump uphill or coast downhill.
In this section, we will explore the concept of slope.
Use Geoboards to Model Slope
A geoboard is a board with a grid of pegs on it. Using rubber bands on a geoboard gives us a concrete way to model lines on a coordinate grid. By stretching a rubber band between two pegs on a geoboard, we can discover how to find the slope of a line.
We’ll start by stretching a rubber band between two pegs as shown in Figure 6.11.

Doesn’t it look like a line?
Now we stretch one part of the rubber band straight up from the left peg and around a third peg to make the sides of a right triangle, as shown in Figure 6.12

We carefully make a 90º angle around the third peg, so one of the newly formed lines is vertical and the other is horizontal.
To find the slope of the line, we measure the distance along the vertical and horizontal sides of the triangle. The vertical distance is called the rise and the horizontal distance is called the run, as shown in Figure 6.13.

If our geoboard and rubber band look just like the one shown in Figure 6.14, the rise is 2. The rubber band goes up 2 units. (Each space is one unit.)

What is the run?
The rubber band goes across 3 units. The run is 3 (see Figure 6.14).
The slope of a line is the ratio of the rise to the run. In mathematics, it is always referred to with the letter .
What is the slope of the line on the geoboard in Figure 6.14?
The line has slope . This means that the line rises 2 units for every 3 units of run.
When we work with geoboards, it is a good idea to get in the habit of starting at a peg on the left and connecting to a peg to the right. If the rise goes up it is positive and if it goes down it is negative. The run will go from left to right and be positive.
Notice that in Example 1 the slope is positive and in Example 2 the slope is negative. Do you notice any difference in the two lines shown in Figure 6.15(a) and Figure 6.15(b)?

We ‘read’ a line from left to right just like we read words in English. As you read from left to right, the line in Figure 6.15(a) is going up; it has positive slope. The line in Figure 6.15(b) is going down; it has negative slope.
Use to Find the Slope of a Line from its Graph
Now, we’ll look at some graphs on the -coordinate plane and see how to find their slopes. The method will be very similar to what we just modeled on our geoboards.
To find the slope, we must count out the rise and the run. But where do we start?
We locate two points on the line whose coordinates are integers. We then start with the point on the left and sketch a right triangle, so we can count the rise and run.
In the last two examples, the lines had y-intercepts with integer values, so it was convenient to use the y-intercept as one of the points to find the slope. In the next example, the y-intercept is a fraction. Instead of using that point, we’ll look for two other points whose coordinates are integers. This will make the slope calculations easier.
Use the Slope Formula to find the Slope of a Line Between Two Points
Sometimes we’ll need to find the slope of a line between two points when we don’t have a graph to count out the rise and the run. We could plot the points on grid paper, then count out the rise and the run, but as we’ll see, there is a way to find the slope without graphing. Before we get to it, we need to introduce some algebraic notation.
We have seen that an ordered pair gives the coordinates of a point. But when we work with slopes, we use two points. How can the same symbol be used to represent two different points? Mathematicians use subscripts to distinguish the points.
The use of subscripts in math is very much like the use of last name initials in elementary school. Maybe you remember Laura C. and Laura M. in your third grade class?
We will use to identify the first point and to identify the second point.
If we had more than two points, we could use , , and so on.
Let’s see how the rise and run relate to the coordinates of the two points by taking another look at the slope of the line between the points and .

Since we have two points, we will use subscript notation, .
On the graph, we counted the rise of 3 and the run of 5.
Notice that the rise of 3 can be found by subtracting the y-coordinates 6 and 3.
And the run of 5 can be found by subtracting the x-coordinates 7 and 2.
We know . So .
We rewrite the rise and run by putting in the coordinates .
But 6 is , the y-coordinate of the second point and 3 is , the y-coordinate of the first point.
So we can rewrite the slope using subscript notation.
Also, 7 is , the x-coordinate of the second point and 2 is , the x-coordinate of the first point.
So, again, we rewrite the slope using subscript notation.
We’ve shown that is really another version of . We can use this formula to find the slope of a line when we have two points on the line.
Practice Makes Perfect
Use Geoboards to Model Slope
In the following exercises, find the slope modeled on each geoboard.

Show solution


Show solution


Show solution


Show solution

In the following exercises, model each slope. Draw a picture to show your results.
Show solution

Show solution

Show solution

Show solution

Use to find the Slope of a Line from its Graph
In the following exercises, find the slope of each line shown.

Show solution


Show solution


Show solution


Show solution


Show solution

Show solution


Show solution


Show solution

Use the Slope Formula to find the Slope of a Line between Two Points
In the following exercises, use the slope formula to find the slope of the line between each pair of points.
Show solution
Show solution
Show solution
Show solution
Show solution
Show solution
Corequisite Skills for Introductory Statistics is a custom course edition compiled for Introductory Statistics corequisite courses from OpenStax Contemporary Mathematics, Elementary Algebra 2e, Intermediate Algebra 2e, Prealgebra 2e. Content by OpenStax is reproduced as published, apart from any corrections recorded for this edition. Sections are renumbered to follow the course outline. The course outline is adapted from Larry Green's Support Course for Elementary Statistics (LibreTexts, https://stats.libretexts.org/Bookshelves/Introductory_Statistics/Support_Course_for_Elementary_Statistics), used under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Lessons 2.4 and 6.7 are written for this edition by XYZ Homework. Every OpenStax lesson is abridged to the subsections and practice exercises this course uses. Lessons are headed with their course titles, not the source section titles. Access the complete originals free at openstax.org. License: CC-BY-NC-SA-4.0.