
## Section4.4Slope

###### ObjectivesPCC Course Content and Outcome Guide

In Section 4.3, we observed that a constant rate of change between points produces a linear relationship, whose graph is a straight line. Such a constant rate of change has a special name, slope, and we'll explore slope in more depth here.

### Subsection4.4.1What is slope?

When the rate of change from point to point never changes, those points must fall on a straight line, as in Figure 4.4.2, and there is a linear relationship between the variables $x$ and $y\text{.}$

Rather than say “constant rate of change” in every such situation, mathematicians call that common rate of change slope.

###### Definition4.4.3Slope

When $x$ and $y$ are two variables where the rate of change between any two points is always the same, we call this common rate of change the slope. Since having a constant rate of change means the graph will be a straight line, it's also called the slope of the line.

Considering the definition for Definition 4.3.12, this means that you can calculate slope, $m\text{,}$ as

$$m=\frac{\text{change in y}}{\text{change in x}}=\frac{\Delta y}{\Delta x}\label{equation-slope-definition}\tag{4.4.1}$$

when $x$ and $y$ have a linear relationship.

A slope is a rate of change. So if there are units for the horizontal and vertical variables, then there will be units for the slope. The slope will be measured in $\frac{\text{vertical units}}{\text{horizontal units}}\text{.}$

If the slope is nonzero, we say that there is a linear relationship between $x$ and $y\text{.}$ When the slope is $0\text{,}$ we say that $y$ is constant with respect to $x\text{.}$

Here are some scenarios with different slopes. Note that a slope is more meaningful with units.

• If a tree grows $2.5$ feet every year, it's rate of change in height is the same from year to year. So the height and time have a linear relationship where the slope is 2.5 ftyr.

• If a company loses $2$ million dollars every year, it's rate of change in reserve funds is the same from year to year. So the company's reserve funds and time have a linear relationship where the slope is $-2$ million dollars per year.

• If Cara has stopped growing, her rate of change in height is the same from year to year—it's zero. So the slope is 0 inyr. Cara's height is constant with respect to time. In a statistics course, you would say that height and time don't have a relationship at all, in the sense that information about Cara's height tells you nothing about her age.

###### Remark4.4.4

A useful phrase for remembering the definition of slope is “rise over run”. Here, “rise” refers to “change in $y\text{,}$” $\Delta y\text{,}$ and “run” refers to “change in $x\text{,}$” $\Delta x\text{.}$ Be careful though. As we have learned, the horizontal direction comes first in mathematics, followed by the vertical direction. The phrase “rise over run” reverses this. (It's a bit awkward to say, but the phrase “run under rise” puts the horizontal change first.)

###### Slope $m$

Why is the letter $m$ commonly used as the symbol for “slope”? Some believe that it comes from the French word “monter” which means “to climb.” And French has a special place in this topic because Descartes was French. Interestingly, there are reports of French algebra classrooms using $s$ to stand for slope. When asked why, some say that it's because of the English word “slope.”

###### Example4.4.5Matthew's Savings

On Dec. 31, Matthew had only $\50$ in his savings account. For the the new year, he resolved to deposit $\20$ into his savings account each week, without withdrawing any money from the account.

Matthew keeps his resolution, and his account balance increases steadily by $\20$ each week. That's a constant rate of change, so his account balance and time have a linear relationship with slope $20\, \sfrac{\text{dollars}}{\text{wk}}\text{.}$

We can model the balance, $y\text{,}$ in Matthew's savings account after $x$ weeks with an equation. Since Matthew started with $\50$ and adds $\20$ each week, the account balance $y$ after $x$ weeks is

$$y = 50 + 20x\label{equation-matthews-savings}\tag{4.4.2}$$

where $y$ is a dollar amount. Notice that the slope, $20\, \sfrac{\text{dollars}}{\text{wk}}\text{,}$ serves as the multiplier for $x$ weeks.

We can also consider Matthew's savings using a table.

In first few rows of the table, we see that when the number of weeks $x$ increases by $1\text{,}$ the balance $y$ increases by $20\text{.}$ The row-to-row rate of change is $\frac{20}{1} = 20\text{,}$ the slope. In any table for a linear relationship, whenever $x$ increases by $1$ unit, $y$ will increase by the slope.

In further rows, notice that as row-to-row change in $x$ increases, row-to-row change in $y$ increases proportionally to preserve the constant rate of change. Looking at the change in the last two rows of the table, we see $x$ increases by $5$ and $y$ increases by $20\text{,}$ which gives rate of change $\frac{100}{5} = 20\text{,}$ the value of the slope again.

We can “see” the rates of change between consecutive rows of the table on a graph of Matthew's savings by including slope triangles.

The large, labeled slope triangle indicates that when $5$ weeks pass, Matthew saves $\100\text{.}$ This is the rate of change between the last two rows of the table, $\frac{100}{5} = 20 \, \sfrac{\text{dollars}}{\text{wk}}\text{.}$

The smaller slope triangles indicate, from left to right, the rates of change $\frac{20}{1}\text{,}$ $\frac{20}{1}\text{,}$ $\frac{40}{2}\text{,}$ and $\frac{60}{3}$ respectively. All of these rates simplify to the slope, $20 \, \sfrac{\text{dollars}}{\text{wk}}\text{.}$

Every slope triangle on the graph of Matthew's savings has the same shape (geometrically, they are called similar triangles) since the ratio of vertical change to horizontal change is always $20 \, \sfrac{\text{dollars}}{\text{wk}}\text{.}$ On any graph of any line, we can draw a slope triangle and compute slope as “rise over run.”

Of course, we could draw a slope triangle on the other side of the line:

This slope triangle works just as well for identifying “rise” and “run,” but it focuses on vertical change before horizontal change. For consistency with mathematical conventions, we will generally draw slope triangles showing horizontal change followed by vertical change, as in Figure 4.4.7.

###### Example4.4.10

The following graph of a line models the amount of gas, in gallons, in a car's tank as it drives. Find the line's slope, and interpret its meaning in this context.

Solution

To find a line's slope using its graph, we first identify two points on it, and then draw a slope triangle. Naturally, we would want to choose two points whose $x$- and $y$-coordinates are easy to identify exactly based on the graph. We will pick the two points where $x=3$ and $x=6\text{,}$ because they are right on the grid lines:

Notice that the change in $y$ is negative, because the amount of gas is decreasing. Since we chose points with integer coordinates, we can easily calculate the slope:

\begin{equation*} \text{slope}=\frac{-2}{3}=-\frac{2}{3}\text{.} \end{equation*}

With units, the slope is $-\frac{2}{3}$ galh. In the given context, this slope implies gas in the tank is decreasing at the rate of $\frac{2}{3}$ galh. Since this slope is written as a fraction, there is another way to understand it: gas in the tank is decreasing by $2$ gallons every $3$ hours.

### Subsection4.4.2Comparing Slopes

It's useful to understand what it means for different slopes to appear on the same coordinate system.

###### Example4.4.14

Effie, Ivan and Cleo are in a foot race. Figure 4.4.15 models the distance each has traveled in the first few seconds. Each runner takes a second to accelerate up to their running speed, but then runs at a constant speed. So they are then traveling with a constant rate of change, and the straight line portions of their graphs have a slope. Find each line's slope, and interpret its meaning in this context. What comparisons can you make with these runners?

We will draw slope triangles to find each line's slope.

Using Formula (4.4.1), we have:

• Effie's slope is $\frac{8}{3}\approx2.666$ meters per second
• Ivan's slope is $\frac{7}{2}=3.5$ meters per second
• Cleo's slope is $\frac{8}{2}=4$ meters per second

In a time-distance graph, the slope of a line represents speed. The slopes in these examples and the running speeds of these runners are both measured in ms. Another important relationship we can see is that, the more sharply a line is slanted, the bigger the slope is. This should make sense because for each passing second, the faster person travels longer, making a slope triangle's height taller. This means that, numerically, we can tell that Cleo is the fastest runner (and Effie is the slowest) just by comparing the slopes $4>3.5>2.666\text{.}$

### Subsection4.4.3Finding Slope by Two Given Points

Several times in this section we computed a slope by drawing a slope triangle. That's not really necessary if you have coordinates for two points that a line passes through. In fact, sometimes it's impractical to draw a slope triangle. 1 For instance if you only have specific information about two points that are too close together to draw a triangle, or if you cannot clearly see precise coordinates where you might start and stop your slope triangle. Here we will stress how to find a line's slope without drawing a slope triangle.

###### Example4.4.18

Your neighbor planted a sapling from Portland Nursery in his front yard. Ever since, for several years now, it has been growing at a constant rate. By the end of the third year, the tree was 15 ft tall; by the end of the sixth year, the tree was 27 ft tall. What's the tree's rate of growth (i.e. the slope)?

We could sketch a graph for this scenario, and include a slope triangle. If we did that, it would look like this:

By the slope triangle and Equation (4.4.1) we have:

\begin{align*} \text{slope}=m\amp =\frac{\Delta y}{\Delta x}\\ \amp =\frac{12}{3}\\ \amp =4 \end{align*}

So the tree is growing at a rate of 4 ftyr.

But hold on. Did we really need this picture? The “rise” of $12$ came from a subtraction of two $y$-values: $27-15\text{.}$ And the “run” of $3$ came from a subtraction of two $x$-values: $6-3\text{.}$

Here is a picture-free approach. We know that after 3 yr, the height is 15 ft. As an ordered pair, that information gives us the point $(3,15)$ which we can label as $(\overset{x_1}{3},\overset{y_1}{15})\text{.}$ Similarly, the background information tells us to consider $(6,27)\text{,}$ which we label as $(\overset{x_2}{6},\overset{y_2}{27})\text{.}$ Here, $x_1$ and $y_1$ represent the first point's $x$-value and $y$-value, and $x_2$ and $y_2$ represent the second point's $x$-value and $y$-value.

It's important to use subscript instead of superscript here, because $y^2$ means to take the number $y$ and square it. Whereas $y_2$ tells you that there are at least two $y$-values in the conversation, and $y_2$ is the second of them.

Now we can write an alternative to Equation (4.4.1):

$$\text{slope}=m=\frac{\Delta y}{\Delta x}=\frac{y_2-y_1}{x_2-x_1}\label{equation-slope-formula}\tag{4.4.3}$$

This is known as the slope formula. The following graph will help you understand why this formula works. Basically, we are still using a slope triangle to calculate the slope.

The beauty of the slope formula (4.4.3) is that to find a line's slope, we don't need to draw a slope triangle any more. Let's look at an example.

###### Example4.4.21

A line passes the points $(-5,25)$ and $(4,-2)\text{.}$ Find this line's slope.

Solution

If you are new to this formula, it's important to label each number before using the formula. The two given points are:

\begin{equation*} (\overset{x_1}{-5},\overset{y_1}{25}) \text{ and } (\overset{x_2}{4},\overset{y_2}{-2}) \end{equation*}

Now apply the slope formula (4.4.3):

\begin{align*} \text{slope}\amp=\frac{y_2-y_1}{x_2-x_1}\\ \amp=\frac{-2-(25)}{4-(-5)}\\ \amp=\frac{-27}{9}\\ \amp=-3 \end{align*}

Note that we used parentheses when substituting in $x_1$ and $y_1\text{.}$ This is a good habit to protect yourself from making errors with subtraction and double negatives.

###### Exercise4.4.22Jogging on Mt. Hood

This exercise demonstrates some facts. In a linear relationship, as the $x$-value increases (in other words as you read its graph from left to right):

• if the $y$-values increase (in other words, the line goes upward), its slope is positive.
• if the $y$-values decrease (in other words, the line goes downward), its slope is negative.
• if the $y$-values don't change (in other words, the line is flat, or horizontal), its slope is $0\text{.}$

### Subsection4.4.4Exercises

Find slope using a graph

###### 1

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 2

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 3

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 4

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 5

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 6

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 7

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 8

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 9

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 10

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 11

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

###### 12

A line’s graph is shown below.

The slope of this line is . (If the slope does not exist, enter DNE or NONE.)

Calculate slope using two points.

###### 13

A line passes through the points $(4,8)$ and $(7,17)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 14

A line passes through the points $(1,13)$ and $(6,33)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 15

A line passes through the points $(3,-1)$ and $(9,-7)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 16

A line passes through the points $(5,-10)$ and $(8,-13)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 17

A line passes through the points $(-3,5)$ and $(-8,0)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 18

A line passes through the points $(-1,0)$ and $(-5,-4)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 19

A line passes through the points $(-4,6)$ and $(3,-15)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 20

A line passes through the points $(-2,12)$ and $(2,4)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 21

A line passes through the points $(-4,12)$ and $(-8,24)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 22

A line passes through the points $(-3,2)$ and $(-5,8)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 23

A line passes through the points $(7,{-4})$ and $(-21,{-28})\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 24

A line passes through the points $(5,{4})$ and $(-15,{-28})\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 25

A line passes through the points $(-2,{14})$ and $(2,{-4})\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 26

A line passes through the points $(-8,{-4})$ and $(8,{-10})\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 27

A line passes through the points $(3,-8)$ and $(-3,-8)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 28

A line passes through the points $(1,-5)$ and $(-1,-5)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 29

A line passes through the points $(-3,-2)$ and $(-3,3)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .

###### 30

A line passes through the points $(-1,-4)$ and $(-1,5)\text{.}$ Find this line’s slope. If the slope does not exists, you may enter DNE or NONE.

This line’s slope is .