By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2022 CSAT, question 77

Topic: Counting and probability

Q77

There are 9 cups placed on a table arranged in equal number of rows and columns out of which 6 cups contain coffee and 3 cups contain tea. In how many ways can they be arranged so that each row should contain at least one cup of coffee?

  1. (a) 18
  2. (b) 27
  3. (c) 54
  4. (d) 81Correct answer

Solution.

Answer: (d) 81

  1. The 99 cups are arranged in a 3×33 \times 3 grid (3 rows and 3 columns). Assuming cups of the same drink are indistinguishable, there are (93)=9×8×76=84\binom{9}{3} = \frac{9 \times 8 \times 7}{6} = 84 ways to choose which 33 of the 99 positions hold tea cups.
  2. A row fails to contain at least one cup of coffee if and only if all 33 tea cups are placed in that single row; since there are 33 rows, there are exactly 33 invalid arrangements, leaving 84−3=8184 - 3 = 81 valid arrangements.