


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!



This is, obviously, a take-home quiz. You can pretty much do anything you
You should finish the problems yourself. If you answer the two problems below correctly, you will receive two extra (percentage) points for your final grade. Each problem is worth one point. The quiz looks long only because I try to write out as much details as possible so that nobody should get confused about the problems.
On Tuesday (11/28), we talked about power method for finding the eigenvector corresponding to the largest eigenvalue of a matrix A. This method can be gen- eralized directly to find all the eigenvectors of A in the form of “QR iteration”. Here, we are going to explicitly demonstrate this algorithm (QR iteration) us- ing MATLAB. Let’s start with three vectors, a = [1 − 1 3]t, b = [1 2 − 1]t^ and c = [−1 1 − 1]t.
method you like to prove this. However, write out your argument clearly).
and D be the following diagonal matrix
Now, let A = XDX−^1. What are the eigenvalues and eigenvectors of A? You should not calculate anything for this question.
shown in the figure below. According to this algorithm, Qˆk will converge (for sufficiently large k) to some orthogonal matrix Qˆ, and Rk will also converge (for our particular matrix A) to an upper triangular matrix R. The eigenvalues of A arranged in descending order are the diagonal entries of R. The eigenvectors of A can be computed from entries of R and columns of Q. Let X 0 be the following matrix
Orthogonal Iteration
X 0 = arbitrary n × p matrix of rank p.
for k = 1, 2 , · · · do Q^ ˆkRk = Xk− 1 Reduced QR factorization of Xk− 1 Xk = A Qˆk end for
Show the upper triangular matrices R 1 , R 2 , R 3 , R 4 , R 6. Write out all these ma- trices for me to see. For this part, you need to use MATLAB. (The MATLAB command ’qr’ does the QR factorization and to compute X−^1 , use ’inv(X)’). You do not need to show the MATLAB code you use. However, the code should not be longer than 7-8 lines. Of course, you are allowed to compute R 7 , R 8 , · · · for your own enlightenment.
That is, we do not take the sum of products of components as before. Instead, we modify it a little bit so that the products are between the conjugates of the components of the vector v and the component of u^1. In vector notation, this is < v, w >H = ¯vtw.
In the above, ¯v is a vector whose components are conjugates of components of v. For example, if v = [2 + 3i 3 − 4 i]t, ¯v = [2 − 3 i 3 + 4i]t
< v, λw >H = λ < v, w >H. (1) < λv, w >H = ¯λ < v, w >H. (2)
same as the usual inner product.
< v, Aw >H =< Av, w >H.
symmetric matrix A, then λ is real. (The argument is very short .... Take v to be an eigenvector).
In the following A will denote a symmetric matrix. We now show that eigen- vectors of A form an orthonormal basis.
(because it has real eigenvalues). Let S be the subspace orthogonal to v. That is, every vector x ∈ S is perpendicular to v:
S = {x | < x, v >= 0}.
Show that S is an invariant space, i.e. if x ∈ S, Ax is also in S. (Hint: The argument should be short.)
The proof is then simple after we have reached this point. If v 1 is an eigenvector of A, then, from Part F above, A is a symmetric matrix on the subspace S orthogonal to v. Then, from Parts E and F, we can find another eigenvector of A, say, v 2 in S, and v 2 is perpendicular to v 1. Now, we look at the subspace S 2 which is orthogonal to both v 1 and v 2. Part F shows that A will again be a symmetric matrix on S 2 , and so on. At the end, we get a sequence of orthonormal eigenvectors of A, v 1 , v 2 , · · · , vn, which finishes the proof.
(^1) For a complex number a + ib, its conjugate is a − ib.