Power Sets

How many ways can you choose a committee from five people? This includes choosing nobody or everybody. This concrete counting question hides a deep set-theoretic idea. The collection of all subsets of a set is itself a set. It is worth studying in its own right. This article introduces the power set P(A)\mathcal{P}(A). This is the set of every subset of AA. It shows that its size relates to the size of AA. The relationship follows a strikingly clean formula. The power set operation is one of the most important set-forming tools in mathematics. It is the mechanism that lets us talk about "the set of all subsets." This in turn is the raw material for defining relations, functions, topologies, and probability spaces. (A relation on AA is a subset of A×AA \times A. Hence it is an element of P(A×A)\mathcal{P}(A\times A).) Wherever mathematics needs to quantify over "all possible collections of things drawn from AA," it is quantifying over P(A)\mathcal{P}(A). The central quantitative fact of this article is this. For a finite set AA with nn elements, P(A)\mathcal{P}(A) has exactly 2n2^n elements. We will prove this rigorously by induction, not just illustrate it. We will also see why the empty set and AA itself always belong to P(A)\mathcal{P}(A). We will explore how power sets interact with the The Algebra of Sets operations. We will also see why P(A)\mathcal{P}(A) is never the same size as AA. This holds true even when AA is infinite. This is Cantor's theorem, previewed here in its finite form and stated in full. By the end, you will be able to construct P(A)\mathcal{P}(A) for small sets by hand. You will be able to prove the 2n2^n formula from first principles. You will also see how the power set operation sets the stage for further work. It supports the formal construction of Ordered Pairs and the The ZFC Axioms Overview. There, "power set" is promoted to its own axiom. This happens precisely because it is not derivable from more primitive assumptions.

Key takeaways
  • P(A)\mathcal{P}(A) is the set of all subsets of AA, including ∅\emptyset and AA itself.
  • Membership in P(A)\mathcal{P}(A) and subset-hood of AA are the same relation viewed two ways: x∈P(A)  ⟺  x⊆Ax \in \mathcal{P}(A) \iff x \subseteq A.
  • For finite AA with ∣A∣=n|A|=n, the size of the power set is ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n, proved by induction on nn.
  • P(∅)={∅}\mathcal{P}(\emptyset) = \{\emptyset\}, a one-element set — a classic source of confusion between ∅\emptyset and {∅}\{\emptyset\}.
  • P(A)\mathcal{P}(A) interacts predictably with ∩\cap but only partially with ∪\cup: P(A∩B)=P(A)∩P(B)\mathcal{P}(A\cap B) = \mathcal{P}(A)\cap \mathcal{P}(B), while P(A∪B)⊇P(A)∪P(B)\mathcal{P}(A\cup B) \supseteq \mathcal{P}(A)\cup\mathcal{P}(B) generally with no equality.
  • Key idea: taking the power set converts "elements of AA" into "subsets of AA," and doing so always strictly increases cardinality — even infinitely.

Where this lives today

The power set is the quiet workhorse behind enormous amounts of mathematics and computing. In logic and set theory, P(A)\mathcal{P}(A) is needed to define relations and functions on AA (a function A→BA \to B is a special subset of A×BA \times B, hence an element of P(A×B)\mathcal{P}(A\times B)), and Cantor's theorem that ∣P(A)∣>∣A∣|\mathcal{P}(A)| > |A| shows there is no single "largest infinity," a cornerstone of modern foundations alongside the The ZFC Axioms Overview. In probability theory, when a sample space Ω\Omega is finite, the collection of all "events" is exactly P(Ω)\mathcal{P}(\Omega), so the 2n2^n formula literally counts how many distinct events are possible. In computer science, the power set of a finite alphabet's state set underlies the subset construction used to convert nondeterministic finite automata into deterministic ones, and boolean/bitmask representations of subsets (each subset of an nn-element set as an nn-bit integer) are a direct computational encoding of P(A)≅{0,1}n\mathcal{P}(A) \cong \{0,1\}^n. In combinatorics, counting subsets by size recovers the binomial coefficients and Pascal's triangle. In topology, a topology on a set XX is by definition a distinguished sub-collection of P(X)\mathcal{P}(X) satisfying closure axioms, so all of point-set topology is built as structured subsets of a power set.

Ask the tutor: How does the finite proof that ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n relate to Cantor's diagonal argument that ∣A∣<∣P(A)∣|A| < |\mathcal{P}(A)| for infinite sets?

DefinitionPower Set

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

P(A)={ X:X⊆A }.\mathcal{P}(A) = \{\, X : X \subseteq A \,\}.

Equivalently, for every object XX,

X∈P(A)  ⟺  X⊆A.X \in \mathcal{P}(A) \iff X \subseteq A.

In particular ∅∈P(A)\emptyset \in \mathcal{P}(A) and A∈P(A)A \in \mathcal{P}(A) for every set AA, since ∅⊆A\emptyset \subseteq A and A⊆AA \subseteq A always hold.

Intuition

Think of AA as a bag of labeled marbles. A subset of AA is any sub-bag you can form by including or excluding each marble — you never invent new marbles, and you never duplicate one. The power set P(A)\mathcal{P}(A) is the "bag of all possible sub-bags," where each sub-bag, including the empty sub-bag and the full bag, is treated as a single new object. The key mental shift is a change of level: elements of AA are marbles, but elements of P(A)\mathcal{P}(A) are entire sub-bags. This is why ∣P(A)∣|\mathcal{P}(A)| can be so much larger than ∣A∣|A|: for each of the nn marbles, an independent binary choice ("in" or "out") determines a subset, and independent binary choices multiply. Three marbles give 2×2×2=82\times2\times2 = 8 sub-bags. This bijective correspondence between subsets and binary choice-sequences (or, equivalently, functions from AA to {0,1}\{0,1\}) is exactly why the notation 2A2^A is used for P(A)\mathcal{P}(A): it literally counts functions from AA into a two-element set.

Figure
The power set of A={a,b,c}A=\{a,b,c\} arranged by subset size, forming the Boolean lattice P(A)\mathcal{P}(A)
∅ {a} {b} {c} {a,b} {a,c} {b,c} {a,b,c} |A| = 3, |P(A)| = 2³ = 8

Central results

TheoremCardinality of the Power Set of a Finite Set

Let AA be a finite set with ∣A∣=n|A| = n, where n∈N={0,1,2,… }n \in \mathbb{N} = \{0, 1, 2, \dots\}. Then P(A)\mathcal{P}(A) is finite and

∣P(A)∣=2n.|\mathcal{P}(A)| = 2^n.
Proof

We argue by induction on nn, the number of elements of AA. The proof technique is mathematical induction combined with a direct bijective/counting argument at the inductive step.

Base case (n=0n=0). If ∣A∣=0|A|=0 then A=∅A = \emptyset (any two sets with no elements are equal, by extensionality, discussed under Subsets and Set Inclusion). The only subset of ∅\emptyset is ∅\emptyset itself: if X⊆∅X \subseteq \emptyset and XX had some element xx, then x∈∅x \in \emptyset, which is false; so XX has no elements, hence X=∅X = \emptyset. Thus

P(∅)={∅},\mathcal{P}(\emptyset) = \{\emptyset\},

a set with exactly one element. Since 20=12^0 = 1, the formula ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n holds when n=0n=0.

Inductive step. Suppose, as the induction hypothesis, that for some fixed n≥0n \ge 0, every set with exactly nn elements has a power set of size 2n2^n. Let AA be a set with ∣A∣=n+1|A| = n+1. Since AA is nonempty, fix an element a∈Aa \in A and let B=A∖{a}B = A \setminus \{a\}, so that ∣B∣=n|B| = n (removing one element from a set of size n+1n+1 leaves a set of size nn; this is the defining property of finite cardinality under The Algebra of Sets operations of set difference). We partition P(A)\mathcal{P}(A) into two disjoint pieces according to whether a subset contains aa:

P(A)=P0∪P1,P0={X∈P(A):a∉X},P1={X∈P(A):a∈X}.\mathcal{P}(A) = \mathcal{P}_0 \cup \mathcal{P}_1, \qquad \mathcal{P}_0 = \{ X \in \mathcal{P}(A) : a \notin X \}, \qquad \mathcal{P}_1 = \{ X \in \mathcal{P}(A) : a \in X \}.

Every subset of AA either contains aa or does not, and not both, so P0\mathcal{P}_0 and P1\mathcal{P}_1 are disjoint and their union is all of P(A)\mathcal{P}(A); hence

∣P(A)∣=∣P0∣+∣P1∣.|\mathcal{P}(A)| = |\mathcal{P}_0| + |\mathcal{P}_1|.

Claim: P0=P(B)\mathcal{P}_0 = \mathcal{P}(B). If X∈P0X \in \mathcal{P}_0, then X⊆AX \subseteq A and a∉Xa \notin X; since X⊆AX\subseteq A and XX omits aa, every element of XX lies in A∖{a}=BA\setminus\{a\} = B, so X⊆BX \subseteq B, i.e. X∈P(B)X \in \mathcal{P}(B). Conversely if X∈P(B)X \in \mathcal{P}(B) then X⊆B⊆AX \subseteq B \subseteq A, so X∈P(A)X \in \mathcal{P}(A), and a∉Xa \notin X because a∉Ba \notin B; hence X∈P0X \in \mathcal{P}_0. This proves P0=P(B)\mathcal{P}_0 = \mathcal{P}(B), so by the induction hypothesis ∣P0∣=∣P(B)∣=2n|\mathcal{P}_0| = |\mathcal{P}(B)| = 2^n. Claim: there is a bijection f:P(B)→P1f : \mathcal{P}(B) \to \mathcal{P}_1. Define f(X)=X∪{a}f(X) = X \cup \{a\} for X∈P(B)X \in \mathcal{P}(B). First, ff maps into P1\mathcal{P}_1: if X⊆BX \subseteq B then X∪{a}⊆B∪{a}=AX \cup \{a\} \subseteq B \cup \{a\} = A, so X∪{a}∈P(A)X\cup\{a\} \in \mathcal{P}(A), and clearly a∈X∪{a}a \in X \cup \{a\}, so f(X)∈P1f(X) \in \mathcal{P}_1. Injectivity: suppose f(X1)=f(X2)f(X_1) = f(X_2) for X1,X2∈P(B)X_1, X_2 \in \mathcal{P}(B), i.e. X1∪{a}=X2∪{a}X_1 \cup \{a\} = X_2 \cup \{a\}. Since X1,X2⊆BX_1, X_2 \subseteq B and a∉Ba \notin B, neither X1X_1 nor X2X_2 contains aa. For any x≠ax \ne a, x∈X1∪{a}  ⟺  x∈X1x \in X_1 \cup \{a\} \iff x \in X_1, and likewise for X2X_2; since the two unions are equal as sets, x∈X1  ⟺  x∈X2x \in X_1 \iff x \in X_2 for all x≠ax \ne a, and since neither contains aa, this means X1=X2X_1 = X_2 (two sets agreeing on membership of every object are equal, by extensionality). Surjectivity: let Y∈P1Y \in \mathcal{P}_1, so Y⊆AY \subseteq A and a∈Ya \in Y. Let X=Y∖{a}X = Y \setminus \{a\}. Then X⊆A∖{a}=BX \subseteq A \setminus \{a\} = B, so X∈P(B)X \in \mathcal{P}(B), and f(X)=(Y∖{a})∪{a}=Yf(X) = (Y\setminus\{a\}) \cup \{a\} = Y because a∈Ya \in Y already. So f(X)=Yf(X) = Y. Thus ff is a bijection between P(B)\mathcal{P}(B) and P1\mathcal{P}_1, so ∣P1∣=∣P(B)∣=2n|\mathcal{P}_1| = |\mathcal{P}(B)| = 2^n by the induction hypothesis and the fact that bijections preserve finite cardinality. Combining,

∣P(A)∣=∣P0∣+∣P1∣=2n+2n=2⋅2n=2n+1.|\mathcal{P}(A)| = |\mathcal{P}_0| + |\mathcal{P}_1| = 2^n + 2^n = 2 \cdot 2^n = 2^{n+1}.

This completes the inductive step. By the principle of mathematical induction, ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n for every finite set AA with ∣A∣=n|A| = n, for all n∈Nn \in \mathbb{N}. ■\blacksquare

∎
LemmaPower set and intersection

For any sets A,BA, B,

P(A∩B)=P(A)∩P(B).\mathcal{P}(A \cap B) = \mathcal{P}(A) \cap \mathcal{P}(B).
Proof

We show both inclusions using the definitions of power set and intersection, a standard double-inclusion / element-chasing argument. (⊆\subseteq) Let X∈P(A∩B)X \in \mathcal{P}(A\cap B). Then X⊆A∩BX \subseteq A \cap B. Since A∩B⊆AA \cap B \subseteq A and A∩B⊆BA\cap B \subseteq B (basic facts about intersection from The Algebra of Sets), transitivity of ⊆\subseteq gives X⊆AX \subseteq A and X⊆BX \subseteq B. Hence X∈P(A)X \in \mathcal{P}(A) and X∈P(B)X \in \mathcal{P}(B), so X∈P(A)∩P(B)X \in \mathcal{P}(A) \cap \mathcal{P}(B). (⊇\supseteq) Let X∈P(A)∩P(B)X \in \mathcal{P}(A) \cap \mathcal{P}(B). Then X∈P(A)X \in \mathcal{P}(A) and X∈P(B)X \in \mathcal{P}(B), i.e. X⊆AX \subseteq A and X⊆BX \subseteq B. For any x∈Xx \in X, we get x∈Ax \in A and x∈Bx \in B, so x∈A∩Bx \in A \cap B. Since xx was arbitrary, X⊆A∩BX \subseteq A \cap B, i.e. X∈P(A∩B)X \in \mathcal{P}(A\cap B). Both inclusions hold, so the two sets are equal. ■\blacksquare

∎
CorollaryPower set and union — one direction only

For any sets A,BA, B,

P(A)∪P(B)⊆P(A∪B),\mathcal{P}(A) \cup \mathcal{P}(B) \subseteq \mathcal{P}(A \cup B),

but equality need not hold.

Proof

Let X∈P(A)∪P(B)X \in \mathcal{P}(A) \cup \mathcal{P}(B). Then X⊆AX \subseteq A or X⊆BX \subseteq B. In either case, since A⊆A∪BA \subseteq A \cup B and B⊆A∪BB \subseteq A \cup B, transitivity of ⊆\subseteq gives X⊆A∪BX \subseteq A \cup B, i.e. X∈P(A∪B)X \in \mathcal{P}(A \cup B). This proves the inclusion. For the failure of equality, see the counterexample below, which exhibits A,BA, B with a subset of A∪BA \cup B lying in neither P(A)\mathcal{P}(A) nor P(B)\mathcal{P}(B). ■\blacksquare

∎

Worked examples

Example 1 — a four-element set with mixed-type elements. Let A={1,2,{1},∅}A = \{1, 2, \{1\}, \emptyset\}. Note this set has four distinct elements: the numbers 11 and 22, the set {1}\{1\} (which is not the same object as the number 11), and the empty set ∅\emptyset (which is not the same object as the number 22 or anything else here). By the theorem, ∣P(A)∣=24=16|\mathcal{P}(A)| = 2^4 = 16. We list all 16 subsets systematically by size:

  • Size 0 (1 subset): ∅\emptyset.
  • Size 1 (4 subsets): {1}\{1\}, {2}\{2\}, {{1}}\{\{1\}\}, {∅}\{\emptyset\}.
  • Size 2 (6 subsets): {1,2}\{1,2\}, {1,{1}}\{1,\{1\}\}, {1,∅}\{1,\emptyset\}, {2,{1}}\{2,\{1\}\}, {2,∅}\{2,\emptyset\}, {{1},∅}\{\{1\},\emptyset\}.
  • Size 3 (4 subsets): {1,2,{1}}\{1,2,\{1\}\}, {1,2,∅}\{1,2,\emptyset\}, {1,{1},∅}\{1,\{1\},\emptyset\}, {2,{1},∅}\{2,\{1\},\emptyset\}.
  • Size 4 (1 subset): {1,2,{1},∅}=A\{1,2,\{1\},\emptyset\} = A.

Total: 1+4+6+4+1=161+4+6+4+1 = 16, matching (40)+(41)+(42)+(43)+(44)=24\binom{4}{0}+\binom{4}{1}+\binom{4}{2}+\binom{4}{3}+\binom{4}{4} = 2^4, an instance of the binomial theorem counting subsets by size — a fact consistent with, and giving an alternate proof strategy for, the theorem above. Note the subtlety: {1}∈A\{1\} \in A as an element, and separately {1}\{1\} is also a subset of AA (since 1∈A1 \in A), so {1}\{1\} appears both as a member of AA and as a member of P(A)\mathcal{P}(A) — these are different logical roles for the same object, a common point of confusion.

Example 2 — nested power sets and their sizes. Let A={ ∅, {∅} }A = \{\, \emptyset,\ \{\emptyset\}\,\}, so ∣A∣=2|A| = 2 (its two elements are ∅\emptyset and {∅}\{\emptyset\}, which are distinct: ∅\emptyset has no elements, while {∅}\{\emptyset\} has exactly one element, namely ∅\emptyset). Then ∣P(A)∣=22=4|\mathcal{P}(A)| = 2^2 = 4, and explicitly

P(A)={ ∅, {∅}, {{∅}}, {∅,{∅}} }.\mathcal{P}(A) = \big\{\, \emptyset,\ \{\emptyset\},\ \{\{\emptyset\}\},\ \{\emptyset,\{\emptyset\}\} \,\big\}.

Now compute the power set of this power set. Since ∣P(A)∣=4|\mathcal{P}(A)| = 4, the theorem gives

∣P(P(A))∣=24=16.|\mathcal{P}(\mathcal{P}(A))| = 2^4 = 16.

This illustrates iterated power-set formation: starting from ∣A∣=2|A|=2, we get sizes 2,4,16,65536,…2, 4, 16, 65536, \dots under repeated application of P\mathcal{P}, since 2(2(2(⋯ )))2^{(2^{(2^{(\cdots)})})} towers explosively. This is precisely the tower construction (with A=∅A=\emptyset) used to build the finite ordinals inside a model of the The ZFC Axioms Overview, where P\mathcal{P} is applied repeatedly starting from ∅\emptyset.

Counterexample

CounterexampleWhy disjointness/inclusion is needed for P(A)∪P(B)=P(A∪B)\mathcal{P}(A)\cup\mathcal{P}(B) = \mathcal{P}(A\cup B)

The corollary above proves only P(A)∪P(B)⊆P(A∪B)\mathcal{P}(A)\cup\mathcal{P}(B) \subseteq \mathcal{P}(A\cup B). Equality fails in general — it requires an extra hypothesis such as A⊆BA \subseteq B or B⊆AB \subseteq A. Take A={1}A = \{1\} and B={2}B = \{2\}, so A∪B={1,2}A \cup B = \{1,2\}. Then

P(A)={∅,{1}},P(B)={∅,{2}},\mathcal{P}(A) = \{\emptyset, \{1\}\}, \qquad \mathcal{P}(B) = \{\emptyset, \{2\}\},

so

P(A)∪P(B)={∅,{1},{2}},\mathcal{P}(A) \cup \mathcal{P}(B) = \{\emptyset, \{1\}, \{2\}\},

a set with 3 elements. But

P(A∪B)=P({1,2})={∅,{1},{2},{1,2}},\mathcal{P}(A \cup B) = \mathcal{P}(\{1,2\}) = \{\emptyset, \{1\}, \{2\}, \{1,2\}\},

a set with 4 elements, by the theorem (22=42^2 = 4). The subset {1,2}\{1,2\} of A∪BA \cup B lies in P(A∪B)\mathcal{P}(A\cup B) but is neither a subset of AA nor a subset of BB (it contains 2∉A2 \notin A and 1∉B1 \notin B), so it belongs to neither P(A)\mathcal{P}(A) nor P(B)\mathcal{P}(B). Hence

P(A)∪P(B)⊊P(A∪B),\mathcal{P}(A) \cup \mathcal{P}(B) \subsetneq \mathcal{P}(A \cup B),

a strict inclusion. This shows the hypothesis "one of A,BA, B contains the other" (which would let A∪BA \cup B equal AA or BB) genuinely cannot be dropped from any claimed equality: without it, P(A∪B)\mathcal{P}(A\cup B) can contain "mixed" subsets, drawing elements from both AA and BB simultaneously, that no single P(A)\mathcal{P}(A) or P(B)\mathcal{P}(B) can produce.

Scope, edge cases & common traps

SituationWhat to watch for
A=∅A = \emptysetP(∅)={∅}\mathcal{P}(\emptyset) = \{\emptyset\}, which has one element, not zero. Do not confuse ∅\emptyset with {∅}\{\emptyset\}.
AA infiniteP(A)\mathcal{P}(A) is still well-defined but 2n2^n has no meaning as ordinary exponentiation of naturals; cardinal exponentiation is used instead, and ∣P(A)∣>∣A∣|\mathcal{P}(A)| > |A| still holds (Cantor's theorem).
x∈Ax \in A vs. {x}⊆A\{x\} \subseteq AThese express the same fact in different registers; {x}∈P(A)  ⟺  x∈A\{x\} \in \mathcal{P}(A) \iff x \in A. Do not write x∈P(A)x \in \mathcal{P}(A) unless xx is itself a subset of AA.
A∈P(A)A \in \mathcal{P}(A)Always true, since A⊆AA \subseteq A; a frequent first-instinct error is to think AA is "too big" to be its own subset.
Counting by size∑k=0n(nk)=2n\sum_{k=0}^n \binom{n}{k} = 2^n is consistent with, but is a different proof route from, the induction given here; both are valid and worth knowing.

The mathematician behind it

Origins · 1 minGeorg Cantor and how this was discovered
GC
Georg Cantor
1845–1918 · Founder of set theory, University of Halle

Cantor developed the theory of sets and cardinal numbers in the 1870s–1890s, introducing the very idea of comparing the "sizes" of infinite collections. His 1891 diagonal argument, proving that no set can be put in bijection with its own power set, is the infinite generalization of the finite fact ∣P(A)∣=2∣A∣>∣A∣|\mathcal{P}(A)| = 2^{|A|} > |A| proved here, and it revolutionized mathematics' understanding of infinity.

History
- 1874 — Cantor shows the real numbers cannot be put in bijection with the natural numbers, launching the study of different sizes of infinity.
- 1883 — Cantor introduces ordinal numbers and the transfinite iteration of set-forming operations, including repeated power-set formation.
- 1891 — Cantor publishes the diagonal argument, proving in full generality that ∣A∣<∣P(A)∣|A| < |\mathcal{P}(A)| for every set AA, finite or infinite.
- 1908 — Ernst Zermolo axiomatizes set theory, explicitly including a Power Set Axiom asserting that P(A)\mathcal{P}(A) exists as a set whenever AA does.
- 1922 — Abraham Fraenkel and Thoralf Skolem refine Zermelo's axioms into the system now called ZFC, in which the power set axiom remains an independent, irreducible postulate.
Is AA itself an element of P(A)\mathcal{P}(A)?

Yes, always. By definition P(A)={X:X⊆A}\mathcal{P}(A) = \{X : X \subseteq A\}, and A⊆AA \subseteq A holds for every set AA (every element of AA is, trivially, an element of AA). So A∈P(A)A \in \mathcal{P}(A) for every set AA, with no exceptions — including when A=∅A = \emptyset, giving ∅∈P(∅)\emptyset \in \mathcal{P}(\emptyset). This sometimes feels strange at first because informally "subset" suggests "smaller," but ⊆\subseteq permits equality; the strict subset relation ⊊\subsetneq is what excludes AA from being counted as smaller than itself.

Why is P(∅)\mathcal{P}(\emptyset) not just ∅\emptyset?

P(∅)\mathcal{P}(\emptyset) is the set of all subsets of ∅\emptyset, and there is exactly one such subset: ∅\emptyset itself, since the only set with no elements not in ∅\emptyset is ∅\emptyset. So P(∅)={∅}\mathcal{P}(\emptyset) = \{\emptyset\}, a set containing one element, namely the empty set. This is different from ∅\emptyset, which contains zero elements. Confusing "the set containing the empty set" with "the empty set" is one of the most common early mistakes in set theory; checking cardinalities (∣{∅}∣=1≠0=∣∅∣|\{\emptyset\}| = 1 \ne 0 = |\emptyset|) is the fastest way to catch the error.

Does the formula ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n still make sense if AA is infinite?

The formula as ordinary arithmetic (2n2^n for a natural number nn) only applies when AA is finite. When AA is infinite, mathematicians use cardinal exponentiation, writing ∣P(A)∣=2∣A∣|\mathcal{P}(A)| = 2^{|A|} as a definition of cardinal exponentiation rather than a computation, and Cantor's theorem guarantees 2∣A∣>∣A∣2^{|A|} > |A| regardless. So the symbol 2∣A∣2^{|A|} generalizes, but the proof method here (finite induction) does not directly transfer; the infinite case needs Cantor's diagonal argument instead.

How does the power set relate to binary strings or bitmasks?

There is a natural bijection between P(A)\mathcal{P}(A) and the set of functions A→{0,1}A \to \{0,1\}: given X⊆AX \subseteq A, define its indicator function sending a↦1a \mapsto 1 if a∈Xa \in X and a↦0a \mapsto 0 otherwise. When A={a1,…,an}A = \{a_1,\dots,a_n\} is finite, such a function is just an nn-bit string, and there are exactly 2n2^n of them — this is the combinatorial heart of why ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n, and it is also literally how computers represent subsets of a small finite set as integers (bitmasks) for fast set operations.

Is P(A)∪P(B)\mathcal{P}(A) \cup \mathcal{P}(B) ever equal to P(A∪B)\mathcal{P}(A \cup B)?

Yes, exactly when A⊆BA \subseteq B or B⊆AB \subseteq A. If, say, A⊆BA \subseteq B, then A∪B=BA \cup B = B, so P(A∪B)=P(B)\mathcal{P}(A\cup B) = \mathcal{P}(B); and since A⊆BA \subseteq B implies P(A)⊆P(B)\mathcal{P}(A) \subseteq \mathcal{P}(B) (any subset of AA is a subset of BB too), we get P(A)∪P(B)=P(B)\mathcal{P}(A) \cup \mathcal{P}(B) = \mathcal{P}(B) as well, giving equality. Without such an inclusion between AA and BB, as the counterexample shows, equality fails because "mixed" subsets drawing from both sets appear only on the right-hand side.

Why does set theory need a special axiom just to guarantee power sets exist?

Within the axiomatic system ZFC, most set-existence facts (pairing, union, subsets satisfying a property) are derivable from a handful of basic axioms, but the existence of P(A)\mathcal{P}(A) as a set, for arbitrary infinite AA, cannot be proved from the other standard axioms — it must be postulated separately as the Power Set Axiom. This is because P(A)\mathcal{P}(A) can be enormously larger than AA (Cantor's theorem), and no combination of pairing, union, and separation alone can produce an object of that much greater size; a genuinely new axiom is required.

Can I compute ∣P(A)∣|\mathcal{P}(A)| without listing every subset?

Yes — that is the point of the theorem. If ∣A∣=n|A| = n is known, then ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n immediately, with no need to enumerate. The induction proof above shows why the doubling happens at each step (split subsets into those avoiding a fixed element and those containing it, and each half is in bijection with P\mathcal{P} of the smaller set), which is more illuminating than direct listing and generalizes cleanly to the counting-by-size and bit-string viewpoints mentioned in the worked examples.

Before this

Where this leads