Skip to content

Lesson 4 of 10 · Distribution and Partitions

Identical Objects, Upper Caps

Permutations and Combinations · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Identical Objects, Upper Caps

Sign in to watch · 3 min video

Formulas you need

Non-negative solutions (stars and bars)

x1+⋯+xk=n, xi≥0: (n+k−1k−1)x_{1}+\cdots+x_{k}=n,\ x_{i}\ge0:\ \binom{n+k-1}{k-1}

n identical items among k people, zero allowed; shift lower bounds first (Indore 2024: 50 - 1 - 2 = 47, C(50, 3) = 19600).
Distinct objects into distinct boxes

kn (any),∑i=0k(−1)i(ki)(k−i)n (none empty)k^{n}\ \text{(any)},\qquad \sum_{i=0}^{k}(-1)^{i}\binom{k}{i}(k-i)^{n}\ \text{(none empty)}

Inclusion-exclusion on the empty boxes when none may be empty.

How Distribution and Partitions is asked

  • x+y+z=n solutions with x>=a
  • distribute 5 distinct balls in 3 identical boxes
  • solutions with sum in a range

Picked from the Distribution and Partitions note for this micro-concept automatically. The whole note: Distribution and Partitions.

Practise this free. Every mistake is saved and comes back until you fix it.

Start free