Bunuel
If \(|x-y|=y-x\), \(x \ne y\), and \(y<0\), what is the value of \(\frac{x}{|x|}+\frac{|-y|}{-y}+\frac{x-y}{|y-x|}+\frac{|xy|}{xy}\)?
A. -2
B. 0
C. 1
D. 2
E. 4
⚠️ Important: GMAT Club does not allow AI-generated posts. AI-generated solutions are not eligible for kudos, and users who post them may face moderation action, including a ban.
First, derive all given info from the question stem
|x-y| = y-x => this will be the case if the value inside the mod gives a
negative answer, which means
x-y => is negative (Also, |x|<|y| if x is positive or x<y if x is negative)
Further, y<0 gives y as negative; now, if y is negative for the mod to be negative, x is less than y. We can have 2 cases for the above to stand
Case 1: x & y both negative
inputting values so in the equation:
x/|x| = -1
|-y|/-y = 1 (Since y is negative and the negative of a negative number will give a positive number)
x-y/|y-x|= -1 (we know that, from our question analysis)
xy/|xy| = 1 (since both are negative)
Therefore, the sum of all is 0
Case 2: x>0 but absolute value is less than y
x/|x| = 1 (x is positive)
|-y|/-y = 1 (y is negative, so same as above)
x-y/|y-x| = -1 (the value of the numerator will be negative and the denominator is the same but positive)
xy/|xy| = -1 (since they both have opposite signs)
Therefore, the sum of all is 0
In either case, we get the same answer;
hence option B