Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.
Paste your question to our Mathbee AI Mentor below to get an instant step-by-step solution.
The number of ways, 5 boys and 4 girls can sit in a row so that either all the boys sit together or no two boys sit together, is ________.
Step 1: The two conditions are mutually exclusive. If all five boys sit together, treat them as one block: 5!·5!=14,400 arrangements.
Step 2: If no two boys sit together, arrange the four girls in 4! ways, then place the five boys in the five gaps in 5! ways, giving 2,880.
Step 3: The required union has 14,400+2,880=17,280 arrangements.
Confused by the solution? Ask the AI to explain a specific step, tell you where you went wrong, or break down the key trap in this question.
Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.