Algebra, Equations & Number Patterns

Your answer
Answer & solution
Official answer: B
1. Split into the two possible orderings because of the absolute value. If x≥y, |x−y|=x−y.
2. Then ((x+y)−(x−y))/2=2y/2=y, which is the smaller value. If x<y, |x−y|=y−x, giving ((x+y)−(y−x))/2=x.
3. Both cases return min(x,y), including equality where either value is the same. Thus B. A quick check x=2,y=5 gives (7−3)/2=2.