2.8: Rate of Change
Learning outcome
- Calculate the rate of change using data points and graphical representations
Frequently we want to compare two different types of measurements, such as miles to gallons. To make this comparison, we use a rate. Examples of rates are \(120\) miles in \(2\) hours, \(160\) words in \(4\) minutes, and \(\text{\$5}\) dollars per \(64\) ounces.
Rate
A rate compares two quantities of different units. A rate is usually written as a fraction.
When writing a fraction as a rate, we put the first given amount with its units in the numerator and the second amount with its units in the denominator. When rates are simplified, the units remain in the numerator and denominator.
example
Bob drove his car \(525\) miles in \(9\) hours. Write this rate as a fraction.
Solution
| \(\text{525 miles in 9 hours}\) | |
| Write as a fraction, with \(525\) miles in the numerator and \(9\) hours in the denominator. | \({\Large\frac{\text{525 miles}}{\text{9 hours}}}\) |
| \({\Large\frac{\text{175 miles}}{\text{3 hours}}}\) |
So \(525\) miles in \(9\) hours is equivalent to \({\Large\frac{\text{175 miles}}{\text{3 hours}}}\)
try it
[ohm_question]146615[/ohm_question]
Let’s examine how a rate is represented on a graph and determine how to identify it.
Using rubber bands on a geoboard gives 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. And when you ride a bicycle, you feel the slope as you pump uphill or coast downhill.
We’ll start by stretching a rubber band between two pegs to make a line as shown in the image below.
Does 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 the image below. We carefully make a \(90^ \circ\) angle around the third peg, so that one side is vertical and the other is horizontal.
To find the slope of the line, we measure the distance along the vertical and horizontal legs of the triangle. The vertical distance is called the
rise
and the horizontal distance is called the
run
, as shown below.
To help remember the terms, it may help to think of the images shown below.
On our geoboard, the rise is \(2\) units because the rubber band goes up \(2\) spaces on the vertical leg. See the image below.
What is the run? Be sure to count the spaces between the pegs rather than the pegs themselves! The rubber band goes across \(3\) spaces on the horizontal leg, so the run is \(3\) units.
The slope of a line is the ratio of the rise to the run. So the slope of our line is \({\Large\frac{2}{3}}\). In mathematics, the slope is always represented by the letter \(m\).
Slope of a line or rate of change
The slope of a line is \(m={\Large\frac{\text{rise}}{\text{run}}}\).
The rise measures the vertical change and the run measures the horizontal change.
What is the slope of the line on the geoboard in the image above?
\(m={\Large\frac{\text{rise}}{\text{run}}}\)
\(m={\Large\frac{2}{3}}\)
The line has slope \({\Large\frac{2}{3}}\)
If we start by going up the rise is positive, and if we stretch it down the rise is negative. We will count the run from left to right, just like you read this paragraph, so the run will be positive.
Since the slope formula has rise over run, it may be easier to always count out the rise first and then the run.
example
What is the slope of the line on the geoboard shown?
Solution
Use the definition of slope.
\(m={\Large\frac{\text{rise}}{\text{run}}}\)
Start at the left peg and make a right triangle by stretching the rubber band up and to the right to reach the second peg.
Count the rise and the run as shown.
\(\begin{array}{cccc}\text{The rise is }3\text{ units}.\hfill & & & m={\Large\frac{3}{\text{run}}}\hfill \\ \text{The run is}4\text{ units}.\hfill & & & m={\Large\frac{3}{4}}\hfill \\ & & & \text{The slope is }{\Large\frac{3}{4}}\hfill \end{array}\)
example
What is the slope of the line on the geoboard shown?
[reveal-answer q=”698295″]Show Answer[/reveal-answer]
[hidden-answer a=”698295″]
Solution
Use the definition of slope.
\(m={\Large\frac{\text{rise}}{\text{run}}}\)
Start at the left peg and make a right triangle by stretching the rubber band to the peg on the right. This time we need to stretch the rubber band down to make the vertical leg, so the rise is negative.
\(\begin{array}{cccc}\text{The rise is }-1.\hfill & & & m={\Large\frac{-1}{\text{run}}}\hfill \\ \text{The run is}3.\hfill & & & m={\Large\frac{-1}{3}}\hfill \\ & & & m=-{\Large\frac{1}{3}}\hfill \\ & & & \text{The slope is }-{\Large\frac{1}{3}}\hfill \end{array}\)
[/hidden-answer]
try it
[ohm_question]147013[/ohm_question]
Notice that in the first example, the slope is positive and in the second example the slope is negative. Do you notice any difference in the two lines shown in the images below.
As you read from left to right, the line in Figure A, is going up; it has positive slope. The line Figure B is going down; it has negative slope.
example
Use a geoboard to model a line with slope \({\Large\frac{1}{2}}\).
[reveal-answer q=”225850″]Show Answer[/reveal-answer]
[hidden-answer a=”225850″]
Solution
To model a line with a specific slope on a geoboard, we need to know the rise and the run.
| Use the slope formula. | \(m=\Large\frac{\text{rise}}{\text{run}}\) |
| Replace \(m\) with \({\Large\frac{1}{2}}\). | \(\Large\frac{1}{2}\normalsize =\Large\frac{\text{rise}}{\text{run}}\) |
So, the rise is \(1\) unit and the run is \(2\) units.
Start at a peg in the lower left of the geoboard. Stretch the rubber band up \(1\) unit, and then right \(2\) units.
The hypotenuse of the right triangle formed by the rubber band represents a line with a slope of \({\Large\frac{1}{2}}\).
[/hidden-answer]
try it
Use a geoboard to model a line with the given slope: \(m=\Large\frac{1}{3}\).
[reveal-answer q=”152695″]Show Answer[/reveal-answer]
[hidden-answer a=”152695″]
[/hidden-answer]
Use a geoboard to model a line with the given slope: \(m=\Large\frac{3}{2}\).
[reveal-answer q=”64394″]Show Answer[/reveal-answer]
[hidden-answer a=”64394″]
[/hidden-answer]
example
Use a geoboard to model a line with slope \({\Large\frac{-1}{4}}\)
[reveal-answer q=”953715″]Show Answer[/reveal-answer]
[hidden-answer a=”953715″]
Solution
| Use the slope formula. | \(m=\Large\frac{\text{rise}}{\text{run}}\) |
| Replace \(m\) with \(-{\Large\frac{1}{4}}\). | \(-\Large\frac{1}{4}\normalsize =\Large\frac{\text{rise}}{\text{run}}\) |
So, the rise is \(-1\) and the run is \(4\).
Since the rise is negative, we choose a starting peg on the upper left that will give us room to count down. We stretch the rubber band down \(1\) unit, then to the right \(4\) units.
The hypotenuse of the right triangle formed by the rubber band represents a line whose slope is \(-{\Large\frac{1}{4}}\).
[/hidden-answer]
try it
Use a geoboard to model a line with the given slope: \(m={\Large\frac{-3}{2}}\).
[reveal-answer q=”99402″]Show Answer[/reveal-answer]
[hidden-answer a=”99402″]
[/hidden-answer]
Use a geoboard to model a line with the given slope: \(m={\Large\frac{-1}{3}}\).
[reveal-answer q=”714001″]Show Answer[/reveal-answer]
[hidden-answer a=”714001″]
[/hidden-answer]
Now we’ll look at some graphs on a coordinate grid 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 any two points on the line. We try to choose points with coordinates that are integers to make our calculations easier. We then start with the point on the left and sketch a right triangle, so we can count the rise and run.
example
Find the slope of the line shown:
Solution
Locate two points on the graph, choosing points whose coordinates are integers. We will use \(\left(0,-3\right)\) and \(\left(5,1\right)\).
Starting with the point on the left, \(\left(0,-3\right)\), sketch a right triangle, going from the first point to the second point, \(\left(5,1\right)\).
| Count the rise on the vertical leg of the triangle. | The rise is \(4\) units. |
| Count the run on the horizontal leg. | The run is \(5\) units. |
| Use the slope formula. | \(m={\Large\frac{\text{rise}}{\text{run}}}\) |
| Substitute the values of the rise and run. | \(m={\Large\frac{4}{5}}\) |
| The slope of the line is \({\Large\frac{4}{5}}\). |
Notice that the slope is positive since the line slants upward from left to right.
try it
[ohm_question]147014[/ohm_question]
Find the slope from a graph
- Locate two points on the line whose coordinates are integers.
- Starting with the point on the left, sketch a right triangle, going from the first point to the second point.
- Count the rise and the run on the legs of the triangle.
- Take the ratio of rise to run to find the slope. \(m={\Large\frac{\text{rise}}{\text{run}}}\)
example
Find the slope of the line shown:
[reveal-answer q=”966343″]Show Answer[/reveal-answer]
[hidden-answer a=”966343″]
Solution
Locate two points on the graph. Look for points with coordinates that are integers. We can choose any points, but we will use \((0, 5)\) and \((3, 3)\). Starting with the point on the left, sketch a right triangle, going from the first point to the second point.
| Count the rise – it is negative. | The rise is \(−2\). |
| Count the run. | The run is \(3\). |
| Use the slope formula. | \(m=\Large\frac{\text{rise}}{\text{run}}\) |
| Substitute the values of the rise and run. | \(m={\Large\frac{-2}{3}}\) |
| Simplify. | \(m=-{\Large\frac{2}{3}}\) |
| The slope of the line is \(-{\Large\frac{2}{3}}\). |
[/hidden-answer]
Notice that the slope is negative since the line slants downward from left to right.
What if we had chosen different points? Let’s find the slope of the line again, this time using different points. We will use the points \(\left(-3,7\right)\) and \(\left(6,1\right)\).
Starting at \(\left(-3,7\right)\), sketch a right triangle to \(\left(6,1\right)\).
| Count the rise. | The rise is \(−6\). |
| Count the run. | The run is \(9\). |
| Use the slope formula. | \(m=\Large\frac{\text{rise}}{\text{run}}\) |
| Substitute the values of the rise and run. | \(m={\Large\frac{-6}{9}}\) |
| Simplify the fraction. | \(m=-{\Large\frac{2}{3}}\) |
| The slope of the line is \(-{\Large\frac{2}{3}}\). |
It does not matter which points you use—the slope of the line is always the same. The slope of a line is constant!
try it
[ohm_question]147015[/ohm_question]
The lines in the previous examples had \(y\) -intercepts with integer values, so it was convenient to use the y -intercept as one of the points we used to find the slope. In the next example, the \(y\) -intercept is a fraction. The calculations are easier if we use two points with integer coordinates.
example
Find the slope of the line shown:
[reveal-answer q=”439279″]Show Answer[/reveal-answer]
[hidden-answer a=”439279″]
Solution
| Locate two points on the graph whose coordinates are integers. | \(\left(2,3\right)\) and \(\left(7,6\right)\) |
| Which point is on the left? | \(\left(2,3\right)\) |
| Starting at \(\left(2,3\right)\), sketch a right angle to \(\left(7,6\right)\) as shown below. |
| Count the rise. | The rise is \(3\). |
| Count the run. | The run is \(5\). |
| Use the slope formula. | \(m=\Large\frac{\text{rise}}{\text{run}}\) |
| Substitute the values of the rise and run. | \(m={\Large\frac{3}{5}}\) |
| The slope of the line is \({\Large\frac{3}{5}}\). |
[/hidden-answer]
try it
[ohm_question]147016[/ohm_question]
In the following video we show another example of how to find the slope of a line given a graph. This graph has a positive slope.
In the following video we show another example of how to find the slope of a line given a graph. This graph has a negative slope.
Sometimes we need to find the slope of a line between two points and we might not 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 there is a way to find the slope without graphing.
Before we get to it, we need to introduce some new 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 between the points. A subscript is a small number written to the right of, and a little lower than, a variable.
- \(\left({x}_{1},{y}_{1}\right)\text{ read }x\text{ sub }1,y\text{ sub }1\)
- \(\left({x}_{2},{y}_{2}\right)\text{ read }x\text{ sub }2,y\text{ sub }2\)
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.
To see how the rise and run relate to the coordinates of the two points, let’s take another look at the slope of the line between the points \(\left(2,3\right)\) and \(\left(7,6\right)\) below.
Since we have two points, we will use subscript notation.
\(\stackrel
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/p[14]/span[1], line 1, column 2
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/p[14]/span[2], line 1, column 2
On the graph, we counted the rise of \(3\). The rise can also be found by subtracting the \(y\text{-coordinates}\) of the points.
\(\begin{array}{c}{y}_{2}-{y}_{1}\\ 6 - 3\\ 3\end{array}\)
We counted a run of \(5\). The run can also be found by subtracting the \(x\text{-coordinates}\).
\(\begin{array}{c}{x}_{2}-{x}_{1}\\ 7 - 2\\ 5\end{array}\)
| We know | \(m={\Large\frac{\text{rise}}{\text{run}}}\) |
| So | \(m={\Large\frac{3}{5}}\) |
| We rewrite the rise and run by putting in the coordinates. | \(m={\Large\frac{6 - 3}{7 - 2}}\) |
|
But \(6\) is the \(y\) -coordinate of the second point, \({y}_{2}\)
and \(3\) is the \(y\) -coordinate of the first point \({y}_{1}\). So we can rewrite the rise using subscript notation. |
\(m={\Large\frac
(click for details)
{7 - 2}}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/table[2]/tbody/tr[4]/td[2]/span, line 1, column 2
|
|
Also \(7\) is the \(x\) -coordinate of the second point, \({x}_{2}\)
and \(2\) is the \(x\) -coordinate of the first point \({x}_{2}\). So we rewrite the run using subscript notation. |
\(m={\Large\frac
(click for details)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/table[2]/tbody/tr[5]/td[2]/span[1], line 1, column 2
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/table[2]/tbody/tr[5]/td[2]/span[2], line 1, column 2
|
We’ve shown that \(m={\Large\frac
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/p[19]/span[1], line 1, column 2
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[4]/p[19]/span[2], line 1, column 2
Slope Formula or rate of Change formula
The slope of the line between two points \(\left({x}_{1},{y}_{1}\right)\) and \(\left({x}_{2},{y}_{2}\right)\) is
\(m={\Large\frac
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/p[2]/span[1], line 1, column 2
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/p[2]/span[2], line 1, column 2
Say the formula to yourself to help you remember it:
\(\text{Slope is }y\text{ of the second point minus }y\text{ of the first point}\)
\(\text{over}\)
\(x\text{ of the second point minus }x\text{ of the first point.}\)
example
Find the slope of the line between the points \(\left(1,2\right)\) and \(\left(4,5\right)\).
Solution
| We’ll call \(\left(1,2\right)\) point #1 and \(\left(4,5\right)\) point #2. |
\(\stackrel
(click for details)
{\left(1,2\right)}\text{and}\stackrel
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[1]/table/tbody/tr[1]/td[2]/span[1], line 1, column 2
(click for details)
{\left(4,5\right)}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[1]/table/tbody/tr[1]/td[2]/span[2], line 1, column 2
|
| Use the slope formula. |
\(m={\Large\frac
(click for details)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[1]/table/tbody/tr[2]/td[2]/span[1], line 1, column 2
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[1]/table/tbody/tr[2]/td[2]/span[2], line 1, column 2
|
| Substitute the values in the slope formula: | |
| \(y\) of the second point minus \(y\) of the first point |
\(m={\Large\frac{5 - 2}
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[1]/table/tbody/tr[4]/td[2]/span, line 1, column 2
|
| \(x\) of the second point minus \(x\) of the first point | \(m={\Large\frac{5 - 2}{4 - 1}}\) |
| Simplify the numerator and the denominator. | \(m={\Large\frac{3}{3}}\) |
| \(m=1\) |
Let’s confirm this by counting out the slope on the graph.
The rise is \(3\) and the run is \(3\), so
\(\begin{array}{}\\ m=\frac{\text{rise}}{\text{run}}\hfill \\ m={\Large\frac{3}{3}}\hfill \\ m=1\hfill \end{array}\)
try it
[ohm_question]147021[/ohm_question]
How do we know which point to call #1 and which to call #2? Let’s find the slope again, this time switching the names of the points to see what happens. Since we will now be counting the run from right to left, it will be negative.
| We’ll call \(\left(4,5\right)\) point #1 and \(\left(1,2\right)\) point #2. |
\(\stackrel
(click for details)
{\left(4,5\right)}\text{and}\stackrel
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/table/tbody/tr[1]/td[2]/span[1], line 1, column 2
(click for details)
{\left(1,2\right)}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/table/tbody/tr[1]/td[2]/span[2], line 1, column 2
|
| Use the slope formula. |
\(m={\Large\frac
(click for details)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/table/tbody/tr[2]/td[2]/span[1], line 1, column 2
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/table/tbody/tr[2]/td[2]/span[2], line 1, column 2
|
| Substitute the values in the slope formula: | |
| \(y\) of the second point minus \(y\) of the first point |
\(m={\Large\frac{2 - 5}
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/table/tbody/tr[4]/td[2]/span, line 1, column 2
|
| \(x\) of the second point minus \(x\) of the first point | \(m={\Large\frac{2 - 5}{1 - 4}}\) |
| Simplify the numerator and the denominator. | \(m={\Large\frac{-3}{-3}}\) |
| \(m=1\) |
The slope is the same no matter which order we use the points.
example
Find the slope of the line through the points \(\left(-2,-3\right)\) and \(\left(-7,4\right)\).
[reveal-answer q=”265532″]Show Answer[/reveal-answer]
[hidden-answer a=”265532″]
Solution
| We’ll call \(\left(-2,-3\right)\) point #1 and \(\left(-7,4\right)\) point #2. |
\(\stackrel
(click for details)
{\left(-2,-3\right)}\text{and}\stackrel
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[3]/table/tbody/tr[1]/td[2]/span[1], line 1, column 2
(click for details)
{\left(-7,4\right)}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[3]/table/tbody/tr[1]/td[2]/span[2], line 1, column 2
|
| Use the slope formula. |
\(m={\Large\frac
(click for details)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[3]/table/tbody/tr[2]/td[2]/span[1], line 1, column 2
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[3]/table/tbody/tr[2]/td[2]/span[2], line 1, column 2
|
| Substitute the values | |
| \(y\) of the second point minus \(y\) of the first point |
\(m={\Large\frac{4-\left(-3\right)}
(click for details)
}\)
Callstack:
at (Bookshelves/Accounting/Accounting_for_Managers_(Lumen)/02:_Calculations_and_Solving_Equations/2.08:_Rate_of_Change), /content/body/div[5]/div[3]/table/tbody/tr[4]/td[2]/span, line 1, column 2
|
| \(x\) of the second point minus \(x\) of the first point | \(m={\Large\frac{4-\left(-3\right)}{-7-\left(-2\right)}}\) |
| Simplify. | \(m={\Large\frac{7}{-5}}\) |
| \(m=-{\Large\frac{7}{5}}\) |
Let’s confirm this on the graph shown.
\(\begin{array}{}\\ \\ \\ m=\frac{\text{rise}}{\text{run}}\\ m={\Large\frac{-7}{5}}\\ m=-{\Large\frac{7}{5}}\end{array}\)
[/hidden-answer]
try it
[ohm_question]147022[/ohm_question]
Watch this video to see more examples of how to determine slope given two points on a line.