Ripetizioni di AnalisiAnalysis 2UnlockedITSearch

Theory

Unconstrained and constrained maxima and minima

Where to look for the extrema of a function of several variables, how to classify them with the Hessian matrix, how to handle compact sets and constraints with Lagrange multipliers.

On this page
  1. Unconstrained maxima and minima
  2. Critical points and Fermat’s theorem

Unconstrained maxima and minima

Maximum and minimum, local and absolute

Let with and let .

  • is an absolute maximum point if for every .
  • is a local maximum point if there exists such that for every with .

With the opposite inequalities one defines the absolute minimum and the local minimum; maxima and minima are called extrema. The definitions are the same as in the one-variable case, with the circular neighborhood in place of the interval, and they extend without changes to . An absolute extremum is also local; the converse is not true, therefore the two notions require different tools: differential calculus for local extrema, and a comparison of the values at the candidates for absolute ones.

Example

has an absolute minimum point at , since for every . The same function has no maximum, because along the -axis we have .

Critical points and Fermat’s theorem

1. Critical point

Let have partial derivatives at , an interior point of the domain. The point is critical (or stationary) for if the gradient vanishes, that is, if the two conditions are satisfied simultaneously:

Finding the critical points amounts to solving this system of two equations in two unknowns. At critical points the tangent plane to the graph is horizontal.

2. Fermat's theorem in several variables

Let be a local extremum point for , interior to the domain, and suppose that has partial derivatives at . Then is a critical point:

The theorem says where to look for unconstrained extrema: among the critical points, in addition to any interior points where is not differentiable and to the points of the boundary of the domain. For the system , has the unique solution , hence any unconstrained extremum is at .

Proof

Let be a local maximum point (for the minimum the argument is the same). The one-variable function is defined in a neighborhood of , because the point is interior to the domain, and it is differentiable at with . Since has a local maximum at , the restriction has a local maximum at the interior point , hence by Fermat’s theorem in one variable , that is . Applying the same argument to we obtain .

3. Saddle point

A critical point that is not a local extremum point is called a saddle point. The name comes from the graph of : the origin is critical, but and for , hence in every neighborhood of the origin the function takes values both greater and smaller than and the origin is not an extremum. Fermat’s theorem provides a necessary condition, not a sufficient one, therefore after finding the critical points a tool is needed to classify them.

x y -2-112-2-112 O f > 0f > 0f < 0f < 0
is positive in the shaded region and negative elsewhere: in every neighborhood of the origin it takes both signs

The theory continues with 6 more sections (the hessian matrix and the classification of critical points, the degenerate case direct study of the sign, absolute extrema on compact sets…), plus all worked examples, the solutions and the PDF.

Unlock now
Contents