Combination
A combination is an unordered list of elements from a set where the elements in the set are not replaced. Formally, the total number of combinations of elements that can be made from a set of elements is expressed as
thereby not only “cutting off” the unused arrangements, but accounting for the ways of permuting every sequence of selected elements, since order does not matter here. This is a direct consequence of the division principle.Combination counting is used to count the number of ways to choose a subset of items without regard to order (and without repetition), for instance, selecting three students from a class of ten.
Intuition
We know from the previous note that given a “constrained” sequence size , and a set of elements, there are ways to construct the sequence without repeating elements, where order does matter.
However, in combinations, the order does not matter. This means that sequences like and , though different as permutations, represent the same group when order is irrelevant.
As such, we must account for all permutations that represent the same combination. Since each group of distinct elements can be permuted (i.e., rearranged) in different ways, we divide by to eliminate overcounting directly from the division principle and obtain .
Examples
Dice Throws
We are playing Threes Away, and throw the 3 dice one by one.
How many throws are in strictly increasing order?
Since each dice has 6 faces, and we are choosing 3 distinct elements, the total number of throws in strictly increasing order is
How many throws are in strictly decreasing order? .
By symmetry, the answer is also
How many throws are not in strict order? . Since this is a complement of the subset of sequences which are in strict order, the answer is
First note that the total number of outcomes is
How many throws have two of the same value? To think about why, consider 4 to be the repeating value, and 2 as the singleton value:
Since we are counting two of the same value, we have one free choice which can take on all 6 values, and one face which can take on the other 5 values. Since 2 of the 3 values are equal, our answer is
- If you choose positions 1 and 2 to be the 4’s, the outcome is .
- If you choose positions 1 and 3, it’s .
- If you choose positions 2 and 3, it’s .
Since there are 3 different ways to pick a pair of positions out of 3, that’s . In other words, “3 choose 2” just counts the number of ways to place the two identical dice among the three spots.
As a side note, you might be tempted to answer . However, this only accounts for one of the 3 cases we outlined above.
Grids