Hi Ron,
I have a general question on combinations, where the slot method and the nCr formula yield different results. Can you tell me the correct answer and what is flawed in either approach?
Q. A manager has to choose a group of 5 people out of 10 (A - J) such that 2 people (A and B) are never together. How many such groups are possible?
There are 2 ways to solve this:
1) Using the combinations formula nCr
Total no. of groups possible for choosing 5 out of 10 people = 10C5
No. of groups in which A and B are always included = 8C3
Therefore, Number of groups where A and B are never together = Total no. of groups possible - Groups where A and B are always included
= 10C5 - 8C3
= 196 groups
2) Using the slot method
There are 3 ways in which A and B can never be together in a group:
a) A is selected, but B is not
b) B is selected, but A is not
c) Both A and B are not selected in the group
a) A is selected, but B is not
1 8 7 6 5
-First slot is A
-Second slot cannot be B and A is already chosen out of the 10, so 8 possibilities
-Third slot - 7 possibilities, 4th: 6, 5th: 5
-Order does not matter and there are 5 positions, so divide by 5!
Total no of groups which contain A but not B =( 1*8*7*6*5)/5! = 14
b) B is selected, but A is not
Similar to a) Replace A by B
1 8 7 6 5
No. of groups which contain B but not A =( 1*8*7*6*5)/5! = 14
c) Both A and B are not selected in the group
8 7 6 5 4
-First slot cannot be A or B, same holds for the remaining slots
-Order does not matter and there are 5 positions, so divide by 5!
No. of groups which contain neither A nor B = (8*7*6*5*4)/5! = 56
Combining a), b) and c),
Total no. of groups where A and B are not together = a) + b) + c) = 14+14+56 = 84 groups
Please help!