Ta có Pt d2 :x+2y-5=0
vì M ϵ d1 :x-y-1=0 nên M(m,m-1)
MA2 = (-1-m)2 + (2-m+1)2 = 1+2m+m2 +9-6m+m2 =2m2 -4m+10
<=> MA=\(\sqrt{2m^2-4m+10}\)
d(m,d2 )= \(\frac{\left|m+2m-2-5\right|}{\sqrt{1^2+2^2}}\) =\(\frac{\left|3m-7\right|}{\sqrt{5}}\)
theo bài ra thì MA=d(M,d2)
=>\(\frac{\left|3m-7\right|}{\sqrt{5}}\)=\(\sqrt{2m^2-4m+10}\) <=>|3m-7|=\(\sqrt{5}\)\(\sqrt{2m^2-4m+10}\)
<=>9m2 -42m +49=5(2m2-4m+10)
<=>9m2 -42m +49=10m2 -20m +50
<=>m2 +22m +1=0
<=>m= -11+2\(\sqrt{30}\) hoặc m=-11-2\(\sqrt{30}\)
=> M(-11+2\(\sqrt{30}\) ,-12+2\(\sqrt{30}\) ) hoặc M(-11-2\(\sqrt{30}\) ,-12-2\(\sqrt{30}\) )