## 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, its also called the slope of the line.

Considering the definition for Definition 4.3.12, this means that when $x$ and $y$ are two variables where the rate of change between any two points is always the same, then you can calculate slope, $m\text{,}$ by finding two distinct data points $(x_1,y_1)$ and $(x_2,y_2)\text{,}$ and calculating

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

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, its 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, its 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 Sakura is an adult who 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. Sakura'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 Sakura'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.)

###### Example4.4.5Yara's Savings

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

Yara keeps her resolution, and her account balance increases steadily by $\20$ each week. That's a constant rate of change, so her 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 Yara's savings account after $x$ weeks with an equation. Since Yara started with $\50$ and adds $\20$ each week, the account balance $y$ after $x$ weeks is

$$y = 50 + 20x\label{equation-yaras-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 Yara'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 $100\text{,}$ which gives a rate of change of $\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 Yara's savings by including slope triangles.

The large, labeled slope triangle indicates that when $5$ weeks pass, Yara 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 Yara'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.9

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

Explanation

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: the gas in Kiran's 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{.}$

###### Checkpoint4.4.17Jogging on Mt. Hood

Some important properties are demonstrated in Exercise 4.4.17.

These properties are summarized graphically in Figure 4.4.19.

### 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.20

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:

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.

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.

It's important to use subscript instead of superscript in the slope equation, 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.

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

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

Explanation

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.

### Subsection4.4.4Exercises

###### 1

Reduce the fraction $\displaystyle{ \frac{5}{40} }\text{.}$

###### 2

Reduce the fraction $\displaystyle{ \frac{3}{27} }\text{.}$

###### 3

Reduce the fraction $\displaystyle{ \frac{15}{18} }\text{.}$

###### 4

Reduce the fraction $\displaystyle{ \frac{15}{27} }\text{.}$

###### 5

Reduce the fraction $\displaystyle{ \frac{35}{210} }\text{.}$

###### 6

Reduce the fraction $\displaystyle{ \frac{42}{189} }\text{.}$

###### 7

Reduce the fraction $\displaystyle{ \frac{135}{75} }\text{.}$

###### 8

Reduce the fraction $\displaystyle{ \frac{100}{30} }\text{.}$

###### 9

Reduce the fraction $\displaystyle{ \frac{245}{35} }\text{.}$

###### 10

Reduce the fraction $\displaystyle{ \frac{280}{35} }\text{.}$

###### 11

A line passes through the points $(2,1)$ and $(7,21)\text{.}$ Find this line’s slope.

###### 12

A line passes through the points $(4,27)$ and $(6,37)\text{.}$ Find this line’s slope.

###### 13

A line passes through the points $(1,-1)$ and $(9,-9)\text{.}$ Find this line’s slope.

###### 14

A line passes through the points $(3,-22)$ and $(8,-47)\text{.}$ Find this line’s slope.

###### 15

A line passes through the points $(-4,2)$ and $(-8,-2)\text{.}$ Find this line’s slope.

###### 16

A line passes through the points $(-3,-7)$ and $(-5,-11)\text{.}$ Find this line’s slope.

###### 17

A line passes through the points $(-1,-7)$ and $(3,-11)\text{.}$ Find this line’s slope.

###### 18

A line passes through the points $(-3,-14)$ and $(3,4)\text{.}$ Find this line’s slope.

###### 19

A line passes through the points $(-2,2)$ and $(-8,14)\text{.}$ Find this line’s slope.

###### 20

A line passes through the points $(-4,-1)$ and $(-5,1)\text{.}$ Find this line’s slope.

###### 21

A line passes through the points $(14,{16})$ and $(-7,{-8})\text{.}$ Find this line’s slope.

###### 22

A line passes through the points $(5,{17})$ and $(-10,{-7})\text{.}$ Find this line’s slope.

###### 23

A line passes through the points $(-2,{0})$ and $(4,{-9})\text{.}$ Find this line’s slope.

###### 24

A line passes through the points $(-16,{10})$ and $(8,{1})\text{.}$ Find this line’s slope.

###### 25

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

###### 26

A line passes through the points $(5,-2)$ and $(-3,-2)\text{.}$ Find this line’s slope.

###### 27

A line passes through the points $(1,-2)$ and $(1,1)\text{.}$ Find this line’s slope.

###### 28

A line passes through the points $(3,-4)$ and $(3,3)\text{.}$ Find this line’s slope.

###### 29

Below is a line’s graph.

The slope of this line is .

###### 30

Below is a line’s graph.

The slope of this line is .

###### 31

Below is a line’s graph.

The slope of this line is .

###### 32

Below is a line’s graph.

The slope of this line is .

###### 33

Below is a line’s graph.

The slope of this line is .

###### 34

Below is a line’s graph.

The slope of this line is .

###### 35

Below is a line’s graph.

The slope of this line is .

###### 36

Below is a line’s graph.

The slope of this line is .

###### 37

Below is a line’s graph.

The slope of this line is .

###### 38

Below is a line’s graph.

The slope of this line is .

###### 39

Below is a line’s graph.

The slope of this line is .

###### 40

Below is a line’s graph.

The slope of this line is .

###### 41

A line's graph is shown below.

The slope is .

###### 42

A line's graph is shown below.

The slope is .

###### 43

A line's graph is shown below.

The slope is .

###### 44

A line's graph is shown below.

The slope is .

###### 45

By your cell phone contract, you pay a monthly fee plus some money for each minute you use the phone during the month. In one month, you spent $260$ minutes on the phone, and paid ${\25.70}\text{.}$ In another month, you spent $390$ minutes on the phone, and paid ${\31.55}\text{.}$ What is the rate (in dollars per minute) that the phone company is charging you? That is, what is the slope of the line if you plotted the bill versus the number of minutes spent on the phone?

The rate is per minute.

###### 46

By your cell phone contract, you pay a monthly fee plus some money for each minute you use the phone during the month. In one month, you spent $300$ minutes on the phone, and paid ${\24.50}\text{.}$ In another month, you spent $360$ minutes on the phone, and paid ${\27.20}\text{.}$ What is the rate (in dollars per minute) that the phone company is charging you? That is, what is the slope of the line if you plotted the bill versus the number of minutes spent on the phone?

The rate is per minute.

###### 47

A company set aside a certain amount of money in the year 2000. The company spent exactly the same amount from that fund each year on perks for its employees. In $2003\text{,}$ there was still ${\743{,}000}$ left in the fund. In $2005\text{,}$ there was ${\659{,}000}$ left. What is the rate (in dollars per year) at which this company is spending from this fund?

The company is spending per year on perks for its employees.

###### 48

A company set aside a certain amount of money in the year 2000. The company spent exactly the same amount from that fund each year on perks for its employees. In $2004\text{,}$ there was still ${\546{,}000}$ left in the fund. In $2005\text{,}$ there was ${\500{,}000}$ left. What is the rate (in dollars per year) at which this company is spending from this fund?

The company is spending per year on perks for its employees.

###### 49

A biologist has been observing a tree’s height. Eleven months into the observation, the tree was $22.2$ feet tall. Nineteen months into the observation, the tree was $24.6$ feet tall. What is the rate at which the tree is growing? In other words, what is the slope if you plotted heigth versus time?

###### 50

A biologist has been observing a tree’s height. Thirteen months into the observation, the tree was $17.53$ feet tall. Eighteen months into the observation, the tree was $18.08$ feet tall. What is the rate at which the tree is growing? In other words, what is the slope if you plotted heigth versus time?

###### 51

Scientists are conducting an experiment with a gas in a sealed container. The mass of the gas is measured, and the scientists realize that the gas is leaking over time in a linear way. Five minutes since the experiment started, the gas had a mass of $133.2$ grams. Twelve minutes since the experiment started, the gas had a mass of $108$ grams. At what rate is the gas leaking?

###### 52

Scientists are conducting an experiment with a gas in a sealed container. The mass of the gas is measured, and the scientists realize that the gas is leaking over time in a linear way. Seven minutes since the experiment started, the gas had a mass of $338.4$ grams. Nineteen minutes since the experiment started, the gas had a mass of $225.6$ grams. At what rate is the gas leaking?

###### 53

A liquid solution is slowly leaking from a container. This graph shows the

milliters of solution $y$ remaining in the container after $x$ minutes.

a. The $y$ coordinate of the line is .

b. The slope of the line is .

c. Use the graph and your answer to part b to predict the number of minutes it will take for the container to empty if the solution continues leaking at the same rate. That time is minutes.

###### 54

The graph plots the number of invasive cancer diagnoses in Oregon over time, and a trend-line has been drawn.

Estimate the slope of the trend-line. Just give the numerical value; the units are provided.

$\,\frac{\text{diagnoses}}{\text{year}}$

###### 55

True or False: A slope of ${{\frac{2}{5}}}$ is steeper than a slope of ${{\frac{1}{4}}}\text{.}$

• true

• false

###### 56

True or False: A slope of ${{\frac{1}{8}}}$ is steeper than a slope of ${{\frac{2}{5}}}\text{.}$

• true

• false