Calculate the Rate of Change of a Function

Site: Saylor Academy
Course: MA001: College Algebra
Book: Calculate the Rate of Change of a Function
Printed by: Guest user
Date: Sunday, November 3, 2024, 6:58 AM

Description

We will continue exploring functions using equations, tables, words, and graphs by finding average rates of change of functions.

Calculate the Rate of Change of a Function

Learning Objectives

In this section, you will:

  • Find the average rate of change of a function.
  • Use a graph to determine where a function is increasing, decreasing, or constant.
  • Use a graph to locate local maxima and local minima.
  • Use a graph to locate the absolute maximum and absolute minimum.

Gasoline costs have experienced some wild fluctuations over the last several decades. Table 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.

y 2005 2006 2007 2008 2009 2010 2011 2012
C(y) 2.31 2.62 2.84 3.30 2.41 2.84 3.58 3.68

Table 1

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.



Source: Rice University, https://openstax.org/books/college-algebra/pages/3-3-rates-of-change-and-behavior-of-graphs
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.

Finding the Average Rate of Change of a Function

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 Table 1 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.

\begin{aligned} \text { Average rate of change } &=\dfrac{\text { Change in output }}{\text { Change in input }} \\ &=\dfrac{\Delta y}{\Delta x} \\ &=\dfrac{y_{2}-y_{1}}{x_{2}-x_{1}} \\ &=\dfrac{f\left(x_{2}\right)-f\left(x_{1}\right)}{x_{2}-x_{1}} \end{aligned}

The Greek letter \Delta (delta) signifies the change in a quantity; we read the ratio as "delta- y over delta- x " or "the change in y divided by the change in x". Occasionally we write \Delta f instead of \Delta y, 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

\dfrac{\Delta y}{\Delta x}=\dfrac{\$ 1.37}{7 \text { years }} \approx 0.196 \text { dollars per year }

On average, the price of gas increased by about 19.6 c 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


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.

\dfrac{\Delta y}{\Delta x}=\dfrac{f\left(x_{2}\right)-f\left(x_{1}\right)}{x_{2}-x_{1}}


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 x_{1} and x_{2}.

  1. Calculate the difference y_{2}-y_{1}=\Delta y.
  2. Calculate the difference x_{2}-x_{1}=\Delta x.
  3. Find the ratio \dfrac{\Delta y}{\Delta x}.


EXAMPLE 1

Computing an Average Rate of Change

Using the data in Table 1, find the average rate of change of the price of gasoline between 2007 and 2009.

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


\begin{aligned}
\dfrac{\Delta y}{\Delta x} &=\dfrac{y_{2}-y_{1}}{x_{2}-x_{1}} \\
&=\dfrac{\$ 2.41-\$ 2.84}{2009-2007} \\
&=\dfrac{-\$ 0.43}{2 \text { years }} \\
&=-\$ 0.22 \text { per year }
\end{aligned}


Analysis

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.


TRY IT #1

Using the data in Table 1, find the average rate of change between 2005 and 2010.


EXAMPLE 2

Computing Average Rate of Change from a Graph

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


Figure 1


Solution

At t=-1, Figure 2 shows g(-1)=4. At t=2, the graph shows g(2)=1.


Figure 2


The horizontal change \Delta t=3 is shown by the red arrow, and the vertical change \Delta g(t)=-3 is shown by the turquoise arrow. The average rate of change is shown by the slope of the orange line segment. The output changes by -3 while the input changes by 3, giving an average rate of change of

\dfrac{1-4}{2-(-1)}=\dfrac{-3}{3}=-1


Analysis

Note that the order we choose is very important. If, for example, we use \dfrac{y_{2}-y_{1}}{x_{1}-x_{2}}, 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 \left(x_{1}, y_{1}\right) and \left(x_{2}, y_{2}\right).


EXAMPLE 3

Computing Average Rate of Change from a Table

After picking up a friend who lives 10 miles away and leaving on a trip, Anna records her distance from home over time. The values are shown in Table 2. 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 300


Table 2


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


\begin{aligned}
\dfrac{292-10}{6-0} &=\dfrac{282}{6} \\
&=47
\end{aligned}

The average speed is 47 miles per hour.


Analysis

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 f(x)=x^{2}-\dfrac{1}{x} on the interval [2,4].


Solution

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


\begin{aligned}
f(2) &=2^{2}-\dfrac{1}{2} & f(4) &=4^{2}-\dfrac{1}{4} \\
&=4-\dfrac{1}{2} & &=16-\dfrac{1}{4} \\
&=\dfrac{7}{2} & &=\dfrac{63}{4}
\end{aligned}

Now we compute the average rate of change.

\begin{aligned} \text { Average rate of change } &=\dfrac{f(4)-f(2)}{4-2} \\ &=\dfrac{\dfrac{63}{4}-\dfrac{7}{2}}{4-2} \\ &=\dfrac{\dfrac{49}{4}}{2} \\ &=\dfrac{49}{8} \end{aligned}


TRY IT #2

Find the average rate of change of f(x)=x-2 \sqrt{x} on the interval \left[\begin{array}{ll}1, & 9\end{array}\right].


EXAMPLE 5

Finding the Average Rate of Change of a Force

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


Solution

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

\begin{array}{rlr}\text { Average rate of change } & =\dfrac{F(6)-F(2)}{6-2} & \\ & =\dfrac{\dfrac{2}{6^{2}}-\dfrac{2}{2^{2}}}{6-2} \quad \text { Simplify. } \\ & =\dfrac{\dfrac{2}{36}-\dfrac{2}{4}}{4} & \\ & =\dfrac{-\dfrac{16}{36}}{4} \qquad \text { Combine numerator terms. } \\ & =-\dfrac{1}{9} \qquad  \text { Simplify }\end{array}

The average rate of change is -\dfrac{1}{9} newton per centimeter.


EXAMPLE 6

Finding an Average Rate of Change as an Expression

Find the average rate of change of g(t)=t^{2}+3 t+1 on the interval [0, a]. The answer will be an expression involving a in simplest form.


Solution

We use the average rate of change formula.


\begin{array}{ll}
\text{Average rate of change} &=\dfrac{g(a)-g(0)}{a-0}  &\text{Evaluate.}\\
&=\dfrac{\left(a^{2}+3 a+1\right)-\left(0^{2}+3(0)+1\right)}{a-0} & \text { Simplify. } \\
&=\dfrac{a^{2}+3 a+1-1}{a} & \text { Simplify and factor. } \\
&=\dfrac{a(a+3)}{a} & \text { Divide by the common factor } a . \\
&=a+3 &
\end{array}

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


TRY IT #3

Find the average rate of change of f(x)=x^{2}+2 x-8 on the interval [5, a] in simplest forms in terms of a.