Find the average rate of change of a function

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

Average rate of change=[latex]\frac{\text{Change in output}}{\text{Change in input}}\\[/latex]
=[latex]\frac{\Delta y}{\Delta x}\\[/latex]
=[latex]\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\[/latex]
=[latex]\frac{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-y over delta-x” 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. It does not mean we are changing the function into some other function.

In our example, the gasoline price increased by $1.37 from 2005 to 2012. Over 7 years, the average rate of change was

[latex]\frac{\Delta y}{\Delta x}=\frac{{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 (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]\frac{\Delta y}{\Delta x}=\frac{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].

  1. Calculate the difference [latex]{y}_{2}-{y}_{1}=\Delta y\\[/latex].
  2. Calculate the difference [latex]{x}_{2}-{x}_{1}=\Delta x\\[/latex].
  3. Find the ratio [latex]\frac{\Delta y}{\Delta x}\\[/latex].

Example 1: 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

Solution

In 2007, the price of gasoline was $2.84. In 2009, the cost was $2.41. The average rate of change is

[latex]\begin{cases}\frac{\Delta y}{\Delta x}=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\\ {}\\=\frac{2.41-2.84}{2009 - 2007}\\ {}\\=\frac{-0.43}{2\text{ years}}\\{} \\={-0.22}\text{ per year}\end{cases}\\[/latex]

Analysis of the Solution

Note that a decrease is expressed by a negative change or “negative increase.” A rate of change is negative when the output decreases as the input increases or when the output increases as the input decreases.

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 1

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

Solution

Example 2: Computing Average Rate of Change from a Graph

Given the function [latex]g\left(t\right)[/latex] shown in Figure 1, find the average rate of change on the interval [latex]\left[-1,2\right][/latex].

Graph of a parabola.

Figure 1

Solution

Graph of a parabola with a line from points (-1, 4) and (2, 1) to show the changes for g(t) and t.

Figure 2

At [latex]t=-1[/latex], the graph shows [latex]g\left(-1\right)=4[/latex]. At [latex]t=2[/latex], the graph shows [latex]g\left(2\right)=1[/latex].

The horizontal change [latex]\Delta t=3[/latex] is shown by the red arrow, and the vertical change [latex]\Delta g\left(t\right)=-3[/latex] is shown by the turquoise arrow. The output changes by –3 while the input changes by 3, giving an average rate of change of

[latex]\frac{1 - 4}{2-\left(-1\right)}=\frac{-3}{3}=-1[/latex]

Analysis of the Solution

Note that the order we choose is very important. If, for example, we use [latex]\frac{{y}_{2}-{y}_{1}}{{x}_{1}-{x}_{2}}[/latex], we will not get the correct answer. Decide which point will be 1 and which point will be 2, and keep the coordinates fixed as [latex]\left({x}_{1},{y}_{1}\right)[/latex] and [latex]\left({x}_{2},{y}_{2}\right)[/latex].

Example 3: 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 282 300

Solution

Here, the average speed is the average rate of change. She traveled 282 miles in 6 hours, for an average speed of

[latex]\begin{cases}\\ \frac{292 - 10}{6 - 0}\\ {}\\ =\frac{282}{6}\\{}\\ =47 \end{cases}[/latex]

The average speed is 47 miles per hour.

Analysis of the Solution

Because the speed is not constant, the average speed depends on the interval chosen. For the interval [2,3], the average speed is 63 miles per hour.

Example 4: 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]

Solution

We can start by computing the function values at each endpoint of the interval.

[latex]\begin{cases}f\left(2\right)={2}^{2}-\frac{1}{2}& f\left(4\right)={4}^{2}-\frac{1}{4} \\ =4-\frac{1}{2} & =16-{1}{4} \\ =\frac{7}{2} & =\frac{63}{4} \end{cases}[/latex]

Now we compute the average rate of change.

[latex]\begin{cases}\text{Average rate of change}=\frac{f\left(4\right)-f\left(2\right)}{4 - 2}\hfill \\{}\\\text{ }=\frac{\frac{63}{4}-\frac{7}{2}}{4 - 2}\hfill \\{}\\ \text{ }\text{ }=\frac{\frac{49}{4}}{2}\hfill \\ {}\\ \text{ }=\frac{49}{8}\hfill \end{cases}[/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 2

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

Solution

Example 5: Finding the Average Rate of Change of a Force

The electrostatic force [latex]F[/latex], measured in newtons, between two charged particles can be related to the distance between the particles [latex]d[/latex], in centimeters, by the formula [latex]F\left(d\right)=\frac{2}{{d}^{2}}[/latex]. Find the average rate of change of force if the distance between the particles is increased from 2 cm to 6 cm.

Solution

We are computing the average rate of change of [latex]F\left(d\right)=\frac{2}{{d}^{2}}[/latex] on the interval [latex]\left[2,6\right]\\[/latex].

[latex]\begin{cases}\text{Average rate of change }=\frac{F\left(6\right)-F\left(2\right)}{6 - 2}\\ {}\\ =\frac{\frac{2}{{6}^{2}}-\frac{2}{{2}^{2}}}{6 - 2} & \text{Simplify}. \\ {}\\=\frac{\frac{2}{36}-\frac{2}{4}}{4}\\{}\\ =\frac{-\frac{16}{36}}{4}\text{Combine numerator terms}.\\ {}\\=-\frac{1}{9}\text{Simplify}\end{cases}\\[/latex]

The average rate of change is [latex]-\frac{1}{9}\\[/latex] newton per centimeter.

Example 6: Finding an Average Rate of Change as an Expression

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

Solution

We use the average rate of change formula.

[latex]\text{Average rate of change}=\frac{g\left(a\right)-g\left(0\right)}{a - 0}\text{Evaluate}\\[/latex].
=[latex]\frac{\left({a}^{2}+3a+1\right)-\left({0}^{2}+3\left(0\right)+1\right)}{a - 0}\text{Simplify}.\\[/latex]
=[latex]\frac{{a}^{2}+3a+1 - 1}{a}\text{Simplify and factor}.\\[/latex]
=[latex]\frac{a\left(a+3\right)}{a}\text{Divide by the common factor }a.\\[/latex]
=[latex]a+3\\[/latex]

This result tells us the average rate of change in terms of [latex]a[/latex] between [latex]t=0[/latex] and any other point [latex]t=a[/latex]. For example, on the interval [latex]\left[0,5\right][/latex], the average rate of change would be [latex]5+3=8[/latex].

Try It 3

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

Solution