Let $A$ be a set, and $ \left \{ 0,1 \right \}^{A}$ be the set of all functions $f$ from $A$ to $\left \{ 0,1 \right \}$
Show that $\left | \left \{ 0,1 \right \}^{A} \right | = \left | 2^{A} \right |$
We disccused this question on discrete math class the other day, and the teacher showed a rather nasty way of solving this using a very un-intuitive "hat trick"
I understand why the cardinalities of both sets are equal using combinatorics.
However, when the teacher showed a bijection I rather lost her..
Could any of you provide me with a practical and intuitive (Maybe a dummie explanation, or a step by step solution) bijection to solve this? I really want to understand the idea behind it.
edit:
$2^{A} = P(A)$