a2+2a+b2 -2b+2=0,求a+b
问题描述:
a2+2a+b2 -2b+2=0,求a+b
a方+2a+b方 -2b+2=0,求a+b
答
a^2+2a+b^2-2b+2=0
(a^2+2a+1)+(b^2-2b+1)=0
(a+1)^2+(b-1)^2=0
则a=-1,b=1
所以a+b=-1+1=0