Ta có:
\(a-b+c=4-\left(m^2+2m-15\right)+\left(m+1\right)^2-20\)
\(=-m^2-2m+19+m^2+2m+1-20\)
\(=0\)
\(\Rightarrow\) Phương trình đã cho luôn luôn có 2 nghiệm: \(\left[{}\begin{matrix}x=-1\\x=\dfrac{20-\left(m+1\right)^2}{4}\end{matrix}\right.\)
TH1: \(\left\{{}\begin{matrix}x_1=-1\\x_2=5-\dfrac{\left(m+1\right)^2}{4}\end{matrix}\right.\)
\(\Rightarrow1+5-\dfrac{\left(m+1\right)^2}{4}+2019=0\)
\(\Leftrightarrow\left(m+1\right)^2=8100\Rightarrow\left[{}\begin{matrix}m+1=90\\m+1=-90\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}m=89\\m=-91\end{matrix}\right.\)
TH2: \(\left\{{}\begin{matrix}x_1=5-\dfrac{\left(m+1\right)^2}{4}\\x_2=-1\end{matrix}\right.\)
\(\Rightarrow\left[5-\dfrac{\left(m+1\right)^2}{4}\right]^2-1+2019=0\)
\(\Leftrightarrow\left[5-\dfrac{\left(m+1\right)^2}{4}\right]^2+2018=0\) (vô nghiệm do vế trái luôn dương)
Vậy \(\left[{}\begin{matrix}m=89\\m=-91\end{matrix}\right.\)