Jasvin ThinksPracticeMock testsCurrent affairs

UPSC Prelims 2007 Q135: Science & Technology – Quantitative Aptitude

UPSC Prelims 2007, General Studies Paper I · Science & Technology

In the figure shown above, what is the maximum number of different ways in which 8 identical balls can be placed in small triangles 1, 2, 3 and 4 such that each triangle contains at least one ball?
  1. (a) 32
  2. (b) 35
  3. (c) 44
  4. (d) 56

Answer: (b) 35

Explanation

8 identical balls in 4 triangles, each with at least one

This is a "stars and bars" problem.

Step 1: Put 1 ball in each triangle first → 4 balls used, 4 balls left.

Step 2: Share 4 identical balls among 4 triangles freely (zero allowed).

Formula: ways to share n identical items among r groups, each ≥ 1 = C(n − 1, r − 1).

MethodFormulaValue
Each triangle ≥ 1 (8 balls, 4 triangles)C(8 − 1, 4 − 1) = C(7, 3)35
After pre-filling (4 balls, zero allowed)C(4 + 4 − 1, 4 − 1) = C(7, 3)35

Answer: (b) 35.

Why each option is right or wrong

Key point

Identical items into r groups, each ≥ 1: C(n−1, r−1). Here C(7,3) = 35.

Remember

8 identical balls, 4 boxes, none empty = C(7,3) = 35.

Common mistakes

Exam tip

At least one each → C(n−1, r−1). Zero allowed → C(n+r−1, r−1).

Sources

Practise UPSC Prelims PYQsTake a timed mock