So far, we looked into sets that contain various objects. Now, we'll also talk about sets whose elements are other sets!
The power set of a set $S$ is a set containing all the possible subsets of $S$. It is a sort of a multiverse of subsets. We denote the power set as $\mathcal{P}(S)$ (
$\mathcal{P}(S)$
). Examples:
If a set $S$ contains $n$ elements, how many elements does $\mathcal{P}(S)$ have?
From the above examples, we see that (1) when $|S| = 1$, $|\mathcal{P}(S)| = 2$, (2) when $|S| = 2$, $|\mathcal{P}(S)| = 4$, and (3) when $|S| = 3$, $|\mathcal{P}(S)| = 8$. Can you see a pattern? What is the formula for $|\mathcal{P}(S)|$ in the general case of $|S| = n$?