Given: y = |x| + xRezinka wrote:If y is an integer and y = |x| + x, is y=0?
(1) x<0
(2) y<1
Therefore,
- 1. If x = 0 => |x| = 0 => y = 0
2. If x > 0 => |x| = x => y = (x + x) = 2x > 0
3. If x < 0 => |x| = -x => y = (-x + x) = 0
Statement 2: y < 1
Note that from above analysis y can never be negative.
Now there is only one non-negative integer less than 1, which is zero.
Thus y = 0, because y is declared as an integer.
Sufficient
The correct answer is D.
Note: You cannot take take x = 0.4 as that doesn't satisfies the fact that y is an integer. You should choose the value of x accordingly.












