问题
解答题
若|a+1|+|b+2|=0,求:(1)a+b-ab;(2)
|
答案
因为|a+1|+|b+2|=0,且|a+1|≥0,|b+2|≥0,
∴a+1=0,b+2=0,
∴a=-1,b=-2.
(1)a+b-ab=-1+(-2)-(-1)×(-2)=-3-2=-5;
(2)
+b a
=a b
+-2 -1
=2+-1 -2
=1 2
.5 2
若|a+1|+|b+2|=0,求:(1)a+b-ab;(2)
|
因为|a+1|+|b+2|=0,且|a+1|≥0,|b+2|≥0,
∴a+1=0,b+2=0,
∴a=-1,b=-2.
(1)a+b-ab=-1+(-2)-(-1)×(-2)=-3-2=-5;
(2)
+b a
=a b
+-2 -1
=2+-1 -2
=1 2
.5 2