2x2 + 2y2 + 3xy - x + y + 1 = 0
2x2 + 2y2 + 4xy - xy - x + y + 1 = 0
(2x2 + 2y2 + 4xy) + (-xy - x) + (y + 1) = 0
2(x + y)2 - x(y + 1) + (y + 1) = 0
2(x + y)2 + (y + 1)(1 - x) = 0
Do (x + y)2 \(\ge0\)
\(\Rightarrow\) 2(x + y)2 \(\ge0\)
\(\Rightarrow\) 2(x + y)2 + (y + 1)(1 - x) = 0 \(\Leftrightarrow\) (y + 1)(1 - x) = 0
\(\Rightarrow y+1=0;1-x=0\)
*) y + 1 = 0
y = -1
*) 1 - x = 0
x = 1
Với x = 1; y = -1, ta có:
B = [1 + (-1)]2018 + (1 - 2)2018 + (-1 - 1)2018
= 1 + 22018