A group of 9 students, , is to be divided to form three teams , , and of sizes 2, 3, and 4, respectively. Suppose that cannot be selected for the team , and cannot be selected for the team . Then the number of ways to form such teams, is ____
Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.
Solution
Core idea. Two restrictions on a division are handled by subtracting each and adding back the divisions that break both.
Concept refresher. The number of ways to divide people into labelled teams of sizes is
and inclusion–exclusion removes the forbidden cases: .
Approach. Use inclusion–exclusion.
Step 1: Total and single restrictions
All divisions number . With the first student in X: . With the second student in Y: .
Step 2: Overlap
With both: X takes one of the 7 others and Y two of the remaining 6, so . Hence
Answer. 665
Common wrong answers
- 560: Forgetting to add back the overlap gives .
- 770: Subtracting the overlap instead of adding it gives , double-counting the overlap twice.
Key takeaway
The trap. Students forget to add back the overlap.
How toppers think. They fix the restricted people first in every count.
Remember. .