Power Sets of {a,b}\{a,b\} and {,{}}\{\emptyset,\{\emptyset\}\}

Power Sets of {a,b}\{a,b\} and {,{}}\{\emptyset,\{\emptyset\}\}

Verified Sources
Sep 13, 2026

A power set of a set SS (written P(S)\mathcal{P}(S)) is the collection of every subset of SS, including the empty set \emptyset and the set SS itself. For a finite set with nn elements, the number of subsets—and hence the size of the power set—is 2n2^n.2

For computational thinking, you can view “finding the power set” as choosing, for each element of SS, whether it is included in a subset. That yields 2n2^n distinct subsets.

Footnotes

  1. (Power set definition) https://en.wikipedia.org/wiki/Power_set - Defines power set as the set of all subsets of a given set.

  2. (Number of elements in a power set) https://en.wikipedia.org/wiki/Power_set - States that if SS has nn elements, then mathcalP(S)\\mathcal{P}(S) has 2n2^n elements. 2

Power Set (Subsets) Tutorial

Let’s apply the definition carefully to two specific sets, emphasizing what counts as an element.

(i) S={a,b}S=\{a,b\}

Here SS has n=2n=2 elements, so P(S)=22=4\lvert \mathcal{P}(S)\rvert = 2^2=4. The subsets are obtained by including/excluding each of aa and bb.

(ii) T={,{}}T=\{\emptyset,\{\emptyset\}\}

This set has n=2n=2 elements as well, but note the elements are:

  • one element is \emptyset,
  • the other element is {}\{\emptyset\} (a set whose only element is \emptyset).

So P(T)=4\lvert \mathcal{P}(T)\rvert=4. The subsets of TT are formed by choosing whether to include the element \emptyset, whether to include the element {}\{\emptyset\}, etc.—always treating them as atomic elements when forming subsets.

Footnotes

  1. (Number of elements in a power set) https://en.wikipedia.org/wiki/Power_set - States that if SS has nn elements, then mathcalP(S)\\mathcal{P}(S) has 2n2^n elements. 2

  2. (Power set definition) https://en.wikipedia.org/wiki/Power_set - Defines power set as the set of all subsets of a given set. 2

Step-by-Step Method to Form a Power Set

  1. 1
    Step 1

    List all elements of SS (as they appear, including any nested sets).

  2. 2
    Step 2

    Compute n=Sn=\lvert S\rvert.

  3. 3
    Step 3

    For each element, decide whether it is included in the subset; this generates 2n2^n subsets.

    Footnotes

    1. (Number of elements in a power set) https://en.wikipedia.org/wiki/Power_set - States that if SS has nn elements, then mathcalP(S)\\mathcal{P}(S) has 2n2^n elements.

  4. 4
    Step 4

    Ensure \emptyset and SS itself are included as subsets.

(i) Power set of {a,b}\{a,b\}

All subsets of {a,b}\{a,b\} are:

P({a,b})={,{a},{b},{a,b}}.\mathcal{P}(\{a,b\})=\{\emptyset,\{a\},\{b\},\{a,b\}\}.

You can verify the count: 22=42^2=4 subsets.

Footnotes

  1. (Number of elements in a power set) https://en.wikipedia.org/wiki/Power_set - States that if SS has nn elements, then mathcalP(S)\\mathcal{P}(S) has 2n2^n elements.

(ii) Power set of {,{}}\{\emptyset,\{\emptyset\}\}

First, write the elements of the base set T={,{}}T=\{\emptyset,\{\emptyset\}\} explicitly:

  • Element 1: \emptyset
  • Element 2: {}\{\emptyset\}

Now list all subsets of TT by include/exclude of those two elements:

P(T)={,{},{{}},{,{}}}.\mathcal{P}(T)=\{\emptyset,\{\emptyset\},\{\{\emptyset\}\},\{\emptyset,\{\emptyset\}\}\}.

Interpretation of each subset:

  • \emptyset contains nothing.
  • {}\{\emptyset\} contains exactly the element \emptyset.
  • {{}}\{\{\emptyset\}\} contains exactly the element {}\{\emptyset\}.
  • {,{}}\{\emptyset,\{\emptyset\}\} contains both elements.

Again, there are 22=42^2=4 subsets.

Footnotes

  1. (Number of elements in a power set) https://en.wikipedia.org/wiki/Power_set - States that if SS has nn elements, then mathcalP(S)\\mathcal{P}(S) has 2n2^n elements.

Pro Tip: Nested Sets Become Elements

When forming the power set of T={,{}}T=\{\emptyset,\{\emptyset\}\}, treat \emptyset and {}\{\emptyset\} as elements. So subsets look like {}\{\emptyset\} or {{}}\{\{\emptyset\}\}—not like unions of elements unless explicitly required.

Common Mistake: Confusing Subsets with Elements

A subset is a set; an element is something inside a set. For example, {{}}\{\{\emptyset\}\} is a subset of TT because its only element is {}\{\emptyset\} (the element of TT), not because it “contains” \emptyset directly.

Number of Subsets in These Power Sets

Both base sets have 2 elements, so each power set has 22=42^2=4 subsets.

From a Set to Its Power Set

List Elements

1

Write SS exactly (nested braces matter)."

Count Elements

2

If S=n\lvert S\rvert=n, then P(S)=2n\lvert\mathcal{P}(S)\rvert=2^n."

Enumerate Subsets

3

For each element, choose include/exclude to generate all subsets."

Form the Power Set

4

Collect all subsets into P(S)\mathcal{P}(S)."

Quick Checks and Edge Cases

Knowledge Check

Question 1 of 4
Q1Single choice

What is the power set of {a,b}\{a,b\}?