y=(m-1)x+4
=>(m-1)x-y+4=0
Khoảng cách từ O(0;0) đến (d) là:
\(d\left(O;\left(d\right)\right)=\dfrac{\left|0\cdot\left(m-1\right)+0\cdot\left(-1\right)+4\right|}{\sqrt{\left(m-1\right)^2+\left(-1\right)^2}}=\dfrac{4}{\sqrt{\left(m-1\right)^2+1}}\)
Để d(O;(d))=2 thì \(\dfrac{4}{\sqrt{\left(m-1\right)^2+1}}=2\)
=>\(\sqrt{\left(m-1\right)^2+1}=2\)
=>\(\left(m-1\right)^2+1=4\)
=>\(\left(m-1\right)^2=3\)
=>\(m-1=\pm\sqrt{3}\)
=>\(m=\pm\sqrt{3}+1\)