C = 2x^2 + y^2 + 2xy - 4x - 2016
C = (x^2 + 2xy + y^2) + (x^2 - 4x + 4) - 2020
C = (x + y)^2 + (x - 2)^2 - 2020
(x+y)^2 > 0; (x - 2)^2 > 0
C > -2020
dấu "=" xảy ra khi x + y = 0 và x - 2 = 0
<=> x = 2; y = -2
\(x^2+2\ge2\Rightarrow\frac{6}{x^2+2}\le\frac{6}{2}=3\)
Vay Max D=3, dau = xay ra khi x=0