A person has three different bags and four different books. The number of ways, in which he can put these books in the bags so that no bag is empty, is :
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. With no bag empty, the books split as , so choose the pair and arrange three groups in three bags.
Concept refresher. The number of ways to place distinct objects into distinct boxes with no box empty is, by inclusion and exclusion,
valid for . Equivalently, split the objects into non-empty groups and arrange the groups in the distinct boxes.
Picture the situation. Four different books go into three different bags with none empty, so the sizes must be : one bag holds a pair and the other two hold one book each.
Approach. Count by grouping, choosing the pair and then arranging the three groups, and confirm with inclusion and exclusion.
Step 1: Choose the pair
The only split of four books into three non-empty groups is , so first choose the two books that share a bag:
Step 2: Place the three groups
The pair and the two single books are three different groups, and the bags are different, so the groups can be put in the bags in ways. The total is
Step 3: Check by inclusion and exclusion
All placements number ; those that miss a chosen bag number each, and those that use only one bag number each:
Answer. (B)
Sanity check. With books and the pair , the six orders of , , in three bags are all different; six pairs times six orders gives , and no arrangement can arise from two different pairs.
Why the other options are wrong
- (A) Choosing the pair in ways and its bag in ways gives , but the two single books can still be placed in the other two bags in ways, so the count is .
- (C) Inclusion and exclusion with the last term doubled gives ; with exactly one bag used there are placements, so the count is .
- (D) Putting one book in each bag first, ways, and then the fourth book in any of bags gives , but each arrangement is reached twice, once for each book of the pair placed first.
Key takeaway
The trap. Placing one book in each bag and then the fourth anywhere, which counts each arrangement twice.
How toppers think. They list the possible group sizes first, so every arrangement is counted exactly once.
Remember. Onto placements of distinct objects in distinct boxes number .
More on Distribution Problems
- A building has ground floor and 10 more floors. Nine persons enter in a lift at the ground floor. The lift…
- Let A = {(a, b, c): a, b, c; are non-negative integers and; a + b + 2c = 22}. Then n(A) is equal to:
- The number of ways, in which 16 oranges can be distributed to four children such that each child gets at…
- All 19 on Distribution Problems ›