a) Tại m = -2 thì PT trở thành:
\(x^2-2\left(-2-1\right)x+\left(-2\right)^2-1=0\)
\(\Leftrightarrow x^2+6x+3=0\)
\(\Delta^'=3^2-1\cdot3=6>0\)
Khi đó PT có 2 nghiệm phân biệt
\(x_1=-3+\sqrt{6}\) ; \(x_2=-3-\sqrt{6}\)
b) Theo hệ thức Viète ta có:
\(\hept{\begin{cases}x_1+x_2=2\left(m-1\right)\\x_1x_2=m^2-1\end{cases}}\Leftrightarrow\hept{\begin{cases}\left(\frac{x_1+x_2}{2}+1\right)^2=m^2\\x_1x_2+1=m^2\end{cases}}\)
\(\Rightarrow\left(\frac{x_1+x_2}{2}+1\right)^2=x_1x_2+1\) là hệ thức liên hệ