Least Squares Problem

Consider
As doesn’t always have a solution then consider

Least Squares Problem

where

Link to original

Solution to Least Squares Problem

Let be a matrix with with QR decomposition

be the full QR decomposition via Householder QR Factorisation

Assuming is non-singular so has full column rank then

Least Squares Problem

has solution

Link to original