\(2x^2+2y^2+z^2+2xy+2yz+2zx+2x+4y+5\)
\(=\left(x^2+y^2+z^2+2xy+2yz+2zx\right)+\left(x^2+2x+1\right)+\left(y^2+4y+4\right)\)
\(=\left(x+y+z\right)^2+\left(x+1\right)^2+\left(y+2\right)^2=0\)
Mà: \(\hept{\begin{cases}\left(x+y+z\right)^2\ge0\\\left(x+1\right)^2\ge0\\\left(y+2\right)^2\ge0\end{cases}}\Rightarrow\hept{\begin{cases}\left(x+y+z\right)^2=0\\\left(x+1\right)^2=0\\\left(y+2\right)^2=0\end{cases}}\Leftrightarrow\hept{\begin{cases}x+y+z=0\\x+1=0\\y+2=0\end{cases}}\Leftrightarrow\hept{\begin{cases}x+y+z=0\\x=-1\\y=-2\end{cases}}\Leftrightarrow\hept{\begin{cases}z=3\\x=-1\\y=-2\end{cases}}\)