Power set · Exercise-POWER-SET-003

Step-by-step solved exercise: Operations and families

How many elements does \(\displaystyle \mathcal{P}(\{1,2,3\})\) have?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. A subset of \(\displaystyle \{1,2,3\}\) is built by deciding separately for each element whether it is included.

    \[\displaystyle 2\cdot 2\cdot 2\]
  2. Since each element has two independent options, the number of subsets is a power of 2.

    \[\displaystyle |\mathcal{P}(A)|=2^{|A|}\]
  3. With \(\displaystyle |A|=3\) we get \(\displaystyle 2^3\).

    \[\displaystyle 2^3=8\]
  4. Therefore, \(\displaystyle \mathcal{P}(\{1,2,3\})\) has exactly 8 elements.

    \[\displaystyle |\mathcal{P}(\{1,2,3\})|=8\]

Answer

8

🎯 Build my path to this exercise