BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course

Redeem

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.

★★★★★5.0559 reviews
GMATLiveTeach 7 seats left
Chris Peckover
NEXT LIVE COHORT

Oct 13 to Jan 7, 2027

with Chris Peckover

Schedule
Tue, Thu · 8:00 to 10:00 PM ET
Included
40 live hours + 6 months of GMAT OnDemand
  • Live instruction and real-time questions
  • Class recordings and assigned practice
View class & enroll
Limited cohort · enrollment openTarget Test Prep
EALiveTeach 5 seats left
Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

Schedule
Sun · 9:30 AM to 12:30 PM ET
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
Limited cohort · enrollment openTarget Test Prep
GMATOnDemand Start 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

Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.

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