\(y=\dfrac{x^2+mx+1}{x+m}=x+\dfrac{1}{x+m}\)
\(\left\{{}\begin{matrix}y'\left(2\right)=0\\y''\left(2\right)< 0\end{matrix}\right.\)\(\Rightarrow\left\{{}\begin{matrix}1-\dfrac{1}{\left(2+m\right)^2}=0\\\dfrac{2}{\left(m+2\right)^3}< 0\end{matrix}\right.\)\(\Rightarrow\left\{{}\begin{matrix}m=-3\\m< -2\end{matrix}\right.\)
Chọn a