Many have asked the question about finding the shortest distance from a point to a plane. I have checked those questions and answers and haven't found what I am looking for. Might still have missed some question though.
I have a problem where I am to calculate the shortest distance from the surface $z = x^2 + 3y^2$ to the point $P = (5, 0, 1)$
I want to use the Langrange multiplier for this.
This is what I have done:
I am to minimize $$(x-5)^2 + y^2 + (z - 1)^2$$
s.t.
$$x^2 + 3y^2 - z = 0$$
So the Lagrange function is
$$L(x, y, z, \lambda) = (x-5)^2 + y^2 (z-1)^2 + \lambda(x^2 + 3y^2 - z)$$
I have taken the gradient of $L$ and am looking for where each partial derivative equals to zero.
And I am stuck. Is $\lambda = 1/3$? It seems like that, otherwise $y=0$. But if $y\neq 0$ and lambda is $1/3$ then I get that $y=0$ anyway :/