Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemandStart anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

Set

Expert replies
by niketdoshi123 » Thu Aug 09, 2012 4:15 am
Consider a set whose elements are {p, q, p + q, p-1, q+1}, where p<=q, and median is 3. In addition, it is given that each element is the mode of the set. Also, if p and q satisfy the equation
p^2 -(2+q)p + 2q = 0, then what is the average of these five terms?

a) 2
b) 2.4
c) 3
d) 4.2
e) 5
Join the discussion
Source: — Problem Solving |

by Brent@GMATPrepNow » Thu Aug 09, 2012 7:27 am
niketdoshi123 wrote:Consider a set whose elements are {p, q, p + q, p-1, q+1}, where p<=q, and median is 3. In addition, it is given that each element is the mode of the set. Also, if p and q satisfy the equation
p^2 -(2+q)p + 2q = 0, then what is the average of these five terms?

a) 2
b) 2.4
c) 3
d) 4.2
e) 5
Let's begin with the equation: p^2 -(2+q)p + 2q = 0
Expand the middle part: p^2 - 2p - pq + 2q = 0
Factor in parts: p(p-2) - q(p-2) = 0
Simplify: (p-q)(p-2)=0
This means that p-q=0 or p-2=0

We have a problem with p-q=0. If it were the case that p-q=0, then p would equal q. However, the question tells us that "each element is the mode of the set"
In other words, every number in the set is different.
So, it cannot be the case that p-q=0, which means it must be true that p-2=0.

If p-2=0, then p=2.
Great, our set becomes a little clearer once we replace p with 2.
We get: {2, q, 2+q, 1, q+1}
Rearrange: {1, 2, q, q+1, q+2}

Aside: we know that q < q+1 < q+2 for all values of q.

Now, since we're told that the median is 3, it must be the case that q = 3, since this would be the only way for 3 to be the middle number.

If q=3, our set looks like this: {1, 2, 3, 4, 5}, which means the mean (average) = (1+2+3+4+5)/5 = 3

Answer = C

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by adthedaddy » Thu Aug 09, 2012 7:54 am
There is also an alternative way to resolve this.

Given Set contains {p,q,p+q,p-1,q+1}
Also, it is given that p<=q.
But as each element is the mode of the set (i.e. every element is different) p=q is not possible.
Hence, p<q.

Arranging the set from above details in ascending order, we get
{p-1,p,q,q+1,p+q}

Also, its given that median is 3.
From above, median is q.
Therefore, q=3

Substituting q=3 in the given eqn p^2 -(2+q)p + 2q = 0
we get p=2 or p=3

But p=3 not possible as p&q are distinct.
Thus, p=2.

Subsituting the above values in the set, we get it as {1,2,3,4,5}

Avg = (1+5)/2
= 3

[spoiler]Ans: Option C[/spoiler]
Join the discussion