\(\Delta=\left(m+1\right)^2-4.1.2=\left(m+1\right)^2-8\)
Để PT có 2 nghiệm thì:
\(\Delta\ge0\Leftrightarrow\left(m+1\right)^2-8\ge0\\ \Leftrightarrow\left(m+1\right)^2\ge8\)
Theo vi ét: \(\left\{{}\begin{matrix}x_1+x_2=-\left(m+1\right)\\x_1x_2=2\end{matrix}\right.\)
\(x_1^2+x_2^2=x_1^2+2x_1x_2+x_2^2-2x_1x_2=\left(x_1+x_2\right)^2-2x_1x_2\)
\(=\left(m+1\right)^2-2.2=\left(m+1\right)^2-4\)
Mà \(\left(m+1\right)^2\ge8\) nên \(\left(m+1\right)^2-4\ge4\)
\(\Rightarrow min_{x_1^2+x_2^2}=4\) (dấu bằng xảy ra)
\(\Leftrightarrow\left(m+1\right)^2=8\)
\(\Leftrightarrow m^2+2m+1=8\\\Leftrightarrow m^2+2m-7=0 \)
\(\Leftrightarrow m=-1\pm2\sqrt{2}\)