\(A=5-8x+x^2=-8x+x^2+6-11\)
\(=\left(x-4\right)^2-11\)
Vì \(\left(x-4\right)^2\ge0\forall x\)\(\Rightarrow\left(x-4\right)^2-11\ge-11\)
Dấu "=" xảy ra \(\Leftrightarrow\left(x-4\right)^2=0\Leftrightarrow x-4=0\Leftrightarrow x=4\)
Vậy Amin = - 11 <=> x = 4
\(B=\left(2-x\right)\left(x+4\right)=-x^2-2x+8\)
\(=-\left(x^2+2x+1\right)+9=-\left(x+1\right)^2+9\)
Vì \(\left(x+1\right)^2\ge0\forall x\)\(\Rightarrow-\left(x+1\right)^2+9\le9\)
Dấu "=" xảy ra \(\Leftrightarrow-\left(x+1\right)^2=0\Leftrightarrow x+1=0\Leftrightarrow x=-1\)
Vậy Bmax = 9 <=> x = - 1