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
- (A)18
- (B)36✓ Correct
- (C)39
- (D)72
Answer: (B)
Solution
With no bag empty, four distinct books in three distinct bags must follow the split . Choose the two books that share a bag in ways, then distribute the three resulting groups among the three distinct bags in ways:
Equivalently, the number of onto maps from four books to three bags is
Equivalently, the number of onto maps from four books to three bags is
JEE Main · 2026 · 08 Apr 2026 · Shift 2 · Single correct option