Permutations with Repetition
Counting permutations when repetition of elements is allowed can easily be done using the product rule.Example
How many strings of length r can be formed from the uppercase letters of the English alphabet?Solution:
By the product rule, because there are 26 uppercase English letters, and because each letter can be used repeatedly, we see that there are strings of uppercase English letters of length .
The number of -permutations of a set with elements when repetition is allowed is given in Theorem 1.
The number of -permutations of a set with elements when repetition is allowed is given in Theorem 1.
Theorem
The number of -permutations of a set of objects with repetition allowed is . Proof:- There are ways to select an element of the set for each of the positions in the -permutation when repetition is allowed, because for each choice all n objects are available.
- Hence, by the product rule there are -permutations when repetition is allowed.
Combinations with Repetition
Example 1
How many ways are there to select four pieces of fruit from a bowl containing apples, oranges, and pears if the order in which the pieces are selected does not matter, only the type of fruit and not the individual piece matters, and there are at least four pieces of each type of fruit in the bowl?Solution:
To solve this problem we list all the ways possible to select the fruit. There are 15 ways:
The solution is the number of 4-combinations with repetition allowed from a three-element set, .
| 4 apples | 4 oranges | 4 pears |
| 3 apples, 1 orange | 3 apples, 1 pear | 3 oranges, 1 apple |
| 3 oranges, 1 pear | 3 pears, 1 apple | 3 pears, 1 orange |
| 2 apples, 2 oranges | 2 apples, 2 pears | 2 oranges, 2 pears |
| 2 apples, 1 orange, 1 pear | 2 oranges, 1 apple, 1 pear | 2 pears, 1 apple, 1 orange |
The solution is the number of 4-combinations with repetition allowed from a three-element set, .
Theorem
There are -combinations from a set with elements when repetition of elements is allowed.Example 2
Suppose that a cookie shop has four different kinds of cookies. How many different ways can six cookies be chosen? Assume that only the type of cookie, and not the individual cookies or the order in which they are chosen, matters.Solution:
The number of ways to choose six cookies is the number of -combinations of a set with four elements.
This equals
ways to choose 6 cookies.
This equals
ways to choose 6 cookies.
Combinations and Permutations with and Without Repetition Table.
| Type | Repetition Allowed? | Formula |
|---|---|---|
| -permutations | No | |
| -permutations | No | |
| -permutations | Yes | |
| -combinations | Yes |