a^2+b^2-ab-3b+3=0求a+b

问题描述:

a^2+b^2-ab-3b+3=0求a+b

a^2+b^2-ab-3b+3=0
(a²-ab+¼b²)+(¾b²-3b+3)=0
(a-½b)²+¾(b²-4b+4)=0
(a-½b)²+¾(b-2)²=0
a-½b=0,b-2=0
a=1,b=2
a+b=1+2=3