The full question
GMAT Official Practice Exam 1 · Quantitative Reasoning · Problem Solving
Question 1: Which of the following expressions equals 0 when x < 0 and equals x² when x ≥ 0?
Which of the following expressions equals 0 when and equals when ?
Show detailed answer for question 1
Answer: D.
- Split absolute value into its two cases. By definition, when , and when . Every answer choice can be tested by replacing with the correct expression in each case.
- Case 1: , so . The target is .
- (A) ✓
- (B) ✗
- (C) ✓
- (D) ✓
- (E) ✗
- Case 2: , so . The target is 0.
- (A) , which is negative, not 0 ✗
- (C) ✗
- (D) ✓
- Confirm with numbers. Try : . Try : . Choice D works on both sides of zero.
Why the tempting choices fail: B, , does equal 0 for negative x, but for nonnegative x it equals , not . It is the right "switch" but the wrong output, and D fixes it by squaring and dividing by 4: . E is the mirror image of D: it equals for negative x and 0 for nonnegative x, the exact reverse of what the question asks.
GMAT takeaway: When a question involves and specifies behavior for and , test each case separately. Use the case that eliminates the most choices first, and pick one positive and one negative number, such as 3 and −3, to confirm the result in seconds.
The key idea: is a switch
The expression is worth remembering. For negative x it cancels to 0, and for nonnegative x it doubles to . That makes a clean "positive part" of x: it equals x when x is nonnegative and 0 otherwise. Squaring that positive part gives exactly the behavior the question wants:
Similarly, is the "negative part" of x: it equals 0 when x is nonnegative and x when x is negative. That is why choice E is the reverse of the correct answer.
A fast test-day approach
- Plug in one negative number first. With , the target is 0. A gives −1, B gives 0, C gives 3, D gives 0, and E gives 1. Only B and D remain.
- Then plug in one positive number. With , the target is 4. B gives 4 and D gives 4, so avoid 2 as a tiebreaker. Use instead: the target is 9, B gives 6, and D gives 9. D is the answer.
- Watch out for coincidences. When two choices give the same value for a test number, as happened at , try a different number before choosing. Values such as 0, 1, and 2 often make different expressions look equal.
Did you miss this one on a practice exam? A missed absolute value question usually points to a broader habit, such as testing only one case or relying on a single plug-in number. MBA House tutors review your official practice exam errors and turn them into a focused study plan.
More GMAT Quant practice
For a formula refresher, see the inequalities and absolute value section of our GMAT Quant cheat sheet, then try the matching question in our GMAT Quant topic practice set. For more solved problems, work through the 9 easy Official Guide 2026–2027 Quant questions, the probability overlap question, and our GMAT Quant questions explained video set. If you are working through official mock exams, our guide to choosing GMAT practice tests explains how to use them, and GMAT score not improving? shows how to keep an error log that prevents repeat mistakes.
For official exam information, see GMAC's Quantitative Reasoning prep page.
FAQs about this GMAT absolute value question
What is the answer to the question about which expression equals 0 when x < 0 and x² when x ≥ 0?
The answer is D, . When x is nonnegative, , so the expression is . When x is negative, , so the expression is .
Why is x + |x| wrong?
It does equal 0 for negative x, but for nonnegative x it equals , not . For example, at it gives 6 instead of 9.
Why is the last choice, ((x − |x|)/2)², wrong?
It does the reverse of what the question asks. It equals 0 when x is nonnegative and when x is negative.
Where does this question come from?
It appears in GMAT Official Practice Exam 1 in the Quantitative Reasoning section. The question and answer choices are reproduced for teaching purposes. The step-by-step solution and strategy are original MBA House explanations.

