
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!

Instructor: Jennifer Erway Spring Quarter 2007
Homework Assignment # Due: Friday, April 27
The starred exercises are those that require the use of MATLAB Remember, you MUST do the MATLAB problems to get credit for the homework.
Exercise 4.1 For each of the following functions, check the first and second-order optimality conditions at the given point. Also, discuss the precise nature of the stationarity point (e.g., is it a local maximizer, local minimizer, or a saddlepoint?).
(a). f (x) = x^21 + x^22 at ¯x = (0, 0)T^ ;
(b). f (x) = x^31 + x^22 + x 1 x 2 at ¯x = (0, 0)T^ ;
(c). f (x) = ex^1 x^41 + x^22 at ¯x = (0, 0)T^ ;
(d). f (x) =
1 − x^21 − x^22 at ¯x = (0, 0)T^ ;
(e). f (x) = x^21 + x^22 − 2 x 1 x 2 + x 1 − x 2 at ¯x = (0, 12 )T^.
Exercise 4.2 Let H be a symmetric matrix with spectral decomposition H = V DV T.
(a). Show that an eigenvector v associated with a positive eigenvalue λ satisfies vTHv > 0.
(b). Write down the inverse of H in terms of V and D.
(c). If r is a positive integer, given an expression for Hr^ in terms of D and V. If H is positive definite, find a matrix B such that H = B^2 = BB (B is the “square root” of H).
(d). Let α denote a scalar such that the matrix H − αI is nonsingular. If ψ(α) is the univariate function ψ(α) = uT(H − αI)−^1 u, where u is a nonzero vector, find ψ′(α).
Exercise 4.3 Given each of the following cases of a gradient g(¯x) and Hessian H(¯x) defined at the point ¯x, discuss the optimality of ¯x. (Do NOT use Matlab. You may need to know how to compute eigenvalues by hand on an exam).
(a) g(¯x) =
, H(¯x) =
(b) g(¯x) =
, H(¯x) =
(c) g(¯x) =
, H(¯x) =
(d) g(¯x) =
, H(¯x) =
(d) g(¯x) =
(^) , H(¯x) =
Exercise 4.4* Write a Matlab function with the specification [f,g,H]=ex44(x) that computes f (x), g(x) and H(x) for the function f (x) = ex^3 x^21 + 2x^22 + x^23 cos(x 1 )
at any point x. Use your function to compute f (x), g(x) and H(x) at x = (0, 0 , 0)T^ and x = (− 1 , 2 , −2)T^. In each case, compute the spectral decomposition of the Hessian matrix and indicate if the necessary and sufficient conditions for unconstrained local minimization are satisfied.