Option (B) is correct.
Explanation:
Step 1: glue the chemistry books. Treat the 4 chemistry books as one block [C]. The objects to arrange are
M, M, M, P, P, [C]
that is, 6 objects with M repeated 3 times and P repeated 2 times. The number of arrangements is
3!2!6!=12720=60
Step 2: arrange inside the block. The 4 chemistry books are all different, so inside the block they can stand in 4!=24 orders.
Total:
60×24=1440
Why the other options are wrong
- (A) 30240=3!2!9! arranges all 9 books freely and ignores the condition that the chemistry books stand together.
- (C) 17280=6!×4! treats the 3 maths copies and the 2 physics copies as different books. Swapping two identical copies does not give a new arrangement.
- (D) 60 arranges the 6 objects but forgets that the 4 different chemistry books can be ordered in 4!=24 ways inside their block.