Solution

ID: past-exam-of-the-numerical-linear-algebra-course-of-the-university-of-oxford/2011/1/b/solution

Use the singular value decomposition and the orthogonal invariance of the Euclidean norm. Put and . Since precisely are positive,
The second sum is independent of and cannot be removed. The first sum vanishes exactly when for , while are arbitrary. Thus every least-squares solution is
The unavoidable linear-system residual is the component of orthogonal to the column space of :
The minimum-norm least-squares solution sets all and equals , where is the Moore-Penrose inverse. The squared minimum, rather than the minimum itself, is the second sum in the first display.

New to topics? Read the docs here!