\(M=-x^2+6x+8\)
\(=-\left(x^2-6x+9\right)+17\)
\(=-\left(x^2-2.x.3+3^2\right)+17\)
\(=-\left(x-3\right)^2+17\) ≤17
Min M=17⇔x-3=0
⇔x=3
Bài 2:
Ta có: \(M=x^2+5x+6\)
\(=x^2+2\cdot x\cdot\dfrac{5}{2}+\dfrac{25}{4}-\dfrac{1}{4}\)
\(=\left(x+\dfrac{5}{2}\right)^2-\dfrac{1}{4}\ge-\dfrac{1}{4}\forall x\)
Dấu '=' xảy ra khi \(x=-\dfrac{5}{2}\)