A=x2+2y2+2xy-2x-6y+2017
=x2+xy-x+y2+xy-y-x-y+1+y2-4y+4+2012
=(x2+xy-x)+(y2+xy-y)-(x+y-1)+(y2-4y+4)+2012
=x(x+y-1)+y(y+x-1)-(x+y-1)+(y-2)2+2012
=(x+y-1)(x+y-1)+(y-2)2+2012
A=(x+y-1)2+(y-2)2+2012
=>MinA=2012 khi
x+y-1=0
=>x+y=1 (1)
y-2=0
=>y=2
thay y=2 vào (1)
x+2=1
=>x=1-2
=>x=-1
vậy..........