In many practical problems, we need to find the greatest (maximum) value or the least (minimum) value—there can be more than one of each—of a function.
The maximum and minimum values of a function are called the extreme values or extrema of the function.
Extremum is the singular form of extrema. The plural forms of maximum and minimum are maxima and minima, respectively.
Differentiation can help us locate the extreme values of a function.
In calculus, there are two types of “maximum” and “minimum,” which are distinguished by the two prefixes: absolute and relative.
Table of Contents
Absolute Maxima and Minima
The concepts of absolute maximum and minimum were introduced in Chapter 4. Let’s review the definitions.
Let the function be defined on a set . We say has an absolute maximum on at a point if and an absolute minimum value on at if
Absolute maxima and absolute minima (plural forms of maximum and minimum) are also referred to as global maxima and global minima.
Theorem 1. The Extreme Value Theorem: If is continuous on a closed interval , then attains both its absolute maximum and absolute minimum in . That is, there are numbers and in such that and .
We should emphasize that:
The continuity of the function on an open interval (instead of a closed interval) is not sufficient to guarantee the existence of the absolute maximum and minimum of the function.
If the function fails to be continuous even at one point in the interval , the extreme value theorem may fail to be true (although a discontinuous function may have max and min).
Figure 1. Graph of a function .Figure 1 shows the graph of function with absolute maximum at and absolute minimum at . The point is higher than all nearby points on the curve, although it is not as high as . That is, if we consider only values of sufficiently close to , then is the largest value of those values of (Figure 2). In this case, we say has a local (or relative) maximum at .Figure 2. A zoomed in section of the graph shown in the previous figure. The function has a local maximum at because we can consider an open interval around such that for all in .Similarly, we say has a local (or relative) minimum at because for all very close to (Figure 1). Other local maxima and minima are denoted on Figure 3.
Geometrically speaking local maxima and local minima are respectively the “peaks” and “valleys” of the curve.
Figure 3. Local maxima and local minima of a function are the peaks and valleys of its graph. The precise definitions are as follows.
Definition 1. A function is said to have a local (or relative) maximum at a point within its domain if there is some open interval containing such that The concept of local (or relative) minimum is similarly defined by reversing the inequality.
Every absolute maximum or minimum that is not an endpoint of an interval is a local maximum or local minimum, respectively. An endpoint is precluded from being a local extremum because we cannot find an open interval around an endpoint that is contained in the domain of the function.
Example 1
The graph of a function is illustrated in Figure 4. Find its absolute and local extrema.
Figure 4.
Solution
The lowest point of the graph is , and therefore, the function has an absolute minimum at . Because is an interior point of the interval , is also a local minimum. The absolute maximum occurs at , but because is an endpoint and the function is not defined on its right side, is not a local maximum. The other local minima occur at and .
Because , the function cannot have a maximum there. Moreover, it is evident that is a local maximum. We claim that is a local maximum because if we zoom in, we realize that for all close enough to ,
Figure 5.
All the absolute and local extrema are shown in Figure 6.
Figure 6.
Example 2
The graph of a function is illustrated in the following figure. Specify where its extrema occur.
Figure 7.
Solution
Because there is no greatest and no least value, the function does not have an absolute maximum or absolute minimum. For every , there is some neighborhood of that is completely contained in (Figure 8(a)), and for each , we have and (because ).1 Therefore, the function has at every in a local maximum and a local minimum. The function has a local maximum at and local minimum at (Figure 8(b)).
Figure 8.
It is evident from Figure 9 that at a local extremum, the tangent line is either parallel to the -axis (slope = 0) or has no tangent line. The following theorem helps us locate all the possible values of for which there is a local extremum.
Figure 9. If a function has a local extremum at an interior point , then either its derivative vanishes there or its derivative does not exist (including or ).
Theorem 2. (Fermat’s Theorem): Suppose is a function that is defined on an open interval containing the point . If is a local maximum or minimum, then either is not differentiable at (meaning does not exist) or .
Notice that differentiability, or even continuity, of at other points is not required.
The geometrical interpretation of the above theorem is: At a local max or min, either has no tangent, or has a horizontal tangent.
Show the proof
Hide the proof
We shall give the proof for the case of a local minimum at . According to the definition, we have or for all sufficiently close to zero (that is, when is near ). If does not exist, there is nothing else to prove. So suppose exists as a definite number. We need to show . When is small, we have and because the numerator in both cases is either positive or zero (). If we let , from the first case, we have and if we let , from the second case, we have Because we have assumed that exists, we must have the same limit in both cases, so This can happen only when . The proof for the case of a local maximum is similar.
The above theorem states a necessary condition for a local extremum. That the condition is not sufficient is evident from a glance at the point in Figure 9. The graph of has a horizontal tangent at this point, but does not have an extreme value at . As another example, consider: but does not give either a local maximum or a local minimum of , as is obvious from the graph of (Figure 10(a)). If , then
and is not defined (we may say ), but is not a local extremum (Figure 10(b)).
Figure 10. Although at (a) the derivative of is zero and (b) the derivative of does not exist, does not give a local maximum or a local minimum.
Critical Points
A number in the domain of the function at which the derivative is zero or the derivative does not exist has a special name. It is called a critical number.
Definition 2. Critical point: A point in the domain of a function is called a critical point (or critical number) of if
The number is called a critical value of .
Recall that if or , we say does not exist because and are not numbers.
By the above definition, we can reword Fermat’s theorem as:
Fermat’s Theorem: If is a local maximum or a local minimum, then is a critical number of .
According to the above theorem, every single local extreme value is a critical value, but not every critical value is necessarily a local extreme value.
We mentioned that every absolute extreme value, with the exception of an absolute extreme value that occurs at an endpoint, is also a local extreme value. Hence: An absolute maximum or minimum of a function occurs either at a critical point or at an endpoint of its domain.
This provides us a method to find the absolute maximum and the absolute minimum of a differentiable function on a finite closed interval .
Strategy for finding absolute extrema of a continuous function on a finite closed interval :
Step 1: Find
Step 2: Find all critical values: Set and solve it for . Also find every value of for which does not exist. Evaluate at each of these numbers that lie between and .
Step 3: Evaluate and .
Step 4: The largest value of from Steps 2 and 3 is the absolute maximum of and the least value of from these steps is the absolute minimum of on .
Example 3
Find the absolute maximum and minimum value of the function on the interval .
Solution
Step 1: Finding the derivative of Step 2: Finding the critical values of . The function is differentiable everywhere, so all the critical points are obtained by setting Because both and lie between and , we evaluate at both of these numbers Step 3: Evaluating at the endpoints Step 4: Comparing the critical values and the endpoint values.
max
min
max
The absolute maximum of on is , which occurs at and , and its absolute minimum on this interval is , which occurs at . The graph of is shown in Figure 11.
Figure 11. Graph of for
Example 4
Find the extrema of on .
Solution
Step 1: Finding the derivative of so Step 2: Finding the critical values of But does not lie between and .
We notice that does not exists when . Therefore, is another critical point of , and Step 3: Evaluating at the endpoints of the given interval
Step 4: Comparing the critical values and the endpoint values.
min
max
Thus the absolute max of on is , which occurs at and the absolute min of on that interval is , which occurs at . The graph of is shown in Figure 12.
Figure 12. Graph of when
Example 5
Find the absolute maximum and the absolute minimum of .
Solution
The domain of is , but because is periodic, we can examine it for one period. The fundamental period of is and the fundamental period of is (Figure 13). Hence the fundamental period of is and we can find the absolute max and min on (or ).
Figure 13. The function is periodic. Its fundamental period is .
Step 1: Step 2: We can express in terms of : (see the section on Trigonometric Identities). Thus This is a quadratic equation in terms of . Let . Thus We have to solve when .
and (See Figure 14(a,b))
Figure 14
Thus the critical points (or critical numbers) are Let’s evaluate at these points.
Here we have used the identities and (see Trigonometric Identities).
Step 3: Evaluation of at the endpoints
Step 4:
max
min
The above table shows that the maximum value of is and its absolute minimum is , which occur at and , respectively.
Figure 15. In one period takes on its absolute maximum at and its absolute minimum at .
1 means or , so we can write, for example, Here for all in , and therefore we can write or