a: Thay m=-2 vào hệ phương trình, ta được:
\(\left\{{}\begin{matrix}x-2y=-2+1=-1\\-2x+y=3\cdot\left(-2\right)-1=-7\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}2x-4y=-2\\-2x+y=-7\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}-3y=-9\\x-2y=-1\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}y=3\\x=2y-1=2\cdot3-1=5\end{matrix}\right.\)
b: Để hệ có nghiệm duy nhất thì \(\dfrac{1}{m}\ne\dfrac{m}{1}\)
=>\(m^2\ne1\)
=>\(m\notin\left\{1;-1\right\}\)
\(\left\{{}\begin{matrix}x+my=m+1\\mx+y=3m-1\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}x=m+1-my\\m\left(m+1-my\right)+y=3m-1\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}x=m+1-my\\m^2+m-m^2y+y=3m-1\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}x=m+1-my\\y\left(-m^2+1\right)=3m-1-m^2-m=-m^2+2m-1\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}x=m+1-my\\y\left(m-1\right)\left(m+1\right)=\left(m-1\right)^2\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}y=\dfrac{m-1}{m+1}\\x=m+1-m\cdot\dfrac{m-1}{m+1}=\left(m+1\right)-\dfrac{m^2-m}{m+1}\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}y=\dfrac{m-1}{m+1}\\x=\dfrac{m^2+2m+1-m^2+m}{m+1}=\dfrac{3m+1}{m+1}\end{matrix}\right.\)
\(x^2-y^2=4\)
=>\(\dfrac{\left(3m+1\right)^2-\left(m-1\right)^2}{\left(m+1\right)^2}=4\)
=>\(\dfrac{9m^2+6m+1-m^2+2m+1}{\left(m+1\right)^2}=4\)
=>\(8m^2+8m+2=4\left(m+1\right)^2\)
=>\(8m^2+8m+2-4m^2-8m-4=0\)
=>\(4m^2-2=0\)
=>\(m^2=\dfrac{1}{2}\)
=>\(m=\pm\dfrac{1}{\sqrt{2}}\)