xy + 2x - y = 5
=> x(y + 2) - y - 2 = 3
=> x(y + 2) - (y + 2) = 3
=> (x - 1)(y + 2) = 3
x-1 | 1 | -1 | 3 | -3 |
y+2 | 3 | -3 | 1 | -1 |
x | 2 | 0 | 4 | -2 |
y | 1 | -5 | -1 | -3 |
\(xy+2x-y=5\)
\(\Leftrightarrow x\left(y+2\right)-\left(y+2\right)=3\)
\(\Leftrightarrow\left(y+2\right)\left(x-1\right)=3\)
\(\Leftrightarrow y+2;x-1\inƯ\left(3\right)=\left\{-3;-1;1;3\right\}\)
Ta có bảng
x-1 | -3 | -1 | 1 | 3 |
x | -2 | 0 | 2 | 4 |
y+2 | -1 | -3 | 3 | 1 |
y | -3 | -5 | 1 | -1 |