\(\left(2x+1\right)^2+\left|y-1,2\right|=0\)(1)
Ta thấy:\(\hept{\begin{cases}\left(2x+1\right)^2\ge0\\\left|y-1,2\right|\ge0\end{cases}}\)
\(\left(2x+1\right)^2+\left|y-1,2\right|\ge0\)(2)
Từ (1) và (2) suy ra \(\hept{\begin{cases}\left(2x+1\right)^2=0\\\left|y-1,2\right|=0\end{cases}}\)\(\Rightarrow\hept{\begin{cases}2x+1=0\\y-1,2=0\end{cases}}\)\(\Rightarrow\hept{\begin{cases}x=-\frac{1}{2}\\y=1,2\end{cases}}\)
\(\Rightarrow x+y=-\frac{1}{2}+1,2=-0,5+1,2=0,7\)