Exercise 2169Linear algebra › Inner product spacesL1Added 3 Nov 2026
Least squares and normal equations
#least squares#normal equations#orthogonal projection
Statement
Let be an matrix with full column rank, . Show that the vector minimizing satisfies the normal equations
Hint
Interpret as a point in , and as the orthogonal projection of .
Show solutionHide solution
Solution
Geometric interpretation. Minimizing over is equivalent to finding the point of closest to . This is the orthogonal projection of onto .
Orthogonality. For to be the projection, must be orthogonal to , i.e. to every column of :
Normal equations. Rearranging:
Since has full column rank, is invertible, so .
Conclusion. The least-squares solution satisfies the normal equations.