Permutations: Arrangements with Distinct and Identical Objects and Restrictions — DPP: 5 different Physics books and 4 different Chemistry books are arranged in a row on a…
Question
different Physics books and different Chemistry books are arranged in a row on a shelf so that all Physics books stand together but not all Chemistry books stand together. In how many ways can this be done?
Options
- 8640
- 14400
- 5760
- 20160
Answer
Correct option: A
Hint
First count arrangements with the Physics books together, then subtract the (smaller) set where both subjects are together.
Solution
Glue the Physics books into one block. This block plus the Chemistry books gives units, arranged in ways, times internal arrangements of the block: arrangements with Physics together.
Among these, the ones where the Chemistry books are also all together: glue both groups into blocks, arranged in ways, times (Physics internal) times (Chemistry internal): .
Arrangements with Physics together but Chemistry not all together .