Dealing with Very Hard Max/Min Statistics Problems

Stacey is a GMAT Instructor living in Montreal. Click here to read more articles from Manhattan GMAT and to learn more about Manhattan GMAT's classes.

Dice RollLast week, we tackled two GMATPrep® questions; if you missed that article, go read it before continuing with this one. Make sure you try the two sample problems and take the time to master the concepts before you try the super-hard question below.

Okay, this sample problem is from our own archives. Set your timer for 2 minutes…. and… GO!

Both the average (arithmetic mean) and the median of a set of 7 numbers equal 20. If the smallest number in the set is 5 less than half the largest number, what is the largest possible number in the set?

(A) 40

(B) 38

(C) 33

(D) 32

(E) 30

You have an answer, right? Even if you don’t know what the answer is and you have to guess… you’ve still picked an answer, right? If you haven’t, go pick an answer before you keep reading!

As we discussed last week, the most important thing to notice here is the word “largest.” This one word is going to be the determining factor in how we set this problem up, right from the very beginning.

So, we have a set of 7 numbers. The average of those 7 numbers is 20; can we calculate anything from that? Yes – the sum! The basic formula for an average is A = S/n, where A is the average, S is the sum, and n is the number of items. We know A and n, so plug the two numbers in to get 20*7 = 140 for the sum.

The problem is asking us to maximize one figure: the last (and, of course, highest) number in the set. If all 7 numbers have to add up to 140, and we want to make one number as large as possible, then what do we have to do to the remaining six numbers?

We have to minimize all 6 of the remaining numbers – so, for the rest of the problem, we need to figure out how to make the other 6 numbers as small as possible.

Do we know anything about those 6 other numbers? We were told that the median is 20; what does that mean? Draw out some dashes on your scrap paper, one for each number in the set:

____   ____   ____   ____   ____   ____   ____

Now, how can we represent the fact that the median is 20? We have an odd number of terms. The median will be the middle term (the 4th, in this case) and it will actually equal 20. So add that to your diagram, along with an “x” for the term we’re supposed to maximize:

____   ____   ____   _20_   ____   ____   __x__

The problem also gives us some info about the first term:

“the smallest number in the set is 5 less than half the largest number”

Hmm. We don’t know what the largest number is, of course – that’s what the problem asks us to maximize! But we’re calling that largest number “x” so let’s write the smallest term in terms of x: (½)x – 5. Add that to the diagram:

_(½)x – 5_   ____   ____   _20_   ____   ____   __x__

Okay, now what – what’s our goal again? Oh, right, we want to minimize everything that isn’t that last term, “x.” Okay, so what can we minimize? We can’t change the 1st term; that’s going to be (½)x – 5 no matter what. And we can’t change the fourth term; that’s going to be 20 no matter what. What about the 2nd, 3rd, 5th, and 6th terms? What are the smallest possible values for each of those?

Let’s start with the rules for writing out a bunch of numbers in order to show a median. When you write a set of numbers to find the median, the requirement is to write the numbers from smallest to largest. Let’s say that we have to write these three numbers in order: 20, 14, 18. We would write them: 14, 18, 20. Moving to the right, each number is higher than the previous number. Moving to the left, each number is lower than the previous number.

Is that all? What if we had to write these three numbers in order: 20, 14, 20? Then, we would write: 14, 20, 20. Moving to the right, the second term, 20, is higher than the first term, 14, but the third term, 20, is equal to the second term, 20. So the full rule is not that the numbers have to increase as you move to the right or decrease as you move to the left. The rule is that, as you move to the right, the number has to be equal to or higher than the number to the left. Similarly, as you move to the left, the number has to be equal to or lower than the number to the right.

So, let’s get back to our problem. We’re trying to minimize the remaining slots. What is the smallest possible value for the 5th term, keeping in mind that the number has to be equal to or higher than the 4th term? The 4th term is 20, so the smallest value for the 5th term is also 20. For the same reason, the smallest value for the 6th term is also 20.

_(½)x – 5_   ____   ____   _20_   _20_   _20_   __x__

What about the 2nd and 3rd terms? The 2nd term has to be equal to or higher than the 1st term, and the first term is (½)x – 5. Therefore, the smallest possible value for the 2nd term is equal to (½)x – 5. For the same reason, the smallest value for the 3rd term is also (½)x – 5.

_(½)x – 5_   _(½)x – 5_   _(½)x – 5_   _20_   _20_   _20_   __x__

Now we have representations for all seven terms: either real numbers or variable expressions. We know the seven terms add up to 140. Time to set up an equation and solve for x!

[(½)x – 5] + [(½)x – 5] + [(½)x – 5] + 20 + 20 + 20 + x = 140

(3/2)x – 15 + 60 + x = 140

(5/2)x = 95

x = 95(2/5)

x = 38

The correct answer is B.

Key Takeaways for Max/Min Problems:

  1. figure out what variables are “in play” (what figures we can manipulate in the problem)
  2. figure out whether each variable needs to be maximized or minimized in order to achieve the desired outcome (the thing the problem asks us to do)
  3. do the work (carefully, as always!)

Note: the key takeaways are the same as last week, when we did some lower-level max/min problems. The basic process doesn’t change; we just have a bit more we need to know and a bit more we need to do on the very hard problem we did this week.

Manhattan GMAT e-book The GMAT Uncovered

10 Comments

  1. Awesome problem!

    Got it wrong, but the explanation and the logic behind it is top notch!

    • Got this problem in first attempt in 2 minutes..So probably not yet ready for this kind of ones for my exam which is one month away. Stacey, Please comment on how much time you should spend practicing these type of problems

    • Hi, pink

      It depends upon your scoring level. The particular problem in this article is very challenging; it's likely that only those who are scoring in the 80th percentile or higher on quant might receive a max/min problem that is this hard.

      Max/min problems can come in less challenging versions, of course, so it's a good idea to know how to handle them in general. At the same time, you aren't likely to have more than a few of these on the real test, so they aren't the most important thing to study.

      In addition, be aware that almost any type of problem can be a max/min problem (algebra, percents, geometry, statistics, etc.).

  2. great problem, very well explained.

  3. With all DS questions that mention the mean equal the median, the answer wanted the student to deduce that the elements in the set are consecutive numbers(arithmetic progression). However, in this question it is not.

    Did we put set elements = each other to work this particular question only ?

    • If the mean is equal to the median, that does not automatically mean that the elements in the set are consecutive. We would have to be given some additional piece of information in order to deduce that. Alternatively, if we're told that we have a set of consecutive integers, then we do know that the mean and median are equal.

      In other words, it's true that: consec int --> equal mean and median
      but it's not true that: equal mean and median --> consec int

      So, it just depends upon the wording of the problem. They may tell you that the set is consecutive, but if they don't, then we can't assume it.

      In terms of why we put set elements equal to each other, that was specifically because this is a max/min problem.

  4. Hi Stacey ,

    Thanks for the lovely explanation but I have a query , I may have not understood what you were trying to explain but here it is anyways :

    1. Why have we considered the 3rd and 2 term (x/2)-5 ?

    2.If we consider 2nd and 3rd terms both and 20 then also the we satisfy the rules mentioned above .

    So if we consider 2nd , 3rd ,4th,5th and 6th terms as 20 we will get x as 30 which is option E.

    Have I missed some thing or my approach is incorrect please let me know .

    • Go and read the question again. :)

      You have found one possible option for x, but you have not found "the largest possible" value for x. The largest possible value is 38.

      And that's precisely why we made the 2nd and 3rd terms equal to (x/2)-5: because in order to maximize x, we have to minimize all of the other terms. While 20 is one possible value for the 2nd and 3rd terms, it is not the minimum possible value for those terms. (x/2)-5 is the minimum possible value for those terms.

  5. Hi Stacey, why can't the 2nd and 3rd numbers be 20 as well as per the rule(Similarly, as you move to the left, the number has to be equal to or lower than the number to the right). Pls advise.

    • Great question Stacey. Boosts my confidence in getting it right :) { though I took a 2 1/4 mins to solve this :( }

      Sweta,
      If you have the 2nd, 3rd, 5th, 6th as 20 then you wont be able to split the difference 140 - 38 - 14 - 20 evenly across these 4 spots. Redo the question with numbers, you'll know what I'm talking about.

      68/4 = 17 hence this is the only order possible. {where you take 3 off of 2nd & 3rd numbers and add that to 5th & 6th }

      14,14,14,20,20,20,38

Ask a Question or Leave a Reply

The author Stacey Koprince gets email notifications for all questions or replies to this post

Guidelines: Some HTML allowed. Keep your comments above the belt or risk having them deleted. Signup for a Gravatar to have your pictures show up by your comment.