I saw this in a solution for one of the questions in my homework:
Q: Find the closest point to the origin from a curve defined by:
$x^2-xy+y^2-z^2=1$ and $x^2+y^2=1.$
This was written in the solution:
https://i.stack.imgur.com/rapOY.png
why $rk\lt 2$ is required to use Lagrange multipliers?
$$x^2+y^2+z^2=1+z^2\geq1.$$ The equality occurs for $z=0$, $x^2+y^2=1$ and $xy=0$, which gives all these points:
$(1,0,0)$, $(-1,0,0)$, $(0,1,0)$ and $(0,-1,0)$.