2-FENG 346 Unconstrained and Nonlinear Optimization Problems - B
2-FENG 346 Unconstrained and Nonlinear Optimization Problems - B
2
Theory of Maxima and Minima
3
Single Variable Problems
Minimum
Suppose that is a single degree variable nonlinear
objective function. .
Assume that is a continuous and at least 2 times
differentiable nonlinear function. Let’s determine the
conditions for the existence of an extremum (minimum or
maximum) at the point . Assume that is an infinitesimally
small and positive real number;
and
Then Maximum
4
Single Variable Problems
Minimum
Taylor Series Expansion of (x) around is;
5
Single Variable Problems
Minimum
Remember that
Now, it is obvious that; if the point a is an extremum point, the first Maximum
This is proof of why the first derivative must be zero at the extremes. 6
Single Variable Problems
Now, it is obvious that the first derivative at point must be zero if it is an extremum point (minimum or
maximum). This is also the necessary condition for the existence of an extremum point but it is not a
sufficient condition.
: Necessary condition but not sufficient condition. The point may be an inflection point.
Inflection
Point
Minimum
Maximum
7
Single Variable Problems
To determine whether point is an extremum or an inflection point, it is necessary to find where and
converge.
Both series will converge to the third terms, so, the investigation must be continue with the third terms.
8
Single Variable Problems
If
Again , to guarantee that for existence of an extremum,the third derivative term must be equal to zero. If it
is zero, there is no sufficient condition again and investigation must be continue with fourth order term. But
if it is not zero, it shows that series and converges opposite directions. Hence this proves that it is an
inflection point.
Necessary but not sufficient condition. Investigation must be continue with fourth order terms.
: is an inflection point. (sufficient condition for existence of an inflection point)
9
Single Variable Problems
If
Both series will converge to the fifth terms, so, the investigation must be continue with the fifth
terms.
10
Single Variable Problems
The investigation of the series continues until finding the sufficient condition for the extremum or the
inflection point. However, it is clear that the rules for even and odd order numbers of derivatives of the
function are same.
11
Single Variable Problems
In General
The necessary condition of an extremum’s existence at point of a function is that number of
odd-order derivatives of the function must be zero.
The sufficient condition is that even-order derivative of the function must be non-zero.
If both number of odd-order derivatives and same number of even-order derivatives are zero but the order
derivative is non-zero, the related point is an inflection point.
12
Single Variable Problems
Taylor series can only focus around the given point in a function. However, there can be more than one
point that makes the first derivative of the function zero. All points should be investigated seperately to
determine whether it is a local minima or local maxima or an inflection point.
Since it is an unbounded function, it cannot be said directly that the point is global maximum and the
point is the global minimum. If there exists the boundaries, we can check all local extremums and
boundaries to determine which one is the global maximum or global minimum. 13
Example
Find the stationary points of the function and show that they are extremum or not?
14
Example
Find the stationary points of the function and show that they are extremum or not?
15
Example
In General, find the stationary points of the function and
show that the stationary points are extremum or not?
Hence,
If , it is an extremum and local minimum.
, it is an inflection point.
16
Example
Find the local minima for the function
Statianory Points
(necessary condition)
′′
𝑓 ( 𝑥 )=6 𝑥 − 2
Point
is a local minimum
The function is not bounded. Hence, there is no
Point global minimum or global maximum.
is a local maximum
17
Multivariable Problems
Suppose that is a Multivariable nonlinear objective function. Assume that is a continuous and at least
2 times differentiable nonlinear function.
If the function depends on more than one variable, the problem is called as Multivariable problem.
The number of variables is equal to the degrees of the optimization problem .
Let’s determine the conditions for the existence of an extremum (minimum or maximum) at the point .
18
Multivariable Problems
Suppose that there is an extremum at point . Then, like in single variable problem, let’s write the Taylor
Series Expansion around the point ;
Suppose that is a vector consisting of infinitesimally small real numbers. If there is an extremum point at
point , the signs of the point’s neighbors must be same independent from the selected values.
19
Multivariable Problems
Gradient of
Hessian Matrix of
20
Multivariable Problems
21
Multivariable Problems
If there is an extremum point at point , must be sign definite. In other words, must be independent from
randomly selected .
Quadratic Form
In Linear algebra, the multiplication of a vector like with a symmetric square matrix like results in a
scalar quantity and is called quadratic form.
22
Multivariable Problems
If and are always same with randomly selected it means that the matrix is sign definite.
23
Multivariable Problems
24
Multivariable Problems
There are two ways to determine the sign definiteness of the Hessian Matrix . The first way is Eigenvalues
method and, the second way is Sylvester Test.
Eigenvalues Method :
Sylvester Test: Based on checking the signs of all principal minor determinants of the Hessian matrix
26
Example
27
Example
28
Example
29
Example
30
Example
31
Example
32
Example
33
Example
34
Example
Find the extremums of the function whose
contour lines are given figure below. Then determine the type of the extremum
(minimum or maximum)
From eqn.(1)
Substitude (3) into (2)
35
Example
STEP 1 : Find stationary points
36
Example
STEP 3 : Sylvester Test. Find determinants of principal minors.
37