\(A=x^2+y^2-xy-x+y+1\)
\(12A=12x^2+12y^2-12xy-12x+12y+12\)
\(=3\left(x^2+2xy+y^2\right)+9x^2+9y^2+4-18xy-12x+12y+8\)
\(=3\left(x+y\right)^2+\left(3x-3y-2\right)^2+8\ge8\)
Dấu \(=\)khi \(\hept{\begin{cases}x+y=0\\3x-3y-2=0\end{cases}}\Leftrightarrow\hept{\begin{cases}x=\frac{1}{3}\\y=-\frac{1}{3}\end{cases}}\)
Vậy \(minA=\frac{2}{3}\).