Figure 1.6 in “Algorithms for Optimization”
A point
- global optima
- local optima (local minimum, local maximum)
- inflection point
Why zero derivative? A zero derivative ensures that shifting the point by small values does not significantly affect the function value.
Univariate Calculus
The point
, the domain of the function or does not exist
How to find a critical point:
- Find the domain of the function
- Differentiate
to get first derivative and second derivative
Local Minimum
In a univariate unction
A single-variable function
has a local minimum at if:
and OR changes its sign from to through . This ensure that the zero first derivative occurs at the bottom of a bowl To test whether it’s also an absolute minimum, compare
Link to originalwith the function value at endpoints
Local Maximum
Transclude of local-maximum#in-a-univariate-function
multivariable calculus
For two-variable function
Suppose
has continuous second-order partial derivatives at and near a critical point in the domain . Consider its Hessian matrix
- If
is positive definite, then has a local minimum at . - Conversely, if
is negative definite, then has a local maximum at - If
is indefinite, then # has a saddle point at
See motivation