Power set
Appearance
The power set of a set $A$, $\mathcal{P}(A)$, is the set of all subsets of A:
i.e., $$ \mathcal{P}(A) = \{X |\forall X \subseteq A\}. $$
Properties
$|\mathcal{P}(S)|=2^{|S|}$
when $|S|$ is finite.
The power set of a set $A$, $\mathcal{P}(A)$, is the set of all subsets of A:
i.e., $$ \mathcal{P}(A) = \{X |\forall X \subseteq A\}. $$
$$ \mathcal{P}(\{a, b\})= \{\emptyset, \{a\}, \{b\}, \{a,b\}\}. $$
when $|S|$ is finite.
Proof by induction:
Let $S_n:|S_n|=n$ be sets.
By definition of #cardinality, $n \in N$.
If $n=0$:
$$\begin{gathered} \mathcal{P}(S_0)=\{\emptyset\} \\ |\mathcal{P}(S_0)|=1=2^n \end{gathered}$$
If $n=1$:
$$\begin{gathered} \mathcal{P}(S_1)=\{\emptyset\,A\} \\ |\mathcal{P}(S_1)|=2=2^n \end{gathered}$$
If $n>1$:
Given $|\mathcal{P}(S_n)|=2^n$
For any set $S_{n+1}: |S_{n+1}|=n+1$, identify an arbitrary element $s\in S_{n+1}$, then
$$ S_{n+1}=S_n+s $$ where set $S_n:|S_n|=n$.
As $|\mathcal{P}(S_n)|=2^n$, $S_n$ has $2^n$ subsets: $A_1=\emptyset,A_2,A_3,...A_{m}$, where $m=2^n$
Since
$$ A_m \subseteq S_n \subset S_{n+1} \Rightarrow A_m \subset S_{n+1} $$
which gives $m$ subsets of $S_{n+1}$
and
$$\begin{gathered} \because s \in S_{n+1} \\ \therefore A_m+s \subseteq S_{n+1} \end{gathered}$$
which gives $m$ more subsets of $S_{n+1}$
Therefore, $S_{n+1}$ has $2m=2 \cdot 2^n=2^{n+1}$ subsets,
i.e.,$|\mathcal{P}(S_{n+1})|=2^{n+1}$
$\therefore $ By induction,
$$ |\mathcal{P}(S)|=2^{|S|} $$