Theo viet ta có
\(\left\{{}\begin{matrix}x_1+x_2=2\left(m-1\right)\\x_1x_2=-2m\end{matrix}\right.\)
Ta có: \(x_1^2+x_1-x_2=5-2m\)
\(\Leftrightarrow x_1^2+x_1-x_2=5+x_1x_2\)
\(\Leftrightarrow\left(x_1^2+x_1\right)-\left(x_2-x_1x_2\right)=5\)
\(\Leftrightarrow x_1\left(x_1+1\right)-x_2\left(x_1+1\right)=5\)
\(\Leftrightarrow\left(x_1-x_2\right)\left(x_1+1\right)=5\)
\(\Leftrightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}x_1-x_2=1\\x_1+1=5\end{matrix}\right.\\\left\{{}\begin{matrix}x_1-x_2=5\\x_1+1=1\end{matrix}\right.\end{matrix}\right.\)
-Với \(\left\{{}\begin{matrix}x_1-x_2=1\\x_1+1=5\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x_2=3\\x_1=4\end{matrix}\right.\)
\(\Rightarrow x_1x_2=12=-2m\)
\(\Rightarrow m=-6\)
-Với \(\left\{{}\begin{matrix}x_1-x_2=5\\x_1+1=1\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x_2=-5\\x_1=0\end{matrix}\right.\)
\(\Rightarrow x_1.x_2=0=-2m\)
\(\Rightarrow m=0\)
Vậy \(m=0;m=-6\)
-Chúc bạn học tốt-