Math Fundamentals18 sections · 814 units
Open in Course

Counting Subsets

The power of 2

How many subsets does a set with nn elements have? For each element, you have 2 choices: include it or exclude it. By the product rule, the total is 2×2×...×2=2n2 \times 2 \times ... \times 2 = 2^n.

For {a,b,c}\{a, b, c\}, the 8 subsets are: {},{a},{b},{c},{a,b},{a,c},{b,c},{a,b,c}\{\}, \{a\}, \{b\}, \{c\}, \{a,b\}, \{a,c\}, \{b,c\}, \{a,b,c\}. This includes the empty set and the full set.