Last visit was: 21 Apr 2026, 12:12 It is currently 21 Apr 2026, 12:12
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: 21 Apr 2026
Posts: 109,729
Own Kudos:
Given Kudos: 105,798
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,729
Kudos: 810,446
 [40]
3
Kudos
Add Kudos
37
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 21 Apr 2026
Posts: 109,729
Own Kudos:
810,446
 [9]
Given Kudos: 105,798
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,729
Kudos: 810,446
 [9]
6
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
User avatar
Functionx
Joined: 01 Aug 2023
Last visit: 11 Mar 2026
Posts: 4
Own Kudos:
16
 [7]
Given Kudos: 10
Posts: 4
Kudos: 16
 [7]
7
Kudos
Add Kudos
Bookmarks
Bookmark this Post
General Discussion
User avatar
hr1212
User avatar
GMAT Forum Director
Joined: 18 Apr 2019
Last visit: 21 Apr 2026
Posts: 921
Own Kudos:
1,325
 [3]
Given Kudos: 2,213
GMAT Focus 1: 775 Q90 V85 DI90
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
GMAT Focus 1: 775 Q90 V85 DI90
Posts: 921
Kudos: 1,325
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
|x-2|<|x-20|

Case 1 : x < 2

2 - x < 20 - x
2 < 20

True for all values of x

Case 2 : 2 <= x < 20

x - 2 < 20 - x
2x < 22
x < 11

True for values [2, 11)

Case 3 : x >= 20

x - 2 < x - 20
-2 < -20

No values of x

From case 1, 2 and 3, range of x is (-∞, 11)

So smallest prime value is p = 2 and largest prime value is q = 7

p - q = 2 - 7 = -5

Answer: C
User avatar
Krunaal
User avatar
Tuck School Moderator
Joined: 15 Feb 2021
Last visit: 19 Apr 2026
Posts: 853
Own Kudos:
909
 [2]
Given Kudos: 251
Status:Under the Square and Compass
Location: India
GMAT Focus 1: 755 Q90 V90 DI82
GPA: 5.78
WE:Marketing (Consulting)
Products:
GMAT Focus 1: 755 Q90 V90 DI82
Posts: 853
Kudos: 909
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
We can rewrite the equation as:

sqrt[(x-2)^2] < sqrt[(x-20)^2]
=> |x-2| < |x-20| .................................(1)

Now we know p is the least prime that is a solution, let's try and substitute 2 in equation and check if it holds valid => we get 0 < 18, which is valid. Hence, we confirm that p = 2

Looking at the answer choices, we know now that q can be 11, 7, 5, or 3

Testing from greatest by substituting in (1),
For 11 => we get 9 < 9 which is invalid.
For 7 => we get 5 < 13 which is valid. Hence, we confirm that q = 7

Now, p-q = 2-7 = -5

Answer C
User avatar
Kinshook
User avatar
Major Poster
Joined: 03 Jun 2019
Last visit: 21 Apr 2026
Posts: 5,986
Own Kudos:
5,855
 [2]
Given Kudos: 163
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,986
Kudos: 5,855
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
If p and q are, respectively, the least and greatest prime number solutions to \(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\), what is the value of p - q?

\(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\)
\(\sqrt{(x-2)^2} < \sqrt{(x-20)^2}\)

|x-2| < |x-20|

Case 1: x = 2; |2-2|=0 < |2-20| = 18
Case 2: x = 3; |3-2|=1 < |3-20| = 17
Case 3: x = 5; |5-2|=3 < |5-20| = 15
Case 4: x = 7; |7-2|=5 < |7-20| = 13
Case 5: x = 11; |11-2|=9 = |11-20| = 9


p = 2; since |2-2|=0 < |2-20| = 18
q = 7; since |7-2|=5 < |7-20|=13

p - q = 2 - 7 = -5

IMO C
User avatar
HansikaSachdeva
Joined: 17 May 2024
Last visit: 22 Dec 2025
Posts: 60
Own Kudos:
65
 [2]
Given Kudos: 143
Location: India
Concentration: Social Entrepreneurship, Sustainability
Posts: 60
Kudos: 65
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The equation can be rewritten as:
√(x^2 − 4x + 4) < √(x^2 − 40x + 400)

Squaring both sides to remove the square root,

= x^2 − 4x + 4 < x^2 − 40x + 400
= − 4x + 4 < − 40x + 400
= 36x < 396
= x < 11

Prime numbers less than 11 are 2, 3, 5, 7
Greatest, q = 7
Least, p = 2

Answer: 2 - 7 = -5
User avatar
TheLegacy
Joined: 11 Nov 2024
Last visit: 17 Mar 2026
Posts: 17
Own Kudos:
15
 [1]
Given Kudos: 1
Location: Italy
GPA: 3.5
Posts: 17
Kudos: 15
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The correct answer is C) -5 :

Let's do the sqrt of both sides, knowing that we must have two abs quantities under the roots.

|x-2| < |x-20|

Now we must "discuss" 4 different scenarios: + + , + - , - + , - - .

++:

x>=2 and x>=20 -> x>=20 always

It will give: x-2 <= x-20
Hence: -2 <= -20 which is ALWAYS FALSE. NO SOLUTIONS.

+ - :

x >= 2 and x<20 -> 2 =< x < 20

Hence: x < 11 --> 2 <=x < 11

Here our least prime number is 2 and the greatest is 7.
Hence the solution is 2 - 7 = -5


- + :

x<2 and x>20

FALSE -> x cannot be less than 2 and more than 20 at the same time!


- - :

x<2

We can discuss it, but it will give me negative numbers, and honestly, I am not interested in them since we are talking about prime numbers.

The solution is then -5.
User avatar
dhaphuong
Joined: 08 Dec 2024
Last visit: 08 Apr 2025
Posts: 3
Own Kudos:
4
 [1]
Given Kudos: 1
Location: Viet Nam
Posts: 3
Kudos: 4
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
\(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\)
--> \sqrt{[/(x-2)^2] < [square_root][/(x-20)^2]
--> |x-2| < |x-20|

Case 1: x<2
|x-2| < |x-20|
--> 2 - x < 20 - x
--> 2 < 20 (always true)

Case 2: x>=20
|x-2| < |x-20|
--> x - 2 < x - 20
--> - 2 < - 20 (always wrong)

Case 3: 2<= x <20
|x-2| < |x-20|
--> x - 2 < 20 - x
--> 2x < 22
--> x < 11
Combining the condition of the case: 2 <= x < 11. Prime numbers in the range: 2, 3, 5, 7
p = 2
q = 5
--> p - q = -5 --> ANSWER C




Bunuel
12 Days of Christmas 2024 - 2025 Competition with $40,000 of Prizes

If p and q are, respectively, the least and greatest prime number solutions to \([square_root]x^2 - 4x + 4} < \sqrt{(x-20)^2}\), what is the value of p - q?

A. -9
B. -7
C. -5
D. -3
E. -1


 


This question was provided by GMAT Club
for the 12 Days of Christmas Competition

Win $40,000 in prizes: Courses, Tests & more

 

User avatar
Prakhar9802
Joined: 07 Aug 2023
Last visit: 15 Apr 2026
Posts: 63
Own Kudos:
68
 [1]
Given Kudos: 1
Posts: 63
Kudos: 68
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Reducing the question stem to simplest form -

\sqrt{(x^2 - 4x + 4)} = \sqrt{(x-2)^2}
= |x-2|

\sqrt{(x-20)^2} = |x-20|

Question becomes-

|x-2| < |x-20|

Least prime number 2

Put in 2

|2-2| < |2-20|
0<18

Hence, P = 2

For Q, we know that mod is basically the distance between 2 numbers on the number line. Therefore, to satisfy this inequality, we need the distance of our number Q from 20 to be greater than the distance of Q from 2.

If we plug in 11, we can see that it is equidistant from both the numbers,

|11-2| < |11-20|
9 < 9

This inequality does not hold.
Therefore, we need to plug in a smaller prime number than 11.

Try 7,

|7-2| < |7-20|
5 < 13

Therefore, Q = 7

P-Q = 2-7 = -5

FINAL ANSWER = Option C
Bunuel
12 Days of Christmas 2024 - 2025 Competition with $40,000 of Prizes

If p and q are, respectively, the least and greatest prime number solutions to \(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\), what is the value of p - q?

A. -9
B. -7
C. -5
D. -3
E. -1


 


This question was provided by GMAT Club
for the 12 Days of Christmas Competition

Win $40,000 in prizes: Courses, Tests & more

 

User avatar
Lizaza
Joined: 16 Jan 2021
Last visit: 29 Mar 2026
Posts: 240
Own Kudos:
282
 [1]
Given Kudos: 7
GMAT 1: 710 Q47 V40
GMAT 1: 710 Q47 V40
Posts: 240
Kudos: 282
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
It's clear that we can change the left hand side to:
\(\sqrt{(x-2)^2} < \sqrt{(x-20)^2}\)

Then we can get rid of the root:
\(|x-2| < |x-20|\), or \(|x| < |x-18|.\)

As x is prime, we're subtracting 1 from a positive number - so to get this equation, the difference between x and 18 has to be bigger than x itself.
The numbers that fit are: 2, 3, 5, 7. From 11, we already get \( |11-18|=7,\) which is too big.

As \(p=2\) and \(q=7\), then \(p-q=2-7=-5\). The answer is C.
User avatar
aarati17
Joined: 20 Aug 2024
Last visit: 18 Apr 2025
Posts: 25
Own Kudos:
25
 [1]
Given Kudos: 10
Posts: 25
Kudos: 25
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Ans. C. -5

Since (x^2-4x+4) = (x-2)^2
The equation can be written as-
|x-2|<|x-20|

For x<2
|x-2| will be written as 2-x and |x-20| will be written as 20-x
=>2-x < 20-x
=>2<20
Hence, for all values of x<2, the equation will be satisfied
Prime number cannot be negative so we do not have any prime number for when x>2

For 2<=x<20
|x-2| will be written as x-2 and |x-20| will be written as 20-x
=>x-2 < 20-x
=>2x<22
=>x<11
So, for 2<=x<20, we have x<11 which means values of x is between [2,11)
Hence the prime numbers belonging to this will be 2,3,5,7

For x>=20
|x-2| will be written as x-2 and |x-20| will be written as x-20
=>x-2 < x-20
=>2>20
This is not possible so we can eliminate this

Hence,
From 2<=x<20, we get the least prime number p=2 and the greatest prime number q=7
p-q = 2-7 = -5
Bunuel
12 Days of Christmas 2024 - 2025 Competition with $40,000 of Prizes

If p and q are, respectively, the least and greatest prime number solutions to \(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\), what is the value of p - q?

A. -9
B. -7
C. -5
D. -3
E. -1


 


This question was provided by GMAT Club
for the 12 Days of Christmas Competition

Win $40,000 in prizes: Courses, Tests & more

 

User avatar
NilayMaheshwari
Joined: 20 Dec 2023
Last visit: 12 Oct 2025
Posts: 42
Own Kudos:
44
 [1]
Given Kudos: 26
Location: India
GMAT Focus 1: 595 Q80 V82 DI76
Products:
GMAT Focus 1: 595 Q80 V82 DI76
Posts: 42
Kudos: 44
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
|(x-2)| < |(x-20)|
|x-2| - |x-20| < 0
We'll check for three ranges,

1st range- x<2,

-x+2+x-20 <0
-18<0
which is always true, therefore this whole range is solution.

2nd range- 2=<x<20

x-2+x-20<0
2x-22<0
2(x-11)<0
x-11<0
x<11.
Therefore, the range of solutions is 2=<x<11.

3rd range- x>=20

x-2-x+20<0
18<0
which is false, therefore this whole range can't be a solution.

Now the solution is x<11.
In this range, smallest prime number is 2 and greatest prime number is 7.
2-7=-5.
Therefore, C
Bunuel
12 Days of Christmas 2024 - 2025 Competition with $40,000 of Prizes

If p and q are, respectively, the least and greatest prime number solutions to \(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\), what is the value of p - q?

A. -9
B. -7
C. -5
D. -3
E. -1


 


This question was provided by GMAT Club
for the 12 Days of Christmas Competition

Win $40,000 in prizes: Courses, Tests & more

 

User avatar
minnieminnoon
Joined: 19 May 2025
Last visit: 22 Dec 2025
Posts: 7
Own Kudos:
Given Kudos: 38
Posts: 7
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi! Quick question, since I’m in the middle of reviewing error logs from last year.
Do we still get this type of questions in GMAT Focus Edition?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 21 Apr 2026
Posts: 109,729
Own Kudos:
Given Kudos: 105,798
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,729
Kudos: 810,446
Kudos
Add Kudos
Bookmarks
Bookmark this Post
minnieminnoon
Hi! Quick question, since I’m in the middle of reviewing error logs from last year.
Do we still get this type of questions in GMAT Focus Edition?

Yes, this type of question is perfectly aligned with the GMAT Focus Edition syllabus. It tests core quantitative concepts such as roots, inequalities, absolute value, and number properties, all of which remain fully relevant on the current exam.
User avatar
DonBosco7
Joined: 03 Mar 2020
Last visit: 01 Apr 2026
Posts: 83
Own Kudos:
Given Kudos: 84
Posts: 83
Kudos: 20
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
12 Days of Christmas 2024 - 2025 Competition with $40,000 of Prizes

If p and q are, respectively, the least and greatest prime number solutions to \(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\), what is the value of p - q?

A. -9
B. -7
C. -5
D. -3
E. -1

For this question if you remember a simple property of absolute values, the question is solvable in a minute.
property:- if |a| = |b|
then, a=b or a = -b

apply this to the question

\(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\)

then, \(\sqrt{(x-2)^2} < \sqrt{(x-20)^2}\)

this is written as |x-2| < |x-20|........................ apply the above property

1] x-2 < x-20
2] x-2 < -(x-20)

least prime => p = 2
greatest prime from above x = 7

hence p-q = 2-7 = -5

Answer C
User avatar
Demonicgod
Joined: 27 Dec 2024
Last visit: 19 Feb 2026
Posts: 34
Own Kudos:
Given Kudos: 18
Posts: 34
Kudos: 35
Kudos
Add Kudos
Bookmarks
Bookmark this Post
thanks man it helped a lot.

dhaphuong
\(\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\)
--> [square_root][/(x-2)^2] < [square_root][/(x-20)^2]
--> |x-2| < |x-20|

Case 1: x<2
|x-2| < |x-20|
--> 2 - x < 20 - x
--> 2 < 20 (always true)

Case 2: x>=20
|x-2| < |x-20|
--> x - 2 < x - 20
--> - 2 < - 20 (always wrong)

Case 3: 2<= x <20
|x-2| < |x-20|
--> x - 2 < 20 - x
--> 2x < 22
--> x < 11
Combining the condition of the case: 2 <= x < 11. Prime numbers in the range: 2, 3, 5, 7
p = 2
q = 5
--> p - q = -5 --> ANSWER C





User avatar
vartikg
Joined: 25 Oct 2023
Last visit: 21 Apr 2026
Posts: 14
Own Kudos:
Given Kudos: 9
GPA: 8.2
WE:Marketing (Journalism and Publishing)
Products:
Posts: 14
Kudos: 8
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I think these absolute value questions are best solved visually.

we are given |x-2| < |x-20|
now this just means that the distance of x from 2 must be less than its distance from 20.


now we must find the mid point of 2 and 20 which is 11. distance from 2 to 11 and 11 to 20 is exactly the same i.e. 9 units. therefore, if x= 11
lhs=rhs = 9 units, so x can take any value to the left of 11 to satisfy our equation

_____________________.____________________________.______________
.....................................2......................11.....................20

back to our question, since cant be 11 the greatest prime would be 7 and smallest would be 2 which would lead to -5 as our answer.

Hope it helps.
Moderators:
Math Expert
109729 posts
Tuck School Moderator
853 posts