\(\left\{{}\begin{matrix}y=5-mx\\2x-5+mx=-2\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}y=5-mx\\x\left(m+2\right)=3\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}y=5-mx\\x=\dfrac{3}{m+2}\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}y=5-m.\dfrac{3}{m+2}\\x=\dfrac{3}{m+2}\end{matrix}\right.\)
Ta co : xo+yo=1
=> 5-\(\dfrac{3m}{m+2}+\dfrac{3}{m+2}=1\)
=> \(\dfrac{5.\left(m+2\right)-3m+3}{m+2}=1\)
=> 5m+10-3m+3=m+2
=> 2m-m=2-13
=> m=-11
\(\left\{{}\begin{matrix}mx+y=5\left(1\right)\\2x-y=-2\left(2\right)\end{matrix}\right.\)
từ (1) ta có y=5-mx(3)
thế vào (2) ta có 2x-5+mx=-2\(\Leftrightarrow\) (2+m)x=3\(\Leftrightarrow\)x=\(\dfrac{3}{2+m}\)(4)
thế (4) vào (3) ta có
y=5-m\(\dfrac{3}{2+m}\)=\(\dfrac{10+2m}{2+m}\)
vậy hệ có nghiệm duy nhất là(\(\dfrac{3}{2+m}\);\(\dfrac{10+2m}{2+m}\))
mà x+y=1
\(\Rightarrow\)\(\dfrac{3}{2+m}+\dfrac{10+2m}{2+m}=1\)\(\Leftrightarrow\)m=-11
vậy m=-11