Sửa đề: \(5x^2+5y^2+8xy-2x+2y+2=0\)
=>\(4x^2+8xy+4y^2+x^2-2x+1+y^2+2y+1=0\)
=>\(\left(2x+2y\right)^2+\left(x-1\right)^2+\left(y+1\right)^2=0\)
=>\(\left\{{}\begin{matrix}2x+2y=0\\x-1=0\\y+1=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=1\\y=-1\end{matrix}\right.\)
\(M=\left(x-y\right)^{2023}-\left(x-2\right)^{2024}+\left(y+1\right)^{2023}\)
\(=\left(1+1\right)^{2023}-\left(1-2\right)^{2024}+\left(-1+1\right)^{2023}\)
\(=2^{2023}-1\)