Rates of Change and Behavior of Graphs
Gasoline costs have experienced some wild fluctuations over the last several decades. The table below 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.
| 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | |
|---|---|---|---|---|---|---|---|---|
| 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 the table 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 (delta) signifies the change in a quantity; we read the ratio as “delta- over delta-” or “the change in divided by the change in .” Occasionally we write instead of , 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
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 and .
- Calculate the difference .
- Calculate the difference .
- Find the ratio .
Example. Using the gasoline data above, find the average rate of change of the price of gasoline between 2007 and 2009.
Solution. In 2007, the price of gasoline was $2.84. In 2009, the cost was $2.41. The average rate of change is
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.
Using the gasoline data above, find the average rate of change between 2005 and 2010, in dollars per year.
dollars per yearDivide the change in cost by the 5-year change in time.Example. Given the function graphed below, find the average rate of change on the interval .
Solution. At , the graph shows . At , the graph shows .
The horizontal change and the vertical change are shown by the dashed segments. The output changes by while the input changes by 3, giving an average rate of change of
Note that the order we choose is very important. If, for example, we use , 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 and .
Example. After picking up a friend who lives 10 miles away, Anna records her distance from home over time. The values are shown below. Find her average speed over the first 6 hours.
| (hours) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| (miles) | 10 | 55 | 90 | 153 | 214 | 240 | 292 | 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.
Because the speed is not constant, the average speed depends on the interval chosen. For the interval , the average speed is 63 miles per hour.
Example. Compute the average rate of change of on the interval .
Solution. We can start by computing the function values at each endpoint of the interval.
Now we compute the average rate of change.
Find the average rate of change of on the interval .
Evaluate at both endpoints first; .Example. The electrostatic force , measured in newtons, between two charged particles can be related to the distance between the particles , in centimeters, by the formula . 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 on the interval .
The average rate of change is newton per centimeter.
Example. Find the average rate of change of on the interval . The answer will be an expression involving .
Solution. We use the average rate of change formula.
This result tells us the average rate of change in terms of between and any other point . For example, on the interval , the average rate of change would be .
Find the average rate of change of on the interval .
Form , then factor the numerator so the common factor divides out.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. The graph below shows examples of increasing and decreasing intervals on a function.
The function is increasing on and is decreasing on .
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 the location of a local maximum. The function value at that point is the 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 the location of a local minimum. The function value at that point is the 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 below, the local maximum is 16, and it occurs at . The local minimum is and it occurs at .
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. The graph below illustrates these ideas for a local maximum.
These observations lead us to a formal definition of local extrema.
Local minima and local maxima.
A function is an increasing function on an open interval if for every two input values and in the interval where .
A function is a decreasing function on an open interval if for every two input values and in the interval where .
A function has a local maximum at a point in an open interval if for every point ( does not equal ) in the interval.
has a local minimum at a point in if for every point ( does not equal ) in the interval.
Example. Given the function graphed below, identify the intervals on which the function appears to be increasing.
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 to and from on.
In interval notation, we would say the function appears to be increasing on the interval and the interval .
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 , , and . These points are the local extrema (two minima and a maximum).
Example. Graph the function . Then use the graph to estimate the local extrema of the function and to determine the intervals on which the function is increasing.
Solution. Using technology, we find that the graph of the function looks like the one below. It appears there is a low point, or local minimum, between and , and a mirror-image high point, or local maximum, somewhere between and .
Most graphing calculators and graphing utilities can estimate the location of maxima and minima. Based on such estimates, the function is increasing on the interval and . Notice that, while we expect the extrema to be symmetric, 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 , but determining this requires calculus.)
Graph . The local maximum occurs at ; what is the local maximum value?
Evaluate the function at .For that same function , on which intervals is it increasing?
The graph turns at the two local extrema, and ; it climbs outside them.Example. For the function whose graph is shown below, find all local maxima and minima.
Solution. Observe the graph of . The graph attains a local maximum at because it is the highest point in an open interval around . The local maximum is the -coordinate at , which is .
The graph attains a local minimum at because it is the lowest point in an open interval around . The local minimum is the -coordinate at , which is .
Analyzing the toolkit functions for increasing or decreasing intervals
We will now return to our toolkit functions and discuss their graphical behavior. Their graphs appear in the toolkit library in Domain and Range.
| Function | Increasing/decreasing |
|---|---|
| Constant function, | Neither increasing nor decreasing |
| Identity function, | Increasing |
| Quadratic function, | Increasing on ; decreasing on ; minimum at |
| Cubic function, | Increasing |
| Reciprocal, | Decreasing on |
| Reciprocal squared, | Increasing on ; decreasing on |
| Cube root, | Increasing |
| Square root, | Increasing on |
| Absolute value, | Increasing on ; decreasing on |
Using 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 -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 its highest and lowest points on the domain of the function.
For this function, the absolute maximum is and the absolute minimum is .
Not every function has an absolute maximum or minimum value. The toolkit function is one such function.
Absolute maxima and minima.
The absolute maximum of at is where for all in the domain of .
The absolute minimum of at is where for all in the domain of .
Example. For the function shown below, find all absolute maxima and minima.
Solution. Observe the graph of . The graph attains an absolute maximum in two locations, and , because at these locations, the graph attains its highest point on the domain of the function. The absolute maximum is the -coordinate at and , which is .
The graph attains an absolute minimum at , because it is the lowest point on the domain of the function’s graph. The absolute minimum is the -coordinate at , which is .
Key equations
| Average rate of change |
|---|
Key concepts
- A rate of change relates a change in an output quantity to a change in an input quantity. The average rate of change is determined using only the beginning and ending data.
- Identifying points that mark the interval on a graph can be used to find the average rate of change.
- Comparing pairs of input and output values in a table can also be used to find the average rate of change.
- An average rate of change can also be computed by determining the function values at the endpoints of an interval described by a formula.
- The average rate of change can sometimes be determined as an expression.
- A function is increasing where its rate of change is positive and decreasing where its rate of change is negative.
- A local maximum is where a function changes from increasing to decreasing and has an output value larger (more positive or less negative) than output values at neighboring input values.
- A local minimum is where the function changes from decreasing to increasing (as the input increases) and has an output value smaller (more negative or less positive) than output values at neighboring input values.
- Minima and maxima are also called extrema.
- We can find local extrema from a graph.
- The highest and lowest points on a graph indicate the maxima and minima.
Key terms
rate of change — the change of an output quantity relative to the change of the input quantity. average rate of change — the difference in the output values of a function found for two values of the input divided by the difference between the inputs. increasing function — a function is increasing in some open interval if for any two input values and in the given interval where . decreasing function — a function is decreasing in some open interval if for any two input values and in the given interval where . local maximum — a value of the input where a function changes from increasing to decreasing as the input value increases. local minimum — a value of the input where a function changes from decreasing to increasing as the input value increases. local extrema — collectively, all of a function’s local maxima and minima. absolute maximum — the greatest value of a function over an interval. absolute minimum — the lowest value of a function over an interval.
This section is adapted from Precalculus 2e, Section 1.3: Rates of Change and Behavior of Graphs by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated every graph as an accessible inline SVG generated from an explicit formula — the source’s unlabelled illustrative curves were fitted first, so , is the quartic whose extrema fall exactly at , and the closed-domain example is ; presented the gasoline and distance tables and the three toolkit increasing/decreasing tables as Markdown tables, referring to the toolkit graphs published in Section 1.2 rather than repeating them; omitted the pair of graphing-calculator screen images, keeping the estimates they illustrate in the prose; omitted the media links and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback, using multiple choice where the answer is interval notation, which cannot be graded as free-response math.