Docsity

Taylor Series Expansion and Optimality Conditions for Functions: A Comprehensive Study, Slides of Banking and Finance

Partial preview of the text

Download Taylor Series Expansion and Optimality Conditions for Functions: A Comprehensive Study and more Slides Banking and Finance in PDF only on Docsity!

Performance Surfaces

Docsity.co

Taylor Series Expansion

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

Plot of Approximations

0

1

2

0 1 2 3 4 5 6

F 0

x

(

)

F 1

x

(

)

F 2

x

(

)

Docsity.co

Vector Case

F

x

(

)

F x

1

x 2

…

x n^

,

,

,

(

)

=

F

x

F

x āˆ—

x 1

F

x

x

x āˆ—

= x 1 x 1 āˆ—

x 2

F

x

x

x āˆ—

= x 2 x 2 āˆ—

x n^

F

x

x

x āˆ—

=

x n^

x n^ āˆ—

x (^122)

F

x

x

x āˆ—

= x 1 x 1 āˆ—

2

x 1

x 2

2

F

x

x

x āˆ—

= x 1 x 1 āˆ—

( ) x 2 x 2 āˆ—

Docsity.co

8

Directional Derivatives

F

x

(

)

āˆ‚

x i^

āˆ‚

⁄ āˆ‚ 2 F^

x

(

)

āˆ‚ 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

F

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

Example

F

x

x 1 2

x 1 (^) x 2

x 2 2

x āˆ—

p

F

x

x

x āˆ—

=

x 1

F

x

x 2

F

x

x

x āˆ—

=

2x

1

2x

2

2x

1

4x

2

x

x āˆ—

=

p T

F

x

p

Docsity.co

8

Minima

The point

x

* is a strong minimum of

F

x

) if a scalar

0 exists,

such that

F

x

F

x

x

) for all

x

such that

x

Strong Minimum

The point

x

* is a unique global minimum of

F

x

) if

F

x

F

x

x

) for all

x

Global Minimum

The point

x

* is a weak minimum of

F

x

) if it is not a strong

minimum, and a scalar

0 exists, such that

F

x

F

x

x

for all

x

such that

x

Weak Minimum

Docsity.co

Scalar Example

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

First-Order Optimality Condition

F

x

( ) F x āˆ— āˆ† x

F

x āˆ—

F

x

T

x

x āˆ—

=

x

x T

F

x

x

x āˆ—

=

x

2

āˆ†

x

x

x

āˆ—

=

F

x āˆ—

x

F

x āˆ—

F

x

T

x

x āˆ—

=

x

For small

x :

F

x

T

x

x āˆ—

=

x

F

x

T

x

x āˆ—

=

x

If

x

  • is a minimum, this implies:
F

x āˆ—

x

F

x āˆ—

F

x

T

x

x āˆ—

=

x

F

x āˆ—

If

then

But this would imply that

x

  • is not a minimum. Therefore
F

x

T

x

x āˆ—

=

x

Since this must be true for every

x ,

F

x

x

x āˆ—

=

0

Docsity.co

8

Second-Order Condition

F

x āˆ—

x

F

x āˆ—

x T

F

x

x

x āˆ—

=

x

2

= āˆ† x T F x

x

x āˆ—

=

x

2

A strong minimum will exist at

x

  • if

for any

x (^) ≠

(^) 0 .

Therefore the Hessian matrix must be positive definite. A matrix

A

is positive definite if:

z

T

Az^

0

A

necessary

condition is that the Hessian matrix be positive semidefinite. A matrix A is

positive semidefinite if:

z

T

Az^

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

Quadratic Functions

F

x

x T Ax^

d T x^

c

h

T

x^

(

)

āˆ‡

x

T

h^

(

)

āˆ‡

h

=

=

x

T

Qx^

āˆ‡

Qx

Q

T

x^

2

Qx

(for symmetric

Q

)

=

=

F

x

(

)

āˆ‡

Ax

d

=

F

x

(

)

āˆ‡

2

A

=

Useful properties of gradients:

Gradient and Hessian:

Hessian of Quadratic Function:Gradient of Quadratic Function:

(Symmetric

A

Docsity.co

Eigensystem of the Hessian

F

x

x T Ax^

point at the origin, and whose value there is zero.Consider a quadratic function which has a stationary

B z 1 z 2 … z n

=

B

1

B

T

=

A

'

B

T AB^

[ ] Ī» 1 0 … 0

Ī» 2

…

… Ī»

n

Ī›

using the eigenvalues as the new basis vectors.Perform a similarity transform on the Hessian matrix,

are orthogonal.Since the Hessian matrix is symmetric, its eigenvectors

A

B

B

T

=

Docsity.co

Eigenvector (Largest Eigenvalue)

p

z

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

Circular Hollow

0

1

2

0

1

20 2 4

(^0)

1

2

-2 -1 0 1 2

F

x

x 1 2

x 2 2

x T

x

F

x

2

Ī» 1

2

=

z 1

Ī» 2

2

=

z 2

(Any two independent vectors in the plane would work.)

Docsity.co