Let be an matrix with linearly independent columns. ()
is matrix with orthonormal columns, output of Gram-Schmidt Process is given by
is upper triangular and invertible
Proof: We know Since the subspace we get for all . Hence (note that )
Moreover, is projection matrix onto The least squares solution to can be calculated by: (see Least Square (Data Fitting)) ( is invertible)
R is invertible
is invertible is invertible