Kevin Gonzales, Eric Hopkins, Catherine Zimmitti, Cheryl Kane, Modified to fit Applied Calculus from Coordinated Calculus by Nathan Wakefield et. al., Based upon Active Calculus by Matthew Boelkins
How to tell when a function is increasing or decreasing.
What are the critical numbers of a function and how are they connected to identifying the most extreme values the function achieves?
How does the first derivative of a function reveal important information about the behavior of the function? What information can we determine about the function using the first derivative?
How can we use the First Derivative Test to identify extreme values of the function?
In many different settings, we are interested in knowing where a function achieves its least and greatest values. These can be important in applications, such as identifying a point at which maximum profit or minimum cost occurs, or in theory such as characterizing the behavior of a function or of a family of related functions.
Given a function defined on the interval , we say that is increasing on provided that whenever . Similarly, we say that is decreasing on provided that whenever .
Simply put, an increasing function is one that is rising as we move from left to right along the graph (i.e. as the inputs increase), and a decreasing function is one that falls as we move left to right.
Given a differentiable function , we know that its derivative, , is the function whose output at tells us the slope of the tangent line to at the point .
At a point where is positive, the slope of the tangent line to is positive. Therefore, on an interval where is positive, the function is increasing. Similarly, if is negative on an interval, the graph of is decreasing . An example of this can be seen in Figure 4.1.1 below.
The derivative of tells us not only whether the function is increasing or decreasing on an interval, but also how fast the function is increasing or decreasing. Look at the two tangent lines shown below in Figure 4.1.1. We see that at point the value of is positive and relatively close to zero, and at that point the graph is rising slowly. By contrast, at point , the derivative is negative and relatively large in absolute value, and is decreasing rapidly at .
Let be a function that is differentiable on an interval . If the function is increasing on then for every in the interval . Conversely, if for every in the interval, then the function must be increasing on the interval.
Notice that we have to have the derivative strictly positive to conclude that the function is increasing. Letting be a constant function shows that if the derivative can be zero, then the function need not be increasing. Also, knowing the function is increasing is not enough to conclude that the derivative is strictly positive. The function is increasing on but .
Similarly, if the function is decreasing on then for every in the interval . Conversely, if for every in the interval, then the function must be decreasing on the interval.
For example, the function pictured below in Figure 4.1.2 is increasing on the entire interval . Note that at both and , we say that is neither increasing nor decreasing, because at these values.
Consider the simple and familiar example of a parabolic function such as (shown on the left of Figure 4.1.3 below) that represents the height of an object tossed vertically: its maximum value occurs at the vertex of the parabola and represents the greatest height the object reaches. This maximum value is an especially important point on the graph, the point at which the curve changes from increasing to decreasing.
The vertex in the graph (shown on the left of Figure 4.1.3 below) is a relative maximum. If we consider the graph of on the right of Figure 4.1.3 below; has a relative minimum of at the point and two relative maximum at both , and . It is important to note from this example that a function may have many relative maximum or minimum values.
Figure4.1.3.On the left, the graph of , where is a parabola whose vertex is ; on the right, the graph of , where is a function that demonstrates several high and low points.
We would like to use calculus ideas to identify and classify key function behavior, including the location of relative extrema. Of course, if we are given a graph of a function, it is often straightforward to locate these important behaviors visually. We see this below in Example 4.1.4.
Example4.1.4.
Consider the function given by the graph in Figure 4.1.5 below. Use the graph to answer each of the following questions.
Figure4.1.5.The graph of on the interval .
Identify all of the values of for which is a relative maximum of .
Identify all of the values of for which is a relative minimum of .
Identify all values of for which does not exist.
True or false: every relative maximum and minimum of occurs at a point where is either zero or does not exist.
True or false: at every point where is zero or does not exist, has a relative maximum or minimum.
Answer.
and .
.
,, and .
True.
False.
Solution.
The graph shows that for every near and for every near . We notice that these are points where switches from increasing to decreasing. Since there are no other points on the graph where the -coordinate is larger than everything nearby, it follows that the only relative maxima of on this domain occur at and .
The graph shows that for every near , a point where switches from decreasing to increasing. Since this is the only point shown where this occurs, we say that the only relative minimum of on this domain occurs at .
Recall that only exists when all of the following are true:
is defined,
exists,
, and
exists.
Assuming is continuous at (i.e. the first three points hold), the main consequence of the final point is that a corner or a cusp at makes nondifferentiable at .
With all this in mind, we can say that does not exist at ,, or because has a cusp at these points.
This is true. Every relative extremum of occurs at a point where is either zero or does not exist.
This is false. Some points at which is zero or undefined are not relative extrema. In particular, is zero, but the graph is non-decreasing near . Similarly, is undefined, but the graph is non-increasing near . Neither of these points is a relative maximum or minimum.
Figure4.1.6.From left to right: a function with a relative maximum where its derivative is zero; a function with a relative maximum where its derivative is undefined; a function with neither a maximum nor a minimum at a point where its derivative is zero; a function with a relative minimum where its derivative is zero; and a function with a relative minimum where its derivative is undefined.
Suppose a function is continuous on an open interval . If has a relative maximum at some number in this interval, then must be increasing in some interval just before and decreasing in some interval just after . These intervals could be quite small. Conversely, if is increasing in an interval just before and decreasing in an interval just after , then must have a relative maximum at .
The natural analogue holds for relative minima: if has a relative minimum at some number in this interval, then is decreasing in some interval just before and increasing just after . Conversely, if is decreasing in some interval just before and increasing in an interval just after , then must have a relative minimum at . (See Figure 4.1.6 above.) There are only two possible ways for these changes in behavior to occur: either or is undefined. Because these values of are so important, we call the point a critical point.
We say that a function has a critical point at provided that is in the domain of , and or is undefined. When is a critical point, we say that is a critical number of the function, or that is a critical value.
Critical points are the only possible locations where the function may have relativeβ1β
Absolute extrema occur only at critical points or at endpoints for functions defined on a fixed domain.
extrema. Note that not every critical point produces a maximum or minimum; in the middle graph of Figure 4.1.6, the function pictured there has a horizontal tangent line at the noted point, but the function is increasing before and increasing after, so the critical point does not yield a maximum or minimum. Two other such points appeared earlier in Figure 4.1.5 of Example 4.1.4.
The first derivative test summarizes how sign changes in the first derivative (which can only occur at critical numbers) indicate the presence of a relative maximum or minimum for a given function.
If is a critical number of a continuous function that is differentiable near (except possibly at ), then has a relative maximum at if and only if changes sign from positive to negative at , and has a relative minimum at if and only if changes sign from negative to positive at .
Example4.1.7.
Consider the function (shown on the left of Figure 4.1.3). To find the relative extrema:
Step 1. Find the derivative of .
Step 2. Find any critical numbers of by (1) setting and solving for and (2) finding all values of for which . Let us consider (2) first. Since is defined everywhere, then there are no values of for which . So, we need only consider (1). Setting , we have
and subtracting from both sides and dividing by gives
Thus we found a single critical number .
Step 3. Consider the sign of the derivative on either side of the critical point to determine if the function is increasing or decreasing. In this case , thus is increasing to the left of the critical point. Also , thus is decreasing to the right of critical point. As a sign chart, we have
Step 4. Interpret your results from Step 3. Since the function goes from increasing to decreasing at , the function has a relative maximum at (shown on the left of Figure 4.1.3).
Example4.1.8.
Consider the function , find the relative extrema:
Step 1. Find the derivative of .
Step 2. Find any critical numbers of by (1) setting and solving for and (2) considering when . Let us consider (2) first. Since is defined everywhere, then there are no values of for which . So, we need only consider (1). Setting , we have
and factoring 6 out of the equation and factoring, we have
So, there are two critical numbers .
Step 3. Consider the sign of the derivative on either side of the critical points to determine if the function is increasing or decreasing. In this case we need to test the sign at three points: , thus is increasing when ;, thus is decreasing for ; and , thus is increasing for . As a sign chart, we have
Step 4. Interpret your results from Step 3. Since goes from increasing to decreasing at , then has a relative maximum at . Since goes from decreasing to increasing at , then has a relative minimum at .
Example4.1.9.
Let be a function whose derivative is given by the formula . Determine all critical numbers of and decide whether a relative maximum, relative minimum, or neither occurs at each.
Answer.
is a critical number that is not a relative extremum. is a relative maximum.
Solution.
Since we already have written in factored form, it is straightforward to find the critical numbers of . Because is defined for all values of , we need only determine where . From the equation
and the zero product propertyβ2β
The zero product property says that if , where and are expressions representing real numbers (e.g. , where is a real number), then it must be the case that or (or both).
, it follows that and are critical numbers of . (There is no value of that makes .)
Next, to apply the first derivative test, weβd like to know the sign of at inputs near the critical numbers. Because the critical numbers are the only locations at which can change sign, it follows that the sign of the derivative is the same on each of the intervals created by the critical numbers: for instance, the sign of must be the same for every . What this means is that we can choose (carefully) where to evaluate the derivative in order to ascertain its sign on a given interval. Since and must have the same sign, we may as well evaluate at to figure out the sign of for . We create a first derivative sign chart (displayed below, with explanation following) to summarize the sign of on the relevant intervals, along with the corresponding behavior of .
Figure4.1.10.The first derivative sign chart for a function whose derivative is given by the formula .
To produce the first derivative sign chart in Figure 4.1.10, we start by marking the critical numbers and on the number line. We then identify the sign of each factor of at one selected point in each interval. The intervals in this example are ,, and ; we will choose ,, and for our selected points. The process with is laid out below:
For , we use the value to determine the sign of ,, and . We note that is positive regardless of the value of , is positive whenever it is nonzero β which is everywhere within the intervals of interest since we intentionally plucked out the zeros β and that is also positive at . Hence each of the three terms in is positive, and we indicate this by writing ββ above the interval . Taking the product of three positive terms results in a positive value for , so we denote the sign of by a ββ above the appropriate interval in the chart. Finally, since is positive on that interval, we know that is increasing, so we write βINCβ to represent the behavior of .
In a similar fashion, we find that is positive (because and the other terms are also still positive) and is increasing on , and that is negative (because but the other terms are still positive) and is decreasing for .
Now we look for critical numbers at which changes sign. In this example, changes sign only at , from positive to negative, so has a relative maximum at . Although has a critical number at , since is increasing both before and after , has neither a minimum nor a maximum at .
Example4.1.11.
Suppose is a function that is continuous for every value of except , and whose first derivative is . Further, assume that it is known that has a vertical asymptote at .
Determine all critical numbers of .
By developing a carefully labeled first derivative sign chart, decide whether has as a relative maximum, relative minimum, or neither at each critical number.
Answer.
or .
has a relative maximum at and neither a max nor min at .
Solution.
Since , we see that implies that or . Although makes undefined, we are told that has a vertical asymptote at . So is not in the domain of , and hence is technically not a critical number of . Nonetheless, we place on our first derivative sign chart since the vertical asymptote is a location at which may change sign.
Figure4.1.12.The first derivative sign chart for the function . By the first derivative test, has a relative maximum at and neither a max nor min at . As these are the only two critical numbers, these are the only two locations for possible extrema. (Note: although changes from decreasing to increasing at , this is due to a vertical asymptote, and does not have a minimum there.)
The critical numbers of a continuous function are the values of for which or does not exist. These values are important because they identify horizontal tangent lines or corner points on the graph, which are the only possible locations at which a relative maximum or relative minimum can occur.
Given a differentiable function : whenever is positive, is increasing; whenever is negative, is decreasing. The first derivative test tells us that at any point where changes from increasing to decreasing, has a relative maximum, while conversely at any point where changes from decreasing to increasing has a relative minimum.
NOTE: When using interval notation in WeBWorK, remember that: use βUβ for multiple intervals, for example if you are increasing on both intervals and then write as: .
PTX:ERROR: WeBWorK problem UNL-Problems/104-Problems/inc_dec6.pg with seed 106 does not have a statement tag Maybe it uses something other than BEGIN_TEXT or BEGIN_PGML to print the statement in its PG code Use -a to halt with returned content
PTX:ERROR: WeBWorK problem UNL-Problems/104-Problems/inc_dec1.pg with seed 107 does not return valid XML It may not be PTX compatible Use -a to halt with returned content
Identify all of the values of for which is a relative maximum of . If there is more than one value, enter the values as a comma-separated list. If there are none, enter DNE.
Identify all of the values of for which is a relative minimum of . If there is more than one value, enter the values as a comma-separated list. If there are none, enter DNE.
PTX:ERROR: WeBWorK problem UNL-Problems/104-Problems/relative_extrema8.pg with seed 110 does not return valid XML It may not be PTX compatible Use -a to halt with returned content