Professional Documents
Culture Documents
HW 7
HW 7
Homework 7
Due Thursday, November 21 (before class)
4. Suppose A is positive semidefinite. Show that the maximum eigenvalue of A, denoted by λmax , is given
by the so-called Rayleigh quotient
w∗ Aw
sup ∗ .
w6=0 w w
What does this algorithm converge to? [Hint: consider an eigenvalue decomposition of A.]
(b) Implement the simple algorithm from (a) and apply it to a positive definite matrix of your choice
as in (a). Do you see what the algorithm converges to? Verify your intuition by using any
numerical linear algebra routine of your choice.