Ta có : x2 + xy + y2 + x - y + 1 = 0
=> 2( x2 + xy + y2 + x - y + 1) = 0
=> 2x2 + 2xy + 2y2 + 2x - 2y + 2 = 0
=> x2 + 2xy + y2 + x2 + 2x + 1 + y2 - 2y + 1 = 0
=> ( x + y)2 + ( x + 1)2 + ( y - 1)2 = 0
Suy ra :
* x + y = 0 => x = -y
* x + 1 = 0 => x = -1
* y - 1 = 0 => y = 1
Từ đó , ta có :
M = ( x + y)30 + ( x + 2)12 + ( y - 1)2017
M = ( -y + y )30 + ( 2 - 1)12 + ( 1 - 1)2017
M = 1