Based on my Calculus textbook, the method of Lagrange multipliers is stated as follow:
Suppose that $f(x,y,z)$ and $g(x,y,z)$ are differentiable and $\nabla g \ne \mathbf 0$ when $g(x,y,z) = 0$. To find the local extremum values of $f$ subject to the constraint $g(x,y,z) = 0$, find the values of $x,y,z$ and $\lambda$ simultaneously satisfying the equations $\nabla f = \lambda \nabla g$ and $g(x,y,z) = 0$.
My questions are:
- Why do we need $\nabla g \ne \mathbf 0$ in the assumption? (Is there something realted to the implicit function theroem?)
- What happens if $\nabla g = \mathbf 0$?