JEE Main 2026 · 4 April · morning · Single correct · +4 / −1

The number of ways, of forming a queue of 4 boys and 3 girls such that all the girls are not together, is:

  1. (a) 5040
  2. (b) 3050
  3. (c) 3410
  4. (d) 4320
Answer and solution

Answer (d) 4320

Solution

Maths sir · 3 steps

Count every queue, then throw out the ones where all three girls stand together.

  1. All queues. There are 7 different people, so they can line up in 7! = 5040 ways.
  2. Girls all together. Tie the 3 girls into one block. That leaves 5 units (4 boys and the block), which line up in 5! = 120 ways. Inside the block the girls can stand in 3! = 6 orders, so there are 120 × 6 = 720 such queues.

    7! - 5!× 3! = 5040 - 720 = 4320

  3. So. The number of queues in which the three girls are not all together is 4320, option (d).

The idea to keep. When the condition says "not all together", do not count it directly. Count the total, count the "all together" cases by tying them into one block, and subtract.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Permutations & Combinations

Asked about 160 times in JEE Main since 2020. This question is from 2026.