X2 + 4XY + 5Y2-2Y + 1 = 0
(X + 2Y)^ 2 +(Y-1)^ 2 = 0
因为方块数大于或等于0,现在两个平方和是0
所以(X + 2Y)^ 2 = 0,和(Y-1)^ 2 = 0
这是X = -2Y,Y = 1
所以X = -2,Y = 1
X2 + 4XY + 5Y2-2Y + 1 = 0
(X + 2Y)^ 2 +(Y-1)^ 2 = 0
因为方块数大于或等于0,现在两个平方和是0
所以(X + 2Y)^ 2 = 0,和(Y-1)^ 2 = 0
这是X = -2Y,Y = 1
所以X = -2,Y = 1