Subset · Exercise-SUBSET-008

Step-by-step solved exercise: Operations and families

How many subsets does {a,b} have?

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

Step-by-step solution

  1. A subset is formed by deciding, for each element, whether it is included; with two elements there are two independent decisions.

    \[\displaystyle 2^{2}\]
  2. We list the subsets: the empty set, the single-element ones, and the full set.

    \[\displaystyle \varnothing,\ \{a\},\ \{b\},\ \{a,b\}\]
  3. There are four subsets, which matches \(\displaystyle 2^{2}\).

    \[\displaystyle 2^{2}=4\]

    Comment: Check: a set with n elements has \(\displaystyle 2^n\) subsets.

  4. Therefore, {a,b} has 4 subsets.

    \[\displaystyle 4\]

Answer

4

🎯 Build my path to this exercise