Combinatorics path · C14
Before this lesson: Combinations with repetition, Dividing objects into fixed-size groups, Inclusion–exclusion
Your goal: Choose the model from distinguishability and occupancy conditions.
Start with the idea and one example. Take a break before the written task if you need it. The questions are original teaching exercises, not official past-paper questions.
Names you may know: balls into boxes; distribution problems.
Distributing Objects into Boxes: the key idea
Before counting distributions, decide whether the objects and boxes are distinct and whether empty boxes are allowed. Distinct objects in k labelled boxes give assignments. Identical objects in labelled boxes give stars and bars. Distinct objects in unlabelled nonempty boxes give set partitions; do not divide by k! when empty boxes or symmetries cause unequal multiplicities. Identical objects in unlabelled boxes give integer partitions, described by nonincreasing occupancy sizes. “At least one in each box” changes all four models.
A worked example
Put four distinct balls into two labelled boxes, with neither box empty.
There are 2⁴=16 assignments. Exclude the two assignments with all balls in one box, leaving 14.
Your turn: change one thing
Put four identical balls into two labelled nonempty boxes.
Try this on paper before opening the explanation.
Compare your reasoning
The positive counts x+y=4 are (1,3),(2,2),(3,1), so there are 3 distributions. If boxes are unlabelled, (1,3) and (3,1) coincide, leaving 2.
Pause and check
A trap to avoid: Using one formula for all combinations of identical and distinct objects or boxes.
Practise and adjust the level
Foundation checks the language; Core applies the method; Stretch asks you to choose or justify an idea. These are levels within this lesson. A session selects six of the nine questions; unused questions allow the level to change. Advanced theory still needs written practice.
Interactive practice loads here. You can also use the complete question set below.
Write a complete argument
Count partitions of a nonempty n-element set into at most two unlabelled nonempty blocks.
Planning hint
List the assumptions and the exact conclusion. Identify the definition or theorem in this lesson that connects them. Explain why its conditions hold before using it.
Read the full solution after your attempt
Label two boxes temporarily, allowing one empty. There are assignments. Exchanging labels has no fixed assignment when the underlying set is nonempty, so every unlabelled partition into one or two blocks is counted twice. The result is . Exactly two blocks gives .
My proof notebook
Write on paper, or keep a draft here. Compare your reasoning with the solution only after a real attempt. The checklist is your own review, not an automatic mark.
All nine practice questions
Prefer paper or have JavaScript switched off? The complete question set, hints and solutions are here. Interactive practice uses these same questions in an order chosen from your answers.
1. n distinct objects in k labelled boxes, empties allowed: count?
Foundation
- k!
- C(n+k−1,k−1) always
- n!
Hint
Each object independently chooses a box.
Answer and reasoning
. There are k choices for each of n distinct objects.
2. Identical objects in labelled boxes are described by what?
Foundation
- Only the largest box
- Occupancy counts
- Permutations of the objects
- Names for each object
Hint
Object identities do not matter.
Answer and reasoning
Occupancy counts. A vector of nonnegative counts completely describes the distribution.
3. Four distinct balls into two labelled nonempty boxes: count?
Core
- 7
- 3
- 14
- 16
Hint
Remove the two all-in-one-box assignments.
Answer and reasoning
14. 2⁴−2=14.
4. Four identical balls into two labelled nonempty boxes: count?
Core
- 14
- 2
- 4
- 3
Hint
List positive count pairs summing to 4.
Answer and reasoning
3. (1,3),(2,2),(3,1) give three.
5. Four identical balls into two unlabelled nonempty boxes: count?
Stretch
- 2
- 3
- 7
- 14
Hint
Ignore the order of occupancy sizes.
Answer and reasoning
2. The possibilities are {1,3} and {2,2}.
6. Why must object and box labels be specified?
Stretch
- They affect only the diagram
- They never affect the answer
- They force all boxes nonempty
- They determine which outcomes are considered different
Hint
Counting needs a precise equality rule for outcomes.
Answer and reasoning
They determine which outcomes are considered different. Changing distinguishability can change the answer from assignments to compositions or partitions.
7. For identical objects, exchanging two of them changes the outcome how?
Foundation
- It empties a box
- It changes the number of objects
- It does not change it
- It always creates a new outcome
Hint
Identical objects have no individual labels.
Answer and reasoning
It does not change it. Only the occupancy pattern matters.
8. Three distinct balls in two labelled boxes, empties allowed: count?
Core
- 8
- 6
- 4
- 3
Hint
Each ball has two choices.
Answer and reasoning
8. 2³=8.
9. Why is blindly dividing by k! unsafe when empty boxes are allowed?
Stretch
- Relabelling can repeat assignments with empty boxes
- never counts assignments
- Factorials are not integers
- All boxes must contain one object
Hint
The label action may have stabilisers.
Answer and reasoning
Relabelling can repeat assignments with empty boxes. Permuting empty boxes may leave an assignment unchanged, so the multiplicity need not be k!.
Choose your next step
Continue to Pigeonhole principle. If this felt difficult, return to a prerequisite above. Every lesson stays open.
Original teaching material · IMOolympiad.com. Send a specific correction through our contact page. Learning progress is optional and stays in this browser.