\(\Leftrightarrow xy+2x-y-2=3\)
\(\Leftrightarrow x\left(y+2\right)-\left(y+2\right)=3\)
\(\Leftrightarrow\left(x-1\right)\left(y+2\right)=3\)
Ta có bảng sau:
x-1 | -3 | -1 | 1 | 3 |
y+2 | -1 | -3 | 3 | 1 |
x | -2 | 0 | 2 | 4 |
y | -3 | -5 | 1 | -1 |
Vậy \(\left(x;y\right)=\left(-2;-3\right);\left(0;-5\right);\left(2;1\right);\left(4;-1\right)\)