We’ll now turn our attention to absolute extrema, also called global extrema. We’ll begin by reviewing the situation in single variable calculus, where we optimized over closed intervals. This is sometimes called the “closed interval method.”
Let be a subset of , and let . We say that has an absolute minimum over at if for all . If this is the case, then we say that is the absolute minimum of over .
In general, a function is not guaranteed to have an absolute maximum or minimum.
Usually, we took to be a continuous function and to be a closed interval. We did this because, in this case, is guaranteed to have an absolute maximum and absolute minimum, and these will either happen at critical points or at the endpoints of . This is true by the Extreme Value Theorem.
Using this theorem, we can find the absolute maximum and absolute minimum of a continuous function over a closed interval by following the steps below.
We will be able to find an analogous theorem and process for finding the absolute maximum and absolute minimum of a multivariable function, but this raises the immediate question: in , what is the analogue of a closed interval? This brings us to compact sets.
In order to formulate a version of the Extreme Value Theorem for multivariable functions, we need to consider functions over compact sets, which must be closed. Recall that a subset is closed if its complement is open. Equivalently, is closed if and only if it contains all of its boundary points. Roughly speaking, a set is compact if its “edges” are solid lines, not dashed lines.
For a set to be compact, it needs to be bounded in addition to being closed.
A subset is compact if it is both closed and bounded.
The set is both closed and bounded, hence compact.
The set is closed but not bounded. Hence it is not compact.
As in the single variable case, as long as we have a continuous function over a compact region, there is guaranteed to be an absolute maximum and absolute minimum. Furthermore, these will always occur either at critical points, or on the boundary.
Furthermore, if has an absolute maximum or absolute minimum at , then either is a critical point of in , or is on the boundary of .
Because of this theorem, we can follow the steps below to optimize a continuous function on a compact region .
First, note that is continuous, and is a compact region, so has an absolute maximum and an absolute minimum over , and each occurs either at a critical point or on the boundary of .
We first find the critical points of , by finding where the gradient is . Solving for where , we obtain the only critical point, The value of at this critical point is .
Next, we need to find the maximum and minimum values of on the boundary of , which is the unit circle. In order to do this, we parametrize the unit circle, for . Substituting this into , we can find the maximum and minimum of on the boundary of by finding the maximum and minimum of the single variable function
over . To optimize this function, we follow the closed interval method for single variable functions. Differentiating , we have
Solving for , the critical points in the interval are , , , and . The values of at these points are
The values of at the endpoints, and , are
Comparing all of these values, we see that the absolute maximum of is , and this occurs when and when . These correspond to the points and on the boundary of . The absolute minimum of is , and this occurs when and when . These correspond to the points and on the boundary of .
Now, considering the values of at the critical points and on the boundary of , we see that the absolute maximum of is and this occurs at and . The absolute minimum of is and this occurs at .