Learning Outcomes
- Find the average rate of change of a function.
Gasoline costs have experienced some wild fluctuations over the last several decades. The table below[1] lists the average cost, in dollars, of a gallon of gasoline for the years 2005–2012. The cost of gasoline can be considered as a function of year.
[latex]y[/latex] | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 |
[latex]C\left(y\right)[/latex] | 2.31 | 2.62 | 2.84 | 3.30 | 2.41 | 2.84 | 3.58 | 3.68 |
If we were interested only in how the gasoline prices changed between 2005 and 2012, we could compute that the cost per gallon had increased from $2.31 to $3.68, an increase of $1.37. While this is interesting, it might be more useful to look at how much the price changed per year. In this section, we will investigate changes such as these.
The price change per year is a rate of change because it describes how an output quantity changes relative to the change in the input quantity. We can see that the price of gasoline in the table above did not change by the same amount each year, so the rate of change was not constant. If we use only the beginning and ending data, we would be finding the average rate of change over the specified period of time. To find the average rate of change, we divide the change in the output value by the change in the input value.
[latex]\begin{align}\text{Average rate of change} &=\frac{\text{Change in output}}{\text{Change in input}}\\[2mm] &=\frac{\Delta y}{\Delta x}\\[2mm] &=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\[2mm] &=\frac{f\left({x}_{2}\right)-f\left({x}_{1}\right)}{{x}_{2}-{x}_{1}}\end{align}[/latex]
the slope of a line
The formula for the average rate of change of any function looks a lot like the formula for finding the slope of a line. That’s because the average rate of change between two points on the graph of a function is the slope of the straight line between those points. (We will look at the slope of a line in more detail in Unit 2 when we study linear functions.)
Since [latex]y=f(x), \, \text{we write} \, \left(x,y\right) \, \text{as} \, \left(x, f(x)\right) \, \text{and} \, \dfrac{\text{rise}}{\text{run}}\Rightarrow \dfrac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}} \Rightarrow \dfrac{f\left({x}_{2}\right)-f\left({x}_{1}\right)}{{x}_{2}-{x}_{1}}.[/latex]
The Greek letter [latex]\Delta[/latex] (delta) signifies the change in a quantity; we read the ratio as “delta-[latex]y[/latex] over delta-[latex]x[/latex]” or “the change in [latex]y[/latex] divided by the change in [latex]x[/latex].” Occasionally we write [latex]\Delta f[/latex] instead of [latex]\Delta y[/latex], which still represents the change in the function’s output value resulting from a change to its input value.
In our example, the gasoline price increased by $1.37 from 2005 to 2012. Over 7 years, the average rate of change was
[latex]\dfrac{\Delta y}{\Delta x}=\dfrac{{1.37}}{\text{7 years}}\approx 0.196\text{ dollars per year}[/latex]
On average, the price of gas increased by about 19.6¢ each year.
Other examples of rates of change include:
- A population of rats increasing by 40 rats per week
- A car traveling 68 miles per hour (distance traveled changes by 68 miles each hour as time passes)
- A car driving 27 miles per gallon of gasoline (distance traveled changes by 27 miles for each gallon)
- The current through an electrical circuit increasing by 0.125 amperes for every volt of increased voltage
- The amount of money in a college account decreasing by $4,000 per quarter
A General Note: Rate of Change
A rate of change describes how an output quantity changes relative to the change in the input quantity. The units on a rate of change are “output units per input units.”
The average rate of change between two input values is the total change of the function values (output values) divided by the change in the input values.
[latex]\dfrac{\Delta y}{\Delta x}=\dfrac{f\left({x}_{2}\right)-f\left({x}_{1}\right)}{{x}_{2}-{x}_{1}}[/latex]
How To: Given the value of a function at different points, calculate the average rate of change of a function for the interval between two values [latex]{x}_{1}[/latex] and [latex]{x}_{2}[/latex].
- Calculate the difference [latex]{y}_{2}-{y}_{1}=\Delta y[/latex].
- Calculate the difference [latex]{x}_{2}-{x}_{1}=\Delta x[/latex].
- Find the ratio [latex]\dfrac{\Delta y}{\Delta x}[/latex].
Example: Computing an Average Rate of Change
Using the data in the table below, find the average rate of change of the price of gasoline between 2007 and 2009.
[latex]y[/latex] | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 |
[latex]C\left(y\right)[/latex] | 2.31 | 2.62 | 2.84 | 3.30 | 2.41 | 2.84 | 3.58 | 3.68 |
The following video provides another example of how to find the average rate of change between two points from a table of values.
Try It
Using the data in the table below, find the average rate of change between 2005 and 2010.
[latex]y[/latex] | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 |
[latex]C\left(y\right)[/latex] | 2.31 | 2.62 | 2.84 | 3.30 | 2.41 | 2.84 | 3.58 | 3.68 |
Example: Computing Average Rate of Change from a Table
After picking up a friend who lives 10 miles away, Anna records her distance from home over time. The values are shown in the table below. Find her average speed over the first 6 hours.
t (hours) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
D(t) (miles) | 10 | 55 | 90 | 153 | 214 | 240 | 292 | 330 |
Example: Computing Average Rate of Change from a Graph
Given the function [latex]g\left(t\right)[/latex], find the average rate of change on the interval [latex]\left[-1,2\right][/latex].
Example: Computing Average Rate of Change for a Function Expressed as a Formula
Compute the average rate of change of [latex]f\left(x\right)={x}^{2}-\frac{1}{x}[/latex] on the interval [latex]\text{[2,}\text{4].}[/latex]
The following video provides another example of finding the average rate of change of a function given a formula and an interval.
Try It
Find the average rate of change of [latex]f\left(x\right)=x - 2\sqrt{x}[/latex] on the interval [latex]\left[1,9\right][/latex].
Example: Finding an Average Rate of Change as an Expression
Here is a video to show you how you can find the average rate of change when one part of the interval is a variable.
Now you should try to find the average rate of change for the following.
Find the average rate of change of [latex]g\left(t\right)={t}^{2}+3t+1[/latex] on the interval [latex]\left[0,a\right][/latex]. The answer will be an expression involving [latex]a[/latex].
Try It
Find the average rate of change of [latex]f\left(x\right)={x}^{2}+2x - 8[/latex] on the interval [latex]\left[5,a\right][/latex].
Candela Citations
- Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
- Question ID 111818. Authored by: LumenLearning. License: CC BY: Attribution. License Terms: IMathAS Community License CC-BY + GPL
- College Algebra. Authored by: Abramson, Jay et al.. Provided by: OpenStax. Located at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2
- Question ID 1731, 1732, 1733, 4083. Authored by: Lippman,David. License: CC BY: Attribution. License Terms: IMathAS Community License CC-BY + GPL
- Question ID 74150. Authored by: nearing,Daniel, mb Nearing,Daniel, mb Meacham,William. License: CC BY: Attribution
- Question ID 16233. Authored by: Sousa,James, mb Lippman,David. License: CC BY: Attribution. License Terms: IMathAS Community License CC-BY + GPL
- Ex: Find the Average Rate of Change From a Table - Temperatures. Authored by: Mathispower4u. Located at: https://www.youtube.com/watch?v=iJ_0nPUUlOg&feature=youtu.be. License: All Rights Reserved. License Terms: Standard YouTube LIcense
- http://www.eia.gov/totalenergy/data/annual/showtext.cfm?t=ptb0524. Accessed 3/5/2014. ↵