a方+b方+4a+5-2b=0,求a-b分之a+b

问题描述:

a方+b方+4a+5-2b=0,求a-b分之a+b

a^2+b^2+4a+5-2b=0
a^2+4a+4+b^2-2b+1=0
(a+2)^2+(b-1)^2=0
所以,a=-2,b=1
(a+b)/(a-b)
=(-2+1)/(-2-1)
=1/3