
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















Docsity.co
F x (
F x
x
d d
F x (
x
x ā
=
x
x ā
x (^22)
d d
F x (
x
x ā
=
x
x ā
2
n 1 !
x (^) n n
d d
F x (
x
x ā
=
x
x ā
n
Docsity.co
0
1
2
0 1 2 3 4 5 6
F 0
x
(
)
F 1
x
(
)
F 2
x
(
)
Docsity.co
F
(
)
F x
1
x 2
ā¦
x n^
,
,
,
(
)
=
x
x ā
x 1
x
x
x ā
= x 1 x 1 ā
x 2
x
x
x ā
= x 2 x 2 ā
x n^
x
x
x ā
=
x n^
x n^ ā
x (^122)
x
x
x ā
= x 1 x 1 ā
2
x 1
x 2
2
x
x
x ā
= x 1 x 1 ā
( ) x 2 x 2 ā
Docsity.co
8
F
(
)
ā
x i^
ā
ā ā 2 F^
(
)
ā x i^ 2
ā
First derivative (slope) of
F
( x ) along
x i axis:
Second derivative (curvature) of
F ( x ) along
x i axis:
( i th element of gradient)
( i , i
p element of Hessian) T
x
p
First derivative (slope) of
F
( x ) along vector
p :
Second derivative (curvature) of
F ( x ) along vector
p : p T F x
2
p
p
2
Docsity.co
x 1 2
x 1 (^) x 2
x 2 2
x ā
p
x
x
x ā
=
x 1
x
x 2
x
x
x ā
=
2x
1
2x
2
2x
1
4x
2
x
x ā
=
p T
x
p
Docsity.co
8
Docsity.co
0
1
2
0 2 4 6 8
F x ( ) 3 x 4 7 x 2
(^) x
Strong Minimum
Strong Maximum
Global Minimum
Docsity.co
8
x
( ) F x ā ā x
x ā
x
T
x
x ā
=
x
x T
x
x
x ā
=
x
2
ā
ā
=
x ā
x
x ā
x
T
x
x ā
=
x
For small
x :
x
T
x
x ā
=
x
x
T
x
x ā
=
x
If
x
x ā
x
x ā
x
T
x
x ā
=
x
x ā
If
then
But this would imply that
x
x
T
x
x ā
=
x
Since this must be true for every
x ,
x
x
x ā
=
0
Docsity.co
8
x ā
x
x ā
x T
x
x
x ā
=
x
2
= ā x T F x
x
x ā
=
x
2
A strong minimum will exist at
x
for any
x (^) ā
(^) 0 .
Therefore the Hessian matrix must be positive definite. A matrix
is positive definite if:
T
0
necessary
condition is that the Hessian matrix be positive semidefinite. A matrix A is
positive semidefinite if:
T
0
ā„
If the first-order condition is satisfied (zero gradient), then
for any
z (^) ā (^) 0.
for any
z .
This is a
sufficient
condition for optimality.
Docsity.co
x
x T Ax^
d T x^
c
T
(
)
ā
T
(
)
ā
=
=
T
ā
T
2
(for symmetric
)
=
=
F
(
)
ā
=
F
(
)
ā
2
=
Useful properties of gradients:
Hessian of Quadratic Function:Gradient of Quadratic Function:
(Symmetric
Docsity.co
x
x T Ax^
B z 1 z 2 ⦠z n
=
1
T
=
A
'
B
T AB^
[ ] λ 1 0 ⦠0
Ī» 2
ā¦
⦠λ
n
Ī
T
=
Docsity.co
max
=
c
B
T p^
B
T z^ max
z max
T Az^
max
z max
2
Ī» i c i^ 2
i
1
= n
ā
c i^ 2
i
1
= n
ā
Ī» max
z 2
( Ī» max
)
z 1
( Ī» min
)
The eigenvalues represent curvature
(second derivatives) along the eigenvectors
(the principal axes).
Docsity.co
0
1
2
0
1
20 2 4
(^0)
1
2
-2 -1 0 1 2
x
x 1 2
x 2 2
x T
x
x
2
Ī» 1
2
=
z 1
Ī» 2
2
=
z 2
(Any two independent vectors in the plane would work.)
Docsity.co