Bài 1:
a) Ta có: \(A=-x^2-4x-2\)
\(=-\left(x^2+4x+2\right)\)
\(=-\left(x^2+4x+4-2\right)\)
\(=-\left(x+2\right)^2+2\le2\forall x\)
Dấu '=' xảy ra khi x=-2
b) Ta có: \(B=-2x^2-3x+5\)
\(=-2\left(x^2+\dfrac{3}{2}x-\dfrac{5}{2}\right)\)
\(=-2\left(x^2+2\cdot x\cdot\dfrac{3}{4}+\dfrac{9}{16}-\dfrac{49}{16}\right)\)
\(=-2\left(x+\dfrac{3}{4}\right)^2+\dfrac{49}{8}\le\dfrac{49}{8}\forall x\)
Dấu '=' xảy ra khi \(x=-\dfrac{3}{4}\)
c) Ta có: \(C=\left(2-x\right)\left(x+4\right)\)
\(=2x+8-x^2-4x\)
\(=-x^2-2x+8\)
\(=-\left(x^2+2x-8\right)\)
\(=-\left(x^2+2x+1-9\right)\)
\(=-\left(x+1\right)^2+9\le9\forall x\)
Dấu '=' xảy ra khi x=-1
Bài 2:
a) Ta có: \(=25x^2-20x+7\)
\(=\left(5x\right)^2-2\cdot5x\cdot2+4+3\)
\(=\left(5x-2\right)^2+3>0\forall x\)
b) Ta có: \(B=9x^2-6xy+2y^2+1\)
\(=9x^2-6xy+y^2+y^2+1\)
\(=\left(3x-y\right)^2+y^2+1>0\forall x,y\)
c) Ta có: \(E=x^2-2x+y^2-4y+6\)
\(=x^2-2x+1+y^2-4y+4+1\)
\(=\left(x-1\right)^2+\left(y-2\right)^2+1>0\forall x,y\)