Find the maximum and minimum values of the function $f(x,y,z)=x^2+2y^2+3z^2$ subject to the constraint $x^2+y^2+z^2=100$.
I know to find the critical points I need to solve the system of equations
$$\nabla f(x,y,z) = \lambda \nabla g(x,y,z)$$
I ended up with
$$\begin{aligned} 2x &= \lambda 2x\\ 4y &= \lambda 2y\\ 6z &= \lambda 2z\end{aligned}$$
I don't know to go from here since $\lambda$ ends up as $1$, $2$, and $3$.
You can find the maximum and the minimum by inspection, without using any theorem. Note that $x^{2}+2y^{2}+3z^{3}=100+y^{2}+2z^{2} \leq 100+(2y^{2}+2z^{2}) \leq 100+200=300$. The value $300$ is attained when $x=0,y=0$ and $z=10$.
Similarly a lower bound is $100$ and this bound is attained when $x=10,y=0,z=0$.