Consider the selection of objects from as set of objects where order does not matter and repetition is allowed.
Any such selection is called a -combination with unlimited repetition of a set of objects
The number of -combination with unlimited repetition of a set of objects, The number of non-negative integer solutions of The number of distributions of integer balls into distinct boxes The number of sequences of length consisting of ’s and ’s
Proof
Let be the set of all -combinations with unlimited repetition of a set with elements.
Let be the set of all non-negative integer solutions of
Let be the set of all distributions of identical balls into distinct boxes
Let be the set of all sequences of length consisting of ’s and ’s
Show that
Prove
Let . Suppose that we selected objects of type 1, objects of type 2, and objects of type . Then, for an -tuple of integers the following holds:
Essentially, is a representation of the -combinations, i.e. if and then could be:
these would represent the -combinations:
And due to this, there is a one-to-one correspondence between and ,
Prove
Consider a distribution of identical boxes in distinct boxes, where box 1 gets balls, box 2 get balls, and box gets balls. Then for an -tuple of integers the following holds
Each -tuple of non-negative integers that is a solution of the linear equation corresponds to exactly one distribution of identical balls into distinct boxes, and vice versa
So there is a one-to-one correspondence between and
Proof
Example
In how many ways can 7 identical balls be distributed into 3 distinct boxes?
If we model this problem as a set of 0’s (for the balls) and |’s for the ‘walls’
i.e. 000 | 00 | 00 an example distribution of 3 boxes
To solve this we can do , choose 7 positions from 9
i.e. 0 0 0 _ 0 0 _ 0 0
Now, we place the |’s in the only available positions (1 way) The answer is
By Theorem 1.2,
Prove
For positive integer and , the number of -combinations with unlimited repetition of a set of objects is
Proof
Example
In how many ways can 7 identical balls be distributed into 3 distinct boxes?
If we model this problem as a set of 0’s (for the balls) and |’s for the ‘walls’
i.e. 000 | 00 | 00 an example distribution of 3 boxes
To solve this we can do , choose 7 positions from 9
i.e. 0 0 0 _ 0 0 _ 0 0
Now, we place the |’s in the only available positions (1 way) The answer is
By Theorem 1.2,
Examples
Example
Find the number of non-negative integer solutions of
Model as 30 identical balls distributed into 5 distinct boxes
30 0’s
4 |’s
Example
A bookshelf holds 11 different books in a row. In how many ways can we choose 4 books so that no consecutive books are chosen?
Model as a sequence of 0’s and |’s, | represents a chosen book and 0 represents a book that is not chosen Want a sequence of 4 |’s and 7 0’s but cannot have to consecutive |’s
First fill the middle 3 boxes with one book (Don’t need to fill the edges as a book next to the edge isn’t consecutive) You distribute 4 (0’s) across 5 boxes (4 |’s)