zaro

What is the Trick to Find the Number of Subsets?

Published in Set Theory 3 mins read

The trick to finding the number of subsets for any given set is remarkably simple: it's always a power of two based on the number of elements in the set.

Understanding Subsets and the Core Formula

A subset is a set formed by taking some or all elements from another set. Every set is considered a subset of itself, and the empty set (a set with no elements, typically denoted as {} or ) is a subset of every set.

The fundamental formula to determine the total number of subsets for any given set is straightforward:

  • If a set contains n distinct elements, the total number of subsets it can have is 2^n.

This formula works because for each element in the original set, there are exactly two possibilities: it can either be included in a subset or excluded from it. Since there are n elements, and each has these two independent choices, the total number of combinations (which represent all possible subsets) is 2 multiplied by itself n times.

Example: Total Subsets

Let's consider a set A with elements A = {apple, banana, cherry}.
Here, the number of elements (n) is 3.
The total number of subsets = 2^n = 2^3 = 8.
These subsets include:

  • {} (the empty set)
  • {apple}
  • {banana}
  • {cherry}
  • {apple, banana}
  • {apple, cherry}
  • {banana, cherry}
  • {apple, banana, cherry} (the set itself)

Differentiating Proper Subsets

While the 2^n formula provides the count for all possible subsets, you might sometimes need to find only proper subsets. A proper subset is a subset that contains some, but not all, elements of the original set. In simpler terms, it's any subset except the original set itself.

The formula for the number of proper subsets is:

  • If a set contains n distinct elements, the number of proper subsets is 2^n - 1.

You subtract 1 because you are explicitly excluding the original set itself from the count of total subsets.

Example: Proper Subsets

To illustrate proper subsets, consider a set A with the elements, A = {a, b}.
Here, the number of elements (n) is 2.

The total number of subsets would be 2^2 = 4 (these are {}, {a}, {b}, {a, b}).

The number of proper subsets is calculated as 2^n - 1 = 2^2 - 1 = 4 - 1 = 3.
The proper subsets of this specific set are:

  • {} (the empty set)
  • {a}
  • {b}

Notice that {a, b} itself is not included in the list of proper subsets, as it is not a proper subset.

Summary Table: Subsets Formulas

To quickly recall the formulas for subsets:

Concept Formula Description Example (n=2, Set={a,b}) Count
Total Subsets 2^n Includes the empty set and the set itself. {}, {a}, {b}, {a,b} 4
Proper Subsets 2^n - 1 Includes all subsets except the set itself. {}, {a}, {b} 3

For more comprehensive information on set theory and its various components, you can explore resources like Khan Academy's Introduction to Sets.