Skip to main content

Section 1.3 Slope

A steady, constant rate of change has a special name, slope, and we’ll explore slope more in this section.

Subsection 1.3.1 Modeling data with two variables

Math helps us understand data from the world around us. Then we can use what we discover to make good decisions. Here’s an example with economic data from the US, plotted in a Cartesian plane.
For the years from 2000 to 2025, consider what percent of American wealth was held by the wealthiest 1% of Americans. The table in FigureΒ 1 gives the numbers (source: federalreserve.gov), but any pattern there might not be apparent when looking at the data organized this way. Plotting the data in a Cartesian coordinates system can make an overall pattern or trend become visible.
year % year %
2000 27.4 2013 29.8
2001 25.9 2014 30.4
2002 25.3 2015 30.7
2003 25.4 2016 30.7
2004 26.8 2017 30.7
2005 27.2 2018 30.5
2006 28.0 2019 30.6
2007 28.8 2020 29.9
2008 28.2 2021 30.8
2009 27.8 2022 29.8
2010 28.4 2023 30.1
2011 29 2024 30.7
2012 29.5 2025 31.2
a scatter plot about share of all wealth held by the top 1% in the US
Figure 1.3.1. Share of all income held by the top 1% of wage earners
What observations do you see now that you couldn’t easily see from the numbers in the table? Do you see evidence of the COVID pandemic? Evidence of the Great Recession of 2008?
Overall, do you see a larger pattern with wealth distribution? Assuming that you see the rising pattern, is it easier to see that with the graph than with the table?

Subsection 1.3.2 Patterns in Tables

Example 1.3.2.

Find a pattern in each table, using only the table itself. What is the missing entry in each table? Can you describe each pattern in words and/or mathematics?
black white
big small
short tall
few
USA Washington
UK London
France Paris
Mexico
1 2
2 4
3 6
5
Figure 1.3.3. Patterns in 3 tables
Explanation.
First table
Each word on the right has the opposite meaning of the word to its left.
Second table
Each city on the right is the capital of the country to its left.
Third table
Each number on the right is double the number to its left.
black white
big small
short tall
few many
USA Washington
UK London
France Paris
Mexico Mexico City
1 2
2 4
3 6
5 10
Figure 1.3.4. Patterns in 3 tables
Generally in a table with two columns of data, we can think of the table as assigning value on the right to each value on the left. The first table assigns β€œwhite” to β€œblack”, as its opposite. The second table assigns β€œParis” to β€œFrance”, as its capital city. The third table assigns \(10\) to \(5\text{,}\) as its double.
The third table in ExampleΒ 2 is numerical. And its β€œfunction” is to take a number as input, and give twice that number as output. Mathematically, we can describe the pattern as β€œ\(f(x)=2x\)”, pronounced β€œf of x equals …”, where \(x\) represents the input and \(f\) is the name of the process that turns input \(x\) into something else. So that β€œ\(f(x)\)” (again, prounounced β€œf of x”) represents whatever \(f\) turned \(x\) into. Labeling the table with these symbols, we have TableΒ 5.
The formula \(f(x)=2x\) summarizes the pattern in the table.
\(x\)
(input)
\(f(x)\)
(output)
\(1\) \(2\)
\(2\) \(4\)
\(3\) \(6\)
\(5\) \(10\)
\(10\) \(20\)
Pattern: \(f(x)=2x\)
Table 1.3.5. Table with a mathematical pattern
Only the third table in ExampleΒ 2 is a table of numbers. Let’s examine that data graphically.
Figure 1.3.6. The data from the third table in ExampleΒ 2
With the data plotted, and the question being what should happen when \(x\) is \(5\text{,}\) our eyes can converge to the point \((5,10)\) and we conclude the missing value will be \(10\text{.}\) Graphically, we can see the missing output value should be \(10\) without directly using the formula.
For each of the following tables, find an equation that describes the pattern you see. Use β€œfunction notation” (\(f(x)\)) where appropriate. Numerical pattern recognition may or may not come naturally for you and you may want to use a graph to help visually process the numbers. Either way, pattern recognition is an important mathematical skill that anyone can develop. The solutions for these exercises offer some hints about what patterns you might look for.

Checkpoint 1.3.7.

Write an equation in the form \(f(x)=\ldots\) suggested by the pattern in the table.
\(x\) \(f(x)\)
\(0\) \({10}\)
\(1\) \({11}\)
\(2\) \({12}\)
\(3\) \({13}\)
Explanation.
One approach to pattern recognition is to look for a relationship in each row. Here, the output value in each row is always \(10\) more than the \(x\)-value. So the pattern is described by the equation \({f\mathopen{}\left(x\right) = x+10}\text{.}\)

Checkpoint 1.3.8.

Write an equation in the form \(f(x)=\ldots\) suggested by the pattern in the table.
\(x\) \(f(x)\)
\(0\) \({-1}\)
\(1\) \({2}\)
\(2\) \({5}\)
\(3\) \({8}\)
Explanation.
The relationship between \(x\) and the output in each row is not as clear here. Another popular approach for finding patterns: in each column, consider how the values change from one row to the next. From row to row, the \(x\)-value increases by \(1\text{.}\) Also, the output value increases by \(3\) from row to row.
\(x\) \(f(x)\)
\(0\) \({-1}\)
(add \(1\) from previous) \(1\) \({2}\) (add \(3\) from previous)
(add \(1\) from previous) \(2\) \({5}\) (add \(3\) from previous)
(add \(1\) from previous) \(3\) \({8}\) (add \(3\) from previous)
Since row-to-row change is always \(1\) for \(x\) and is always \(3\) for output, the rate of change from one row to another row is always the same: \(3\) units of output for every \(1\) unit of \(x\text{.}\) This suggests that \(f(x)=3x\) might be a good equation for the table pattern. But if we try to make a table with that pattern:
\(x\) \(3x\) Actual value of \(f(x)\)
\(0\) \(0\) \({-1}\)
\(1\) \(3\) \({2}\)
\(2\) \(6\) \({5}\)
\(3\) \(9\) \({8}\)
We find that the values from \(f(x)=3x\) are too large by \(1\text{.}\) So now we make an adjustment. The equation \({f\mathopen{}\left(x\right) = 3x-1}\) describes the pattern in the table.

Checkpoint 1.3.9.

Write an equation in the form \(f(x)=\ldots\) suggested by the pattern in the table.
\(x\) \(f(x)\)
\(0\) \({0}\)
\(1\) \({1}\)
\(2\) \({4}\)
\(3\) \({9}\)
Explanation.
Looking for a relationship in each row here, we see that each output value is the square of the corresponding \(x\)-value. That may not be obvious to you. It comes down to recognizing what square numbers are. So the equation is \({f\mathopen{}\left(x\right) = x^{2}}\text{.}\)
What if we had tried the approach we used in the previous exercise, comparing change from row to row in each column?
\(x\) \(f(x)\)
\(0\) \({0}\)
(add \(1\) from previous) \(1\) \({1}\) (add \(1\) from previous)
(add \(1\) from previous) \(2\) \({4}\) (add \(3\) from previous)
(add \(1\) from previous) \(3\) \({9}\) (add \(5\) from previous)
Here, the rate of change is not constant from one row to the next. While the \(x\)-values are increasing by \(1\) from row to row, the output values increase more and more from row to row. Do you notice that there is a pattern there as well? Mathematicians are interested in finding patterns and describing them.

Subsection 1.3.3 Rate of Change

For an hourly wage-earner, the amount of money they earn depends on how many hours they work. If a worker earns \(\$15\) per hour, then \(10\) hours of work corresponds to \(\$150\) of pay. Working one additional hour will change \(10\) hours to \(11\) hours; and this will cause the \(\$150\) in pay to rise by fifteen dollars to \(\$165\) in pay. Any time we compare how one amount changes (dollars earned) as a consequence of another amount changing (hours worked), we are talking about a rate of change.
Given a table of two-variable data, between any two rows we can compute a rate of change.

Example 1.3.10.

The following data, given in both table and graphed form, gives the counts of cancer diagnoses in Oregon over a period of time. (oregon.gov/oha/ph/diseasesconditions/chronicdisease/datareports/pages/cancer-incidence.aspx)
Year Cancer Incidents Year Cancer Incidents
2007 19,417 2015 22,158
2008 20,426 2016 22,135
2009 19,979 2017 23,052
2010 19,861 2018 22,769
2011 20,851 2019 24,389
2012 20,426 2020 21,766
2013 21,346 2021 22,750
2014 21,683 2022 22,691
Note the drop in 2020 is possibly explained by under-diagnosing, when people were in COVID quarantine at home and it was difficult to see a doctor for things like a cancer screening.
What was the rate of change in Oregon cancer diagnoses between 2007 and 2010? The total (net) change in diagnoses over that timespan is
\begin{equation*} 19861 - 19417 = 444 \end{equation*}
meaning that there were \(444\) more cancer incidents in 2010 than in 2007. Since \(3\) years passed (which you can calculate as \(2010-2007\)), the rate of change is \(444\) diagnoses per \(3\) years, or
\begin{equation*} \frac{444\,\text{diagnoses}}{3\,\text{year}}=148\,\frac{\text{diagnoses}}{\text{year}} \end{equation*}
We read that last quantity as β€œ\(148\) diagnoses per year”. This rate of change means that between the years \(2007\) and \(2010\text{,}\) there were \(148\) more diagnoses each year, on average. This is just an average over those three yearsβ€”it does not mean that the diagnoses grew by exactly this much each year.

Checkpoint 1.3.11.

(a)

Use the data in ExampleΒ 10 to find the rate of change in Oregon cancer diagnoses between 2007 and 2017.
Explanation.
To find the rate of change between 2007 and 2017, calculate
\begin{equation*} \frac{23052 - 19417}{2017 - 2007} = 363.5 \text{.} \end{equation*}
So the rate of change was \({363.5\ {\textstyle\frac{\rm\mathstrut diagnoses}{\rm\mathstrut yr}}}\text{.}\)

(b)

And what was the rate of change between 2018 and 2012?
Explanation.
To find the rate of change between 2018 and 2022, calculate
\begin{equation*} \frac{22691 - 22769}{2022 - 2018} = -19.5 \text{.} \end{equation*}
So the rate of change was \({-8.66667\ {\textstyle\frac{\rm\mathstrut diagnoses}{\rm\mathstrut yr}}}\text{.}\)
We are ready to give a formal definition for β€œrate of change”. Considering our work from ExampleΒ 10 and CheckpointΒ 11, we settle on:

Definition 1.3.12. Rate of Change.

If \(\left(x_1,y_1\right)\) and \(\left(x_2,y_2\right)\) are two data points from a set of two-variable data, then the rate of change between them is
\begin{equation*} \frac{\text{change in $y$}}{\text{change in $x$}}=\frac{\Delta y}{\Delta x}=\frac{y_2-y_1}{x_2-x_1}\text{.} \end{equation*}
The Greek letter delta, \(\Delta\text{,}\) is used to represent β€œchange in” since it is the first letter of the Greek word for β€œdifference”.
In ExampleΒ 10 and CheckpointΒ 11 we found three rates of change. FigureΒ 13 highlights the three pairs of points that were used to make these calculations.
Figure 1.3.13.
Note how the larger the numerical rate of change between two points, the steeper the line is that connects them. Also in the third calculation, when the \(y\)-values moved down as you read the graph from left to right, the rate of change was negative. This is such an important observation, we’ll put it in an official remark.

Remark 1.3.14.

The rate of change between two data points is related to the steepness of the line segment that connects those points.
  1. The steeper the line, the larger the rate of change, and vice versa.
  2. If one rate of change between two data points equals another rate of change between two different data points, then the corresponding line segments will have the same steepness.
  3. We always measure rate of change from left to right. When a line segment between two data points slants up from left to right, the rate of change between those points will be positive. When a line segment between two data points slants down from left to right, the rate of change between those points will be negative.
In the solution to CheckpointΒ 8, the key observation was that the rate of change from one row to the next was constant: \(3\) units of increase in \(y\) for every \(1\) unit of increase in \(x\text{.}\) Graphing this pattern in FigureΒ 15, we see that every line segment here has the same steepness, so the whole picture is a straight line.
Figure 1.3.15.
Whenever the rate of change is constant no matter which two \((x,y)\)-pairs (or data pairs) are chosen from a data set, then you can conclude the graph will be a straight line even without making the graph. We call this kind of relationship a linear relationship. We’ll study linear relationships in more detail throughout this chapter. Right now in this section, we feel it is important to simply identify if data has a linear relationship or not.

Checkpoint 1.3.16.

Is there a linear relationship in the table?
\(x\) \(y\)
\(-8\) \(3.1\)
\(-5\) \(2.1\)
\(-2\) \(1.1\)
\(1\) \(0.1\)
Explanation.
From one \(x\)-value to the next, the change is always \(3\text{.}\) From one \(y\)-value to the next, the change is always \(-1\text{.}\) So the rate of change is always \(\frac{-1}{3}=-\frac{1}{3}\text{.}\) Since the rate of change is constant, the data have a linear relationship.

Checkpoint 1.3.17.

Is there a linear relationship in the table?
\(x\) \(y\)
\(11\) \(208\)
\(13\) \(210\)
\(15\) \(214\)
\(17\) \(220\)
Explanation.
The rate of change between the first two points is \(\frac{210-208}{13-11}=1\text{.}\) The rate of change between the last two points is \(\frac{220-214}{17-15}=3\text{.}\) This is one way to demonstrate that the rate of change differs for different pairs of points, so this pattern is not linear.

Checkpoint 1.3.18.

Is there a linear relationship in the table?
\(x\) \(y\)
\(3\) \(-2\)
\(6\) \(-8\)
\(8\) \(-12\)
\(12\) \(-20\)
Explanation.
The changes in \(x\) from one row to the next are \(+3\text{,}\)\(+2\text{,}\) and \(+8\text{.}\) That’s not a consistent pattern, but we need to consider rates of change between points. The rate of change between the first two points is \(\frac{-8-(-2)}{6-3}=-2\text{.}\) The rate of change between the next two points is \(\frac{-12-(-8)}{8-6}=-2\text{.}\) And the rate of change between the last two points is \(\frac{-20-(-12)}{12-8}=-2\text{.}\) So the rate of change, \(-2\text{,}\) is constant regardless of which pairs we choose. That means these pairs describe a linear relationship.
Let’s return to the data that we opened the section with, in FigureΒ 1. Is that data linear? Well, yes and no. To be completely honest, it’s not linear. It’s easy to pick out pairs of points where the steepness changes from one pair to the next. In other words, the points do not line up into a single straight line.
However if we step back, there does seem to be an overall upward trend that is captured by the line overlaying the data in FigureΒ 19. Points on the overlaid line do have a linear pattern. Let’s estimate the rate of change between some pair of points on this line. We are free to use any pair of points to do this, so let’s make this calculation easier by choosing points we can clearly identify on the graph: \((2010,28.5)\) and \((2021,31)\text{.}\)
a scatter plot about share of all income held by the top 1% in the US
Figure 1.3.19. Share of all income held by the top 1%, United States, 2000–2021
The rate of change between those two points is
\begin{equation*} \frac{(31-28.5)\,\text{pct. points}}{(2021-2010)\,\text{years}}=\frac{2.5\,\text{pct. points}}{11\,\text{years}}\approx0.227\,\frac{\text{pct. points}}{\text{year}} \end{equation*}
So we might say that on average, the rate of change expressed by this data is \(0.227\) percentage points per year.

Subsection 1.3.4 What is slope?

Given a graph with points plotted, when the rate of change from one point to the next one never changes, those points must all be on a straight line as in FigureΒ 20. Instead of saying β€œsteady, constant rate of change”, there is a special word for this.
Figure 1.3.20. The rate of change is always \(1/2\text{.}\)

Definition 1.3.21. Slope.

When \(x\) and \(y\) are two variables where the rate of change between any two points is the same no matter which two points are used, 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 rate of change, this means that when \(x\) and \(y\) are two variables where the rate of change between 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
\begin{equation} 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{.}\tag{1.3.1} \end{equation}

Aside: Slope \(m\).

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. As you read each scenario, note how 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 ft⁄yr.
  • 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 in⁄yr. Sakura’s height is constant with respect to time. Since the slope is zero, we don’t say that Sakura’s height and time have a linear relationship.

Remark 1.3.22.

A useful phrase for remembering the definition of slope is β€œrise over run”. Here, β€œrise” refers to β€œchange in \(y\)”, and β€œrun” refers to β€œchange in \(x\)”. Be careful. As mentioned earlier, in mathematics the horizontal direction comes first. The phrase β€œrise over run” might make it sound like the vertical direction comes first, but that is misleading. (It’s a bit awkward to say, but the phrase β€œrun under rise” puts the horizontal change first.)

Example 1.3.23. Yara’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 has a linear relationship with time, and the slope is \(20\, \frac{\text{dollars}}{\text{wk}}\text{.}\)
After \(x\) weeks have passed, we can model the account balance \(f(x)\) (pronounced β€œf of x”) with a formula. Since Yara started with \(\$50\) and adds \(\$20\) each week, then \(x\) weeks later the balance is
\begin{equation} f(x) = 50 + 20x\tag{1.3.2} \end{equation}
where \(f(x)\) is a dollar amount. Notice that the slope, \(20\,\frac{\text{dollars}}{\text{wk}}\text{,}\) is used as the multiplier for \(x\text{,}\) the number of weeks that have passed.
We can also examine Yara’s savings using a table as in TableΒ 24.
Table 1.3.24. Yara’s savings
\(x\text{,}\) weeks
since Dec.Β 31
\(f(x)\text{,}\) savings account
balance (dollars)
\(0\) \(50\)
increases by \(1\)\(\longrightarrow\) \(1\) \(70\) \(\longleftarrow\) increases by \(20\)
increases by \(1\)\(\longrightarrow\) \(2\) \(90\) \(\longleftarrow\) increases by \(20\)
increases by \(2\)\(\longrightarrow\) \(4\) \(130\) \(\longleftarrow\) increases by \(40\)
increases by \(3\)\(\longrightarrow\) \(7\) \(190\) \(\longleftarrow\) increases by \(60\)
increases by \(5\)\(\longrightarrow\) \(12\) \(290\) \(\longleftarrow\) increases by \(100\)
In first rows of the table, we see that when \(x\) increases by \(1\) (week), then \(f(x)\) increases by \(20\) (dollars). The row-to-row rate of change is \(\frac{20\,\text{dollars}}{1\,\text{wk}} = 20\,\frac{\text{dollars}}{\text{wk}}\text{,}\) which we already know is the slope. In any table showing a linear relationship, whenever \(x\) increases by \(1\) unit, \(f(x)\) will increase by the slope.
In later rows, notice that the change in \(x\) is larger than \(1\text{,}\) but the change in \(f(x)\) is also larger than \(20\text{.}\) The changes in \(f(x)\) have grown proportionally with the changes in \(x\) and this keeps the rate of change steady. Looking in particular at the last two rows of the table, we see \(x\) increases by \(5\) and \(f(x)\) increases by \(100\text{,}\) which gives a rate of change \(\frac{100\,\text{dollars}}{5\,\text{wk}} = 20\,\frac{\text{dollars}}{\text{wk}}\text{,}\) which is once again the value of the slope.
On a graph of Yara’s savings, we can β€œsee” the rates of change between consecutive rows of the table by using slope triangles. These are right triangles showing how to move horizontally, then vertically, to get from one point to another.
Figure 1.3.25. Yara’s savings
The large 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 \, \frac{\text{dollars}}{\text{wk}}\text{.}\) The smaller slope triangles indicate, from left to right, the rates of change \(\frac{20\,\text{dollars}}{1\,\text{wk}}\text{,}\) \(\frac{20\,\text{dollars}}{1\,\text{wk}}\text{,}\) \(\frac{40\,\text{dollars}}{2\,\text{wk}}\text{,}\) and \(\frac{60\,\text{dollars}}{3\,\text{wk}}\) respectively. All of these rates simplify to the slope, \(20 \, \frac{\text{dollars}}{\text{wk}}\text{.}\)
Every slope triangle on the graph of Yara’s savings uses the same angles even though some triangles are larger than others. Since the ratio of vertical change to horizontal change is always \(20\, \frac{\text{dollars}}{\text{wk}}\text{.}\) On any graph of any sloped line, we can draw a slope triangle and compute slope as β€œrise over run”.

Note 1.3.26. Slope Triangles Above.

Of course, we could draw a slope triangle on the top side of a line. This slope triangle works just as well for identifying β€œrise” and β€œrun”, but it emphasizes vertical change before horizontal change. For consistency with mathematical conventions, we will usually draw slope triangles that show the horizontal change first, followed by the vertical change, as in FigureΒ 25.
Figure 1.3.27. Yara’s savings

Example 1.3.28.

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.
This is a grid with a line, passing the points (3,8),(6,6),(9,4)...
Figure 1.3.29. Amount of gas in Kiran’s gas tank
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 choose the two points where \(x=3\) and \(x=6\text{,}\) because they are right on grid line crossings:
This is a grid with a line, passing the points (3,8),(6,6),(9,4)...There is a slope triangle starting from (3,8), passing (6,8) and ending at (6,6). The label from (3,8) to (6,8) is "3 hours"; and the label from (6,8) to (6,6) is "-2 gallons".
Figure 1.3.30. A Good Slope Triangle
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\,\text{gallons}}{3\,\text{hours}}=-\frac{2}{3}\,\frac{\text{gal}}{\text{h}}\text{.} \end{equation*}
In the given context, this slope implies gas in the tank is decreasing at the rate of \(\frac{2}{3}\) gal⁄h. Since this slope is written as a fraction, another way to understand it is that Kiran is using \(2\) gallons of gas every \(3\) hours.

Checkpoint 1.3.31.

Find the slope of the line.
Explanation.
To find the slope of a line from its graph, we first need to identify two points that the line passes through. It is wise to choose points with integer coordinates. For this problem, we choose \({\left(0, 2\right)}\) and \({\left(8, 5\right)}\text{.}\)
Next, we sketch a slope triangle and find the rise and run. In the sketch below, the rise is \(3\) and the run is \(8\text{.}\)
\begin{equation*} \text{slope}=\frac{\text{rise}}{\text{run}}=\frac{3}{8} \end{equation*}
This line’s slope is \({{\frac{3}{8}}}\text{.}\)

Checkpoint 1.3.32.

Make a table and plot the function \(f\text{,}\) where \(f(x)=\frac{3}{4}x+2\text{,}\) which makes a straight line. Use the plot to determine the slope of this line.
Explanation.
First, we choose some \(x\)-values to make a table, and compute the corresponding \(y\)-values.
\(x\) \(f(x)=\frac{3}{4}x+2\) Point
\(-2\) \(\frac{3}{4}(-2)+2=0.5\) \((-2,0.5)\)
\(-1\) \(\frac{3}{4}(-1)+2=1.25\) \((-1,1.25)\)
\(0\) \(\frac{3}{4}(0)+2=2\) \((0,2)\)
\(1\) \(\frac{3}{4}(1)+2=2.75\) \((1,2.75)\)
\(2\) \(\frac{3}{4}(2)+2=3.5\) \((2,3.5)\)
\(3\) \(\frac{3}{4}(3)+2=4.25\) \((3,4.25)\)
\(4\) \(\frac{3}{4}(4)+2=5\) \((4,5)\)
\(5\) \(\frac{3}{4}(5)+2=5.75\) \((5,5.75)\)
This table lets us plot the graph and identify a slope triangle that is easy to work with.
Since the slope triangle runs \(4\) units and then rises \(3\) units, the slope is \(\frac{3}{4}\text{.}\)

Subsection 1.3.5 Comparing Slopes

It’s useful to understand when more than one line having different slopes appear on the same coordinate system.

Example 1.3.33.

Effie, Ivan and Cleo are in a foot race. FigureΒ 34 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?
Figure 1.3.34. A three-way foot race
We will draw slope triangles to find each line’s slope.
Figure 1.3.35. Find the Slope of Each Line
Using the slope equation, we have:
  • Effie’s slope is \(\frac{8\,\text{m}}{3\,\text{s}}\approx2.666\,\frac{\text{m}}{\text{s}}\text{.}\)
  • Ivan’s slope is \(\frac{7\,\text{m}}{2\,\text{s}}=3.5\,\frac{\text{m}}{\text{s}}\text{.}\)
  • Cleo’s slope is \(\frac{8\,\text{m}}{2\,\text{s}}=4\,\frac{\text{m}}{\text{s}}\text{.}\)
In a distance-over-time graph, the slope of a line represents speed. The slopes in these examples and the running speeds of these runners are measured in m⁄s. A relationship we can see is that the more steeply a line is slanted, the larger the slope is. This should make sense because for each passing second, the faster runner travels farther, making a slope triangle’s height taller. This means that 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{.}\)

Checkpoint 1.3.36. Jogging on Mt.Β Hood.

Kato is training for a race up the slope of Mt.Β Hood, from Sandy to Government Camp, and then back. The graph models his elevation from his starting point as time passes. Find the slopes of the three line segments and interpret their meanings in this context.

(a)

What is the slope of the first segment?
Explanation.
The first segment started at \((0,0)\) and stopped at \((7,3500)\text{.}\) This implies Kato started at the starting point, traveled \(7\) hours and reached a point \(3500\) feet higher in elevation from the starting point. The slope of the line is
\begin{equation*} \frac{\Delta y}{\Delta x}=\frac{3500\,\text{ft}}{7\,\text{h}}=500\,\frac{\text{ft}}{\text{h}} \end{equation*}
In context, Kato was gaining \(500\) feet in elevation per hour.

(b)

What is the slope of the second segment?
Explanation.
What happened in the second segment, which started at \((7,3500)\) and ended at \((19,3500)\text{?}\) This implies he started this portion \(3500\) feet high, and didn’t change elevation for \(19\) hours. Maybe some of that time he was running at a constant elevation, and some of that time he was resting.
\begin{equation*} \frac{\Delta y}{\Delta x}=\frac{0\,\text{ft}}{12\,\text{h}}=0\,\frac{\text{ft}}{\text{h}} \end{equation*}
In context, Kato was running but neither gaining nor losing elevation.

(c)

What is the slope of the third segment?
Explanation.
The third segment started at \((19,3500)\) and stopped at \((23,0)\text{.}\) This implies Kato started this part of his trip from \(3500\) feet high, traveled for \(4\) hours, and returned to the starting elevation. The slope of the line is
\begin{equation*} \frac{\Delta y}{\Delta x}=\frac{-3500\,\text{ft}}{4\,\text{h}}=-875\,\frac{\text{ft}}{\text{h}} \end{equation*}
In context, Kato was dropping in elevation by \(875\) feet per hour.
Some important properties are demonstrated in CheckpointΒ 36.
These properties are summarized graphically in FigureΒ 38.
(a) Positive slope
(b) Negative slope
(c) Zero slope
Figure 1.3.38.

Subsection 1.3.6 Finding Slope by Two Given Points

Several times in this section we computed a slope by drawing a slope triangle. That’s not necessary if you already have coordinates for two points on a line. In fact, sometimes it’s not practical to draw a slope triangle. (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 show how to find a line’s slope without drawing a slope triangle.

Example 1.3.39.

Your neighbor planted a sapling from a local nursery in his front yard several years ago. Ever since then, 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 is a grid with a line, passing the points (3,15) and (6,27). A slope triangle is drawn, starting at (3,15), passing (6,15), and ends at (6,27). The label from (3,15) to (6,15) is "6-3=3 years"; the label from (6,15) to (6,27) is "27-15=12 feet".
Figure 1.3.40. Height of a Tree
By the slope triangle and (1.3.1) we have:
\begin{align*} \text{slope}=m\amp =\frac{\Delta y}{\Delta x}\\ \amp =\frac{12\,\text{ft}}{3\,\text{yr}}\\ \amp =4\frac{\text{ft}}{\text{yr}} \end{align*}
So the tree is growing at a rate of 4 ft⁄yr
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\)- and \(y\)-values, and \(x_2\) and \(y_2\) represent the second point’s \(x\)- and \(y\)-values.
Now we can write an alternative to (1.3.1):
\begin{equation} \text{slope}=m=\frac{\Delta y}{\Delta x}=\frac{y_2-y_1}{x_2-x_1}\tag{1.3.3} \end{equation}
This is known as the slope formula. The following graphs help to understand why this formula works. Basically, we are still using a slope triangle to calculate the slope.
This is a grid with a line, passing the points (3,15) and (6,27). A slope triangle is drawn, starting at (3,15), passing (6,15), and ends at (6,27). The label from (3,15) to (6,15) is "6-3=3 years"; the label from (6,15) to (6,27) is "27-15=12 feet".
This is a grid with a line, passing the points (3,15) and (6,27). A slope triangle is drawn, starting at (3,15), passing (6,15), and ends at (6,27). The label from (3,15) to (6,15) is "x2-x1"; the label from (6,15) to (6,27) is "y2-y1".
Figure 1.3.41. Understanding the slope formula

Warning 1.3.42.

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. When we use \(y_2\text{,}\) we are saying there are at least two \(y\)-values in the conversation, and \(y_2\) is the second of them.
The beauty of the slope formula is that to find a line’s slope, we don’t need to draw a slope triangle. Let’s look at an example.

Example 1.3.43.

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 may help to label each number before using the formula. The two given points are:
\begin{equation*} (\overset{x_1}{-5},\overset{y_1}{25}) \qquad (\overset{x_2}{4},\overset{y_2}{-2}) \end{equation*}
Now apply the slope formula:
\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 negative numbers in \(x_1\) and \(y_1\text{.}\) This is a good habit to protect yourself from making errors with subtraction and double negatives.

Checkpoint 1.3.44.

A line passes through the points \((-18,14)\) and \((18,-16)\text{.}\) Find this line’s slope.
Explanation.
To find a line’s slope, we can use the slope formula:
\begin{equation*} \text{slope}=\frac{y_2-y_1}{x_2-x_1} \end{equation*}
First, we mark which number corresponds to which variable in the formula:
\begin{equation*} (\overset{x_1}{-18},\overset{y_1}{14})\qquad(\overset{x_2}{18},\overset{y_2}{-16}) \end{equation*}
Now we substitute these numbers into the corresponding variables in the slope formula:
\begin{equation*} \begin{aligned} \text{slope} \amp =\frac{y_2-y_1}{x_2-x_1}\\ \amp =\frac{-16-14}{18-(-18)}\\ \amp =\frac{-30}{36}\\ \amp =\frac{-5}{6} \end{aligned} \end{equation*}
So the line’s slope is \(-\frac56\text{.}\)

Reading Questions 1.3.7 Reading Questions

1.

Given a table of data with \(x\)- and \(y\)-values, explain how to calculate the rate of change from one row to the next.

2.

If there is a table of data with \(x\)- and \(y\)-values, and the plot of all that data makes a straight line, what is true about the rates of change as you move from row to row in the table?

3.

What does it mean for a rate of change to be positive versus negative?

4.

Have you memorized a formula for finding the slope between two points using their coordinates?

5.

What is an important thing to do with slope to make it more meaningful in an application problem?

6.

Drawing a slope triangle can be helpful to think about slope. But what might happen that could make it impractical to draw a slope triangle?

Exercises 1.3.8 Exercises

Skills Practice

Rate of Change.

Find the rate of change between the two given points.
1.
\({\left(8,4\right)}\) and \({\left(-4,-3\right)}\)
2.
\({\left(-9,-1\right)}\) and \({\left(5,-8\right)}\)
3.
\({\left(-7.3,-8.7\right)}\) and \({\left(-6.8,5.7\right)}\)
4.
\({\left(-5.1,4.3\right)}\) and \({\left(1.3,0.1\right)}\)
5.
\({\left({\frac{3}{2}},-{\frac{6}{7}}\right)}\) and \({\left(-{\frac{3}{2}},-{\frac{1}{4}}\right)}\)
6.
\({\left({\frac{1}{9}},{\frac{3}{2}}\right)}\) and \({\left(-{\frac{2}{9}},2\right)}\)
13.
\(x\) \(y\)
\(1\) \(2\)
\(3\) \(4\)
\(4\) \(5\)
\(6\) \(7\)
\(8\) \(8\)
From \(x=4\) to \(x=6\text{.}\)
14.
\(x\) \(y\)
\(2\) \(1\)
\(4\) \(3\)
\(6\) \(7\)
\(7\) \(8\)
\(8\) \(9\)
From \(x=4\) to \(x=7\text{.}\)
15.
\(x\) \(y\)
\(15\) \(172\)
\(46\) \(189\)
\(47\) \(227\)
\(67\) \(443\)
\(89\) \(537\)
From \(x=47\) to \(x=89\text{.}\)
16.
\(x\) \(y\)
\(18\) \(474\)
\(54\) \(530\)
\(57\) \(632\)
\(58\) \(685\)
\(67\) \(987\)
From \(x=57\) to \(x=58\text{.}\)

Linear Relationships.

Does the table show that \(x\) and \(y\) have a linear relationship?
17.
\(x\) \(y\)
\(0\) \({27}\)
\(1\) \({34}\)
\(2\) \({41}\)
\(3\) \({48}\)
\(4\) \({55}\)
\(5\) \({62}\)
18.
\(x\) \(y\)
\(0\) \({87}\)
\(1\) \({95}\)
\(2\) \({103}\)
\(3\) \({111}\)
\(4\) \({119}\)
\(5\) \({127}\)
19.
\(x\) \(y\)
\(9\) \({57}\)
\(10\) \({55}\)
\(11\) \({53}\)
\(12\) \({51}\)
\(13\) \({49}\)
\(14\) \({47}\)
20.
\(x\) \(y\)
\(2\) \({39}\)
\(3\) \({30}\)
\(4\) \({21}\)
\(5\) \({12}\)
\(6\) \({3}\)
\(7\) \({-6}\)
21.
\(x\) \(y\)
\(7\) \({31}\)
\(8\) \({33}\)
\(9\) \({35}\)
\(10\) \({37}\)
\(11\) \({39}\)
\(12\) \({41}\)
22.
\(x\) \(y\)
\(0\) \({10}\)
\(1\) \({12}\)
\(2\) \({14}\)
\(3\) \({16}\)
\(4\) \({18}\)
\(5\) \({20}\)
23.
\(x\) \(y\)
\(1\) \({4}\)
\(2\) \({11}\)
\(3\) \({30}\)
\(4\) \({67}\)
\(5\) \({128}\)
\(6\) \({219}\)
24.
\(x\) \(y\)
\(2\) \({24}\)
\(3\) \({43}\)
\(4\) \({80}\)
\(5\) \({141}\)
\(6\) \({232}\)
\(7\) \({359}\)
25.
\(x\) \(y\)
\(-4\) \({56.32}\)
\(-3\) \({56.99}\)
\(-2\) \({57.66}\)
\(-1\) \({58.33}\)
\(0\) \({59}\)
\(1\) \({59.67}\)
26.
\(x\) \(y\)
\(5\) \({43.56}\)
\(6\) \({45.34}\)
\(7\) \({47.12}\)
\(8\) \({48.9}\)
\(9\) \({50.68}\)
\(10\) \({52.46}\)
27.
\(x\) \(y\)
\(1\) \({80}\)
\(2\) \({88}\)
\(3\) \({96}\)
\(4\) \({104}\)
\(11\) \({160}\)
\(12\) \({168}\)
28.
\(x\) \(y\)
\(7\) \({101}\)
\(9\) \({119}\)
\(10\) \({128}\)
\(11\) \({137}\)
\(13\) \({155}\)
\(17\) \({191}\)

Slope from Coordinates.

Find the slope of the line passing through the two given points.
29.
\({\left(9,0\right)}\) and \({\left(5,-4\right)}\)
30.
\({\left(4,11\right)}\) and \({\left(3,9\right)}\)
31.
\({\left(8,-59\right)}\) and \({\left(1,-10\right)}\)
32.
\({\left(3,-9\right)}\) and \({\left(7,-33\right)}\)
33.
\({\left(3,3\right)}\) and \({\left(8,9\right)}\)
34.
\({\left(-4,-8\right)}\) and \({\left(2,-3\right)}\)
35.
\({\left(8,8\right)}\) and \({\left(15,4\right)}\)
36.
\({\left(2,8\right)}\) and \({\left(10,1\right)}\)
37.
\({\left(-3,-3\right)}\) and \({\left(15,0\right)}\)
38.
\({\left(5,-8\right)}\) and \({\left(19,-1\right)}\)
39.
\({\left(-6.5,-2.8\right)}\) and \({\left(-5.2,1.9\right)}\)
40.
\({\left(-4.8,-2.4\right)}\) and \({\left(1.5,3.4\right)}\)
41.
\({\left(7,-3\right)}\) and \({\left(9,-3\right)}\)
42.
\({\left(1,-1\right)}\) and \({\left(-3,-1\right)}\)
43.
\({\left(564,828\right)}\) and \({\left(164,702\right)}\)
44.
\({\left(674,251\right)}\) and \({\left(810,429\right)}\)
45.
\({\left({\frac{5}{7}},{\frac{3}{5}}\right)}\) and \({\left(-{\frac{4}{5}},{\frac{1}{7}}\right)}\)
46.
\({\left({\frac{7}{9}},-{\frac{1}{9}}\right)}\) and \({\left({\frac{1}{4}},{\frac{7}{5}}\right)}\)

Slope from a Graph.

Find the slope of the line given its graph.

Find the Steepest.

Determine the steepest slope for a line connecting two points from the list.
59.
\({\left(5,3\right)}\text{,}\) \({\left(3,2\right)}\text{,}\) \({\left(6,6\right)}\)
60.
\({\left(4,11\right)}\text{,}\) \({\left(9,19\right)}\text{,}\) \({\left(2,2\right)}\)
61.
\({\left(10,-78\right)}\text{,}\) \({\left(72,38\right)}\text{,}\) \({\left(-31,-80\right)}\)
62.
\({\left(30,-12\right)}\text{,}\) \({\left(9,-80\right)}\text{,}\) \({\left(45,11\right)}\)
63.
\({\left(5,-6.2\right)}\text{,}\) \({\left(-5.4,-8\right)}\text{,}\) \({\left(-6.1,-8.3\right)}\)
64.
\({\left(7,6.9\right)}\text{,}\) \({\left(1.4,-8.5\right)}\text{,}\) \({\left(6.3,0.9\right)}\)

Plot Slope Through a Point.

Plot a line through the given point that has the given slope.
65.
Through \({\left(-1,3\right)}\) with slope \({{\frac{5}{4}}}\text{.}\)
66.
Through \({\left(-4,-2\right)}\) with slope \({{\frac{1}{3}}}\text{.}\)
67.
Through \({\left(2,3\right)}\) with slope \({-{\frac{1}{5}}}\text{.}\)
68.
Through \({\left(-1,-2\right)}\) with slope \({-{\frac{5}{2}}}\text{.}\)

Plot Slope.

Plot at least three lines that each have slope the given slope.

Applications

73.

This table gives population estimates for Portland, Oregon from 2002 through 2025, gathered from https://worldpopulationreview.com/us-cities/oregon/portland.
Year Population Year Population Year Population
2002 540400 2010 585500 2018 651200
2003 546000 2011 595600 2019 654400
2004 551700 2012 604500 2020 653200
2005 557300 2013 610300 2021 642800
2006 562900 2014 621000 2022 636100
2007 568600 2015 631900 2023 634300
2008 574200 2016 643100 2024 635700
2009 579800 2017 648200 2025 631400
(a)
Find the rate of change in Portland population between 2009 and 2011.
(c)
List all the year-long intervals where there is a negative rate of change.

74.

This table gives the tide level in Lincoln City, Oregon, over one particular 24-hour period, measured in feet above average sea level.
Hour Tide Level Hour Tide Level Hour Tide Level
\(0\) \(5.87\) \(8\) \(2.33\) \(16\) \(1.37\)
\(1\) \(5.54\) \(9\) \(3.65\) \(17\) \(0.18\)
\(2\) \(4.66\) \(10\) \(4.96\) \(18\) \(-0.26\)
\(3\) \(3.45\) \(11\) \(5.92\) \(19\) \(0.19\)
\(4\) \(2.23\) \(12\) \(6.27\) \(20\) \(1.41\)
\(5\) \(1.34\) \(13\) \(5.83\) \(21\) \(3.07\)
\(6\) \(1.02\) \(14\) \(4.64\) \(22\) \(4.74\)
\(7\) \(1.37\) \(15\) \(3.00\) \(23\) \(5.95\)
(a)
Find the rate of change in the tide level between hours 2 and 8.
(c)
List the longest intervals where there is a negative rate of change without any times in between that have positive rates of change.
(d)
Over which hour-long interval was the rate of change highest?

75.

Aryana is training for a race up the slope of Mt.Β Hood, from Sandy to Government Camp, and then back. The graph below models her elevation from their starting point as time passes. Find the slopes of the four line segments, and interpret their meanings in this context.

76.

Dane is learning to ski on the slopes of Mt.Β Hood. The graph below models his elevation from the ski park’s base as time passes during one ski run on a small hill. Find the slopes of the four line segments, and interpret their meanings in this context.

77.

A liquid solution is slowly leaking from a container. This graph shows how many milliliters \(y\) of solution remains in the container after \(x\) minutes.
What is the slope of this line, including units?

78.

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

Challenge

79.

True or False: A slope of \({{\frac{1}{7}}}\) is steeper than a slope of \({0.14}\text{.}\)

80.

True or False: A slope of \({{\frac{5}{7}}}\) is steeper than a slope of \({0.71}\text{.}\)