Optimization is the process of finding the input to a function that minimizes or maximizes it.
Objective Function
The quantity being optimized, , is the objective function or merit function. The quantities free to adjust, , are the design variables.
Turning Points
For a differentiable function on a closed interval, an absolute optimum can occur at an endpoint or at an interior turning point. At an interior turning point, . The second derivative determines the type
- Maximum
. - Minimum
.
Saddle Points
A saddle point is a stationary point that is neither a local maximum nor a local minimum.
For a function of 2 variables, is a saddle point if
- Stationary
and . - Indefinite curvature
The function increases in some directions and decreases in other directions near .
The Hessian test uses
- and
Local minimum. - and
Local maximum.
Saddle point.
The test is inconclusive.
One-Dimensional Optimization
One-dimensional optimization finds such that .
Constrained and Unconstrained Optimization
- Unconstrained optimization
No restrictions are placed on the design variables. See steepest ascent method. - Constrained optimization
Restrictions are placed on the design variables. See constrained optimization.
Local and Global Optima
A function is unimodal iff it has a single optimum. A function with more than 1 local optimum is multimodal.
Worked Examples
Example 1
Find and classify the turning points of .
Solution Reveal Hide
at and .
At
A local maximum.
At
A local minimum.
has 2 local optima, so it’s multimodal. It has no global optimum on , since as .
Example 2
Find and classify the turning point of .
Solution Reveal Hide
A maximum. is unimodal, so it is also the global maximum.
Example 3
Find and classify the stationary point of .
Solution Reveal Hide
The stationary point is .
The stationary point is a saddle point.