Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2004/ib/paper-2/20a/solution

Let and consider an arbitrary variation . The objective for the linear least-squares problem is
At a minimizer the derivative at must vanish for every , so . Conversely, when this holds, the same expansion at gives for every . Thus minimizes the residual norm if and only if . These least-squares normal equations do not require to have full rank; without full rank the minimizing vector need not be unique.
The original PDF has , not the 2 in the converted TeX. Using the PDF's matrix gives
The least-squares normal equations consequently have the unique solution
As a direct check, , whose inner product with either column of is zero. The positive determinant verifies full column rank for this particular problem.

New to topics? Read the docs here!