Bài 1: \(A=2x^2-8x=2\left(x^2-4x\right)\)
\(=2\left(x^2-4x+4\right)-8=2\left(x-2\right)^2-8\ge-8\)
Vậy MinA= -8 \(\Leftrightarrow\left(x-2\right)^2=0\Leftrightarrow x=2\)
\(B=3x^2-3x=3\left(x^2-x\right)=3\left(x^2-x+\dfrac{1}{4}\right)-\dfrac{3}{4}\)
\(=3\left(x-\dfrac{1}{2}\right)^2-\dfrac{3}{4}\ge-\dfrac{3}{4}\)
Vậy \(Min_B=-\dfrac{3}{4}\Leftrightarrow\left(x-\dfrac{1}{2}\right)^2=0\Leftrightarrow x=\dfrac{1}{2}\)
\(C=x^2+y^2-2x+4y+7=\left(x^2-2x+1\right)+\left(y^2+4y+4\right)+2\)
\(=\left(x-1\right)^2+\left(y+2\right)^2+2\ge2\)
Vậy \(Min_C=2\Leftrightarrow x=1;y=-2\)
\(D=x^2+4y^2+x+4y+2=\left(x^2+x+\dfrac{1}{4}\right)+\left(4y^2+4y+1\right)+\dfrac{3}{4}\)
\(=\left(x+\dfrac{1}{2}\right)^2+\left(2y+1\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\)
Vậy \(Min_D=\dfrac{3}{4}\Leftrightarrow x=y=-\dfrac{1}{2}\)
Bài 2: \(A=x-x^2=-\left(x^2-x\right)=-\left(x^2-x+\dfrac{1}{4}\right)+\dfrac{1}{4}\)
\(=-\left(x-\dfrac{1}{2}\right)^2+\dfrac{1}{4}\le\dfrac{1}{4}\)
Vậy \(Max_A=\dfrac{1}{4}\Leftrightarrow x=\dfrac{1}{2}\)
\(B=3x-2x^2=-2\left(x^2-\dfrac{3}{2}x\right)\)
\(=-2\left(x^2-\dfrac{3}{2}x+\dfrac{9}{16}\right)+\dfrac{9}{8}\)
\(=-2\left(x-\dfrac{3}{4}\right)^2+\dfrac{9}{8}\le\dfrac{9}{8}\)
Vậy \(Max_B=\dfrac{9}{8}\Leftrightarrow x=\dfrac{3}{4}\)
\(C=2x-2x^2-3=-2\left(x^2-x+\dfrac{3}{2}\right)\)
\(=-2\left(x^2-x+\dfrac{1}{4}+\dfrac{5}{4}\right)=-2\left(x-\dfrac{1}{2}\right)^2-\dfrac{5}{2}\le-\dfrac{5}{2}\)
Vậy \(Max_C=-\dfrac{5}{2}\Leftrightarrow x=\dfrac{1}{2}\)