\(ac=-\left[\left(m+1\right)^2+1\right]< 0\) nên pt luôn có 2 nghiệm trái dấu
\(S=x_1+x_2=\frac{m^2-2m+2}{m^2+2m+2}\)
\(\Leftrightarrow S.m^2+2Sm+2S=m^2-2m+2\)
\(\Leftrightarrow\left(S-1\right)m^2+2\left(S+1\right)m+2\left(S-1\right)=0\)
\(\Delta'=\left(S+1\right)^2-2\left(S-1\right)^2\ge0\)
\(\Leftrightarrow-S^2+6S-1\ge0\)
\(\Rightarrow3-2\sqrt{2}\le S\le3+2\sqrt{2}\)