Let suppose there are p elements in a set A. We are asked to select q elements from this set, given that each element can be selected multiple times. This is known as a combination with repetition . For instance, we can make combinations of three elements of the set {p, q, r, s} in this way: ppp , ppq , ppr, pps , pqq , pqr , pqs , prr , prs, pss , qqq , qqr , qqs , qrr , qrs , qss , rrr , rrs,rss , sss You can see that most of the alphabets are repeated more than once. Combination With Repetition
Let us consider another example: Three flavors of ice-cream are available in an ice-cream cafe. These flavors are chocolate, vanilla, and pineapple. A person can have only two scoops of ice cream. What will be the variations in this case? Well, if the person can select two scoops at a time, then he can have one flavor two times. In this case, the examples of variations can be: chocolate, chocolate, vanilla chocolate, chocolate pineapple, etc. The order does not matter, and flavors can be repeated.
You can use the formula below to find out the number of combinations when repetition is allowed. Here, n = total number of elements in a set r = number of elements that can be selected from a set We will now solve some of the examples related to combinations with repetition which will make the whole concept clearer.
There are five colored balls in a pool. All balls are of different colors. In how many ways can we choose four pool balls? Solution The order in which the balls can be selected does not matter in this case. The selection of balls can be repeated. Total number of balls in the pool= n = 5 The number of balls to be selected = r = 4 Use the following formula to get the number of arrangements in which the four pool balls can be chosen. Example 1
There are five colored balls in a pool. All balls are of different colors. In how many ways can we choose four pool balls? Solution: Example 1
There are eight different ice-cream flavors in the ice-cream shop. In how many ways can we choose five flavors out of these eight flavors? Solution The order in which the flavors can be selected does not matter in this case. One ice-cream flavor can be selected multiple times. Total number of ice-cream flavors = n = 8 The number of ice-cream flavors to be selected = r = 5 Use the following formula to get the number of arrangements in which the five ice-cream flavors can be chosen. Example 2
There are eight different ice-cream flavors in the ice-cream shop. In how many ways can we choose five flavors out of these eight flavors? Solution: Example 2 Hence, the ice-cream flavors can be selected in 792 ways.
Harry has six different colored shirts. In how many ways can he hang the four shirts in the cupboard? Solution The order in which the shirts can be selected does not matter in this case. The shirts can be repeated. Total number of shirts = n = 6 The number of shirts to be selected = r = 4 Example 3
Harry has six different colored shirts. In how many ways can he hang the four shirts in the cupboard? Solution: Example 3 Hence, the shirts can be displayed in 126 different ways.
Alice has seven different chocolates. How many ways can five chocolates be selected? Solution The order in which the chocolates can be selected does not matter in this case. The flavors can be repeated. Total number of chocolates = n = 7 The number of chocolates to be selected = r = 5 Example 4
Alice has seven different chocolates. How many ways can five chocolates be selected? Solution Example 4
Example 5 Sam has five colored pencils. In how many ways can he select three pencils? Solution The order in which the pencils can be selected does not matter in this case. The pencils can be repeated. Total number of pencils = n = 5 The number of pencils to be selected = r = 3
Example 5 Sam has five colored pencils. In how many ways can he select three pencils? Solution