Rate of change in tables and graphs

In this section, you will:

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

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 (Figure) 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]\text\,[/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]\,\textf\,[/latex]instead of[latex]\,\texty,\,[/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]\fracy>x>=\frac1.37>>\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:

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=\frac<_-_>[/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]\,_\,[/latex]and[latex]\,_.[/latex]

  1. Calculate the difference [latex]_-_=\texty.[/latex]
  2. Calculate the difference [latex]_-_=\textx.[/latex]
  3. Find the ratio[latex]\,\frac<\texty><\textx>.[/latex]

Computing an Average Rate of Change

Using the data in (Figure), find the average rate of change of the price of gasoline between 2007 and 2009.

Show Solution

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

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

Using the data in (Figure), find the average rate of change between 2005 and 2010.

Show Solution

Computing Average Rate of Change from a Graph

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

Graph of a parabola.

Figure 1.

Show Solution

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

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.

The horizontal change[latex]\,\textt=3\,[/latex]is shown by the red arrow, and the vertical change [latex]\textg\left(t\right)=-3[/latex] 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

[latex]\frac<1-4><2-\left(-1\right)>=\frac=-1[/latex]

Analysis

Note that the order we choose is very important. If, for example, we use[latex]\,\frac_-_>_-_>,\,[/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(_,_\right)\,[/latex]
and[latex]\,\left(_,_\right).[/latex]

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 (Figure). 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
Show Solution

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

[latex]\begin\hfill \frac& =& \frac\hfill \\ & =& 47\hfill \end[/latex]

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.

Computing Average Rate of Change for a Function Expressed as a Formula

Compute the average rate of change of [latex]f\left(x\right)=^-\frac[/latex] on the interval [latex]\text<[2,>\,\text[/latex]

Show Solution

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

[latex]\begin\hfill f\left(2\right)& =& ^-\frac\hfill & \hfill \phantom>f\left(4\right)& =& ^-\frac\hfill \\ & =& 4-\frac\hfill & & =& 16-\frac\hfill \\ & =& \frac\hfill & & =& \frac\hfill \end[/latex]

Now we compute the average rate of change.

Try It

Find the average rate of change of [latex]f\left(x\right)=x-2\sqrt[/latex] on the interval [latex]\left[1,\,9\right].[/latex]

Show Solution

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^>.[/latex]Find the average rate of change of force if the distance between the particles is increased from 2 cm to 6 cm.

Show Solution

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

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

Finding an Average Rate of Change as an Expression

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

Show 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

Find the average rate of change of[latex]\,f\left(x\right)=^+2x-8\,[/latex] on the interval[latex]\,\left[5,a\right]\,[/latex]in simplest forms in terms

Show Solution

Using a Graph to Determine Where a Function is Increasing, Decreasing, or Constant

As part of exploring how functions change, we can identify intervals over which the function is changing in specific ways. We say that a function is increasing on an interval if the function values increase as the input values increase within that interval. Similarly, a function is decreasing on an interval if the function values decrease as the input values increase over that interval. The average rate of change of an increasing function is positive, and the average rate of change of a decreasing function is negative. (Figure) shows examples of increasing and decreasing intervals on a function.

Graph of a polynomial that shows the increasing and decreasing intervals and local maximum and minimum.

Figure 3. The function[latex]\,f\left(x\right)=^-12x\,[/latex]is increasing on[latex]\,\left(-\infty \text\,-\text\right)^>>^>\left(2,\,\infty \right)\,[/latex]and is decreasing on[latex]\,\left(-2\text\,2\right).[/latex]

While some functions are increasing (or decreasing) over their entire domain, many others are not. A value of the input where a function changes from increasing to decreasing (as we go from left to right, that is, as the input variable increases) is called a local maximum. If a function has more than one, we say it has local maxima. Similarly, a value of the input where a function changes from decreasing to increasing as the input variable increases is called a local minimum. The plural form is “local minima.” Together, local maxima and minima are called local extrema, or local extreme values, of the function. (The singular form is “extremum.”) Often, the term local is replaced by the term relative. In this text, we will use the term local.

Clearly, a function is neither increasing nor decreasing on an interval where it is constant. A function is also neither increasing nor decreasing at extrema. Note that we have to speak of local extrema, because any given local extremum as defined here is not necessarily the highest maximum or lowest minimum in the function’s entire domain.

For the function whose graph is shown in (Figure), the local maximum is 16, and it occurs at[latex]\,x=-2.\,[/latex]The local minimum is[latex]\,-16\,[/latex]and it occurs at[latex]\,x=2.[/latex]

Figure 4.

To locate the local maxima and minima from a graph, we need to observe the graph to determine where the graph attains its highest and lowest points, respectively, within an open interval. Like the summit of a roller coaster, the graph of a function is higher at a local maximum than at nearby points on both sides. The graph will also be lower at a local minimum than at neighboring points. (Figure) illustrates these ideas for a local maximum.

Graph of a polynomial that shows the increasing and decreasing intervals and local maximum.

Figure 5. Definition of a local maximum

These observations lead us to a formal definition of local extrema.

Local Minima and Local Maxima

A function[latex]\,f\,[/latex]is an increasing function on an open interval if[latex]\,f\left(b\right)>f\left(a\right)\,[/latex]for any two input values[latex]\,a\,[/latex]and[latex]\,b\,[/latex]in the given interval where[latex]\,b>a.[/latex]

Finding Increasing and Decreasing Intervals on a Graph

Given the function[latex]\,p\left(t\right)\,[/latex]in (Figure), identify the intervals on which the function appears to be increasing.

Graph of a polynomial.

Figure 6.

Show Solution

We see that the function is not constant on any interval. The function is increasing where it slants upward as we move to the right and decreasing where it slants downward as we move to the right. The function appears to be increasing from[latex]\,t=1\,[/latex]to[latex]\,t=3\,[/latex]and from[latex]\,t=4\,[/latex]on.

In interval notation , we would say the function appears to be increasing on the interval (1,3) and the interval [latex]\left(4,\infty \right).[/latex]

Analysis

Notice in this example that we used open intervals (intervals that do not include the endpoints), because the function is neither increasing nor decreasing at[latex]\,t=1[/latex],[latex]\,t=3[/latex], and[latex]\,t=4\,[/latex]. These points are the local extrema (two minima and a maximum).

Finding Local Extrema from a Graph

Graph the function[latex]\,f\left(x\right)=\frac+\frac.\,[/latex]Then use the graph to estimate the local extrema of the function and to determine the intervals on which the function is increasing.

Show Solution

Using technology, we find that the graph of the function looks like that in (Figure). It appears there is a low point, or local minimum, between[latex]\,x=2\,[/latex]and[latex]\,x=3,\,[/latex]and a mirror-image high point, or local maximum, somewhere between[latex]\,x=-3\,[/latex]and[latex]\,x=-2.[/latex]

Graph of a reciprocal function.

Figure 7.

Analysis

Most graphing calculators and graphing utilities can estimate the location of maxima and minima. (Figure) provides screen images from two different technologies, showing the estimate for the local maximum and minimum.

Graph of the reciprocal function on a graphing calculator.

Figure 8.

Based on these estimates, the function is increasing on the interval[latex]\,(-\infty \text-\text\text<.449)>\,[/latex]
and[latex]\,\left(2.449\text\infty \right).\,[/latex]Notice that, while we expect the extrema to be symmetric, the two different technologies agree only up to four decimals due to the differing approximation algorithms used by each. (The exact location of the extrema is at[latex]\,±\sqrt,\,[/latex]but determining this requires calculus.)

Try It

Graph the function[latex]\,f\left(x\right)=^-6^-15x+20\,[/latex]to estimate the local extrema of the function. Use these to determine the intervals on which the function is increasing and decreasing.

Show Solution

The local maximum appears to occur at[latex]\,\left(-1,28\right),\,[/latex]and the local minimum occurs at[latex]\,\left(5,-80\right).\,[/latex]The function is increasing on[latex]\,\left(-\infty ,-1\right)\cup \left(5,\infty \right)\,[/latex]and decreasing on[latex]\,\left(-1,5\right).[/latex]

Finding Local Maxima and Minima from a Graph

For the function[latex]\,f\,[/latex]whose graph is shown in (Figure), find all local maxima and minima.

Graph of a polynomial.

Figure 9

Show Solution

Observe the graph of[latex]\,f.\,[/latex]The graph attains a local maximum at[latex]\,x=1\,[/latex]because it is the highest point in an open interval around[latex]\,x=1.[/latex]The local maximum is the[latex]\,y[/latex]-coordinate at[latex]\,x=1,\,[/latex]which is[latex]\,2.[/latex]

The graph attains a local minimum at[latex]\text< >x=-1\text< >[/latex]because it is the lowest point in an open interval around[latex]\,x=-1.\,[/latex]The local minimum is the y-coordinate at[latex]\,\,x=-1,\,\,[/latex]which is[latex]\,\,-2.[/latex]

Analyzing the Toolkit Functions for Increasing or Decreasing Intervals

We will now return to our toolkit functions and discuss their graphical behavior in (Figure), (Figure), and (Figure).

Table showing the increasing and decreasing intervals of the toolkit functions.

Figure 10.

Table showing the increasing and decreasing intervals of the toolkit functions.

Figure 11.

Table showing the increasing and decreasing intervals of the toolkit functions.

Figure 12.

Use A Graph to Locate the Absolute Maximum and Absolute Minimum

There is a difference between locating the highest and lowest points on a graph in a region around an open interval (locally) and locating the highest and lowest points on the graph for the entire domain. The[latex]\,y\text[/latex]coordinates (output) at the highest and lowest points are called the absolute maximum and absolute minimum, respectively.

To locate absolute maxima and minima from a graph, we need to observe the graph to determine where the graph attains it highest and lowest points on the domain of the function. See (Figure).

Graph of a segment of a parabola with an absolute minimum at (0, -2) and absolute maximum at (2, 2).

Figure 13.

Not every function has an absolute maximum or minimum value. The toolkit function[latex]\,f\left(x\right)=^\,[/latex]is one such function.

Absolute Maxima and Minima

The absolute maximum of[latex]\,f\,[/latex]at[latex]\,x=c\,[/latex]is[latex]\,f\left(c\right)\,[/latex]where[latex]\,f\left(c\right)\ge f\left(x\right)\,[/latex]for all[latex]\,x\,[/latex]in the domain of[latex]\,f.[/latex]

The absolute minimum of[latex]\,f\,[/latex]at[latex]\,x=d\,[/latex]is[latex]\,f\left(d\right)\,[/latex]where[latex]\,f\left(d\right)\le f\left(x\right)\,[/latex]for all[latex]\,x\,[/latex]in the domain of[latex]\,f.[/latex]

Finding Absolute Maxima and Minima from a Graph

For the function[latex]\,f\,[/latex]shown in (Figure), find all absolute maxima and minima.

Graph of a polynomial.

Show Solution

Observe the graph of[latex]\,f.\,[/latex]The graph attains an absolute maximum in two locations,[latex]\,x=-2\,[/latex]and[latex]\,x=2,\,[/latex]because at these locations, the graph attains its highest point on the domain of the function. The absolute maximum is the y-coordinate at[latex]\,x=-2\,[/latex]and[latex]\,x=2,\,[/latex]which is[latex]\,16.[/latex]

The graph attains an absolute minimum at[latex]\,x=3,\,[/latex]because it is the lowest point on the domain of the function’s graph. The absolute minimum is the y-coordinate at[latex]\,x=3,[/latex]which is[latex]-10.[/latex]

Access this online resource for additional instruction and practice with rates of change.

Key Equations

Average rate of change [latex]\frac=\frac<_-_>[/latex]

Key Concepts

Section Exercises

Verbal

Can the average rate of change of a function be constant?

Show Solution

Yes, the average rate of change of all linear functions is constant.

If a function[latex]\,f\,[/latex]is increasing on[latex]\,\left(a,b\right)\,[/latex]and decreasing on[latex]\,\left(b,c\right),\,[/latex]then what can be said about the local extremum of[latex]\,f\,[/latex]on[latex]\,\left(a,c\right)?\,[/latex]

How are the absolute maximum and minimum similar to and different from the local extrema?

Show Solution

The absolute maximum and minimum relate to the entire graph, whereas the local extrema relate only to a specific region around an open interval.

How does the graph of the absolute value function compare to the graph of the quadratic function,[latex]\,y=^,\,[/latex]in terms of increasing and decreasing intervals?

Algebraic

For the following exercises, find the average rate of change of each function on the interval specified for real numbers [latex]\,b\,[/latex]or[latex]\,h[/latex] in simplest form.