Combinations without Repetitions#
Definition: Combination
A combination of class \(k\) is a subset of \(S\) with \(k\) elements.
Note
If \(S\) has \(n\) elements, we also say a "combination of \(n\) elements of class \(k\)".
Intuition
A combination of class \(k\) is just a way to pick \(k\) elements of \(S\), irrespective of any order. You can imagine \(S\) as a big box full of marbles, each marble with a unique colour. You grab a small bucket and dunk it inside the box. It fills up with \(k\) marbles and you pull it out. Inside the bucket is now a combination of class \(k\). If you now put a lid on the bucket and shake it so that the marbles stay inside but shift their places around, you would still be considered to have the same combination.
Example
Suppose \(S = \{A, B, C, D\}\).
The following are combinations of class \(2\):
The following are combinations of class \(3\):
Theorem: Total Number of Combinations
The total number of combinations of \(n\) elements of class \(k\) can be calculated the number of permutations of \(n\), \(k\) and \(n - k\) elements as follows:
Notation
The notation \(\binom{n}{k}\) is also called a binomial coefficient due to its connection with the binomial theorem.
Proof
TODO
Combinations with Repetition#
Definition: Combination with Repetition
Let \(S = \{s_1, \dotsc, s_n\}\) be a set.
A combination with repetition of \(S\) of class \(k\) is a multiset with cardinality \(k\) whose elements are elements of \(S\).
Example
Let \(S = \{1, 2, 3\}\).
Some combinations with repetition of class \(2\) are
Some combinations with repetition of class \(3\) are
Some combinations with repetition of class \(4\) are
Theorem: Total Number of Combinations with Repetition
If \(S\) is a set with \(n\) elements, then the total number of combinations with repetition of class \(k\), denoted by \(\tilde{C}_n^k\) is the total number of combinations without elements of \((n+k-1)\) elements of class \(k\).
Proof
TODO