Bài 1:
\(A=\left(x^2+2x+1\right)+1=\left(x+1\right)^2+1\ge1\)
\(A_{min}=1\) khi \(x+1=0\Leftrightarrow x=-1\)
\(B=\left(x-3\right)^2\ge0\)
\(B_{min}=0\) khi \(x=3\)
\(C=2\left(x^2-2.\frac{3}{2}x+\frac{9}{4}\right)+\frac{9}{2}=2\left(x-\frac{3}{2}\right)^2+\frac{9}{2}\ge\frac{9}{2}\)
\(C_{min}=\frac{9}{2}\) khi \(x=\frac{3}{2}\)
\(D=\left(x^2-2.\frac{1}{2}x+\frac{1}{4}\right)+\left(y^2+6y+9\right)+\frac{3}{4}\)
\(D=\left(x-\frac{1}{2}\right)^2+\left(y+3\right)^2+\frac{3}{4}\ge\frac{3}{4}\)
\(D_{min}=\frac{3}{4}\) khi \(\left\{{}\begin{matrix}x=\frac{1}{2}\\y=-3\end{matrix}\right.\)
Bài 2:
\(A=-\left(x^2-4x+4\right)-1=-\left(x-2\right)^2-1\le-1\)
\(A_{max}=-1\) khi \(x=2\)
\(B=-\left(x^2-4x+4\right)+7=-\left(x-2\right)^2+7\le7\)
\(B_{max}=7\) khi \(x=2\)
\(C=-\left(x^2-2.\frac{1}{2}x+\frac{1}{4}\right)+\frac{1}{4}=-\left(x-\frac{1}{2}\right)^2+\frac{1}{4}\le\frac{1}{4}\)
\(C_{max}=\frac{1}{4}\) khi \(x=\frac{1}{2}\)
\(D=-\left(x^2-2x+1\right)-\left(y^2-4y+4\right)+11\)
\(D=-\left(x-1\right)^2-\left(y-2\right)^2+11\le11\)
\(D_{max}=11\) khi \(\left\{{}\begin{matrix}x=1\\y=2\end{matrix}\right.\)
\(E=-\frac{1}{2}\left(4x^2-4x+1\right)-\frac{9}{2}=-\frac{1}{2}\left(2x-1\right)^2-\frac{9}{2}\le-\frac{9}{2}\)
\(E_{max}=-\frac{9}{2}\) khi \(x=\frac{1}{2}\)