[Math] Point on surface closest to a plane using Lagrange multipliers

multivariable-calculus

Find the point on $z=1-2x^2-y^2$ closest to $2x+3y+z=12$ using Lagrange multipliers.

I recognize $z+2x^2+y^2=1$ as my constraint but am unable to recognize the distance squared I am trying to minimize in terms of 3 variables. May someone help please.

Best Answer

A simpler approach for computing the distance between these objects: the given plane is orthogonal to the vector $(2,3,1)^T$, so the point(s) on the surface of minimal distance from the plane are the ones for which the tangent plane of the surface at such point(s) is orthogonal su $(2,3,1)^T$. If for some $k$ $$\left\{\begin{array}{rcl} 2x^2+y^2+z &=& 1 \\ 2x+3y+z &=& k \end{array}\right. $$ has exactly one solution, such a solution is a point of minimal distance. By eliminating $z$, we are looking for the values of $k$ such that $$ 2x^2-2x+y^2-3y = 1-k $$ has exactly one solution. By completing the squares, it is trivial that the only point of minimal distance occurs at $(x,y)={\left(\frac{1}{2},\frac{3}{2}\right)}$, from which $(x,y,z)=\color{red}{\left(\frac{1}{2},\frac{3}{2},-\frac{7}{4}\right)}$ and $$ d(\text{plane},\text{surface}) = \frac{\left|2\cdot\frac{1}{2}+3\cdot\frac{3}{2}-\frac{7}{4}-12\right|}{\sqrt{3^2+2^2+1^2}}=\color{red}{\frac{33}{4\sqrt{14}}}.$$