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 x<0x < 0 and equals x2x^2 when x≥0x \ge 0?

  1. x∣x∣x|x|
  2. x+∣x∣x + |x|
  3. 2x2−x∣x∣2x^2 - x|x|
  4. 14(x+∣x∣)2\dfrac{1}{4}(x + |x|)^2
  5. (x−∣x∣2)2\left(\dfrac{x - |x|}{2}\right)^2
Show detailed answer for question 1

Answer: D. 14(x+∣x∣)2\dfrac{1}{4}(x + |x|)^2

  1. Split absolute value into its two cases. By definition, ∣x∣=x|x| = x when x≥0x \ge 0, and ∣x∣=−x|x| = -x when x<0x < 0. Every answer choice can be tested by replacing ∣x∣|x| with the correct expression in each case.
  2. Case 1: x≥0x \ge 0, so ∣x∣=x|x| = x. The target is x2x^2.
    • (A) x⋅x=x2x \cdot x = x^2 ✓
    • (B) x+x=2xx + x = 2x ✗
    • (C) 2x2−x2=x22x^2 - x^2 = x^2 ✓
    • (D) 14(2x)2=14(4x2)=x2\frac{1}{4}(2x)^2 = \frac{1}{4}(4x^2) = x^2 ✓
    • (E) (x−x2)2=0\left(\frac{x - x}{2}\right)^2 = 0 ✗
    Only A, C, and D survive.
  3. Case 2: x<0x < 0, so ∣x∣=−x|x| = -x. The target is 0.
    • (A) x(−x)=−x2x(-x) = -x^2, which is negative, not 0 ✗
    • (C) 2x2−x(−x)=2x2+x2=3x22x^2 - x(-x) = 2x^2 + x^2 = 3x^2 ✗
    • (D) 14(x−x)2=14(0)2=0\frac{1}{4}(x - x)^2 = \frac{1}{4}(0)^2 = 0 ✓
    Only D gives both required results.
  4. Confirm with numbers. Try x=3x = 3: 14(3+3)2=14(36)=9=32\frac{1}{4}(3 + 3)^2 = \frac{1}{4}(36) = 9 = 3^2. Try x=−3x = -3: 14(−3+3)2=0\frac{1}{4}(-3 + 3)^2 = 0. Choice D works on both sides of zero.

Why the tempting choices fail: B, x+∣x∣x + |x|, does equal 0 for negative x, but for nonnegative x it equals 2x2x, not x2x^2. It is the right "switch" but the wrong output, and D fixes it by squaring and dividing by 4: (x+∣x∣2)2\left(\frac{x + |x|}{2}\right)^2. E is the mirror image of D: it equals x2x^2 for negative x and 0 for nonnegative x, the exact reverse of what the question asks.

GMAT takeaway: When a question involves ∣x∣|x| and specifies behavior for x<0x < 0 and x≥0x \ge 0, 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: x+∣x∣x + |x| is a switch

The expression x+∣x∣x + |x| is worth remembering. For negative x it cancels to 0, and for nonnegative x it doubles to 2x2x. That makes x+∣x∣2\frac{x + |x|}{2} 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:

(x+∣x∣2)2=14(x+∣x∣)2={x2,x≥00,x<0\left(\frac{x + |x|}{2}\right)^2 = \frac{1}{4}(x + |x|)^2 = \begin{cases} x^2, & x \ge 0 \\ 0, & x < 0 \end{cases}

Similarly, x−∣x∣2\frac{x - |x|}{2} 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

  1. Plug in one negative number first. With x=−1x = -1, 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.
  2. Then plug in one positive number. With x=2x = 2, the target is 4. B gives 4 and D gives 4, so avoid 2 as a tiebreaker. Use x=3x = 3 instead: the target is 9, B gives 6, and D gives 9. D is the answer.
  3. Watch out for coincidences. When two choices give the same value for a test number, as happened at x=2x = 2, try a different number before choosing. Values such as 0, 1, and 2 often make different expressions look equal.
MBA House next step

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.

Book a free evaluation

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, 14(x+∣x∣)2\frac{1}{4}(x + |x|)^2. When x is nonnegative, ∣x∣=x|x| = x, so the expression is 14(2x)2=x2\frac{1}{4}(2x)^2 = x^2. When x is negative, ∣x∣=−x|x| = -x, so the expression is 14(0)2=0\frac{1}{4}(0)^2 = 0.

Why is x + |x| wrong?

It does equal 0 for negative x, but for nonnegative x it equals 2x2x, not x2x^2. For example, at x=3x = 3 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 x2x^2 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.