Docsity

Homework Problems - Numerical Linear Algebra | MATH 434, Study notes of Linear Algebra

Toggle sidebar
bg1
MATH 434/534
FINAL HWK on CHPTERS 7 and 8
Due December 01,2011.
7.1
Let H=I−2uuT
uTube a Householder matrix. Then prove the followings
(i) Hu =−u.
(ii) Hv =vif uTu= 0.
7.2
Let xbe an n-vector. Develop an algorithm to compute a Householder matrix H=I−2uuT
uTu
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 Hsuch that Hx has a zero in the
third position.
7.3
(a)
Develop algorithms for implicitly computing (i) HA, (ii) AH , and explicitly computing (iv)
Q=H1H2. . . Hr, where the matrices Hand Hifor i= 1,2,3, . . . , r are Householder matri-
ces of order n, and Ais an arbitrary rectangular matrix of appropriate sizes.
7.4
(a) Given the Householder vector u= (1,1,1)Tand
A=
1 2
3 4
5 6
,
compute HA and ATHusing the algorithms developed in Exercise 7.3 (a).
7.6
(a)
Show that it requires 2n2m−n
3flops to compute Rin the QR factorization of an m×n
matrix A(m≥n) using Householder’s method, and that if Qis needed, then the count is
4m2n−mn2+n3
3flops.
7.21
Let Uhave orthogonal columns. Then using SVD, prove that
(i) kAUk2=kAk2,
(ii) kAUkF=kAkF,
7.22
Let UΣVTbe the SVD of A. Then prove that
UTAV
2
F=Pp
i=1 σ2
i, where σiare the singu-
lar values of A.
7.23
pf2

Partial preview of the text

Download Homework Problems - Numerical Linear Algebra | MATH 434 and more Study notes Linear Algebra in PDF only on Docsity!

MATH 434/

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

A =

 

  ,

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

A =

 

  , 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.