a) Ta có :
\(A=2x-x^2-4\)
\(=2x-x^2-1-3\)
\(=-3-\left(x^2-2x+1\right)\)
\(=-3-\left(x-1\right)^2\)
\(\Rightarrow Max_A=-3\Leftrightarrow x=1\)
Vậy ...
b) \(B=-x^2-4x\)
\(=-x^2-4x-4+4\)
\(=-\left(x+2\right)^2+4\)
\(\Rightarrow Max_B=4\Leftrightarrow x=-2\)
Vậy ...