Exercise 874Combinatorics › Counting principlesHigh schoolAdded 3 Nov 2026
Ordering books on a shelf
#permutations#block arrangement#product
Statement
There are math books, physics books, and chemistry books to be arranged in a row, but all books of the same subject must stay together. How many arrangements are possible?
Hint
Treat each group as a block. Arrange the blocks, then the books within each block.
Show solutionHide solution
Solution
Blocks. blocks (math, physics, chemistry).
Arrange blocks. ways.
Within blocks. Math: ; physics: ; chemistry: .
Total. .
Conclusion. There are arrangements.