[Math] Find maximum and minimum of $f(x,y,z)=x^2+y^2+z^2$ subject to constraints $x+2y+z=8$ and $x-y=4$

lagrange multiplier

Find maximum and minimum of $f(x,y,z)=x^2+y^2+z^2$ subject to constraints $x+2y+z=8$ and $x-y=4$

My try:I solved it by Lagrange multiplier method but I found one set of value as $x=52/11,y=8/11,z=20/11$ Then how can i find both maximum and minimum of $f$.

Best Answer

We have $y=x-4$ and $z=8-2y-x=16-3x$. This gives (show it !):

$f(x,y,z)=11x^2-104x+272$

Related Question