\(ĐKXĐ:x\ne m;x\ne1\)
\(\frac{x+2}{x-m}=\frac{x+1}{x-1}\)
\(\Leftrightarrow\left(x+2\right)\left(x-1\right)=\left(x-m\right)\left(x+1\right)\)
\(\Leftrightarrow x^2+x-2=x^2-\left(m-1\right)x-m\)
\(\Leftrightarrow x-2=-\left(m-1\right)x-m\)
\(\Leftrightarrow x-2+\left(m-1\right)x+m=0\)
\(\Leftrightarrow mx+\left(m-2\right)=0\)
Đây là phương trình bậc nhất nên luôn có 1 nghiệm
Vậy pt có nghiệm duy nhất với mọi m.