A=-(x2+8x+16)+21<=21 (tự làm tiếp)
B=-(x2-2x+1)-(4y2+4y+1)+7
=-(x-1)2-(2y+1)2+7<=7
\(A=5-8x-x^2\)
\(A=-x^2-8x+5\)
\(-A=x^2+8x-5\)
\(-A=x^2+4x+4x+16-21\)
\(-A=x.\left(x+4\right)+4.\left(x+4\right)-21\)
\(-A=\left(x+4\right).\left(x+4\right)-21\)
\(A=-\left(x+4\right)^2-21\le-21\)
Dấu = xảy ra khi A = -21 \(\Leftrightarrow-\left(x+4\right)^2-21=-21\)
\(\Leftrightarrow-\left(x+4\right)^2=0\Rightarrow x+4=0\Rightarrow x=-4\)