xy+3x-y=-4
=>x(y+3)-y-3=-7
=>(x-1)(y+3)=-7
=>\(\left(x-1\right)\left(y+3\right)=1\cdot\left(-7\right)=\left(-7\right)\cdot1=\left(-1\right)\cdot7=7\cdot\left(-1\right)\)
=>\(\left(x-1;y+3\right)\in\left\{\left(1;-7\right);\left(-7;1\right);\left(-1;7\right);\left(7;-1\right)\right\}\)
=>\(\left(x,y\right)\in\left\{\left(2;-10\right);\left(-6;-2\right);\left(0;4\right);\left(8;-4\right)\right\}\)
Ta có:
\(xy+3x-y=-4\)
\(\Rightarrow x\left(y+3\right)-y=-7+3\)
\(\Rightarrow x\left(y+3\right)-y-3=-7\)
\(\Rightarrow x\left(y+3\right)-\left(y+3\right)=-7\)
\(\Rightarrow\left(y+3\right)\left(x-1\right)=-7=1\cdot-7=-7\cdot1=-1\cdot7=7\cdot-1\)
Ta có bảng sau:
y + 3 | 1 | -7 | -1 | 7 |
x - 1 | -7 | 1 | 7 | -1 |
y | -2 | -10 | -4 | 4 |
x | -6 | 2 | 8 | 0 |
Vậy: ...