Để pt có 2 nghiệm
\(\Leftrightarrow\left\{{}\begin{matrix}m-1\ne0\\\Delta'=\left(m+1\right)^2-m\left(m-1\right)\ge0\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}m\ne1\\3m+1\ge0\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}m\ne1\\m\ge-\frac{1}{3}\end{matrix}\right.\)
Khi đó theo định lý Viet: \(\left\{{}\begin{matrix}x_1+x_2=\frac{2\left(m+1\right)}{m-1}\\x_1x_2=\frac{m}{m-1}\end{matrix}\right.\)
\(\left|x_1-x_2\right|\ge2\Leftrightarrow\left(x_1-x_2\right)^2\ge4\)
\(\Leftrightarrow\left(x_1+x_2\right)^2-4x_1x_2\ge4\)
\(\Leftrightarrow4\left(\frac{m+1}{m-1}\right)^2-\frac{4m}{m-1}\ge4\)
\(\Leftrightarrow\left(1+\frac{2}{m-1}\right)^2-\left(1+\frac{1}{m-1}\right)-1\ge0\)
Đặt \(\frac{1}{m-1}=t\)
\(\Rightarrow\left(2t+1\right)^2-\left(t+1\right)-1\ge0\)
\(\Leftrightarrow4t^2+3t-1\ge0\Rightarrow\left[{}\begin{matrix}t\ge\frac{1}{4}\\t\le-1\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}\frac{1}{m-1}\ge\frac{1}{4}\\\frac{1}{m-1}\le-1\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}\frac{5-m}{m-1}\ge0\\\frac{m}{m-1}\le0\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}1< m\le5\\0\le m< 1\end{matrix}\right.\)
\(\Rightarrow m_{max}=5\)