next up previous
Next: Singular Value Decomposition Up: Linear Least Square Previous: Normal Equations

QR Decomposition

Given , let its QR decomposition be given as , where is an orthonormal matrix and is upper triangular. To minimize , we choose m - n more orthonormal vectors (represented by the matrix ) and add them as columns to such that is an orthonormal square matrix. In particular, is a matrix obtained by merging the columns of and .

Now

Choose , such that , (if is non-singular)

Comparison with Normal Equation Solution

Cost: , about normal equations if m >> n.



Dinesh Manocha
Tue Feb 3 23:49:47 EST 1998