Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2005/paper-2/4/b/solution

Minimize the squared distance subject to . The Lagrange multiplier condition gives and . Enforcing the line constraint gives , hence
The displacement to this point is parallel to the line's normal vector , so it is the orthogonal projection. The squared distance restricted to the line has positive quadratic coefficient , proving this stationary point is the unique global minimum.

New to topics? Read the docs here!