Last visit was: 24 Apr 2026, 22:39 It is currently 24 Apr 2026, 22:39
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: 24 Apr 2026
Posts: 109,818
Own Kudos:
811,094
 [6]
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
 [6]
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
r_putra_rp
Joined: 03 May 2023
Last visit: 16 Jul 2024
Posts: 22
Own Kudos:
6
 [1]
Location: Indonesia
Schools: Sloan '26
GRE 1: Q166 V163
GPA: 3.01
Schools: Sloan '26
GRE 1: Q166 V163
Posts: 22
Kudos: 6
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
811,094
 [1]
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
r_putra_rp
Hi Bunuel

Why don't we consider the negative part of the absolute?
\(-(x^2-x+1) = 2x-1\)

Thanks!

|a| = -a, when a <= 0.

However, in this question x^2 - x + 1 is never negative, thus |x^2 - x + 1| = x^2 - x + 1 only.
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
Aakash7
Joined: 07 Sep 2023
Last visit: 04 Feb 2026
Posts: 22
Own Kudos:
Given Kudos: 69
Location: India
Schools: HEC Sept '26
GMAT Focus 1: 665 Q87 V81 DI81
GPA: 3.46
Schools: HEC Sept '26
GMAT Focus 1: 665 Q87 V81 DI81
Posts: 22
Kudos: 18
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Given: |x^2 -x+1| = 2x-1
The LHS will always be positive. Notice that for x<0and x=0, the RHS becomes negative which is not possible.
Hence, 2x-1 > 0
=> x>1/2 . In other words, x is positive

x^2 - x + 1 = 2x - 1
Solving quadratic equation, we get x=1 or x=2 (for x>1/2)
Therefore, sum of possible values of x is 1+2 = 3 Ans.

Bunuel - Please let me know if there are any flaws in this solution/ approach. Thanks!
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Aakash7
Given: |x^2 -x+1| = 2x-1
The LHS will always be positive. Notice that for x<0and x=0, the RHS becomes negative which is not possible.
Hence, 2x-1 > 0
=> x>1/2 . In other words, x is positive

x^2 - x + 1 = 2x - 1
Solving quadratic equation, we get x=1 or x=2 (for x>1/2)
Therefore, sum of possible values of x is 1+2 = 3 Ans.

Bunuel - Please let me know if there are any flaws in this solution/ approach. Thanks!

Most of your solution is correct, except for one thing.

When you get x ≥ 1/2, it does not automatically mean that the expression inside the modulus is positive and will come out of the modulus with a + sign. We should have checked whether x^2 - x + 1 is positive for x ≥ 1/2 (and in fact, it turns out that x^2 - x + 1 is positive for any value of x, but I’m talking about the principle).

Finally, if you had shown that x^2 - x + 1 is positive for all x, then you would not even need to consider the x ≥ 1/2 part and could directly solve x^2 - x + 1 = 2x - 1.
User avatar
MegB07
Joined: 15 Sep 2022
Last visit: 20 Dec 2025
Posts: 55
Own Kudos:
Given Kudos: 42
Location: India
Posts: 55
Kudos: 3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hey Bunuel, is it not negative because if we take a negative value for x in RHS it will not hold true or be equal to LHS since its in Mod?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
Kudos
Add Kudos
Bookmarks
Bookmark this Post
MegB07
Hey Bunuel, is it not negative because if we take a negative value for x in RHS it will not hold true or be equal to LHS since its in Mod?

It is not negative because the expression on the LHS, \(x^2 - x + 1\), is always positive for any value of \(x\). Since the inside of the modulus never becomes negative, \(|x^2 - x + 1|\) is simply equal to \(x^2 - x + 1\) (because |a| = a when a is positive).
User avatar
MegB07
Joined: 15 Sep 2022
Last visit: 20 Dec 2025
Posts: 55
Own Kudos:
3
 [1]
Given Kudos: 42
Location: India
Posts: 55
Kudos: 3
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
But when we solve similar questions we do consider +- values of Mod. Why arent we applying that here? Thank you for the prompt response, as always.
Bunuel


It is not negative because the expression on the LHS, \(x^2 - x + 1\), is always positive for any value of \(x\). Since the inside of the modulus never becomes negative, \(|x^2 - x + 1|\) is simply equal to \(x^2 - x + 1\) (because |a| = a when a is positive).
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
811,094
 [2]
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
MegB07
But when we solve similar questions we do consider +- values of Mod. Why arent we applying that here? Thank you for the prompt response, as always.


We only split into \(+a\) and \(-a\) cases when the inside of the modulus can actually be either positive or negative. Here, the key difference is that \(x^2 - x + 1\) is always positive for every real \(x\).

Because the inside never goes below zero, there’s no “-a” case to consider.
User avatar
shaliny
Joined: 30 Oct 2023
Last visit: 24 Apr 2026
Posts: 120
Own Kudos:
Given Kudos: 989
Products:
Posts: 120
Kudos: 26
Kudos
Add Kudos
Bookmarks
Bookmark this Post
hii Bunuel,
how would i know that any equation inside modulus is always positive as in this ques. because generally in modulus i solve by taking both + and - sign of equation.
So is there any quick method like plugin (may take time) or some specific points to notice in equations or strategy to know that these equations would be positive for any values?
Bunuel
Official Solution:

If \(|x^2-x+1|=2x-1\), then what is the sum of all possible values of \(x\) ?

A. \(0\)
B. \(1\)
C. \(2\)
D. \(3\)
E. \(4\)


The key to solving this question is deducing that \(x^2-x+1\) is positive for any \(x\) value. To see this, we can rewrite \(x^2-x+1\) by completing the square:

\(x^2-x+1 = \)

\(=x^2 - x + \frac{1}{4} +\frac{3}{4}=\)

\(=(x - \frac{1}{2})^2 + \frac{3}{4}=\)

\(=nonnegative + positive=positive\).

Therefore, \(|x^2-x+1|=x^2-x+1\).

So, we'd get: \(x^2-x+1=2x-1\);

\(x^2-3x+2=0\);

\((x - 2)(x - 1) = 0\);

\(x=2\) or \(x=1\);.

The sum of all possible values of \(x\) is therefore, \(2+1=3\).


Answer: D
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
811,094
 [1]
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
shaliny
hii Bunuel,
how would i know that any equation inside modulus is always positive as in this ques. because generally in modulus i solve by taking both + and - sign of equation.
So is there any quick method like plugin (may take time) or some specific points to notice in equations or strategy to know that these equations would be positive for any values?


It totally depends on the question, how else? Sometimes it’s straightforward, for example, if we had something like \(x^2 + 1\) inside the modulus, that’s always positive, so we can directly write \(|x^2 + 1| = x^2 + 1\) without needing cases. And sometimes it’s a little bit trickier, like in this question, where you need to complete the square to see that \(x^2 - x + 1\) is always positive. So the approach varies with the expression.
User avatar
lehung97
Joined: 23 Jun 2025
Last visit: 24 Apr 2026
Posts: 9
Own Kudos:
Given Kudos: 64
Posts: 9
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful.
User avatar
janhvi167
Joined: 03 Aug 2025
Last visit: 24 Nov 2025
Posts: 3
Given Kudos: 10
Posts: 3
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi Bunuel


\(x^2-x+1 = \)

\(=x^2 - x + \frac{1}{4} +\frac{3}{4}=\)

\(=(x - \frac{1}{2})^2 + \frac{3}{4}=\)

\(=nonnegative + positive=positive\).

This way is not very intuitive to find out whether the equation would always be positive or not.
Very difficult to adjust the original equation to this :\(=(x - \frac{1}{2})^2 + \frac{3}{4}=\)
Is there any other way to find out?

Bunuel
Official Solution:

If \(|x^2-x+1|=2x-1\), then what is the sum of all possible values of \(x\) ?

A. \(0\)
B. \(1\)
C. \(2\)
D. \(3\)
E. \(4\)


The key to solving this question is deducing that \(x^2-x+1\) is positive for any \(x\) value. To see this, we can rewrite \(x^2-x+1\) by completing the square:

\(x^2-x+1 = \)

\(=x^2 - x + \frac{1}{4} +\frac{3}{4}=\)

\(=(x - \frac{1}{2})^2 + \frac{3}{4}=\)

\(=nonnegative + positive=positive\).

Therefore, \(|x^2-x+1|=x^2-x+1\).

So, we'd get: \(x^2-x+1=2x-1\);

\(x^2-3x+2=0\);

\((x - 2)(x - 1) = 0\);

\(x=2\) or \(x=1\);.

The sum of all possible values of \(x\) is therefore, \(2+1=3\).


Answer: D
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
811,094
 [1]
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
janhvi167
Hi Bunuel


\(x^2-x+1 = \)

\(=x^2 - x + \frac{1}{4} +\frac{3}{4}=\)

\(=(x - \frac{1}{2})^2 + \frac{3}{4}=\)

\(=nonnegative + positive=positive\).

This way is not very intuitive to find out whether the equation would always be positive or not.
Very difficult to adjust the original equation to this :\(=(x - \frac{1}{2})^2 + \frac{3}{4}=\)
Is there any other way to find out?



Yes, you can check it without completing the square. For x^2 - x + 1 = 0, the discriminant is b^2 - 4ac = (-1)^2 - 4(1)(1) = 1 - 4 = -3. Since the discriminant is negative and the coefficient of x^2 is positive, the expression is always positive for all x.

Check alternative solutions here: https://gmatclub.com/forum/if-x-2-x-1-2 ... 70453.html
User avatar
NupurNeha123
Joined: 30 Apr 2025
Last visit: 24 Apr 2026
Posts: 43
Own Kudos:
Given Kudos: 13
Location: India
Schools: Booth '26 IIM
GMAT Focus 1: 575 Q80 V82 DI79
GPA: 8
Schools: Booth '26 IIM
GMAT Focus 1: 575 Q80 V82 DI79
Posts: 43
Kudos: 5
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel


|a| = -a, when a <= 0.

However, in this question x^2 - x + 1 is never negative, thus |x^2 - x + 1| = x^2 - x + 1 only.
Hi , how do we know x^2-x +1 is never negative ; while solving absolute we usually make two cases, please clarify
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
Kudos
Add Kudos
Bookmarks
Bookmark this Post
NupurNeha123

Hi , how do we know x^2-x +1 is never negative ; while solving absolute we usually make two cases, please clarify

It is explained HERE and HERE. Hope it helps.
Moderators:
Math Expert
109818 posts
Founder
43155 posts