Arun, Gulab, Neel and Shweta must choose one shirt each from a pile of four shirts coloured red, pink, blue and white respectively. Arun dislikes the colour red and Shweta dislikes the colour white. Gulab and Neel like all the colours. In how many different ways can they choose the shirts so that no one has a shirt with a colour he or she dislikes?
View worked solution
Answer: D
We need to find the number of ways to distribute four distinct shirts—Red (), Pink (), Blue (), and White ()—to four people—Arun (), Gulab (), Neel (), and Shweta ()—such that:
- Arun () does not get Red ().
- Shweta () does not get White ().
- Gulab () and Neel () can get any color.
We can solve this using the Principle of Inclusion-Exclusion (PIE):
Let be the set of all possible distributions of the 4 shirts to the 4 people without any restrictions.
Let be the set of distributions where Arun gets the Red shirt:
If Arun gets , the remaining 3 shirts can be distributed among in ways.
Let be the set of distributions where Shweta gets the White shirt:
If Shweta gets , the remaining 3 shirts can be distributed among in ways.
Let be the set of distributions where Arun gets Red and Shweta gets White:
If Arun gets and Shweta gets , the remaining 2 shirts can be distributed among and in ways.
Using the Principle of Inclusion-Exclusion, the number of valid ways is:
Thus, there are 14 different ways to choose the shirts.
Free practice · Your answers on this page are not saved.
