Theorem

  • With as a matrix
  • With
  • Then, always have one squared solution
  1. is a least squares solution of is a solution of
  2. has linearly independent columns is Invertible. It follows from that

Proof

  1. With linear map
  2. We find such that
  3. Now, we find the vector such that . If we can find such a , then is the solution because we find we can now map directly to the smallest
  4. We take the Basis of the Column Space , and apply Gram-Schmidt Algorithm to convert it into Orthonormal Set, so that we can get the Best Approximation.
  5. is orthogonal to the column space of , so if is a column of then,
  6. This is true for all columns, so we would get
  7. If is Invertible, then we have a soln \bar{x} = (A^{T}A)A^{-1}^{T}b