Skip to content
Part IA Michaelmas, Lent Term

Powersets and Boolean Algebra

Powersets

Definition

The powerset of a set AA, written P(A)\mathcal{P}(A) or 2A2^A, is the set of all subsets of AA.

P(A)={S:S⊆A}\mathcal{P}(A) = \{S : S \subseteq A\}

Examples

  • P(∅)={∅}\mathcal{P}(\emptyset) = \{\emptyset\}
  • P({1})={∅,{1}}\mathcal{P}(\{1\}) = \{\emptyset, \{1\}\}
  • P({1,2})={∅,{1},{2},{1,2}}\mathcal{P}(\{1, 2\}) = \{\emptyset, \{1\}, \{2\}, \{1, 2\}\}

Cardinality

For finite sets:

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

Proof: Each element of AA either is or is not in a subset. For ∣A∣=n|A| = n, there are nn independent binary choices, giving 2n2^n subsets.

Visualising Powersets

Hasse Diagrams

A Hasse diagram shows P(A)\mathcal{P}(A) ordered by ⊆\subseteq:

  • Elements are arranged with ∅\emptyset at the bottom
  • Larger sets are drawn above subsets
  • Edges connect sets that differ by exactly one element

Hasse diagram for P({1,2,3})

Venn Diagrams

Venn diagrams visualise set relationships in the plane.

Universal set UU is shown as a rectangle. Sets AA, BB are shown as overlapping circles within UU.

Venn diagram for A union B

The Powerset Boolean Algebra

Structure

(P(A),∪,∩,c,∅,A)(\mathcal{P}(A), \cup, \cap, ^c, \emptyset, A) forms a Boolean algebra:

OperationSymbolCorresponds to
Join∪\cupOR
Meet∩\capAND
Complementc^cNOT
Bottom∅\emptysetFalse
TopAATrue

Boolean Algebra Laws

Commutativity: A∪B=B∪AA \cup B = B \cup A A∩B=B∩AA \cap B = B \cap A

Associativity: (A∪B)∪C=A∪(B∪C)(A \cup B) \cup C = A \cup (B \cup C) (A∩B)∩C=A∩(B∩C)(A \cap B) \cap C = A \cap (B \cap C)

Absorption: A∪(A∩B)=AA \cup (A \cap B) = A A∩(A∪B)=AA \cap (A \cup B) = A

Identity: A∪∅=AA \cup \emptyset = A A∩U=AA \cap U = A

Complement: A∪Ac=UA \cup A^c = U A∩Ac=∅A \cap A^c = \emptyset

The Analog with Propositional Logic

Set TheoryLogic
∪\cup∨\lor
∩\cap∧\land
c^c¬\neg
⊆\subseteq⇒\Rightarrow
∅\emptysetFalse
UUTrue

This correspondence is not coincidental. The Boolean algebra of sets is a model of propositional logic, and vice versa.

Characteristic (Indicator) Functions

Definition

For S⊆AS \subseteq A, the characteristic function (or indicator function) χS:A→{0,1}\chi_S : A \to \{0, 1\} is:

χS(x)={1if x∈S0if x∉S\chi_S(x) = \begin{cases} 1 & \text{if } x \in S \\ 0 & \text{if } x \notin S \end{cases}

Correspondence

There is a bijection between P(A)\mathcal{P}(A) and the set of functions A→{0,1}A \to \{0, 1\}:

P(A)≅{f:A→{0,1}}\mathcal{P}(A) \cong \{f : A \to \{0, 1\}\}

This gives an alternative proof that ∣P(A)∣=2∣A∣|\mathcal{P}(A)| = 2^{|A|} for finite AA.


Summary

  • P(A)\mathcal{P}(A) is the set of all subsets of AA
  • ∣P(A)∣=2∣A∣|\mathcal{P}(A)| = 2^{|A|} for finite AA
  • P(A)\mathcal{P}(A) forms a Boolean algebra with ∪\cup, ∩\cap, c^c
  • Hasse diagrams show inclusion structure; Venn diagrams show overlap relations
  • Characteristic functions establish P(A)≅(A→{0,1})\mathcal{P}(A) \cong (A \to \{0, 1\})