a)x^2+5y^2+2x-4xy-10y+14
=x^2+2x-4xy+5y^2-10y+14
=x^2+2x(1-2y)+5y^2=10y+14
=x^2+2x(1-2y)+(1-2y)^2+5y^2-10xy-(1=2y)^2+14
=(x+1-2y)^2+5y^2-10y-(1-4y+4y^2)+14
=(x+1-2y)^2+5y^2-10y-1+4y-4y^2+14
=(x+1-2y)^2+y^2-6y+13
=(x+1-2y)^2+(y-3)^2+4
Vì....(đpcm)
b)5x^2+10y^2-6xy-4x-2y+3
=(x^2-6xy+9y^2)+(4x^2+1-4x)+(y^2-2y+1)+1
=(x-3y)^2+(2x-1)^2+(y-1)2+1
Vì....
(đpcm)