Professional Documents
Culture Documents
6.4.2
6.4.3
Counting Subsets
How many 3-element subsets of a 4-element set are there: Let A = {1,2,3,4} then all 3-permutations are: 123, 132, 213, 231, 312, 321 {1,2,3} 124, 142, 214, 241, 412, 421 {1,2,4} 134, 143, 314, 341, 413, 431 {1,3,4} 234, 243, 324, 342, 423, 432 {2,3,4}. Hence # 3-element subsets = (# 3-permutations) / (# 3-orderings) = P(4,3) / 3! = 4! / (1!3!) = 4! / 3! = 4.
6.4.4
Combinations
What we have just counted is a combination. In this instance, it was a combination of 4 elements taken 3 at a time. We use the Division Rule to negate the order condition of the permutation counts. In general, C(n,k) = P(n,k) / k! Equivalently, we use the choose notation to get:
()=
n k
n! k!(n k)!
6.4.5
6.4.6
Counting Teams
6.4.7
Suppose a group of 5 men and 7 women want to pick a 5-person team. How many teams can they make with 3 men and 2 women?
C(5,3)C(7,2) = [5!/(3!2!)][7!/(5!2!)] = 7!/(3!2!2!).
Generalized Permutations
6.4.8
In Section 2, we learned how to count the number of orderings of the letters of COMPUTER. What about the number of orderings of the letters of MISSISSIPPI? In this case, we note that not all the letters are distinct. In particular, MISSISSIPPI IIIISSSSPPM, so although we are still searching for an ordering structures, there are sub-unorderings present, induced by the repeated letters, for which we have to account.
6.4.9
Lets apply the Division Rule to negate the effect of the unordering portions of the overall order problem. This leaves us with a total count of 11!/4!4!2!. Here, the first quotient of 4! mods out the effect of the unordered Is, the second quotient of 4! mods out the effect of the unordered Ss, and the last quotient of 2! mods out the effect of the unordered Ps.
6.4.10
If we model this problem, purely as a combination, and not a permutation at all, we can reason the task as: 1. Choose 4 slots from 11 for the Is; 2. Choose 4 slots from the remaining 7 for the Ss; 3. Choose 2 slots from the remaining 3 for the Ps; 4. Place the M (only 1 way remaining). This yields: C(11,4)C(7,4)C(3,2)C(1,1) = (11!7!3!)/(7!4!4!3!2!1!) = 11!/(4!4!2!).
6.4.11
Theorem: Suppose a collection consists of n objects of which: n1 are of type 1, indistinguishable from each other; n2 are of type 2, indistinguishable from each other; ... nk are of type k, indistinguishable from each other; and n1 + n2 + ... + nk = n. Then the number of distinct permutations of the n objects is: C(n,n1)C(nn1,n2)C(nn1n2,n3)...C(nk,nk) = n! / (n1!n2!n3!...nk!).