Given $f(x,y,z)=xy^2z$ find the the max value such that the point $(x,y,z)$ is located in the part of the plane $x+y+z=4$ which is in the first octant ($x>0, y>0, z>0$) of the coordinates.
I think Lagrange multipliers can be used here.
We can say that $x+y+z=4$ is the restriction. Let $g=x+y+z-4$. Then: $$ \nabla f= \lambda\nabla g\\ \nabla f=\langle y^2z,2yxz,xy^2 \rangle\\ \nabla g=\langle 1,1,1 \rangle $$ It follows that: $$ \begin{cases} y^2z=\lambda\\ 2yxz=\lambda\\ xy^2=\lambda \end{cases} $$ Because $x>0, y>0, z>0$ we can solve the system and get: $$ z=x,\quad y=2x $$ Finally, we can rewrite the restriction as: $$ x+2x+x=4 \Rightarrow x=1, y=2, z=1 $$
Is my usage of Lagrange method correct? Can this problem also be solved without Lagrange method by finding the max value using min/max theorems for functions with 2 variables?
Your method is correct, it might be worth checking this is a maximum though. You could solve it by writing $z = 4 - x - y$, and writing $f$ in terms of $x$ and $y$ only, then minimising with respect to them, but I'd personally go with Lagrange multipliers first.