Last visit was: 03 May 2026, 21:25 It is currently 03 May 2026, 21:25
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 03 May 2026
Posts: 110,029
Own Kudos:
Given Kudos: 105,995
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 110,029
Kudos: 812,737
 [16]
2
Kudos
Add Kudos
14
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 03 May 2026
Posts: 110,029
Own Kudos:
812,737
 [3]
Given Kudos: 105,995
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 110,029
Kudos: 812,737
 [3]
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
User avatar
Ipsita!
Joined: 05 Nov 2023
Last visit: 27 Jul 2024
Posts: 22
Own Kudos:
Given Kudos: 1
Posts: 22
Kudos: 8
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 03 May 2026
Posts: 110,029
Own Kudos:
Given Kudos: 105,995
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 110,029
Kudos: 812,737
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Ipsita!
Why are those out of range? I don't understand the solution. Can someone explain this to me?

The values are considered "out of range" because they don't fall within the specific intervals set for each case. For example, when considering x < 2, any solution greater than 2 doesn't fit this condition, making it invalid for that range. Similarly, for 2 ≤ x < 4, a solution of x = 4 or more is outside this range.

You can check alternative solutions here: https://gmatclub.com/forum/12-days-of-c ... 23259.html

Also, I suggest to brush-up basics on absolute value:

10. Absolute Value



For more check Ultimate GMAT Quantitative Megathread



Hope it helps.
User avatar
wolfof6thstreet
Joined: 25 Jan 2024
Last visit: 01 May 2025
Posts: 24
Own Kudos:
Given Kudos: 40
Posts: 24
Kudos: 26
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Was also able to solve by squaring both sides and simplifying to -2 |x-4| |x-6| = (x-4) (x-12) and then squaring both sides once again to get (x-4)^2 x (4(x-6)^2 - (x-12)^2) = 0 which can further be simplified to get (X-4)(3x-24)(x)=0

This leads to 3 answers of 0,4, and 8. Plugging in the answers into the original question show only that 4 and 8 work.

Thus (4+8)/2 = 6

Would appreciate insight on when to use the conditional approach (ex. When 0<x<2 and solving and doing so for every range of conditions vs. squaring as I did).
User avatar
phmahi1997
Joined: 09 Oct 2019
Last visit: 14 Nov 2025
Posts: 107
Own Kudos:
Given Kudos: 42
Location: Bangladesh
Concentration: Technology, General Management
GMAT Focus 1: 515 Q79 V75 DI73
GPA: 2.61
GMAT Focus 1: 515 Q79 V75 DI73
Posts: 107
Kudos: 23
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful.
User avatar
naoliden
Joined: 30 Jun 2024
Last visit: 17 Apr 2025
Posts: 5
Own Kudos:
Given Kudos: 16
Posts: 5
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful. It ́s an good question, just not possible to do in the right time.
User avatar
siddhantvarma
Joined: 12 May 2024
Last visit: 12 Jan 2026
Posts: 534
Own Kudos:
Given Kudos: 197
GMAT Focus 1: 655 Q87 V85 DI76
GMAT Focus 1: 655 Q87 V85 DI76
Posts: 534
Kudos: 820
Kudos
Add Kudos
Bookmarks
Bookmark this Post
wolfof6thstreet
Was also able to solve by squaring both sides and simplifying to -2 |x-4| |x-6| = (x-4) (x-12) and then squaring both sides once again to get (x-4)^2 x (4(x-6)^2 - (x-12)^2) = 0 which can further be simplified to get (X-4)(3x-24)(x)=0

This leads to 3 answers of 0,4, and 8. Plugging in the answers into the original question show only that 4 and 8 work.

Thus (4+8)/2 = 6

Would appreciate insight on when to use the conditional approach (ex. When 0<x<2 and solving and doing so for every range of conditions vs. squaring as I did).
Bunuel KarishmaB can this approach have a drawback? Would you folks recommend this? I understand Bunuel's solution, but was also wondering if there's a quicker way to tackle a question like this in the exam.
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 29 Apr 2026
Posts: 16,448
Own Kudos:
Given Kudos: 485
Location: Pune, India
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,448
Kudos: 79,488
Kudos
Add Kudos
Bookmarks
Bookmark this Post
siddhantvarma
wolfof6thstreet
Was also able to solve by squaring both sides and simplifying to -2 |x-4| |x-6| = (x-4) (x-12) and then squaring both sides once again to get (x-4)^2 x (4(x-6)^2 - (x-12)^2) = 0 which can further be simplified to get (X-4)(3x-24)(x)=0

This leads to 3 answers of 0,4, and 8. Plugging in the answers into the original question show only that 4 and 8 work.

Thus (4+8)/2 = 6

Would appreciate insight on when to use the conditional approach (ex. When 0<x<2 and solving and doing so for every range of conditions vs. squaring as I did).
Bunuel KarishmaB can this approach have a drawback? Would you folks recommend this? I understand Bunuel's solution, but was also wondering if there's a quicker way to tackle a question like this in the exam.

Squaring both sides is fine and it is most helpful when you have absolute values on both sides such as |x-4| = |2x + 3| since squaring will help you get rid of the mod. But in this question I would prefer the distance method instead. It will take much less time compared to all the algebra involved with squaring.

Discussed here: https://youtu.be/oqVfKQBcnrs
User avatar
karan9446
Joined: 24 Feb 2023
Last visit: 02 May 2026
Posts: 2
Own Kudos:
1
 [1]
Given Kudos: 251
Location: India
Posts: 2
Kudos: 1
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi Bunuel

Why have we included ≤ sign instead of < in every range of x ?

Bunuel
Official Solution:

What is the median of all values of \(x\) which satisfy \(|x − 2| = |x − 4| + |x − 6|\)?

A. 2
B. 4
C. 5
D. 6
E. 8


The critical points (aka key points or transition points) are 2, 4, and 6 (the values of \(x\) for which the expressions in the absolute values become 0).

So, we should consider the following four ranges:

If \(x < 2\), then:

\(x - 2 < 0\), and thus \(|x - 2| = -(x - 2)\);

\(x - 4 < 0\), and thus \(|x - 4| = -(x - 4)\);

\(x - 6 < 0\), and thus \(|x - 6| = -(x - 6)\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(-(x − 2) = -(x − 4) - (x − 6)\). This gives \(x = 8\). Since this value is out of the range we consider, then for this range the given equation does not have a solution.

If \(2 \leq x < 4\), then:

\(x - 2 \geq 0\), and thus \(x - 2| = x - 2\);

\(x - 4 < 0\), and thus \(x - 4| = -(x - 4)\);

\(x - 6 < 0\), and thus \(|x - 6| = -(x - 6)\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(x − 2 = -(x − 4) - (x − 6)\). This gives \(x = 4\). Since this value is out of the range we consider, then for this range the given equation does not have a solution.

If \(4 \leq x < 6\), then:

\(x - 2 \geq 0\), and thus \(|x - 2| = x - 2\);

\(x - 4 \geq 0\), and thus \(|x - 4| = x - 4\);

\(x - 6 < 0\), and thus \(|x - 6| = -(x - 6)\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(x − 2 = x − 4 - (x − 6)\) This gives \(x = 4\). Since this value is within the range we consider, then \(x = 4\) is a valid solution.

If \( \geq 6\), then:

\(x - 2 \geq 0\), and thus \(|x - 2| = x - 2\);

\(x - 4 \geq 0\), and thus \(|x - 4| = x - 4\);

\(x - 6 \geq 0\), and thus \(|x - 6| = x - 6\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(x − 2 = x − 4 + x − 6\). This gives \(x = 8\). Since this value is within the range we consider, then \(x = 8\) is a valid solution.

Therefore, two values satisfy \(|x − 2| = |x − 4| + |x − 6|\), 4 and 8. The median of these values is \(\frac{4 + 8}{2} = 6\).


Answer: D
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 03 May 2026
Posts: 110,029
Own Kudos:
Given Kudos: 105,995
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 110,029
Kudos: 812,737
Kudos
Add Kudos
Bookmarks
Bookmark this Post
karan9446
Hi Bunuel

Why have we included ≤ sign instead of < in every range of x ?

Bunuel
Official Solution:

What is the median of all values of \(x\) which satisfy \(|x − 2| = |x − 4| + |x − 6|\)?

A. 2
B. 4
C. 5
D. 6
E. 8


The critical points (aka key points or transition points) are 2, 4, and 6 (the values of \(x\) for which the expressions in the absolute values become 0).

So, we should consider the following four ranges:

If \(x < 2\), then:

\(x - 2 < 0\), and thus \(|x - 2| = -(x - 2)\);

\(x - 4 < 0\), and thus \(|x - 4| = -(x - 4)\);

\(x - 6 < 0\), and thus \(|x - 6| = -(x - 6)\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(-(x − 2) = -(x − 4) - (x − 6)\). This gives \(x = 8\). Since this value is out of the range we consider, then for this range the given equation does not have a solution.

If \(2 \leq x < 4\), then:

\(x - 2 \geq 0\), and thus \(x - 2| = x - 2\);

\(x - 4 < 0\), and thus \(x - 4| = -(x - 4)\);

\(x - 6 < 0\), and thus \(|x - 6| = -(x - 6)\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(x − 2 = -(x − 4) - (x − 6)\). This gives \(x = 4\). Since this value is out of the range we consider, then for this range the given equation does not have a solution.

If \(4 \leq x < 6\), then:

\(x - 2 \geq 0\), and thus \(|x - 2| = x - 2\);

\(x - 4 \geq 0\), and thus \(|x - 4| = x - 4\);

\(x - 6 < 0\), and thus \(|x - 6| = -(x - 6)\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(x − 2 = x − 4 - (x − 6)\) This gives \(x = 4\). Since this value is within the range we consider, then \(x = 4\) is a valid solution.

If \( \geq 6\), then:

\(x - 2 \geq 0\), and thus \(|x - 2| = x - 2\);

\(x - 4 \geq 0\), and thus \(|x - 4| = x - 4\);

\(x - 6 \geq 0\), and thus \(|x - 6| = x - 6\).

Hence, in this range \(|x − 2| = |x − 4| + |x − 6|\) becomes \(x − 2 = x − 4 + x − 6\). This gives \(x = 8\). Since this value is within the range we consider, then \(x = 8\) is a valid solution.

Therefore, two values satisfy \(|x − 2| = |x − 4| + |x − 6|\), 4 and 8. The median of these values is \(\frac{4 + 8}{2} = 6\).


Answer: D

It's important to include each critical point (2, 4, 6) exactly once across the ranges to make sure all possible transitions in the absolute value expressions are accounted for. But it doesn’t really matter whether you use ≤ or < at a specific boundary, as long as each critical point is covered in exactly one range, the analysis will work correctly. As you can see in the solution, each point appears in just one range, which is what matters.
User avatar
RicharddelPino
Joined: 30 Sep 2024
Last visit: 30 Apr 2026
Posts: 19
Own Kudos:
Posts: 19
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I tested values using the help of the answers, and the possible values of x were 4 and 8. So , the Median is (8+4)/2=6. This approach takes 2 minutes.
User avatar
harshitasinghal
Joined: 25 Apr 2024
Last visit: 03 May 2026
Posts: 22
Own Kudos:
Given Kudos: 5
Location: India
Products:
Posts: 22
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi Bunuel

Why have we included ??? sign instead of < in every range of x ?
As if we put equal sign, the value turns zero and the equation becoming undefined
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 03 May 2026
Posts: 110,029
Own Kudos:
Given Kudos: 105,995
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 110,029
Kudos: 812,737
Kudos
Add Kudos
Bookmarks
Bookmark this Post
harshitasinghal
Hi Bunuel

Why have we included ??? sign instead of < in every range of x ?
As if we put equal sign, the value turns zero and the equation becoming undefined
Because absolute value at 0 is defined (|0| = 0), the equation is not undefined at those points. That’s why the “=” is included in the ranges.
User avatar
mj12121212
Joined: 06 Jul 2025
Last visit: 16 Jan 2026
Posts: 9
Given Kudos: 518
Posts: 9
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful.
Moderators:
Math Expert
110029 posts
Founder
43219 posts