B=-3x2-5y2+2x+7y-23
\(=-3x^2-5y^2+2x-7y-\frac{1}{3}-\frac{49}{20}-\frac{1213}{60}\)
\(=-3x^2+2x-\frac{1}{3}-5y^2+7y-\frac{49}{20}-\frac{1213}{60}\)
\(=-3\left(x^2-2\cdot\frac{1}{3}\cdot x+\frac{1}{3}^2\right)-5\left(y^2-2\cdot\frac{7}{10}\cdot y+y^2\right)-\frac{1213}{60}\)
\(=-3\left(x-\frac{1}{3}\right)^2-5\left(y-\frac{7}{10}\right)^2-\frac{1213}{60}\le0-\frac{1213}{60}\)
\(\Rightarrow B\le-\frac{1213}{60}\)
Dấu = khi x=1/3; y=7/10
Vậy .....