[Math] A committee of 5 is to be chosen from a group of 9 people

combinatorics

A committee of 5 is to be chosen from a group of 9 people.Number of ways in which it can be formed if two particular persons either serve together or not at all and two other particular persons refuse to serve with each other.


Let $P_1,P_2$ be the persons who either serve together or not at all and $P_3,P_4$ be the persons who refuse to serve with each other.

Possible cases are $(P_1,P_2,P_3)$ and two others,$(P_1,P_2,P_4)$ and two others,$P_3$ and 4 others excluding $P_1,P_2,P_4$ and $P_4$ and 4 others excluding $P_1,P_2,P_3.$

Total cases are$=5C2+5C2+5C4+5C4=30$ but the answer is $41$

Best Answer

Using same nomenclature as you have used, there are 4 cases:

  1. P5 to P9 are selected = 1 case
  2. P1 and P2 both selected, choose any three from P5-P9 = 1*(5C3) = 10 cases
  3. P1 and P2 both selected, one of (P3, P4) is selected, and choose any two from P5-P9 = 1*(2C1)*(5C2) = 20 cases
  4. Don't select P1, P2; choose one out of P3, P4 and 4 from P5-P9 = (2C1)*(5C4) = 10 cases

Total = 1+10+20+10 = 41

Related Question