\(a,\left\{{}\begin{matrix}mx-y=2m\\x-my=m+1\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}m^2x-my=2m^2\\x-my=m+1\end{matrix}\right.\)
\(\Leftrightarrow m^2x-x=2m^2-m-1\Leftrightarrow x\left(m^2-1\right)=2m^2-m-1\)
\(ycầuđềbài\Leftrightarrow m^2-1\ne0\Leftrightarrow m\ne\pm-1\)
\(b,\Rightarrow\left\{{}\begin{matrix}x=\dfrac{2m^2-m-1}{m^2-1}=\dfrac{\left(m-1\right)\left(2m+1\right)}{m^2-1}=\dfrac{2m+1}{m+1}=2+\dfrac{-2}{m+1}\\y=mx-2m=\dfrac{m\left(2m+1\right)-2m^2-2m}{m+1}=\dfrac{-m}{m+1}=-1+\dfrac{1}{m+1}\end{matrix}\right.\)
\(\left(x;y\right)\in Z\Leftrightarrow\left\{{}\begin{matrix}m\ne\pm1\\m+1\inƯ\left(2\right)=\left\{1;-1;2;-2\right\}\\m+1\inƯ\left(1\right)=\left\{1;-1\right\}\end{matrix}\right.\)
\(\Rightarrow m=0;m=-2\)