\(\Delta'=\left(m-1\right)^2-\left(m^2+2\right)=-2m-1\ge0\Rightarrow m\le-\dfrac{1}{2}\)
Theo hệ thức Viet: \(\left\{{}\begin{matrix}x_1+x_2=2\left(m-1\right)\\x_1x_2=m^2+2\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}\dfrac{x_1+x_2+2}{2}=m\\x_1x_2-2=m^2\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}\left(\dfrac{x_1+x_2+2}{x}\right)^2=m^2\\x_1x_2-2=m^2\end{matrix}\right.\)
\(\Rightarrow\left(\dfrac{x_1+x_2+2}{2}\right)^2=x_1x_2-2\)
Đây là hệ thức liên hệ 2 nghiệm ko phụ thuộc m
b.
\(A=\sqrt{2\left(x_1+x_2\right)^2-4x_1x_2+16}-3x_1x_2\)
\(=\sqrt{8\left(m-1\right)^2-4\left(m^2+2\right)+16}-3\left(m^2+2\right)\)
\(=\sqrt{4m^2-16m+16}-3\left(m^2+2\right)\)
\(=\sqrt{\left(4-2m\right)^2}-3m^2-6\)
\(=\left|4-2m\right|-3m^2-6\)
\(=4-2m-3m^2-6\) (do \(m\le-\dfrac{1}{2}\Rightarrow4-2m>0\))
\(=-3m^2-2m-2\)
\(=-\dfrac{1}{4}\left(12m^2+8m+1\right)-\dfrac{7}{4}\)
\(=-\dfrac{1}{4}\left(6m+1\right)\left(2m+1\right)-\dfrac{7}{4}\le-\dfrac{7}{4}\)
\(A_{max}=-\dfrac{7}{4}\) khi \(m=-\dfrac{1}{2}\)