Docsity

Analysis of a Convex Function: Hessian Matrix, Taylor Series, and Local Minimizer, Assignments of Optimization Techniques in Engineering

Toggle sidebar
bg1
[1]. Find the Hessian matrix of f:
∇2f(x1, x2) = ∂2f
∂x2
1
∂2f
∂x1∂x2
∂2f
∂x2∂x1
∂2f
∂x2
1!
=4−3
−3 10
•By calculating
det(∇2f−λI) = (4 −λ)(10 −λ)−9=0,
we have λ= 2.7574,11.2426.
•Change it to upper triangular matrix: 4−3
0 10 −9
4. The diagonal values
4,10 −9
4are positive.
•For any non-zero vector v= (v1, v2)T,vT(∇2f)v= 4v2
1−6v1v2+ 10v2
2=
4v1−3
4v22+31
4v2
2>0
Thus, ∇2f(x1, x2) is positive definite for all (x1, x2)∈R2, which means that f
is strictly convex on R2.
[2]. Approximate f(x0+p) using the first 3 terms of Taylor series at x0.
f(x0+p)≈f(x0) + pT∇f(x0) + 1
2pT∇2f(x0)p
=−2 + (0.10.01)(5 13)T+1
2(0.1 0.01) 40 25
25 −14(0.1 0.01)T
=−2+0.63 + 0.2243 = −1.1457
And f(x0+p) = f(1.1,−0.99) = −1.1314.
[4].
•From ∇f(x1,x2) = 0, x∗= (x1, x2) = (2.0605,−2.6558) is a stationary
point.
•Since we have the Hessian matrix H=∇2f(x1,x2) = 16 3
3 14, and H
is positive definite (∵λ= 11.8377,18.1623), then x∗is a (strict) local
minimizer.
•Since His positive definite for all (x1, x2)∈R2, then the function fis
strictly convex on R2, thus x∗is a global minimizer.
•As (x1, x2)→ ∞,f(x1, x2)→ ∞. Thus, there’s no global maximizer.
1
pf2

Partial preview of the text

Download Analysis of a Convex Function: Hessian Matrix, Taylor Series, and Local Minimizer and more Assignments Optimization Techniques in Engineering in PDF only on Docsity!

[1]. Find the Hessian matrix of f :

∇^2 f (x 1 , x 2 ) =

( (^) ∂ (^2) f ∂x^21

∂^2 f ∂x 1 ∂x 2 ∂^2 f ∂x 2 ∂x 1

∂^2 f ∂x^21

  • By calculating

det(∇^2 f − λI) = (4 − λ)(10 − λ) − 9 = 0,

we have λ = 2. 7574 , 11 .2426.

  • Change it to upper triangular matrix:

. The diagonal values

4 , 10 − 94 are positive.

  • For any non-zero vector v = (v 1 , v 2 )T^ , vT^ (∇^2 f )v = 4v 12 − 6 v 1 v 2 + 10v^22 = 4

v 1 − 34 v 2

  • 314 v 22 > 0

Thus, ∇^2 f (x 1 , x 2 ) is positive definite for all (x 1 , x 2 ) ∈ R^2 , which means that f is strictly convex on R^2.

[2]. Approximate f (x 0 + p) using the first 3 terms of Taylor series at x 0.

f (x 0 + p) ≈ f (x 0 ) + pT^ ∇f (x 0 ) +

pT^ ∇^2 f (x 0 )p

= −2 + (0. 10 .01)(5 13)T^ +

(0. 1 0 .01)T

And f (x 0 + p) = f (1. 1 , − 0 .99) = − 1 .1314.

[4].

  • From ∇f (x 1 , x 2 ) = 0, x∗ = (x 1 , x 2 ) = (2. 0605 , − 2 .6558) is a stationary point.
  • Since we have the Hessian matrix H = ∇^2 f (x 1 , x 2 ) =

, and H is positive definite (∵ λ = 11. 8377 , 18 .1623), then x∗ is a (strict) local minimizer.

  • Since H is positive definite for all (x 1 , x 2 ) ∈ R^2 , then the function f is strictly convex on R^2 , thus x∗ is a global minimizer.
  • As (x 1 , x 2 ) → ∞, f (x 1 , x 2 ) → ∞. Thus, there’s no global maximizer.

[5]. To solve the equation ∇f (x) = 0, we use Newton’s method;

xk+1 = xk − [∇^2 f (xk)]−^1 ∇f (xk).

By iterating the above equation, we get xk = (− 1. 1391 , 0 .4474) for k ≥ 9. Thus, we need to prove that x∗ = (− 1. 1391 , 0 .4474) is a local minimizer;

  • (1) ∇f (x∗) = (− 0. 0000 , − 0 .0003) ≈ (0, 0),
  • (2) ∇^2 f (x∗) =

is positive definite since it has positive eigenvalues such as λ = 24. 3162 , 65 .9560.