ss4 - Math 6800: Solutions for Problem Set 4 W.D. Henshaw...

Doc Preview
Pages 10
Identified Q&As 6
Solutions available
Total views 100+
W.D. Henshaw Math 6800: Solutions for Problem Set 4 1.Consider the Householder reflector, F=I-2uu*,u* u= 1. Determine the eigenvalues and eigenvectors, determinant, and singular values ofF.
View full document
2.General Householder reflector. Letx, yCm , withm >1. Show explicitly (using algebra) that ifkxk2=kyk2then there is Householder reflectorF=I-2uu* ,kuk2 = 1, such thatFx=αywhere α=±sign(y*x). Note: ifz=reC, withr, θRandr0 then sign(z) =e, sign(0)1). (Hint: ifx6 =αyconsiderv=x-αy,u=v/kvk2 )
View full document
1
Now v*v= (x-αy)*(x-αy) =x*x-¯αy*x-αx*y+y*y= 2(x*x-¯αy* x), v*x= (x-αy)*x=x*x-¯αy*x=1 2 v* v where we have usedkxk2=x*x=y*y=kyk2, ¯αα=|α|2= 1, and ¯αy*x=αx*y=±|x* y|since α=±sign(y*x). Thusv*x=1 2 (v* v) which proves the result. 3.Write a Matlab function[W,R] = house(A)that computes an implicit representation of a full or reduced QR factorization forACm×n withmnusing Householder reflections. The output variables are a lower triangular matrixWCm×n whose columns are the Householder vectorsvk , and an upper triangular matrixRCRn×n . Also write a Matlab functionQ = formQ(W)that takes the matrixWfromhouseand generates the full matrixQCm×m . (a) Test your program on the Vandermonde matrix from problem set 3 withm= 5. CompareQ andRfrom the Matlab function[Q,R]=qr(A)to the output fromhouseandformQ. PrintQand R
Course Hero Badge

Want to read all 10 pages?

Previewing 3 of 10 pages Upload your study docs or become a member.
Course Hero Badge

Want to read all 10 pages?

Previewing 3 of 10 pages Upload your study docs or become a member.
Course Hero Badge

End of preview

Want to read all 10 pages? Upload your study docs or become a member.