P = - x2 - 8x + 5
P = - ( x2 + 8x - 5 )
P = - ( x2 + 2 . 4 . x + 42 - 42 - 5 )
P = - [ ( x + 4 )2 - 21 ]
P = - ( x + 4 )2 + 21 \(\le\)21
Dấu " = " xảy ra \(\Leftrightarrow\)x + 4 = 0
\(\Rightarrow\)x = - 4
Vậy : Min P = 21 \(\Leftrightarrow\)x = - 4
Nhầm Max P = 21 \(\Leftrightarrow\)x = - 4 nhé . Thứ lỗi
P = -x2 - 8x + 5
P = -x2 - 8x - 16 + 21
P = -( x2 + 8x + 16 ) + 21
P = -( x + 4 )2 + 21
\(-\left(x+4\right)^2\le0\forall x\Rightarrow-\left(x+4\right)^2+21\le21\)
Dấu " = " xảy ra <=> x + 4 = 0 => x = -4
Vậy PMax = 21, đạt được khi x = -4