Ta có:
A = 2x2 + 2xy + y2 - 2x + 2y + 2
A = (x2 + 2xy + y2) + 2(x + y) + 1 + (x2 - 4x + 4) - 3
A = (x + y)2 + 2(x + y) + 1 + (x - 2)2 - 3
A = (x + y + 1)2 + (x - 2)2 - 3 \(\ge\)-3 \(\forall\)x
Dấu "=" xảy ra <=> \(\hept{\begin{cases}x+y+1=0\\x-2=0\end{cases}}\) <=> \(\hept{\begin{cases}y=-x-1\\x=2\end{cases}}\) <=> \(\hept{\begin{cases}y=-2-1=-3\\x=2\end{cases}}\)
Vậy MinA = -3 <=> x = 2 và y = -3
\(2x^2+2xy+y^2-2x+2y+\)\(2\)
\(=\left(x^2+y^2+1+2xy+2x+2y\right)+\left(x^2-4x+2\right)-1\)
\(=\left(x+y+1\right)^2+\left(x-2\right)^2-1\)
Ta thấy \(\left(x+y+1\right)^2\ge0\) \(\forall x,y\)
\(\left(x-2\right)^2\ge0\) \(\forall x\)
=> \(\left(x+y+1\right)^2+\left(x-2\right)^2\ge0\) \(\forall x,y\)
=> \(\left(x+y+1\right)^2+\left(x-2\right)^2-1\ge-1\)
hay \(A\ge-1\)
\(MinA=-1\)\(\Leftrightarrow\hept{\begin{cases}x+y+1=0\\x-2=0\end{cases}\Leftrightarrow\hept{\begin{cases}x=2\\y=-3\end{cases}}}\)