\(A=-\left(x^2+\frac{y^2}{4}+\frac{1}{4}-xy-x+\frac{y}{2}\right)-\frac{3}{4}\left(y^2-2y+1\right)+1\)
\(A=-\left(x-\frac{y}{2}-\frac{1}{2}\right)^2-\frac{3}{4}\left(y-1\right)^2+1\le1\)
\(\Rightarrow A_{max}=1\) khi \(\left\{{}\begin{matrix}x-\frac{y}{2}-\frac{1}{2}=0\\y-1=0\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x=1\\y=1\end{matrix}\right.\)