### Learning Objectives

By the end of this section, you will be able to:

- Use geoboards to model slope
- Use $m=\frac{rise}{run}$ to find the slope of a line from its graph
- Find the slope of horizontal and vertical lines
- Use the slope formula to find the slope of a line between two points
- Graph a line given a point and the slope
- Solve slope applications

Before you get started, take this readiness quiz.

- Simplify: $\frac{1\u20134}{8-2}$.

If you missed this problem, review Example 1.74. - Divide: $\frac{0}{4},\frac{4}{0}$.

If you missed this problem, review Example 1.127. - Simplify: $\frac{15}{\mathrm{-3}},\frac{\mathrm{-15}}{3},\frac{\mathrm{-15}}{\mathrm{-3}}$.

If you missed this problem, review Example 1.65.

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.

### Manipulative Mathematics

We’ll start by stretching a rubber band between two pegs as shown in Figure 4.19.

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 4.20

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 4.21.

If our geoboard and rubber band look just like the one shown in Figure 4.22, 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 4.22).

The slope of a line is the ratio of the rise to the run. In mathematics, it is always referred to with the letter $m$.

### Slope of a Line

The slope of a line of a line is $m=\frac{\text{rise}}{\text{run}}$.

The rise measures the vertical change and the run measures the horizontal change between two points on the line.

What is the slope of the line on the geoboard in Figure 4.22?

The line has slope $\frac{2}{3}$. 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.

### Example 4.25

What is the slope of the line on the geoboard shown?

What is the slope of the line on the geoboard shown?

What is the slope of the line on the geoboard shown?

### Example 4.26

What is the slope of the line on the geoboard shown?

What is the slope of the line on the geoboard?

What is the slope of the line on the geoboard?

Notice that in Example 4.25 the slope is positive and in Example 4.26 the slope is negative. Do you notice any difference in the two lines shown in Figure 4.23(a) and Figure 4.23(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 4.23(a) is going up; it has positive slope. The line in Figure 4.23(b) is going down; it has negative slope.

### Positive and Negative Slopes

### Example 4.27

Use a geoboard to model a line with slope $\frac{1}{2}$.

Model the slope $m=\frac{1}{3}$. Draw a picture to show your results.

Model the slope $m=\frac{3}{2}$. Draw a picture to show your results.

### Example 4.28

Use a geoboard to model a line with slope $\frac{\mathrm{-1}}{4}.$

Model the slope $m=\frac{\mathrm{-2}}{3}$. Draw a picture to show your results.

Model the slope $m=\frac{\mathrm{-1}}{3}$. Draw a picture to show your results.

### Use $m=\frac{\text{rise}}{\text{run}}$ to Find the Slope of a Line from its Graph

Now, we’ll look at some graphs on the $xy$-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.

### Example 4.29

#### How to Use $m=\frac{\text{rise}}{\text{run}}$ to Find the Slope of a Line from its Graph

Find the slope of the line shown.

Find the slope of the line shown.

Find the slope of the line shown.

### How To

#### Find the slope of a line from its graph using $m=\frac{\text{rise}}{\text{run}}.$

- 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, $m=\frac{\text{rise}}{\text{run}}$.

### Example 4.30

Find the slope of the line shown.

Find the slope of the line shown.

Find the slope of the line shown.

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.

### Example 4.31

Find the slope of the line shown.

Find the slope of the line shown.

Find the slope of the line shown.

### Find the Slope of Horizontal and Vertical Lines

Do you remember what was special about horizontal and vertical lines? Their equations had just one variable.

So how do we find the slope of the horizontal line $y=4$? One approach would be to graph the horizontal line, find two points on it, and count the rise and the run. Let’s see what happens when we do this.

What is the rise? | The rise is $0$. |

Count the run. | The run is $3$. |

What is the slope? | $\begin{array}{c}m=\frac{\text{rise}}{\text{run}}\\ m=\frac{0}{3}\\ m=0\end{array}$ |

The slope of the horizontal line $y=4$ is $0$. |

All horizontal lines have slope 0. When the *y*-coordinates are the same, the rise is 0.

### Slope of a Horizontal Line

The slope of a horizontal line, $y=b$, is 0.

The floor of your room is horizontal. Its slope is 0. If you carefully placed a ball on the floor, it would not roll away.

Now, we’ll consider a vertical line, the line.

What is the rise? | The rise is $2$. |

Count the run. | The run is $0$. |

What is the slope? | $\begin{array}{c}m=\frac{\text{rise}}{\text{run}}\\ m=\frac{2}{0}\end{array}$ |

But we can’t divide by 0. Division by 0 is not defined. So we say that the slope of the vertical line $x=3$ is undefined.

The slope of any vertical line is undefined. When the *x*-coordinates of a line are all the same, the run is 0.

### Slope of a Vertical Line

The slope of a vertical line, $x=a$, is undefined.

### Example 4.32

Find the slope of each line:

ⓐ $x=8$ ⓑ $y=\mathrm{-5}$.

Find the slope of the line: $x=\mathrm{-4}.$

Find the slope of the line: $y=7.$

### Quick Guide to the Slopes of Lines

Remember, we ‘read’ a line from left to right, just like we read written words in English.

### Use the Slope Formula to find the Slope of a Line Between Two Points

### Manipulative Mathematics

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 $\left(x,y\right)$ gives the coordinates of a point. But when we work with slopes, we use two points. How can the same symbol $\left(x,y\right)$ 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 $\left({x}_{1},{y}_{1}\right)$ to identify the first point and $\left({x}_{2},{y}_{2}\right)$ to identify the second point.

If we had more than two points, we could use $\left({x}_{3},{y}_{3}\right)$, $\left({x}_{4},{y}_{4}\right)$, 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 $\left(2,3\right)$ and $\left(7,6\right)$.

Since we have two points, we will use subscript notation, $\left(\stackrel{{x}_{1},}{2,}\stackrel{{y}_{1}}{3}\right)$$\left(\stackrel{{x}_{2},{y}_{2}}{7,6}\right)$.

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 $m=\frac{\text{rise}}{\text{run}}$. So $m=\frac{3}{5}$.

We rewrite the rise and run by putting in the coordinates $m=\frac{6-3}{7-2}$.

But 6 is ${y}_{2}$, the *y*-coordinate of the second point and 3 is ${y}_{1}$, the *y*-coordinate of the first point.

So we can rewrite the slope using subscript notation. $m=\frac{{y}_{2}-{y}_{1}}{7-2}$

Also, 7 is ${x}_{2}$, the *x*-coordinate of the second point and 2 is ${x}_{1}$, the *x*-coordinate of the first point.

So, again, we rewrite the slope using subscript notation. $m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}$

We’ve shown that $m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}$ is really another version of $m=\frac{\text{rise}}{\text{run}}$. We can use this formula to find the slope of a line when we have two points on the line.

### Slope Formula

The slope of the line between two points $({x}_{1},{y}_{1})$ and $({x}_{2},{y}_{2})$ is

This is the slope formula.

The slope is:

### Example 4.33

Use the slope formula to find the slope of the line between the points $\left(1,2\right)$ and $\left(4,5\right)$.

Use the slope formula to find the slope of the line through the points: $\left(8,5\right)$ and $\left(6,3\right)$.

Use the slope formula to find the slope of the line through the points: $\left(1,5\right)$ and $\left(5,9\right)$.

### Example 4.34

Use the slope formula to find the slope of the line through the points $\left(\mathrm{-2},\mathrm{-3}\right)$ and $\left(\mathrm{-7},4\right)$.

Use the slope formula to find the slope of the line through the points: $\left(\mathrm{-3},4\right)$ and $\left(2,\mathrm{-1}\right).$

Use the slope formula to find the slope of the line through the pair of points: $\left(\mathrm{-2},6\right)$ and $\left(\mathrm{-3},\mathrm{-4}\right)$.

### Graph a Line Given a Point and the Slope

Up to now, in this chapter, we have graphed lines by plotting points, by using intercepts, and by recognizing horizontal and vertical lines.

One other method we can use to graph lines is called the point–slope method. We will use this method when we know one point and the slope of the line. We will start by plotting the point and then use the definition of slope to draw the graph of the line.

### Example 4.35

#### How To Graph a Line Given a Point and The Slope

Graph the line passing through the point $\left(1,\mathrm{-1}\right)$ whose slope is $m=\frac{3}{4}$.

Graph the line passing through the point $\left(2,\mathrm{-2}\right)$ with the slope $m=\frac{4}{3}$.

Graph the line passing through the point $\left(\mathrm{-2},3\right)$ with the slope $m=\frac{1}{4}$.

### How To

#### Graph a line given a point and the slope.

- Step 1. Plot the given point.
- Step 2. Use the slope formula $m=\frac{\text{rise}}{\text{run}}$ to identify the rise and the run.
- Step 3. Starting at the given point, count out the rise and run to mark the second point.
- Step 4. Connect the points with a line.

### Example 4.36

Graph the line with *y*-intercept 2 whose slope is $m=-\frac{2}{3}$.

Graph the line with the *y*-intercept 4 and slope $m=-\frac{5}{2}.$

Graph the line with the *x*-intercept $\mathrm{-3}$ and slope $m=-\frac{3}{4}$.

### Example 4.37

Graph the line passing through the point $\left(\mathrm{-1},\mathrm{-3}\right)$ whose slope is $m=4.$

Graph the line with the point $\left(\mathrm{-2},1\right)$ and slope $m=3$.

Graph the line with the point $\left(4,\mathrm{-2}\right)$ and slope $m=\mathrm{-2}$.

### Solve Slope Applications

At the beginning of this section, we said there are many applications of slope in the real world. Let’s look at a few now.

### Example 4.38

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?

Use Example 4.38, substituting the rise = 14 and run = 24.

Use Example 4.38, substituting rise = 15 and run = 36.

### Example 4.39

Have you ever thought about the sewage pipes going from your house to the street? They must slope down $\frac{1}{4}$ inch per foot in order to drain properly. What is the required slope?

Find the slope of a pipe that slopes down $\frac{1}{3}$ inch per foot.

Find the slope of a pipe that slopes down $\frac{3}{4}$ inch per yard.

### Media Access Additional Online Resources

Access these online resources for additional instruction and practice with understanding slope of a line.

### Section 4.4 Exercises

#### Practice Makes Perfect

**Use Geoboards to Model Slope**

In the following exercises, find the slope modeled on each geoboard.

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

$\frac{3}{4}$

$\frac{4}{3}$

$-\frac{3}{4}$

$-\frac{3}{2}$

**Use** $m=\frac{\text{rise}}{\text{run}}$ **to find the Slope of a Line from its Graph**

In the following exercises, find the slope of each line shown.

**Find the Slope of Horizontal and Vertical Lines**

In the following exercises, find the slope of each line.

$y=1$

$x=2$

$y=\mathrm{-3}$

$x=\mathrm{-4}$

**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.

$\left(2,3\right),\left(5,7\right)$

$\left(0,1\right),\left(5,4\right)$

$\left(3,6\right),\left(8,0\right)$

$\left(\mathrm{-2},4\right),\left(3,\mathrm{-1}\right)$

$\left(\mathrm{-2},\mathrm{-1}\right),\left(6,5\right)$

$\left(3,\mathrm{-6}\right),\left(2,\mathrm{-2}\right)$

**Graph a Line Given a Point and the Slope**

In the following exercises, graph each line with the given point and slope.

$\left(1,\mathrm{-1}\right)$; $m=\frac{2}{3}$

$\left(1,4\right)$; $m=-\frac{1}{2}$

$\left(\mathrm{-2},5\right)$; $m=-\frac{5}{4}$

$\left(\mathrm{-3},\mathrm{-5}\right)$; $m=\frac{3}{2}$

*y*-intercept 5; $m=-\frac{4}{3}$

*x*-intercept $\mathrm{-1}$; $m=\frac{1}{5}$

$\left(\mathrm{-4},2\right)$; $m=4$

$\left(2,3\right)$; $m=\mathrm{-1}$

#### Everyday Math

**Slope of a roof.** An easy way to determine the slope of a roof is to set one end of a 12 inch level on the roof surface and hold it level. Then take a tape measure or ruler and measure from the other end of the level down to the roof surface. This will give you the slope of the roof. Builders, sometimes, refer to this as pitch and state it as an “$x$ 12 pitch” meaning $\frac{x}{12}$, where $x$ is the measurement from the roof to the level—the rise. It is also sometimes stated as an “$x$-in-12 pitch”.

- ⓐ What is the slope of the roof in this picture?
- ⓑ What is the pitch in construction terms?

The slope of the roof shown here is measured with a 12” level and a ruler. What is the slope of this roof?

**Road grade.** A local road has a grade of 6%. The grade of a road is its slope expressed as a percent. Find the slope of the road as a fraction and then simplify. What rise and run would reflect this slope or grade?

**Highway grade.** A local road rises 2 feet for every 50 feet of highway.

ⓐ What is the slope of the highway?

ⓑ The grade of a highway is its slope expressed as a percent. What is the grade of this highway?

**Wheelchair ramp.** The rules for wheelchair ramps require a maximum 1-inch rise for a 12-inch run.

ⓐ How long must the ramp be to accommodate a 24-inch rise to the door?

ⓑ Create a model of this ramp.

**Wheelchair ramp.** A 1-inch rise for a 16-inch run makes it easier for the wheelchair rider to ascend a ramp.

ⓐ How long must a ramp be to easily accommodate a 24-inch rise to the door?

ⓑ Create a model of this ramp.

#### Writing Exercises

How does the graph of a line with slope $m=\frac{1}{2}$ differ from the graph of a line with slope $m=2$?

#### Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

ⓑ On a scale of 1–10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?