\(A=x^2+2y^2-2xy+4x-6y+6\)
\(=\left(x^2-2xy+y^2\right)+\left(x^2+4x+4\right)+\left(y^2-6y+9\right)-7\)
\(=\left(x-y\right)^2+\left(x+2\right)^2+\left(y-3\right)^2-7\)
Đề hình như có gì đó không đúng
Ta có: \(A=x^2+2y^2-2xy+4x-6y+6=\left(x^2-2xy+y^2\right)\) \(+4\left(x-y\right)+4+y^2-2y+1+1=\left[\left(x-y\right)^2+4\left(x-y\right)+4\right]\)\(+\left(y-1\right)^2+1=\left(x-y+2\right)^2+\left(y-1\right)^2+1\)
Ta có: \(\left(x-y+2\right)^2\ge0\forall x,y\); \(\left(y-1\right)^2\ge0\forall y\)nên \(\left(x-y+2\right)^2+\left(y-1\right)^2+1>0\forall x,y\)
Vậy \(A=x^2+2y^2-2xy+4x-6y+6>0\forall x,y\)(đpcm)