Respuesta :

We're minimizing [tex]x^2+y^2+z^2[/tex] subject to [tex]x+y+z=6[/tex]. Using Lagrange multipliers, we have the Lagrangian

[tex]L(x,y,z,\lambda)=x^2+y^2+z^2+\lambda(x+y+z-6)[/tex]

with partial derivatives

[tex]\begin{cases}L_x=2x+\lambda\\L_y=2y+\lambda\\L_z=2z+\lambda\\L_\lambda=x+y+z-6\end{cases}[/tex]

Set each partial derivative equal to 0:

[tex]\begin{cases}2x+\lambda=0\\2y+\lambda=0\\2z+\lambda=0\\x+y+z=6\end{cases}[/tex]

Subtracting the second equation from the first, we find

[tex]2x-2y=0\implies x=y[/tex]

Similarly, we can determine that [tex]x=z[/tex] and [tex]y=z[/tex] by taking any two of the first three equations. So if [tex]x=y=z[/tex] determines a critical point, then

[tex]x+y+z=3x=6\implies x=y=z=2[/tex]

So the smallest value for the sum of squares is [tex]2^2+2^2+2^2=12[/tex] when [tex](x,y,z)=(2,2,2)[/tex].
ACCESS MORE