If there are 7 boys and 5 girls in a class, then in how many ways can they be seated in a row such that
(i) all the boys sit together and all the girls sit together?
(ii) all the girls never sit together (the five girls are never all in one block)?
Confirming your payment
Practice Questions · Question 33 of 37
If there are 7 boys and 5 girls in a class, then in how many ways can they be seated in a row such that
(i) all the boys sit together and all the girls sit together?
(ii) all the girls never sit together (the five girls are never all in one block)?
(i) Tie the 7 boys into one block and the 5 girls into another block. The two blocks can stand in the row in orders (boys first or girls first). Inside the boys' block, the boys can be arranged in ways, and inside the girls' block, the girls in ways.
(ii) All 12 children can be seated in a row in ways.
Now count the ways in which all 5 girls do sit together. Treat the 5 girls as one block. Then there are 8 objects (7 boys and 1 block), which can be arranged in ways. Inside the block, the 5 girls can be arranged in ways. So all the girls sit together in ways.
The number of ways in which all the girls never sit together is