若2x2+2xy+y2-2x+1=0,则xy的值是_.

问题描述:

若2x2+2xy+y2-2x+1=0,则xy的值是______.

∵2x2+2xy+y2-2x+1=0,即(x+y)2+(x-1)2=0,

x+y=0
x−1=0
,解得
x=1
y=−1

∴xy=1×(-1)=-1.