Global extrema
The extreme-value theorem and a complete interior-and-boundary workflow for absolute extrema.
This page finds the absolute maximum and minimum of a function on a region. Unlike a local test, an absolute extremum compares every point of the domain, so the boundary of the region enters the calculation. On a closed and bounded region the extreme-value theorem guarantees that both extrema exist; interior candidates come from the stationary points and each boundary piece gives a lower-dimensional optimisation problem.
Closed and bounded regions
Closed and bounded region
A region is closed if it contains its boundary and bounded if it fits inside a sufficiently large disk: there is an such that for every .
An interior point has a neighbourhood contained entirely in . A boundary point has every neighbourhood meeting both and its complement; the set of boundary points is written .
The closed unit disk
contains its boundary, the unit circle . An open disk omits that circle and is not closed.
The multivariable extreme-value theorem
If is continuous on a nonempty closed and bounded region , then attains an absolute maximum and an absolute minimum on .
An absolute extremum can occur at an interior critical point or anywhere on the boundary . The theorem guarantees existence, but it does not identify the candidates. The boundary is usually an infinite set, so it must be treated as a lower-dimensional optimisation problem.
If either closedness or boundedness fails, an extremum need not be attained; for example, on the open unit disk has supremum but no maximum.
The candidate workflow
Find absolute extrema on a closed bounded region
For a continuous on a nonempty closed and bounded region , use the following workflow, checking differentiability wherever a derivative is used:
- find all stationary points in the differentiable interior of and separately record any interior points where is not differentiable;
- restrict to each boundary piece;
- find critical points of every restricted function, including endpoints and corners;
- evaluate at every candidate;
- compare the resulting values.
Neither part of the search can be skipped: a boundary point can have a larger or smaller value than every interior critical point and a corner may not be detected by a one-variable derivative.
Analyse a boundary by parameterisation
To analyse a differentiable boundary curve, parameterise it as
and optimise the one-variable function
Include all parameter endpoints when the boundary is a segment or a piecewise-smooth curve and include corners separately.
Parameterisation converts the boundary part of a two-variable problem into one-variable calculus. When the boundary is naturally a level curve , Lagrange multipliers solve the boundary problem without a parameterisation.
Extrema on a rectangle
Find the maximum and minimum of
on
For interior candidates,
The equations give either , hence , or , hence , which is outside the rectangle. The only interior candidate is , with
On the vertical edges ,
The derivative is , so the edge critical point is , where
The edge endpoints give
On the horizontal edges,
The latter has minimum at and maximum at . Comparing all candidates gives
and
The minimum is interior, while the maximum occurs at corners.
Extrema on the closed unit disk
Let
on
The interior gradient is
Solving gives , with .
The boundary is the unit circle. Parameterise it by
Then
Since ,
The maximum occurs at
and the minimum occurs at
Comparing with the interior value gives
at the two same-sign boundary points and
at the two opposite-sign boundary points.
The boundary calculation can also be done without a parameter by treating as a constraint. The constrained extrema page develops this method, in which a gradient-parallel condition replaces the parameter derivative.