\(x^2-4x+2y-xy+9=0\)
\(\Leftrightarrow x^2-4x+4+2y-xy+5=0\)
\(\Leftrightarrow\left(x-2\right)^2-\left(x-2\right)y+5=0\)
\(\Leftrightarrow\left(x-2\right)\left(x-2-y\right)=-5\)
⇒\(\left[{}\begin{matrix}\left(x-2\right)\left(x-2-y\right)=-5\cdot1\left(1\right)\\\left(x-2\right)\left(x-2-y\right)=-1\cdot5\left(2\right)\end{matrix}\right.\)
Vì đề kêu tìm nghiệm nguyên nên ta có
Th1:\(\left[{}\begin{matrix}\left\{{}\begin{matrix}x-2=-5\\x-2-y=1\end{matrix}\right.\\\left\{{}\begin{matrix}x-2=1\\x-2-y=-5\end{matrix}\right.\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}x=-3\\y=-6\end{matrix}\right.\\\left\{{}\begin{matrix}x=3\\y=6\end{matrix}\right.\end{matrix}\right.\)
Th2:\(\left[{}\begin{matrix}\left\{{}\begin{matrix}x-2=-1\\x-2-y=5\end{matrix}\right.\\\left\{{}\begin{matrix}x-2=5\\x-2-y=-1\end{matrix}\right.\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}x=1\\y=-6\end{matrix}\right.\\\left\{{}\begin{matrix}x=7\\y=6\end{matrix}\right.\end{matrix}\right.\)
Vậy .....