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

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

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.

### 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]\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

### 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. https://www.youtube.com/watch?v=iJ_0nPUUlOg&feature=youtu.be### 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 |

### 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].**Figure 1**

### Solution

**Figure 2**

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

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

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.

Now we compute the average rate of change.

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

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.

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## Licenses & Attributions

### CC licensed content, Shared previously

- Precalculus.
**Provided by:**OpenStax**Authored by:**Jay Abramson, et al..**Located at:**https://openstax.org/books/precalculus/pages/1-introduction-to-functions.**License:**CC BY: Attribution.**License terms:**Download For Free at : http://cnx.org/contents/[email protected].. - Ex: Find the Average Rate of Change From a Table - Temperatures.
**Authored by:**Mathispower4u.**License:**All Rights Reserved.**License terms:**Standard YouTube LIcense.