Power set
The power set is the set of all subsets of , i.e.:
It can also be written as .
Why? Because it represents all possible binary choices for the elements in .
For example: has the subsets , which can be represented as in binary, i.e. subsets.The cardinality of the power set of a finite set : .
$$
{ 0,1 }^{A} \mapsto 2^{A}
$\{0,1\}^A$ represents the set of all functions from set $A$ to the set $\{ 0,1 \}$. $2^{A}$ represents the [[power set]] – the set of all subsets of $A$ → For any subset of $A$, we can define a function $f: A \to \{ 0,1 \}$ that maps elements in the subset to $1$ and the rest to $0$. → Conversely, for any function $f: A \to \{ 0,1 \}$, we can define a subset of $A$ that contains all elements that are mapped to $1$. $\implies$ There is a [[bijective|bijection]] between $2^{A}$ and the set of all functions from $A$ to $\{ 0,1 \}$.
Link to originalThe sum of all binomial coefficients for fixed (row of Pascal’s triangle) equals
This makes intuitive sense when thinking about sets: counts the ways to choose items from items, and summing over all possible gives us the total number of possible subsets of an -element set, which is . Each element either is or isn’t in the subset, giving us two choices for each of the elements → power set.