3 Permutations and Combinations
Suppose that a set \(S\) is partitioned into pairwise disjoint parts \(S_1,S_2, \ldots , S_m\). The number of objects in \(S\) can be determined by finding the number of objects in each of the parts, and adding the numbers so obtained:
.
Let \(S\) be a set of ordered pairs \((a, b)\) of objects, where the first object \(a\) comes from a set of size \(p\), and for each choice of object a there are \(q\) choices for object \(b\). Then the size of \(S\) is \(p \times q\).
Let \(A\) be a set and let \(U\) be a larger set containing \(A\). Let \(\overline{A} = U \setminus A = \{ x \in U : x \notin A \} \) be the complement of \(A\) in \(U\). Then the number \(|A|\) of objects in \(A\) is given by the rule: \(|A| = |U| - |\overline{A}|\).
Let \(S\) be a finite set that is partitioned into \(k\) parts in such a way that each part contains the same number of objects. Then the number of parts in the partition is given by the rule: \(k = \frac{|S|}{\text{number of objects in a part}}\).
For \(n\) and \(r\) positive integers with \(r\leq n\),
The number of circular r-permutations of a set of \(n\) elements is given by
In particular, the number of circular permutations of \(n\) elements is \((n - 1)!\).
For \(0\leq r \leq n\),
Hence,
For \(0 \leq r \leq n\),
(Pascal’s formula) For all integers \(n\) and \(k\) with \(1 \leq k \leq n-1\),
For \(n \geq 0\),
and the common value equals the number of subsets of an n-element set.
Let \(S\) be a multiset with objects of \(k\) different types, where each object has an infinite repetition number. Then the number of r-permutations of \(S\) is \(k^{r}\).
Let \(S\) be a multiset with objects of \(k\) different types with finite repetition numbers \(n_1, n_2, ... , n_k\), respectively. Let the size of \(S\) be \(n = n_1 + n_2 + ... + n_k\). Then the number of permutations of \(S\) equals
Let \(n\) be a positive integer and let \(n_1, n_2, ... ,n_k\) be positive integers with \(n = n_1 + n_2 + ... + n_k\). The number of ways to partition a set of \(n\) objects into \(k\) labeled boxes in which Box 1 contains \(n_1\) objects, Box 2 contains \(n_2\) objects, ..., Box k contains \(n_k\) objects equals
If the boxes are not labeled, and \(n_1 = n_2 = ... = n_k\), then the number of partitions equals
There are \(n\) rooks of \(k\) colors with \(n_1\) rooks of the first color, \(n_2\) rooks of the second color, . . . , and \(n_k\) rooks of the kth color. The number of ways to arrange these rooks on an n-by-n board so that no rook can attack another
Let \(S\) be a multiset with objects of \(k\) types, each with an infinite repetition number. Then the number of r-combinations of \(S\) equals