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.”

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.

(a)
Find the critical points of in the interval , and find the value of at each of these points.
(b)
Find and .
(c)
Among the values of at the critical points and at the endpoints, the largest value is the absolute maximum, and the smallest value is the absolute minimum.

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.

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.

Sketch each region, and determine if it is closed, bounded, and/or compact.

closed bounded compact

closed bounded compact

closed bounded compact

closed bounded compact

closed bounded compact

Extreme Value Theorem

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.

Because of this theorem, we can follow the steps below to optimize a continuous function on a compact region .

(a)
Find the critical points of in , and find the value of at each of these points.
(b)
Find the absolute maximum and absolute minimum of on the boundary of .
(c)
Of the values from steps 1 and 2, the largest value is the absolute maximum of over , and the smallest value is the absolute minimum of over .