A=−2x2−10y2+4xy+4x+4y+2016A=−2x2−10y2+4xy+4x+4y+2016
=−2.(x2+5y2−4xy−4x−4y)+2016=−2.(x2+5y2−4xy−4x−4y)+2016
=−2.(x2+4y2+4−4xy−4x+8y+y2−12y+36)+2.36+2016=−2.(x2+4y2+4−4xy−4x+8y+y2−12y+36)+2.36+2016
=−2.[(x−2y−2)2+(y−6)2]+2088=−2.[(x−2y−2)2+(y−6)2]+2088
Ta có: (x−2y−2)2+(y−6)2≥0(x−2y−2)2+(y−6)2≥0
⇒−2.[(x−2y−2)2+(y−6)2]≤0⇒−2.[(x−2y−2)2+(y−6)2]≤0
⇒−2.[(x−2y−2)2+(y−6)2]+2088≤2088⇒−2.[(x−2y−2)2+(y−6)2]+2088≤2088
⇒A≤2088⇒A≤2088
Vậy giá trị lớn nhất của A=2088A=2088 khi: \hept{x−2y−2=0y=6⇒\hept{x=2y+2y=6⇒\hept{x=14y=6\hept{x−2y−2=0y=6⇒\hept{x=2y+2y=6⇒\hept{x=14y=6
Thu gọn
\(A=-2\left(x^2+2xy+y^2\right)+4\left(x+y\right)-2-8y^2+2018\\ A=-2\left[\left(x+y\right)^2-2\left(x+y\right)+1\right]-8y^2+2018\\ A=-2\left(x+y-1\right)^2-8y^2+2018\le2018\\ A_{max}=2018\Leftrightarrow\left\{{}\begin{matrix}x+y=1\\y=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=1\\y=0\end{matrix}\right.\)