I am starting up my Masters after being out of school for awhile and this is my first week back. I am recalling how to complete a problem and I am wondering if anyone can help me get started. I do not need a final answer, just steps needed to complete.
Problem: Solve the following optimization problem using Lagrange multiplier. Express your answer in terms of $A, b,$ and $y$.
minimize $x$, $||x-y||^2$ subject to $Ax=b$
Attempt
$$L(x,\lambda) = ||x-y||^2 + \lambda^T(Ax -b)$$ $$L(x,\lambda) = ||x-y||^2 + \lambda^TAx -\lambda^Tb$$
Now, do I take a partial derivative with respect to $x$? For clarity, below is an image of the problem.
