Ta thấy \(\left(x+y-z\right)^2\ge0\); \(\left(x-y+2\right)^2\ge0\);\(\left(x+4\right)^2\ge0\)với mọi x,y,z
Suy ra \(\left(x+y-z\right)^2+\left(x-y+2\right)^2+\left(x+4\right)^2\ge0\)với mọi x,y,z
Mặt khác \(\left(x+y-z\right)^2+\left(x-y+2\right)^2+\left(x+4\right)^2=0\)
Nên \(\hept{\begin{cases}x+y-z=0\\x-y+2=0\\x+4=0\end{cases}\Rightarrow\hept{\begin{cases}x+y=z\\x+2=y\\x=-4\end{cases}\Rightarrow}\hept{\begin{cases}x+y=z\\y=-2\\x=-4\end{cases}\Rightarrow}\hept{\begin{cases}z=-6\\y=-2\\x=-4\end{cases}}}\)
Vậy.....