Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/iii/paper-205/5/a/solution

With the normalization used in the question, ridge regression solves
Differentiating with respect to and using the centered columns gives . The normal equation for is
so
The push-through identity then gives the equivalent dual form

New to topics? Read the docs here!