\(x^2-2xy+2y^2-2x+6y+5=0\)
\(\Leftrightarrow\)\(x^2-2x\left(y+1\right)+\left(y^2+2y+1\right)+\left(y^2+4y+4\right)=0\)
\(\Leftrightarrow\)\(x^2-2x\left(y+1\right)+\left(y+1\right)^2+\left(y+2\right)^2=0\)
\(\Leftrightarrow\)\(\left(x-y-1\right)^2+\left(y+2\right)^2=0\)
\(\Leftrightarrow\)\(\hept{\begin{cases}x-y-1=0\\y+2=0\end{cases}}\)\(\Leftrightarrow\)\(\hept{\begin{cases}x=-1\\y=-2\end{cases}}\)
\(x^2-2xy+2y^2-2x+6y+5=0\)
\(\Leftrightarrow\left(x^2-2xy+y^2\right)-2\left(x-y\right)+1+y^2+4y+4=0\)
\(\Leftrightarrow\left(x-y\right)^2-2\left(x-y\right)+1+\left(y+2\right)^2=0\)
\(\Leftrightarrow\left(x-y-1\right)^2+\left(y+2\right)^2=0\)
\(\Leftrightarrow\hept{\begin{cases}x-y-1=0\\y+2=0\end{cases}\Leftrightarrow}\hept{\begin{cases}x=-1\\y=-2\end{cases}}\)
https://vn.lovemeter.me/match/5Q2Z