We have looked only at combination problems in which we chose exactly [latex]r[/latex] objects. In some problems, we want to consider choosing every possible number of objects. Consider, for example, a pizza restaurant that offers 5 toppings. Any number of toppings can be ordered. How many different pizzas are possible?
To answer this question, we need to consider pizzas with any number of toppings. There is [latex]C\left(5,0\right)=1[/latex] way to order a pizza with no toppings. There are [latex]C\left(5,1\right)=5[/latex] ways to order a pizza with exactly one topping. If we continue this process, we get
There are 32 possible pizzas. This result is equal to [latex]{2}^{5}[/latex].
We are presented with a sequence of choices. For each of the [latex]n[/latex] objects we have two choices: include it in the subset or not. So for the whole subset we have made [latex]n[/latex] choices, each with two options. So there are a total of [latex]2\cdot 2\cdot 2\cdot \dots \cdot 2[/latex] possible resulting subsets, all the way from the empty subset, which we obtain when we say “no” each time, to the original set itself, which we obtain when we say “yes” each time.
A General Note: Formula for the Number of Subsets of a Set
A set containing n distinct objects has [latex]{2}^{n}[/latex] subsets.
Example 5: Finding the Number of Subsets of a Set
A restaurant offers butter, cheese, chives, and sour cream as toppings for a baked potato. How many different ways are there to order a potato?
Solution
We are looking for the number of subsets of a set with 4 objects. Substitute [latex]n=4[/latex] into the formula.
There are 16 possible ways to order a potato.
Try It 9
A sundae bar at a wedding has 6 toppings to choose from. Any number of toppings can be chosen. How many different sundaes are possible?
Candela Citations
- Precalculus. Authored by: OpenStax College. Provided by: OpenStax. Located at: http://cnx.org/contents/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1/Preface. License: CC BY: Attribution