Find so-called conditional extremum attained by $f(x,y,z)=x \cdot y \cdot z;$ under the following condition: $x^2+y^2+z^2=a^2$. It is thought that solution would rely on Lagrange multipliers method.
Can you help me with this one? I have no idea of how to solve it wisely.
Before we begin, note by symmetry that we expect the answers to be symmetric in $x,y,z$ by which I mean that if $(x_0,y_0,z_0)$ is a point where we have an extrema, then so is any permutation of it. This will be a sanity check on our answer.
I have $f(x,y,z) = xyz$ and $g(x,y,z) = x^2 + y^2 + z^2 - a^2 = 0$. The condition is $Df = \lambda Dg$ which is restated as $$(yz, xz, xy) = \lambda (2x, 2y, 2z)$$ I am going to proactively note some technicalities but in reality when solving this problem, you would have to deal with them as and when they pop up. We note two things:
Great, now we can proceed to solving this quite easily. A common trick with a single constraint Lagrange multiplier is to eliminate $\lambda$ by "dividing" one vector by another. What I mean by this is to write $$\frac{yz}{x} = \frac{xz}{y} = \frac{xy}{z}$$ These fractions are okay because of point $2$ above. WLOG I'm going to choose the first two to work with. $$\frac{yz}{x} = \frac{xz}{y} \implies y^2z = x^2z \implies y^2 = x^2 \implies y = ±x$$ Similarly, we see that $x, y$ and $z$ are all the same up to a sign. This is exactly our symmetry hunch that we had in the beginning. So the constraint becomes $3x^2 = a^2$ or $x = ±\frac{a}{\sqrt{3}}$. So our $8$ solutions are $(±\frac{a}{\sqrt{3}}, ±\frac{a}{\sqrt{3}}, ±\frac{a}{\sqrt{3}})$ where you take all possible combinations of the $±$. Now the last step is to evaluate $f$ at all these points. There are only two values of $f$ possible, which are $\frac{a^3}{\sqrt{27}}$ and $-\frac{a^3}{\sqrt{27}}$ and so these are the constrained extrema.