Local Extrema
Definition: Local Minimum
Let be a real scalar field.
We say that is a local minimum of if there is an open ball around where is the smallest funtional value.
We say that is a place of a local minimum for .
Definition: Global Maximum
Let be a real scalar field.
We say that is a local maximum of if there is an open ball around where is the greatest funtional value.
We say that is a place of a local maximum for .
Definition: Local Extremum
The local minima and local maxima] of a real scalar field are collectively known as its local extrema.
Global Extrema
Definition: Global Minimum
Let be a real scalar field and let .
We call a place of a global minimum of iff
The value is known as the global minimum of .
Theorem: Uniqueness of the Global Minimum
If has a global minimum, then its value is unique.
PROOF
TODO
NOTE
The global minimum is unique but may occur at multiple places.
Definition: Global Maximum
Let be a real scalar field and let .
We say that is the global maximum of if it is the greatest functional value:
We call a place of a global maximum of iff.
The value is known as the global maximum of .
Theorem: Uniqueness of the Global Maximum
If has a global maximum], then its value is unique.
PROOF
TODO
NOTE
The global maximum is unique but may occur at multiple places.
Definition: Global Extremum
The global minimum and the global maximum of a real scalar field are collectively known as its global extrema.
Saddle Points
Definition: Saddle
Let be a real scalar field.
We say that has a saddle point at if in every open ball around there are and such that
Finding Extrema
Theorem: Finding Local Extrema
Theorem: Hessian Matrix Criteria for Local Extrema
Let be a real scalar field which is twice continuously partially differentiable in Cartesian coordinates on an open subset .
A critical point is:
- a place of a local maximum if the Hessian matrix is negative-definite;
- a place of a local minimum if the Hessian matrix is positive-definite;
- a place of a saddle point if the Hessian matrix is indefinite.
If the Hessian matrix is semi-definite, then it cannot be used to make any predictions.
PROOF
TODO
Constraints
In practice, it is rare that we simply need to find the extrema of a real scalar field. Usually, we are interested in finding extrema under certain conditions.
EXAMPLE
Imagine you are tasked with the construction of a box with a lid which should be able to fit exactly cubic metre of stuff. You want to minimise the cost and thus the amount of paperboard used for the box. In other words, you want to find what dimensions of the box which require the least material. The amount of material is given by
You can check that, by itself, this function has neither local nor global extrema. However, we also have another condition - the box should have a volume of cubic metre. This gives us a constraint for the dimensions :
This allows us to the express one variable using the other three and obtain an expression for which has only 2 variables.
This function does have a local minimum, which occurs at and . Using , we find that . Thus, a cube is the box shape which requires the least amount of material to fit cubic metre of stuff.
Definition: Equality Constraint
Let be a real scalar field.
An equality constraint is an equation of the form
for some real scalar field and some constant .
INTUITION
Constraints restrict the part of the domain of in which we are interested. Although itself might not admit extrema on its entire domain, when restricted to only those values for which the constraint is fulfilled, this might change might. In other words, might not have extrema, but its restriction on might.
Theorem: Lagrange Multipliers
Let be a continuously partially differentiable real scalar field and let
be some constraints, where are also continuously partially differentiable, and let .
If has a local extremum at and the gradients are linearly independent, then is a linear combination of .
PROOF
TODO
Definition: Lagrange Multipliers
The coefficients in the representation
of as a linear combination of are known as Lagrange multipliers.
EXAMPLE
TODO