Last visit was: 09 Jul 2025, 02:20 It is currently 09 Jul 2025, 02:20
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: 09 Jul 2025
Posts: 102,604
Own Kudos:
Given Kudos: 97,452
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 102,604
Kudos: 739,680
 [17]
1
Kudos
Add Kudos
16
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 09 Jul 2025
Posts: 102,604
Own Kudos:
739,680
 [2]
Given Kudos: 97,452
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 102,604
Kudos: 739,680
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
General Discussion
User avatar
hr1212
User avatar
GMAT Forum Director
Joined: 18 Apr 2019
Last visit: 9 July 2025
Posts: 340
Own Kudos:
494
 [1]
Given Kudos: 770
GMAT Focus 1: 775 Q90 V85 DI90
Products:
GMAT Focus 1: 775 Q90 V85 DI90
Posts: 340
Kudos: 494
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
avatar
ManifestDreamMBA
Joined: 17 Sep 2024
Last visit: 9 July 2025
Posts: 948
Own Kudos:
Given Kudos: 192
Products:
Posts: 948
Kudos: 608
Kudos
Add Kudos
Bookmarks
Bookmark this Post
If you square and solve the 2 equations, it leads to x<11. I think is part is straight-forward.
Given the question talks about the 2 prime solutions, they have to be positive.
This means p = 2 (smallest prime) and q = 7 (largest prime less than 11). So p-q = 2-7=-5
User avatar
Kaxz
Joined: 08 May 2024
Last visit: 02 Jul 2025
Posts: 9
Own Kudos:
11
 [1]
Given Kudos: 18
Posts: 9
Kudos: 11
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Simplifying

√(x^2−4x+4)<√(x−20)^2
√(x-2)^2< √(x-20)^2
|x-2|<|x-20|

Solving the inequality leads to
x<11

Prime numbers less than 11 are 2,3,5 and 7

So, p=2, q=7

p-q=-5
User avatar
vijayram24
Joined: 01 Sep 2020
Last visit: 08 Jul 2025
Posts: 46
Own Kudos:
37
 [1]
Given Kudos: 190
Location: India
Concentration: Economics, Technology
Schools: ISB '26 NUS
GMAT 1: 660 Q48 V34
GPA: 8.3
WE:Engineering (Technology)
Products:
Schools: ISB '26 NUS
GMAT 1: 660 Q48 V34
Posts: 46
Kudos: 37
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
LHS is (x-2)^2 .It can also be written as |x-2| as it is under root.
Similarly RHS is |x-20| .
If x is 11 then LHS = RHS . So x=7 is max (q) and x=2(p) is least prime that satisfies the equation .
therfore p-1 =2-7 =-5
User avatar
YashK23
Joined: 16 May 2024
Last visit: 15 Feb 2025
Posts: 16
Own Kudos:
16
 [1]
Given Kudos: 46
Location: India
Posts: 16
Kudos: 16
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Ans if C. If we square both the sides, we get x^2 - 4x + 4 < ( x - 20)^2.

If we solve this inequality, we get x < 11, and the prime numbers which are < 11 are 2, 3 , 5 and 7.

So p is 2 and q is 7, and p - q = -5
User avatar
siddhantvarma
Joined: 12 May 2024
Last visit: 08 Jul 2025
Posts: 521
Own Kudos:
569
 [1]
Given Kudos: 190
GMAT Focus 1: 635 Q87 V82 DI75
Products:
GMAT Focus 1: 635 Q87 V82 DI75
Posts: 521
Kudos: 569
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The inequality becomes:

(x2 - 4x + 4)^(1/2) < |x - 20|

Square both sides (valid since both sides are non-negative):
x2 - 4x + 4 < (x - 20)2
x2 - 4x + 4 < x2 - 40x + 400
-4x + 4 < -40x + 400
36x < 396
x < 11

So, x must be less than 11.

Prime numbers less than 11: 2, 3, 5, 7
Therefore:
p = 2 (least prime solution)
q = 7 (greatest prime solution)
p - q = 2 - 7 = -5

The answer is C. -5
User avatar
Oppenheimer1945
Joined: 16 Jul 2019
Last visit: 07 Jul 2025
Posts: 795
Own Kudos:
555
 [1]
Given Kudos: 223
Location: India
GMAT Focus 1: 645 Q90 V76 DI80
GPA: 7.81
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Lest prime is 2, greatest prime is 7
P-q=-5
Attachments

IMG_1680.png
IMG_1680.png [ 950.41 KiB | Viewed 2692 times ]

User avatar
Nutella024
Joined: 05 Nov 2024
Last visit: 29 May 2025
Posts: 33
Own Kudos:
Given Kudos: 70
WE:Other (Retail: E-commerce)
Posts: 33
Kudos: 23
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


 


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

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

 


Case 1: x<2x < 2
∣x−2∣=2−xand∣x−20∣=20−x
The inequality becomes:
2−x<20−x
Simplify:
2<20
This is always true. Thus, all x<2 satisfy the inequality.
Case 2: 2≤x≤20
∣x−2∣=x−2and∣x−20∣=20−x
The inequality becomes:
x−2<20−x
Simplify:
2x < 22 = x<11
Thus, for this case, 2≤x<11
Case 3: x>20x > 20
∣x−2∣=x−2and∣x−20∣=x−20
The inequality becomes:
x−2<x−20
Simplify:
−2<−20-2 < -20
This is never true. Thus, no x>20 satisfies the inequality.
Step 3: Combine results
The solutions to the inequality are:
x<2or2≤x<11
This simplifies to:
x<11

Step 4: Find prime numbers
The prime numbers less than 11 are:
2,3,5,7
  • The smallest prime (p) is 2.
  • The largest prime (q) is 7.
Step 5: Calculate p−q
p−q=2−7=−5
Final Answer:
−5\boxed{-5}
User avatar
Functionx
Joined: 01 Aug 2023
Last visit: 03 May 2025
Posts: 7
Own Kudos:
9
 [2]
Given Kudos: 10
Posts: 7
Kudos: 9
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
\(\\
\sqrt{x^2 - 4x + 4} < \sqrt{(x-20)^2}\\
\)

We can square both sides to eliminate the square root signs
which gives us

\(\\
x^2 - 4x + 4 < (x-20)^2\\
\)

Open the brackets on the RHS (Right-Hand-Side)

\(\\
x^2 - 4x + 4 < x^2 - 40x +400\\
\)

Collect Like terms

\(\\
x^2 - x^2 - 4x + 40x < 400 - 4\\
\\
36x < 396\\
\\
x < 11\\
\)

The least Prime Number less than 11 is 2 and the greatest is 7

\(\\
p = 2 \\
q = 7\\
\)

Therefore
\(\\
p - q = 2 - 7 = -5\\
\)

Answer is C
User avatar
AbhiS101
Joined: 03 Jul 2024
Last visit: 06 Jul 2025
Posts: 90
Own Kudos:
87
 [1]
Given Kudos: 19
Location: India
GPA: 68%
Posts: 90
Kudos: 87
 [1]
1
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


 


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

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

 

sqrt(x^2 - 4x + 4) < sqrt((x-20)^2)
x^2 - 4x + 4 < x^2 - 40x + 400
36x < 396 x < 11
p = 2, q = 7
p - q = -5

IMO C
User avatar
HarshaBujji
Joined: 29 Jun 2020
Last visit: 09 Jul 2025
Posts: 632
Own Kudos:
822
 [1]
Given Kudos: 242
Location: India
Products:
Posts: 632
Kudos: 822
 [1]
1
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


 


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

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

 

If we simplify the equation, The inequality becomes:

∣x−2∣<∣x−20∣

There are multiple ways to solve this, We can go by traditional method of dividing this equation into multiple cases..

But as we know the x has to be prime, Lowest prime is 2 and that satisfy the equation hence p=2.

The other point would be x-2 =-(x-20) => x=11.

So at 11 this will be equality. At 7 this will satisfy. Hence q=7

p-q = -5

IMO C
User avatar
Rex885
Joined: 06 Apr 2024
Last visit: 27 Dec 2024
Posts: 29
Own Kudos:
25
 [1]
Given Kudos: 16
Posts: 29
Kudos: 25
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
We know \(\sqrt{x^2}\)=|x|

Also, x^2 - 4x + 4 = (x-2)^2
Hence the given equation becomes:
|x-2|<|x-20|

Critical points are 2,20

1. assume x>20 Then opening modulus sign we get
x-2 < x-20
No solution

2. assume 2<x<20
(x-2) < -(x-20)
i.e. x<11

So greatest prime no' solution = 7 {cant take 11}

3. least prime number is 2, lets test if its a valid solution

|2-2| < |2-20|
Yes 0<18
So greatest prime no' solution = 2

Hence the required answer is 2-7=(-5)
User avatar
Krunaal
User avatar
PS Forum Moderator
Joined: 15 Feb 2021
Last visit: 08 Jul 2025
Posts: 679
Own Kudos:
713
 [2]
Given Kudos: 239
Status:Under the Square and Compass
Location: India
WE:Marketing (Internet and New Media)
Products:
Posts: 679
Kudos: 713
 [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: 09 Jul 2025
Posts: 5,672
Own Kudos:
5,183
 [1]
Given Kudos: 161
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,672
Kudos: 5,183
 [1]
1
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
campbellgarrison9
Joined: 29 Nov 2024
Last visit: 06 Jul 2025
Posts: 10
Own Kudos:
8
 [1]
Given Kudos: 100
Location: United States (NC)
Concentration: Finance, Operations
GMAT Focus 1: 655 Q85 V84 DI79
GPA: 3.1
GMAT Focus 1: 655 Q85 V84 DI79
Posts: 10
Kudos: 8
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
First thing to do is to convert the left side of the equation into something that is comparable to the right side.

The left side then becomes the (X-2)^1/2 which needs to be less than (X-20)^1/2

The smallest prime number is 2, we plug 2 into both sides and receiver 0 < 324 so we know that works and can serve as our p value.

Then we find a prime number that is much larger like 11 plug that in and see that both sides equal 81 so therefore the q value HAS to equal the next lowest prime number which would be 7.

In terms of finding the higher value to test, we know that the value cannot be very high because if we are relying on the right side of the equation to be positive before we square it, the equation as a whole will never work. So it has to result in the squaring of a negative value that is larger than the left side of the equation can produce.

P=2 and Q=7 therefore p-q is equal to -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
manish_g30
Joined: 13 May 2023
Last visit: 03 Jul 2025
Posts: 118
Own Kudos:
107
 [1]
Given Kudos: 36
Location: India
GMAT Focus 1: 595 Q87 V75 DI77
GMAT Focus 2: 625 Q81 V82 DI80
GPA: 9
GMAT Focus 2: 625 Q81 V82 DI80
Posts: 118
Kudos: 107
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Final Quality is this

|x−2∣<∣x−20∣

So we wil have the 3 Cases
1. X<=2
2. 2<X<=20
3. X>20


1. For 1st, (X<=2)
-X+2<-x+20

we get 2<20 (Always True)

So, in the X<=2, we have only 2 as Prime Number

2. For 2nd, (2<X<=20)

x-2<-x+20
x<11

in this we get X = (2,11). so, we have the Prime number 3,5,7

3. for 3rd case (x>20)
We get -2<-20 (False)


SO prime numbers as the solution we get (2, 3, 5, 7)

So Min-Max = -5
User avatar
IssacChan
Joined: 25 Sep 2024
Last visit: 21 Mar 2025
Posts: 65
Own Kudos:
49
 [1]
Given Kudos: 4
Posts: 65
Kudos: 49
 [1]
1
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


 


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

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

 

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

If 2 < x < 20
|x-2| become x-2
|x-20| become 20-x

Formula become x-2 < 20-x
2x < 22
x <11

If x < 11, the least prime number p is 2 and the maximum prime number q is 7
p-q = 2-7 = -5
Therefore the answer is C
User avatar
MKeerthu
Joined: 12 Mar 2024
Last visit: 02 Apr 2025
Posts: 65
Own Kudos:
58
 [1]
Given Kudos: 22
Posts: 65
Kudos: 58
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The answer is -5.

from the given we have |x-2| < |x-20|

when we find the limits of x, we can find p and q.

Solving the inequality we have,
when x>20,
x-2<x-20
-2<-20 which is not possible

When 2≤x<20
we have x-2<20-x
2x<22 x<11

When x<2
we have 2-x<20-x
2<20

so we have 2≤x<11 and the prime numbers are 2,3,5,7 --> 2-7 = -5
 1   2   3   4   
Moderators:
Math Expert
102604 posts
PS Forum Moderator
679 posts