32. The powerset of a set
32.1 Definition: powerset
If $A$ is any set, the set of all subsets of $A$ is called the powerset of $A$ and is denoted $\mathcal{P}A$.
32.1.1 Remark Using setbuilder notation, $\mathcal{P}A=\{X\mid X\subseteq A\}$.
32.1.2 Example The powerset of $\{ 1, 2\}$ is $\{\emptyset ,\{ 1\},\{ 2\},\{ 1, 2\}\}$, and the powerset of $\{ 1\}$ is $\{\emptyset ,\{ 1\}\}$.
32.1.3 Fact The definition of powerset gives two rules of inference:
$$B \subseteq A \vdash B \in \mathcal{P}A \tag{32.1}$$
and
$$B \in \mathcal{P}A \vdash B \subseteq A \tag{32.2}$$
32.1.4 Example The empty set is an element of the powerset of every set, since it is a subset of every set.
32.1.5 Warning The empty set is not an element of every set; for example, it is not an element of $\{ 1, 2\}$.
32.1.6 Exercise How many elements do each of the following sets have?
a) $\{ 1, 2, 3,\{ 1, 2, 3\}\}$
b) $\emptyset$
c) $\{\emptyset \}$
d) $\{\emptyset ,\{\emptyset \}\}$
(Answer on page 244.)
32.1.7 Exercise Write the powerset of $\{ 5, 6, 7\}$. (Answer on page 244.)
32.1.8 Exercise State whether each item in the first column is an element of each set in the second column.
$$\begin{array}{ll} \text{a) } 1 & \text{a) } \mathrm{Z} \\ \text{b) } 3 & \text{b) } \mathrm{R} \\ \text{c) } \pi & \text{c) } \{1,3,7\} \\ \text{d) } \{1,3\} & \text{d) } \{x\in\mathrm{R}\mid x=x^{2}\} \\ \text{e) } \{3,\pi\} & \text{e) } \mathcal{P}(\mathrm{Z}) \\ \text{f) } \emptyset & \text{f) } \emptyset \\ \text{g) } \mathrm{Z} & \text{g) } \{\mathrm{Z},\mathrm{R}\} \end{array}$$
(Answer on page 244.)
Page 46 of the book (PDF).