Академический Документы
Профессиональный Документы
Культура Документы
Let f : Rn
local minimum
of f if there is a neighborhood U of
f ( x) f ( x o )
A point xo Rn is called a
A point xo Rn is called a
Definition 11.2.
a point
xo
where
local maxmum
Let f : Rn
such that
for all
for all
xU
such that
A critical
point
of f is
f ( x o ) = 0.
Then
Proof.
xo
xo
Rn is called
i.e.,
xo
x U.
of f if there is a neighborhood U of
f ( x) f ( x o )
local extremum
xo
A point
saddle point.
f ( xo ) = 0
is a critical point of f .
or
f (x o )
Rn
f (x )
0=
dh
(0)
dt
0 = dh
dt (0)
= f (0) d
dt (0)
= f (xo ) d
dt (0)
Thus, f (xo ) must be perpendicular to the tangent vector of at t = 0. But the curve is arbitrary
(except for the fact that it passes through xo ); hence, f (xo ) must be perpendicular the tangent vector of
every curve through xo . But the only vector perpendicular to every other vector is the zero vector. Thus,
we must have
f ( xo ) = 0 .
This theorem gives a necessary condition for a point xo U to be a local extremum for a C 2 function on
U Rn . It is not sufficient however. To develop a sufficient condition, we shall look a little more closely at
the Taylor expansion of a C 2 function in the neighborhood of a critical point.
1 ( x x ) T H ( x ) (x x )
o
o
o
2
An
nn
matrix
What remains is to develop some useful techniques for detecting when a given matrix is positive or negative
definite.
Theorem 11.6. An n n matrix is positive (respectively, negative) definite if and only if all its eigenvalues
For the particular case when n = 2 we have an easier test for positive and negative definiteness.
A=
a b
b c
R.
Then
A is positive definite
and
Proof.
vT Av
=
=
=
=
a b
x
b
c
y
ax + by
( x, y )
bx + cy
ax2 + 2bxy + cy2
2 2
2 2
ax2 + 2bxy + b ay b ay
= (x, y)
2
by
a x+
b2
a
cy2
y2
If A is positive definite, the expression on the right hand side must positive for all choices of x and y . In
particular, it must be positive when y = 0, which leads to
0 < ax2
which implies that
a>0 .
The right hand side must also be positive when x = ab y; this leads to
2
0 < c ba y2
which implies
ac b2 > 0 .
If A is negative definite, then the expression on the right hand side of (1) must be negative for all choices
of x and y (not both zero). Choosing y = 0 leads to the condition
0 > ax2
which implies that
Setting x =
b
ay
a<0 .
a
y2
b2
y2
a
we get the following condition
0<
ac
>0 .
a
y2
We can now employ the above criterion to determine when the Hessian matrix of a function f : U
is positive or negative definite. Namely,
Hf ( x o ) =
2 f
x2 (xo )
2 f
xy (xo )
2 f
xy (xo )
2 f
y 2 (xo )
R R
2
2f
x2
(x o )
(ii)
and negative definite if
( i )
(ii )
2 f
x2 (xo )
2 f
2f
y 2 (xo )
xy (xo )
2 f
x2 (xo ) > 0 .
2f
y 2 (xo )
2f
x2 xo
4
2
2f
xy ( xo )
2
>
>0
( )<0 .
Let me now summarize the second derivative test for the case when n = 2.
Theorem 11.8. (Second Derivative Test). Let f be a C 2 function on open subset U R2 . If xo U is a
critical point of f and
2
2
2
2
f
f
f
(
x
)
(
x
)
(
x
)
>0
(i )
o
o
o
x2
y 2
xy
2 f
(ii )
x2 (xo ) > 0
then xo is a local minimum. If xo U is a critical point of f and
2
2
2
2
f
f
f
(i )
>0
x2 (xo )
y 2 ( xo ) xy (x o )
2 f
(ii )
x2 (xo ) < 0
then xo is a local maximum.