

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!


FINAL HWK on CHPTERS 7 and 8
Due December 01,2011.
Let H = I − 2 uu T uT^ u be a Householder matrix. Then prove the followings (i) Hu = −u. (ii) Hv = v if uT^ u = 0.
Let x be an n-vector. Develop an algorithm to compute a Householder matrix H = I − 2 uu
T uT^ u such that Hx has zeros in positions (r + 1) through n; r < n. How many flops will be required to implement this algorithm? Given x = (1, 2 , 3)T^ , apply your algorithm to construct H such that Hx has a zero in the third position.
(a) Develop algorithms for implicitly computing (i) HA, (ii) AH, and explicitly computing (iv) Q = H 1 H 2... Hr, where the matrices H and Hi for i = 1, 2 , 3 ,... , r are Householder matri- ces of order n, and A is an arbitrary rectangular matrix of appropriate sizes.
(a) Given the Householder vector u = (1, 1 , 1)T^ and
,
compute HA and AT^ H using the algorithms developed in Exercise 7.3 (a).
(a)
Show that it requires 2n^2
( m − n 3
) flops to compute R in the QR factorization of an m × n
matrix A (m ≥ n) using Householder’s method, and that if Q is needed, then the count is
4
( m^2 n − mn^2 + n
3 3
) flops.
Let U have orthogonal columns. Then using SVD, prove that (i) ‖AU ‖ 2 = ‖A‖ 2 , (ii) ‖AU ‖F = ‖A‖F ,
Let U ΣV T^ be the SVD of A. Then prove that
∥∥ ∥U T^ AV
∥∥ ∥
2 F =^
∑p i=1 σ 2 i , where^ σi^ are the singu- lar values of A.
Let A be an m × n matrix. (a) Using the SVD of A, prove that (ii) Cond 2 (AT^ A) = (Cond 2 (A))^2 ; (iii) Cond 2 (A) = Cond 2 (U T^ AV ), where U and V are orthogonal. (b) Let rank(Am×n) = n, and let Bm×r be a matrix obtained by deleting (n − r) columns from A. Then prove that Cond 2 (B) ≤ Cond 2 (A).
Let
, b =
(a) Find the unique least-square solution x using (ii) the normal equations method, (iii) the QR factorization method and the SVD method.
Applying the power method, find the dominant eigenvalue (the eigenvalue with maximum modulus) and the corresponding eigenvector for the following matrices. Do three iterations only for each matrix by choosing the intitial vector randomly.
(a) A =
, (b) A =
(c) A randomly generated matrix of order 4.
QR-ITERATION Problem Apply three iterations of the QR iteration algorithm to each of the matrices of Problem 9. above and compare the eigenvalues obtained in each case with those obtained by MATLAB function eig.