\(A=-x^2+2xy-4y^2+2x+10y-3\)
\(=-x^2+2xy-y^2+2x-2y-1-3y^2+12y-12+10\)
\(=-\left(x^2-2xy+y^2-2x+2y+1\right)-3\left(y^2-4y+4\right)+10\)
\(=-\left(x-y-1\right)^2-3\left(y-2\right)^2+10< =10\)
Dấu '=' xảy ra khi \(\left\{{}\begin{matrix}x-y-1=0\\y-2=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}y=2\\x=y+1=3\end{matrix}\right.\)
\(B=-4x^2-5y^2+8xy+10y+12\)
\(=-4x^2+8xy-4y^2-y^2+10y-25+37\)
\(=-4\left(x^2-2xy+y^2\right)-\left(y^2-10y+25\right)+37\)
\(=-4\left(x-y\right)^2-\left(y-5\right)^2+37< =37\)
Dấu '=' xảy ra khi \(\left\{{}\begin{matrix}x-y=0\\y-5=0\end{matrix}\right.\)
=>x=y=5