mendelay
Is |x| + |x-1| = 1?
(1) x ≥ 0
(2) x ≤ 1
|a| = the DISTANCE between a and 0
|a-b| = the DISTANCE between a and b
Thus:
|x| = the distance between x and 0
|x-1| = the distance between x and 1
Is |x| + |x-1| = 1?
Question stem rephrased:
Is the sum of the two distances equal to 1?
Draw a number line showing 0 and 1:
0---------------------1
If x is at either endpoint or between the two endpoints, the sum of the two distances will be EQUAL TO 1:
0
<------>x
<------>1
Here, |x| + |x-1| = (distance between x and 0) + (distance between x and 1) = blue distance + green distance = 1
By extension, if x is BEYOND either endpoint -- if x is to the left of 0 or to the right of 1 -- then the sum of the two distances will be GREATER THAN 1.
Thus, the sum of the two distances will be equal to 1 if x is not beyond either endpoint.
Only when the two statements are combined is it guaranteed that x will not be beyond either endpoint.