Power Set

Basis
Last updated: Tags: Set Theory

Prerequisites

Every set carries a hidden companion: the set of all its subsets. This companion is called the power set, and it is always strictly larger than the original set — even for infinite ones. Power sets appear in combinatorics, logic, topology, and computer science, so understanding them early pays dividends across many subjects.

Definition

Let AA be a set. The power set of AA, written P(A)\mathcal{P}(A), is the set whose elements are exactly the subsets of AA:

P(A)    {SSA}.\mathcal{P}(A) \;\coloneqq\; \{S \mid S \subseteq A\}.

The elements of P(A)\mathcal{P}(A) are themselves sets — this is what makes the power set feel unusual at first. Two subsets are always guaranteed to be in P(A)\mathcal{P}(A) for any AA:

  • P(A)\emptyset \in \mathcal{P}(A), because the empty set is a subset of every set.
  • AP(A)A \in \mathcal{P}(A), because AA is always a subset of itself.

Building the power set step by step

Let A={1,2,3}A = \{1, 2, 3\}. You can enumerate all subsets by grouping them by size:

SizeSubsets
0\emptyset
1{1}\{1\}, {2}\{2\}, {3}\{3\}
2{1,2}\{1,2\}, {1,3}\{1,3\}, {2,3}\{2,3\}
3{1,2,3}\{1,2,3\}

Therefore:

P({1,2,3})={,  {1},  {2},  {3},  {1,2},  {1,3},  {2,3},  {1,2,3}}.\mathcal{P}(\{1,2,3\}) = \bigl\{ \emptyset,\; \{1\},\; \{2\},\; \{3\},\; \{1,2\},\; \{1,3\},\; \{2,3\},\; \{1,2,3\} \bigr\}.

Count the elements: there are 88 of them.

Cardinality of the power set

For a finite set AA with A=n|A| = n elements,

P(A)=2n.(1)|\mathcal{P}(A)| = 2^n. \tag{1}

Why 2n2^n? For each of the nn elements in AA, you face a binary choice: include it in the subset or leave it out. The total number of distinct ways to make all nn choices is

2×2××2n factors=2n.\underbrace{2 \times 2 \times \cdots \times 2}_{n \text{ factors}} = 2^n.

This is why P(A)\mathcal{P}(A) is also written 2A2^A.

Checking the example. {1,2,3}=3|\{1,2,3\}| = 3, so P({1,2,3})=23=8|\mathcal{P}(\{1,2,3\})| = 2^3 = 8. That matches the eight subsets listed above.

A few small cases worth knowing:

| A|A| | P(A)|\mathcal{P}(A)| | Example | |-------|--------------------|---------| | 00 | 11 | P()={}\mathcal{P}(\emptyset) = \{\emptyset\} | | 11 | 22 | P({a})={,{a}}\mathcal{P}(\{a\}) = \{\emptyset, \{a\}\} | | 22 | 44 | P({a,b})={,{a},{b},{a,b}}\mathcal{P}(\{a,b\}) = \{\emptyset, \{a\}, \{b\}, \{a,b\}\} | | 33 | 88 | (as above) | | 1010 | 10241024 | — |

Notice that P()={}\mathcal{P}(\emptyset) = \{\emptyset\} has exactly one element (the empty set itself), not zero.

The binary string viewpoint

Each subset SAS \subseteq A corresponds to a characteristic function that marks which elements of AA are in SS:

1S ⁣:A{0,1},a{1aS0aS\mathbf{1}_S \colon A \to \{0, 1\}, \quad a \mapsto \begin{cases} 1 & a \in S \\ 0 & a \notin S \end{cases}

For A={1,2,3}A = \{1, 2, 3\}, ordering the elements as (a1,a2,a3)=(1,2,3)(a_1, a_2, a_3) = (1, 2, 3) gives a bijection between P(A)\mathcal{P}(A) and binary strings of length 3:

SubsetBinary string (a1,a2,a3)(a_1, a_2, a_3)
\emptyset(0,  0,  0)(0,\;0,\;0)
{1}\{1\}(1,  0,  0)(1,\;0,\;0)
{2}\{2\}(0,  1,  0)(0,\;1,\;0)
{3}\{3\}(0,  0,  1)(0,\;0,\;1)
{1,2}\{1,2\}(1,  1,  0)(1,\;1,\;0)
{1,3}\{1,3\}(1,  0,  1)(1,\;0,\;1)
{2,3}\{2,3\}(0,  1,  1)(0,\;1,\;1)
{1,2,3}\{1,2,3\}(1,  1,  1)(1,\;1,\;1)

There are exactly 23=82^3 = 8 binary strings of length 3, which independently confirms equation (1)(1).

This bijection P(A){0,1}A\mathcal{P}(A) \cong \{0,1\}^A is the deeper reason for the notation 2A2^A: 22 is the set {0,1}\{0, 1\}, and {0,1}A\{0,1\}^A is the set of all maps from AA to {0,1}\{0,1\}.

Power sets of infinite sets

For infinite sets, equation (1)(1) no longer applies directly — but the spirit survives. Cantor’s theorem states that for any set AA, there is no surjection from AA onto P(A)\mathcal{P}(A). In particular:

A<P(A)|A| < |\mathcal{P}(A)|

in the sense that there is an injection AP(A)A \hookrightarrow \mathcal{P}(A) (send each aa to {a}\{a\}) but no bijection. The power set is always strictly larger than the original set, even when both are infinite.

Summary

  • The power set P(A)\mathcal{P}(A) is the set of all subsets of AA; its elements are sets.
  • It always contains \emptyset and AA itself.
  • For a finite set, P(A)=2A|\mathcal{P}(A)| = 2^{|A|} — one subset per binary choice of inclusion.
  • Each subset corresponds to a binary string of length A|A|, giving a bijection P(A){0,1}A\mathcal{P}(A) \cong \{0,1\}^A; hence the alternative notation 2A2^A.
  • Cantor’s theorem: for any set AA, P(A)\mathcal{P}(A) is strictly larger than AA — there is no surjection AP(A)A \twoheadrightarrow \mathcal{P}(A).