Vì \(\hept{\begin{cases}\left(x-2\right)^2\ge0\forall x\\\left(y+1\right)^2\ge0\forall y\end{cases}}\)
\(\Rightarrow\left(x-2\right)^2+\left(y+1\right)^2\ge0\forall x;y\)
Mà đề lại cho \(\left(x-2\right)^2+\left(y+1\right)^2=0\Rightarrow\hept{\begin{cases}\left(x-2\right)^2=0\\\left(y+1\right)^2=0\end{cases}}\)
\(\Rightarrow\hept{\begin{cases}x-2=0\\y+1=0\end{cases}}\Rightarrow\hept{\begin{cases}x=2\\y=-1\end{cases}}\)
Vậy \(x=2;y=-1\)