\(\Leftrightarrow y\left(x+1\right)+2\left(x+1\right)+9=0\)
\(\Leftrightarrow\left(x+1\right)\left(y+2\right)=-9\)
Để x;y nguyên thì:
\(\left\{{}\begin{matrix}x+1=3\\y+2=-3\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x=2\\y=-5\end{matrix}\right.\)
\(\left\{{}\begin{matrix}x+1=-3\\y+2=3\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x=-4\\y=1\end{matrix}\right.\)
\(\left\{{}\begin{matrix}x+1=1\\y+2=-9\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x=0\\y=-11\end{matrix}\right.\)
\(\left\{{}\begin{matrix}x+1=-9\\y+2=1\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x=-10\\y=-1\end{matrix}\right.\)
\(\left\{{}\begin{matrix}x+1=-1\\y+2=9\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x=-2\\y=7\end{matrix}\right.\)
\(\left\{{}\begin{matrix}x+1=9\\y+2=-1\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x=8\\y=-3\end{matrix}\right.\)
\(x\left(y+2\right)+y+2=-9\Leftrightarrow\left(x+1\right)\left(y+2\right)=-9\)
\(\Rightarrow x+1;y+2\inƯ\left(-9\right)=\left\{\pm1;\pm3;\pm9\right\}\)
x+1 | 1 | -1 | 3 | -3 | 9 | -9 |
y+2 | -9 | 9 | -3 | 3 | -1 | 1 |
x | 0 | -2 | 2 | -4 | 8 | -10 |
y | -11 | 7 | -5 | 1 | -3 | -1 |