Absolute Extrema on Compact Sets
In questa pagina 4
This note builds on Topology of Euclidean SpacesIn R^n the distance between two points is the Euclidean norm of their difference; open balls let us classify the points relative to a set (interior, exterior, boundary, accumulation, isolated) and define open, closed, bounded, compact (closed and bounded) and path-connected sets.Topology of Euclidean Spaces → and Free Extrema in Several VariablesIf f is differentiable and has a relative extremum at an interior point x0, then grad f(x0) = 0 (Fermat): interior extrema are found among the critical points. If f is C^2, at a critical point: Hessian positive definite gives a minimum, negative definite a maximum, indefinite a saddle, semidefinite means the test is inconclusive and one studies the sign of f(x) - f(x0). In two variables: det H > 0 and f_xx > 0 minimum, det H > 0 and f_xx < 0 maximum, det H < 0 saddle.Free Extrema in Several Variables →.
In one variable, a continuous function on has a maximum and a minimum, and they are found among the interior stationary points and the endpoints , . In several variables the role of is played by compact sets (closed and bounded, see Topology of Euclidean SpacesIn R^n the distance between two points is the Euclidean norm of their difference; open balls let us classify the points relative to a set (interior, exterior, boundary, accumulation, isolated) and define open, closed, bounded, compact (closed and bounded) and path-connected sets.Topology of Euclidean Spaces →) and the role of the two endpoints is played by the whole boundary, which consists of infinitely many points.
Weierstrass theorem. Let be a compact set and a continuous function. Then there exist such that for every .
Example. on the closed disc (compact) has maximum at and minimum at the opposite point.
All the hypotheses are needed: on a set that is not closed or not bounded, or with discontinuous, maximum and minimum may be missing. For example on the open disc approaches without reaching it (the points with would lie on the boundary, which is excluded).
The theorem does not say where the points are. The reasoning is this: an absolute maximum or minimum point is either interior or on the boundary. If it is interior and is differentiable there, by Fermat it is a critical point. Otherwise it lies on the boundary. So it suffices to compare the values at these candidates.
Search method
To determine the absolute maximum and minimum on a compact set , follow three fundamental steps:
- Search for interior critical points: solve the system inside the domain (where is differentiablea function whose graph can be locally approximated by a plane). Discard the points that do not belong to .
- Study of the boundary: analyse the behaviour of on the edges of . If the boundary consists of several pieces (e.g. segments, arcs of curves), parametrize each piece and reduce the problem to the study of a one-variable function. Do not forget to check any corner points where boundary pieces meet.
- Comparison of values: compute the value of the function at all the critical points found in step 1, at the constrained critical points on the boundary (step 2) and at the vertices. The largest of these values is the absolute maximum, the smallest the absolute minimum.
Worked examples
Example on a triangle
Let on the triangle with vertices .
Interior: . Since is on the boundary, there are no critical points in the interior.
Boundary:
- Piece (): . Critical points: . Value: .
- Piece (): . Minimum at (), maximum at ().
- Piece (): . , which lies in . Value: .
On each piece the problem has become a one-variable problem on a closed interval: the candidates are the stationary points inside the piece and its endpoints, i.e. the vertices of the triangle.
Grafico interattivo: The triangle A(0, 0), B(2, 0), C(0, 2) with f = x² + y² − x: the candidates are the vertices (f = 0, 2, 4), (1/2, 0) on side AB (f = −1/4, minimum) and (5/4, 3/4) on side BC (f = 7/8); the maximum is 4 at C
Grafico interattivo: Restriction to side BC: g3(x) = 2x² − 5x + 4 on [0, 2], minimum 7/8 at x = 5/4
- Comparison: the candidates are , , , , .
- Absolute maximum: at .
- Absolute minimum: at .
Example on a disc
Let on the closed disc .
- Interior: only at , which is interior; .
- Boundary: the circle is parametrized by , : The maximum of is (for ), the minimum (for ). The circle has no vertices.
- Comparison: absolute maximum at the points and ; absolute minimum at and . The interior critical point is a saddle and does not count.
On the circle one can also use Lagrange multipliersExtrema of f on the constraint g = c are found by substitution, by parametrization or with Lagrange multipliers: if f, g are C^1, P0 is a constrained extremum and grad g(P0) is nonzero, there is lambda with grad f(P0) = lambda grad g(P0) (the level curve of f is tangent to the constraint). Solve the system grad f = lambda grad g, g = c, add the constraint points where grad g = 0 and compare the values; if the constraint is compact, Weierstrass guarantees a maximum and a minimum.Constrained Extrema and Lagrange Multipliers →, useful when the boundary is hard to parametrize.
Unbounded domains
If the domain is not bounded, the Weierstrass theorem does not apply. In that case it is necessary to study the behaviour of the function at infinity, computing the limits: If the limit is , the function has no absolute maximum; if it tends to , no absolute minimum.
If instead is continuous on an unbounded closed set and tends to , the minimum exists: fix a point ; outside a large enough ball , so the minimum is to be searched in the intersection of the set with the ball, which is compact and to which Weierstrass applies. Example: on all of tends to , has no maximum and has its minimum at the only critical point , value .
Example: all of with a fourth-degree polynomial. For one shows that (using and ), finds the stationary points (saddle) and (minima, value ) and concludes: no maximum, absolute minimum .
Example: a strip. Let on the closed unbounded set . Complete the square in the unbounded variable : , so
- Minimum: does not exist, because for fixed , as .
- Maximum: exists. For every the maximum in is , attained at ; it remains to maximize on (a compact one-variable interval). vanishes at , with , ; at the endpoints and . The maximum is , attained at (which lies on the boundary of the strip). Here the argument is not "coercivity + Weierstrass", but reduction to one variable: one first maximizes in the unbounded direction.
Non-isolated critical points. If along an entire curve (for along the axis), the Hessian is zero and does not decide: look directly at the sign of near the point, and the interior critical points are in any case compared with the values on the boundary.
Common mistakes
- Forgetting the vertices: the points where the boundary changes analytic expression (corners/vertices) must always be included in the comparison.
- Confusing local and absolute extrema: a relative maximum point is not necessarily the absolute maximum.
- Looking for zero gradient on the boundary: is a necessary condition only at interior points. On the boundary a maximum may have nonzero gradient (in the triangle example, at we have ): there one studies the restriction to the boundary or uses Lagrange multipliers.
- Keeping critical points outside the domain: a point with not in is not a candidate.
Versione ripasso
Weierstrass theorem. If is compact (closed and bounded) and is continuous, there exist with for every . All the hypotheses are needed: on the open disc approaches without reaching it.
Procedure. An absolute extremum is either interior (and then it is a critical point, by Fermat) or lies on the boundary.
- Interior. Solve and keep the points of that are interior.
- Boundary. Parametrize each piece and study on a closed interval, with its critical points. Do not forget the vertices.
- Comparison. The highest value is the absolute maximum, the lowest the minimum.
Example on a triangle. on , , .
- Interior: gives , which lies on the boundary: no interior critical point.
- Side : , critical at , value .
- Side : , values and .
- Side , : , critical at , value .
- Comparing the candidates : maximum at , minimum at .
Example on a disc. on the disc . Interior: , value , saddle. Boundary: , with maximum at and minimum at the points and . For a boundary that is hard to parametrize one can use Lagrange multipliersExtrema of f on the constraint g = c are found by substitution, by parametrization or with Lagrange multipliers: if f, g are C^1, P0 is a constrained extremum and grad g(P0) is nonzero, there is lambda with grad f(P0) = lambda grad g(P0) (the level curve of f is tangent to the constraint). Solve the system grad f = lambda grad g, g = c, add the constraint points where grad g = 0 and compare the values; if the constraint is compact, Weierstrass guarantees a maximum and a minimum.Constrained Extrema and Lagrange Multipliers →.
Unbounded domains. Weierstrass does not apply. Study the behaviour at infinity.
- If as on a closed set, the minimum exists (search in a large enough ball, which is compact), the maximum does not.
- Example: on : no maximum, minimum at .
- Strip with , . For fixed , as : no minimum. The maximum is found by maximizing on : , , , . Maximum at .
Non-isolated critical points. If along a curve, the Hessian does not decide: look at the sign of near the point.
Typical mistakes.
- Forgetting the vertices of the boundary.
- Confusing local and absolute extrema.
- Looking for on the boundary: there the maximum may have nonzero gradient (in the triangle, at it is ).
- Keeping critical points outside .