The number of ways, of forming a queue of boys and girls such that all the girls are not together, is:
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. For a negative condition, count the positive case and subtract it from the total.
Concept refresher. The number of arrangements of distinct objects in a row is . If of them must stay together, glue them into one block: the block and the other objects can be arranged in ways, and the block itself in ways, so
valid for . The arrangements in which the objects are not all together number .
Picture the situation. Seven distinct children stand in a row. All the girls are not together means the three girls do not all stand side by side; two of them may still be next to each other.
Approach. Count all queues, count the queues with the three girls in one block, and subtract.
Step 1: Count all queues
With no condition, the seven children are distinct objects in a row, so every order counts:
Step 2: Count the queues with the girls together
Glue the three girls into one block; the block and the four boys are five objects, and the girls can be ordered inside the block:
Step 3: Take the complement
The queues in which the girls are not all together are the rest:
Answer. (D)
Sanity check. The count with no two girls next to each other is only , which is smaller than , as it must be, since not all three together is a weaker condition.
Why the other options are wrong
- (A) The value counts every queue of the seven children; the queues with all three girls together still have to be removed.
- (B) The value would need queues with the three girls together, but treating the girls as one block gives such queues.
- (C) The value would need queues with the girls together, but that count is , and .
Key takeaway
The trap. Treating all the girls are not together as no two girls together, which gives instead.
How toppers think. They read the exact condition, then decide between the gap method and the complement.
Remember. objects together among give arrangements.
More on Permutations
- The number of 4 -letter words, with or without meaning, each consisting of two vowels and two consonants…
- Three persons enter in a lift at the ground floor. The lift will go up to 10^th floor. The number of ways…
- Let S = {1, 2, 3, 4, 5, 6, 7, 8, 9}. Let x be the number of 9 -digit numbers formed using the digits of the…
- All 55 on Permutations ›