[Math] Finding max and min with Lagrange Multipliers. $f(x,y,z)=xyz$ with constraint $x^2+2y^2+3z^2=6$

lagrange multipliermultivariable-calculus

I have $f(x,y, z)=xyz$ with constraint $x^2+2y^2+3z^2=6$

I know $f(x,y, z)=\lambda g(x,y)$

$f_x=\lambda g_x$ , $f_y=\lambda g_y$

Tried

$yz=\lambda 2x$ , $xz=\lambda 4y$ , $xy=6z\lambda$

I first tried solving for lambda in one equation and then plugging that into the other two, but just got $x=\sqrt{8}=z$, $y=4$ which doesn't work in the constraint. I also tried something like what I seen in another problem when they took, for example the $yz=2x\lambda$ and multiplied both sides by the missing variable, this case x, so all the equations had xyz on the left hand side and tried to solve for them being equal and working in the constrain equation getting $x=\sqrt{6}$, $y=\sqrt{3}$ , $z=\sqrt{2}$, in each case the other two variables being $0$. But that just gives zeros for all when put into f(x,y,z). The answer is supposed to be min $\frac{-2}{\sqrt{3}}$ and max at $\frac{2}{\sqrt{3}}$

Best Answer

This proof uses only AM-GM inequality and not Lagrange multipliers. \begin{align*} 2 = \frac{x^2+2y^2+3z^2}{3} \geq (x^2\cdot 2y^2 \cdot 3z^2)^{1/3} = (6x^2y^2z^2)^{1/3} \end{align*} Hence \begin{align*} x^2y^2z^2 \leq \frac{8}{6} \end{align*} and hence \begin{align*} |xyz| \leq \frac{2}{\sqrt{3}} \end{align*}