If a and b are integers, and |a| > |b|, is a · |b| < a - b?
(1) a < 0
(2) ab >= 0
The solution given is too cumbersome.....I don't think I can ever do so much work in less than3-4 mins
a b a·|b| a-b Is a·|b| < a-b ?
-10 0 0 -10 No
-10 -5 -50 -5 Yes
-10 +5 -50 -15 Yes
a b a·|b| a-b Is a·|b| < a-b ?
10 5 50 5 No
-10 -5 50 -5 No
10 0 0 10 Yes
-10 0 0 -10 No
a b a·|b| a-b Is a·|b| < a-b ?
-10 -5 50 -5 No
-10 0 0 -10 No
a b a·|b| a-b Is a·|b| < a-b ?
-10 -5 -50 -5 Yes
-10 0 0 -10 No