Let be an matrix. The orthogonal complement of the row space of is the null space of , and the orthogonal complement of the column space of is the null space of : and
Let , and .
By the definition of Null Space,
Because is the row vector and is the column vector, is the the inner product of the row vector and any vector from Null Space, resulting the linear combinations of row vector are also perpendicular to Null Space.
The Orthogonal Decomposition Theorem: Let be a subspace of . Then each in can be written uniquely in the form (1) where is in and is in . In fact, if is any orthogonal basis of , then (2) and .
The textbook provides the proof. Therefore, we only show how to derive formula (2) here.
Given an matrix with linearly independent columns, let be a QR factorization of A as in Theorem 12. Then, for each in , the equation has a unique least-squares solution, given by
The textbook provides the proof. We only show how to derive formula (6) here.