2. Analysis of the Least Squares Problem