

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!


Spring 2004 Solutions to HW 6 Assigned: Thurs Mar 25, 2004; Due: Thurs Apr 1, 2004
.
Right hand vector of normal equations = A′^ ∗ b
.
Cholesky factor is chol(A′^ ∗ A)
.
Least squares solution is (^)
.
x =
.
(b) The System QRx ≈ b [Q R] = qr(A) Q = (^)
.
and R = (^)
.
So (^)
x^ =^ Q′^ ∗^ b^ =
.
(c) x = (^) (
) .
(a) (Q 1 ∗ Q 2 ) ∗ (Q 1 ∗ Q 2 )T^ = (Q 1 ∗ Q 2 ) ∗ (QT 2 ∗ QT 1 ) = Q 1 ∗ (Q 2 ∗ QT 2 ) ∗ QT 1 = Q 1 ∗ I ∗ QT 1 = Q 1 ∗ QT 1 = I
(b) Since ‖Qv‖ 2 = ‖v‖ 2 then ‖Q‖ 2 = 1
Since ‖Q−^1 ‖ 2 = ‖Q‖ 2 = 1 then cond(Q) = 1