a/ Bạn tự giải
b/ \(\Delta'=\left(m+2\right)^2-\left(m^2+3m-2\right)=m+6>0\Rightarrow m>-6\)
Theo Viet: \(\left\{{}\begin{matrix}x_1+x_2=2\left(m+2\right)\\x_1x_2=m^2+3m-2\end{matrix}\right.\)
\(A=2018+3x_1x_2-\left(x_1+x_2\right)^2+2x_1x_2\)
\(A=2018+5x_1x_2-\left(x_1+x_2\right)^2\)
\(A=2018+5\left(m^2+3m-2\right)-4\left(m+2\right)^2\)
\(A=m^2-m+1992\)
\(A=\left(m-\frac{1}{2}\right)^2+\frac{7967}{4}\ge\frac{7967}{4}\)
\(\Rightarrow A_{min}=\frac{7967}{4}\) khi \(m=\frac{1}{2}\)