Docsity

Assignment 1 , Chain Rule, Hessian Function - Advanced Numerical Optimization | AMSC 607, Assignments of Mathematics

Toggle sidebar
bg1
AMSC 607 / CMSC 764 Homework 1, Fall 2008
30 points
Due September 16, 2pm
1. (3) At what rate does the sequence
ek= 1 + (0.5)2k
converge to 1?
2. (5) Let x=Sz +d, where Sis a given n×nmatrix and dis a given n×1
vector.
Suppose fis a function of nvariables, and define ˆ
f(z) = f(x) = f(Sz +d).
Write expressions for the gradient and Hessian of ˆ
fwith respect to the variables
z, using the gradient and Hessian of the function f. (Hint: compute ∂ˆ
f/∂zjby
using the chain rule and the values ∂f/∂ xiand ∂xi/∂ zj.)
3. Consider the following problem: Find a value of γso that the solution pto
the linear system
(H+γI)p=−g
satisfies kpk2=δ, where δ > 0 is a given value.
Suppose we have factored H=UΛUT, where Λis a diagonal matrix with
diagonal elements λiand Uis orthogonal, so that UUT=UTU=I.
3a. (5) Write the solution pto the linear system in terms of g,γ,U,ui, and λi,
where uiis the ith column of U. (Hint: Remember that scalars like γcommute
with matrices.)
3b. (2) Show that, for any vector w,kwk2=kUTwk2.
3b. (5) Use 3b to write an expression for kpk2in terms of g,γ,U, and λi.
3c. (5) Find an interval for γon which kpk2is monotonically decreasing. (Hint:
Remember that some of the λimight be negative.)
3d. (5) Describe how you could use Matlab’s fzero to find a value of γfor
which kpk2=δ(if such a value exists). What initial interval would you give
zeroin?
In Homework 2, you will write a program, using this algorithm to solve mini-
mization problems.
1

Partial preview of the text

Download Assignment 1 , Chain Rule, Hessian Function - Advanced Numerical Optimization | AMSC 607 and more Assignments Mathematics in PDF only on Docsity!

AMSC 607 / CMSC 764 Homework 1, Fall 2008 30 points Due September 16, 2pm

  1. (3) At what rate does the sequence

ek = 1 + (0.5)^2

k

converge to 1?

  1. (5) Let x = Sz + d, where S is a given n × n matrix and d is a given n × 1 vector.

Suppose f is a function of n variables, and define fˆ (z) = f (x) = f (Sz + d).

Write expressions for the gradient and Hessian of fˆ with respect to the variables z, using the gradient and Hessian of the function f. (Hint: compute ∂ f /∂zˆ j by using the chain rule and the values ∂f /∂xi and ∂xi/∂zj .)

  1. Consider the following problem: Find a value of γ so that the solution p to the linear system (H + γI)p = −g

satisfies ‖p‖ 2 = δ, where δ > 0 is a given value.

Suppose we have factored H = UΛUT^ , where Λ is a diagonal matrix with diagonal elements λi and U is orthogonal, so that UUT^ = UT^ U = I.

3a. (5) Write the solution p to the linear system in terms of g, γ, U, ui, and λi, where ui is the ith column of U. (Hint: Remember that scalars like γ commute with matrices.)

3b. (2) Show that, for any vector w, ‖w‖ 2 = ‖UT^ w‖ 2.

3b. (5) Use 3b to write an expression for ‖p‖ 2 in terms of g, γ, U, and λi.

3c. (5) Find an interval for γ on which ‖p‖ 2 is monotonically decreasing. (Hint: Remember that some of the λi might be negative.)

3d. (5) Describe how you could use Matlab’s fzero to find a value of γ for which ‖p‖ 2 = δ (if such a value exists). What initial interval would you give zeroin?

In Homework 2, you will write a program, using this algorithm to solve mini- mization problems.