24.03.2013 Views

Iterative Methods for Sparse Linear Systems Second Edition

Iterative Methods for Sparse Linear Systems Second Edition

Iterative Methods for Sparse Linear Systems Second Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

14 CHAPTER 1. BACKGROUND IN LINEAR ALGEBRA<br />

with<br />

β = sign(xkk) ×<br />

n<br />

i=k<br />

x 2 ik<br />

1/2<br />

. (1.26)<br />

We note in passing that the premultiplication of a matrix X by a Householder<br />

trans<strong>for</strong>m requires only a rank-one update since,<br />

(I − 2ww T )X = X − wv T where v = 2X T w.<br />

There<strong>for</strong>e, the Householder matrices need not, and should not, be explicitly <strong>for</strong>med.<br />

In addition, the vectors w need not be explicitly scaled.<br />

Assume now that m − 1 Householder trans<strong>for</strong>ms have been applied to a certain<br />

matrix X of dimension n × m, to reduce it into the upper triangular <strong>for</strong>m,<br />

⎛<br />

⎞<br />

⎜<br />

Xm ≡ Pm−1Pm−2 . . .P1X = ⎜<br />

⎝<br />

x11 x12 x13 · · · x1m<br />

x22 x23 · · · x2m<br />

x33 · · · x3m<br />

. ..<br />

.<br />

xm,m<br />

0..<br />

⎟ . (1.27)<br />

⎟<br />

⎠<br />

Recall that our initial goal was to obtain a QR factorization of X. We now wish to<br />

recover the Q and R matrices from the Pk’s and the above matrix. If we denote by<br />

P the product of the Pi on the left-side of (1.27), then (1.27) becomes<br />

PX =<br />

R<br />

O<br />

<br />

, (1.28)<br />

in which R is an m × m upper triangular matrix, and O is an (n − m) × m zero<br />

block. Since P is unitary, its inverse is equal to its transpose and, as a result,<br />

X = P T<br />

<br />

<br />

R<br />

R<br />

= P1P2 . . .Pm−1 .<br />

O<br />

O<br />

If Em is the matrix of size n×m which consists of the first m columns of the identity<br />

matrix, then the above equality translates into<br />

X = P T EmR.<br />

The matrix Q = P T Em represents the m first columns of P T . Since<br />

Q T Q = E T mPP T Em = I,<br />

Q and R are the matrices sought. In summary,<br />

X = QR,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!