Để pt có nghiệm thì \(\Delta'=\left(m+1\right)^2-\left(m^2+3m\right)\ge0\Leftrightarrow1-m\ge0\Leftrightarrow m\le1\)
a)Tự làm
b)Để pt có hai nghiệm <=>\(\Delta=4\left(m+1\right)^2-4\left(m^2+3m\right)=-4m+4\ge0\)
<=>\(m\le1\)
Theo viet: \(\left\{{}\begin{matrix}x_1+x_2=2\left(m+1\right)\\x_1x_2=m^2+3m\end{matrix}\right.\)
Có \(P=\left(x_1-x_2\right)^2+\dfrac{1}{x_1+x_2}\)(đk: \(x_1+x_2\ne0\Rightarrow m\ne-1\))
\(=\left(x_1+x_2\right)^2-4x_1x_2+\dfrac{1}{x_1+x_2}\)
\(=4\left(m+1\right)^2-4\left(m^2+3m\right)+\dfrac{1}{2\left(m+1\right)}\)
\(=-4m+4+\dfrac{1}{2m+2}\)\(=\dfrac{-8m^2+9}{2m+2}\)
\(\Rightarrow P\left(2m+2\right)=-8m^2+9\)
\(\Leftrightarrow-8m^2-2mP+9-2P=0\) (1)
Coi (1) là pt bậc hai ẩn m và \(m\le1\), \(m\ne-1\)
Pt (1) có nghiệm\(\Leftrightarrow\left\{{}\begin{matrix}\Delta=4P^2-64P+288\ge0\left(lđ\right)\\m_1+m_2\le2\\\left(m_1-1\right)\left(m_2-1\right)\le0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}-\dfrac{1}{P}\le2\\m_1.m_2-\left(m_1+m_2\right)+1\le0\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}P\ge-2\\\dfrac{9-2P}{-8}+\dfrac{P}{4}+1\le0\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}P\ge-16\\P\ge\dfrac{1}{4}\end{matrix}\right.\)
\(\Rightarrow P\ge\dfrac{1}{4}\)
\(\Rightarrow P_{min}=\dfrac{1}{4}\Leftrightarrow m=1\) (thỏa)
Vậy...