Repeated Combination

Definition

A rr-combination with repetitions, or rr-multicombination from a set SS of size nn is defined by ( ⁣ ⁣(nr) ⁣ ⁣)=(n+r1r)\begin{aligned} \left( \!\! \binom{n}{r} \!\! \right) = \binom{n + r - 1}{r} \end{aligned}

Since it is a combination, the arrangement of the members in SS does not matter. However, the difference is that it is a sample of rr elements from a set of nn elements allowing for duplicates.

Derivation

First, consider S={1,2,3}S = \{ 1, 2, 3 \}. All possible cases of the repeated combination are as follows. {1,1},{1,2},{1,3},{2,2},{2,3},{3,3}\begin{equation} \{ 1, 1 \}, \{ 1, 2 \}, \{ 1, 3 \}, \{ 2, 2 \}, \{ 2, 3 \}, \{ 3, 3 \} \end{equation}

If 00 and 11 are added to the first and second elements of each of them, {1,2},{1,3},{1,4},{2,3},{2,4},{3,4}\begin{equation} \{ 1, 2 \}, \{ 1, 3 \}, \{ 1, 4 \}, \{ 2, 3 \}, \{ 2, 4 \}, \{ 3, 4 \} \end{equation}

It is a combination of nn things taken rr at a time without repetition. Furthermore, since the case (1) and (2) are one-to-one correspondence, ( ⁣ ⁣(32) ⁣ ⁣)=(42)=6\left( \!\! \dbinom{3}{2} \!\! \right) = \dbinom{4}{2} = 6. Generally speaking, ( ⁣ ⁣(nr) ⁣ ⁣)\left( \!\! \dbinom{n}{r} \!\! \right) can be analyized as follows. ( ⁣ ⁣(nr) ⁣ ⁣)(n+r1r){1,1,1,,1}{1,2,3,,r}{1,1,1,,2}{1,2,3,,r+1}     adding {0,1,,r1}    {2,2,2,,2}{2,3,4,,r+1}{n,n,n,,n}{n,n+1,n+2,,n+r1}\begin{aligned} \begin{array}{ccc} \left( \!\! \dbinom{n}{r} \!\! \right) & & \dbinom{n + r - 1}{r} \\\\ \hline \\ \{ 1, 1, 1, \cdots, 1 \} & & \{ 1, 2, 3, \cdots, r \} \\\\ \{ 1, 1, 1, \cdots, 2 \} & & \{ 1, 2, 3, \cdots, r + 1 \} \\ \vdots & \implies \text{ adding } \{ 0, 1, \cdots, r - 1 \} \implies & \vdots \\ \{ 2, 2, 2, \cdots, 2 \} & & \{ 2, 3, 4, \cdots, r + 1 \} \\ \vdots & & \vdots \\ \{ n, n, n, \cdots, n \} & & \{ n, n + 1, n + 2, \cdots, n + r - 1 \} \end{array} \end{aligned}

Therefore, the repeated combination selecting rr elements from distinct nn elements is equal to the combination selecting rr elements from distinct (n+r1)(n + r - 1) elements.

Another Point of View

Consider the number of cases selecting 2 among 3 characters, aa, bb, and cc allowing duplicates. This can be thought of as when putting 2 balls of the same color into 3 baskets, the characters correspond to the number of balls in each basket.

RepeatedCombination

As shown above, this is also the same as the number of cases arranging 2 balls and 2 separating bars. Generally speaking, ( ⁣ ⁣(nr) ⁣ ⁣)\left( \!\! \dbinom{n}{r} \!\! \right) is the number of cases arranging rr balls and (n1)(n - 1) separating bars. ( ⁣ ⁣(nr) ⁣ ⁣)=(n+r1)!(n1)!r!=(n+r1r)\begin{aligned} \left( \!\! \binom{n}{r} \!\! \right) = \frac{(n + r - 1)!}{(n - 1)! r!} = \binom{n + r - 1}{r} \end{aligned}


© 2024. All rights reserved.