已知x,y满足等式2x+x2+x2y2+2=2xy,那么x+y的值为(  ) A.-1 B.-2 C.2 D.1

问题描述:

已知x,y满足等式2x+x2+x2y2+2=2xy,那么x+y的值为(  )
A. -1
B. -2
C. 2
D. 1

变形得:x2+2x+1+x2y2-2xy+1=0,
∴(x+1)2+(xy-1)2=0,

x+1=0
xy−1=0

解得:
x=−1
y=−1

∴x+y=-2,
故选B.