\(xy-2x+y+1=0\)
\(\Rightarrow xy-2x+y-2=-1\)
\(\Rightarrow x\left(y-2\right)+1\left(y-2\right)=-1\)
\(\Rightarrow\left(x+1\right)\left(y-2\right)=-1\)
\(\Rightarrow x+1;y-2\inƯ\left(-1\right)\)
\(Ư\left(-1\right)=\left\{\pm1\right\}\)
Xét ước
\(\left|x-3\right|=2x+1\)
\(\Rightarrow\left[{}\begin{matrix}x-3=2x+1\left(đk:x\ge3\right)\\-x+3=2x+1\left(đk:x< 3\right)\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=2x+4\\-x=2x-2\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}-x=4\Rightarrow x=-4\left(KTM\right)\\x=\dfrac{2}{3}\left(TM\right)\end{matrix}\right.\)