A = -x2 - 3y2 - 2xy + 10x + 14y - 18
A = -x2 - y2 -25 + 10x +10y -2xy -2y2 + 4y -2 + 9
A = -(x2 + y2 + ( -5 )2 - 10x - 10y + 2xy ) - 2 (y2 - 2y + 1 ) + 9
A = -( x + y - 5 )2 - 2 ( y - 1 )2 + 9
-( x + y - 5 )2 \(\le\)0 ; - 2 ( y - 1 )2 \(\le\)0
\(\Rightarrow\)A \(\le\)0 + 0 + 9 = 9
Dấu " = " xảy ra \(\Leftrightarrow\)\(\hept{\begin{cases}x+y-5=0\\y-1=0\end{cases}\Rightarrow\hept{\begin{cases}x=4\\y=1\end{cases}}}\)