UPSC CSAT 2023 Q36: Worst-Case Drawing of Coloured Balls — Solved

A box contains 14 black balls, 20 blue balls, 26 green balls, 28 yellow balls, 38 red balls and 54 white balls. Consider the following statements:

1. The smallest number n such that any n balls drawn from the box randomly must contain one full group of at least one colour is 175.

2. The smallest number m such that any m balls drawn from the box randomly must contain at least one ball of each colour is 167.

Which of the above statements is/are correct?

  1. 1 only
  2. 2 only
  3. Both 1 and 2
  4. Neither 1 nor 2

Answer: (c) Both 1 and 2

Solution

  1. Count the balls. Black 14, blue 20, green 26, yellow 28, red 38, white 54. Total = 14 + 20 + 26 + 28 + 38 + 54 = 180.
  2. Read the word "must". The question asks for the smallest number that works no matter how unlucky the draw is. So for each statement, build the worst possible draw and then add 1.
  3. Statement 1: one full group of at least one colour. - The worst case is that you get as close to completing every colour as possible without completing any. That means drawing one ball fewer than the full group of every colour. - Black 14 − 1 = 13, blue 20 − 1 = 19, green 26 − 1 = 25, yellow 28 − 1 = 27, red 38 − 1 = 37, white 54 − 1 = 53. - Worst-case total = 13 + 19 + 25 + 27 + 37 + 53 = 174. Shortcut: 180 − 6 = 174, because you remove one ball from each of the 6 colours. - After 174 balls, every colour is exactly one ball short. Every ball left in the box completes some colour. So the 175th ball must complete a group. - With 174 balls it is possible that no group is complete, so 174 is not enough. The smallest n is 175. Statement 1 is correct.

  4. Statement 2: at least one ball of each colour. - The worst case is that one colour never appears while you draw every other ball. To make this last as long as possible, the missing colour should be the smallest group, black (14). - Balls that are not black = 180 − 14 = 166. You can draw all 166 and still have no black ball. - The 167th ball has to come from the box, and only black balls are left. So it is black, and now every colour is present. - With 166 balls it is possible that black is missing, so 166 is not enough. The smallest m is 167. Statement 2 is correct.

  5. Both statements are correct.

Answer: Both 1 and 2.

Option-wise explanation

  • a: incorrect — Statement 1 holds (174 + 1 = 175), but Statement 2 also holds: 180 − 14 = 166 non-black balls, so 167 guarantees every colour. Students who leave out the largest group (54 white) instead of the smallest get 127 and wrongly reject Statement 2.
  • b: incorrect — Statement 2 holds, but Statement 1 is also true. A common slip is to subtract 1 only from the largest group, or to take the largest group in full. That gives 54, 55 or 180 instead of 13 + 19 + 25 + 27 + 37 + 53 + 1 = 175.
  • c: correct — In the worst case every colour is one ball short: 180 − 6 = 174, so 175 completes a group. In the other worst case all 166 non-black balls come out first, so 167 forces a black ball. Both values match the statements.
  • d: incorrect — This tempts students who forget the final +1 and compare 174 or 166 with the statements. The worst case is the largest number that still fails, so the guarantee comes one ball later, and both statements check out.

How to eliminate

You do not need a full sum. Total = 180. Statement 1: in the worst case every colour is one short, so 180 − 6 = 174, and adding 1 gives 175. It matches. Statement 2: in the worst case the smallest colour is missing, so 180 − 14 = 166, and adding 1 gives 167. It matches. Both numbers in the statements are exactly one more than the total minus something simple, which suggests the setter built them to be true. Check the +1 and stop. About 45–60 seconds once you know the two worst-case patterns. Attempt it in the first pass. It is quick, safe marks.

Know more

Worst-case drawing (pigeonhole guarantee)

When a question asks for the minimum number that guarantees an outcome, find the largest draw that still fails, then add 1.

Guarantee wanted Worst case (fails) Answer
At least one of a given colour X All non-X balls (Total − X) + 1
At least one of every colour All balls except the smallest group (Total − smallest) + 1
One complete group of some colour Every group one short (Total − number of colours) + 1
k balls of the same colour (each group ≥ k) k − 1 of every colour c × (k − 1) + 1
Two of different colours Whole largest group Largest + 1

If a group has fewer than k − 1 balls, take the whole group in the worst case.

Worked variant. A bag has 5 red, 8 green and 12 blue marbles (25 in total).

  • At least one of each colour: 25 − 5 = 20 non-red, so 21.
  • 4 of the same colour: take 3 of each = 9, so 10.
  • 6 of the same colour: red can give only 5, so take 5 + 5 + 5 = 15, giving 16.
  • One full colour: 25 − 3 = 22, so 23.

Say "what is the unluckiest draw that still fails?" before you calculate. Most wrong answers come from picking the wrong group to leave out, or from dropping the +1.