Math Lab
Home/Class XI/Ch 1/Power set and universal set

Power set and universal set

We now meet two ideas that elevate set theory from a notation to a structure. The power set lets us treat the subsets of a set as elements of a new set. The universal set gives a fixed background against which complements and Venn diagrams make sense.

Definitions

Let AA be a set. The power set of AA, written P(A)P(A) (or P(A)\mathcal{P}(A), or sometimes 2A2^A), is the set whose elements are all subsets of AA: P(A)={S:SA}.P(A) = \{S : S \subseteq A\}.

A universal set, usually denoted UU, is a set chosen for a discussion so that every set under consideration is a subset of UU.

Power set examples

  • If A=A = \varnothing, then P(A)={}P(A) = \{\varnothing\}. One element: the empty subset.
  • If A={a}A = \{a\}, then P(A)={,{a}}P(A) = \{\varnothing, \{a\}\}. Two elements.
  • If A={a,b}A = \{a, b\}, then P(A)={,{a},{b},{a,b}}P(A) = \{\varnothing, \{a\}, \{b\}, \{a, b\}\}. Four elements.
  • If A={1,2,3}A = \{1, 2, 3\}, then P(A)P(A) has ,{1},{2},{3},{1,2},{1,3},{2,3},{1,2,3}\varnothing, \{1\}, \{2\}, \{3\}, \{1,2\}, \{1,3\}, \{2,3\}, \{1,2,3\}. Eight elements.

The pattern is unmistakable: a set with nn elements has 2n2^n subsets.

Theorem: P(A)=2A|P(A)| = 2^{|A|}

Claim. If AA is a finite set with A=n|A| = n, then P(A)=2n|P(A)| = 2^n.

Proof (counting argument). A subset SS of AA is determined by deciding, for each of the nn elements of AA, whether or not it belongs to SS. Each element has 22 independent choices: in or out. By the multiplication principle, the total number of subsets is 2×2××2n times=2n.\qed\underbrace{2 \times 2 \times \cdots \times 2}_{n\text{ times}} = 2^n. \qed

Alternative proof (induction). Base case n=0n = 0: A=A = \varnothing, P()=1=20|P(\varnothing)| = 1 = 2^0. Inductive step: assume P(A)=2n|P(A)| = 2^n for every nn-element set. Take an (n+1)(n+1)-element set A{x}A \cup \{x\} where xAx \notin A. Every subset of A{x}A \cup \{x\} either omits xx (and is a subset of AA) or contains xx (and is S{x}S \cup \{x\} for some subset SAS \subseteq A). These two families are disjoint and each has P(A)=2n|P(A)| = 2^n elements. So P(A{x})=22n=2n+1|P(A \cup \{x\})| = 2 \cdot 2^n = 2^{n+1}.

This is your first encounter with exponential growth in this course: doubling the size of AA does not double the size of P(A)P(A) , it squares it.

Universal set

In any problem we usually have a "world" of objects in mind. The set of all such objects for the problem is called the universal set. For example:

  • For divisibility problems: U=ZU = \mathbb{Z} or U=NU = \mathbb{N}.
  • For trigonometric problems: U=RU = \mathbb{R}.
  • For class-attendance data: U=U = all students in the class.

The choice of UU depends on context. Once UU is fixed, every set in the discussion is a subset of UU, and the complement of a set (next subtopic) becomes meaningful.

Why these matter

Power sets appear whenever we want to count subsets: in probability, an event is a subset of the sample space, so events are elements of P(S)P(S) where SS is the sample space; in combinatorics, choosing a committee is choosing a subset, and so on.

The universal set is what makes the diagram of a set finite to draw. Without specifying UU, the complement of {1,2,3}\{1, 2, 3\} is hopelessly ambiguous: complement in N\mathbb{N}? in Z\mathbb{Z}? in R\mathbb{R}? The universal set settles the question.

Worked examples

Example 1. List P({x,y,z})P(\{x, y, z\}).

Eight subsets: , {x}, {y}, {z}, {x,y}, {x,z}, {y,z}, {x,y,z}\varnothing,\ \{x\},\ \{y\},\ \{z\},\ \{x, y\},\ \{x, z\},\ \{y, z\},\ \{x, y, z\}.

Example 2. If A=5|A| = 5, how many subsets does AA have? How many of them have exactly 33 elements?

Total subsets: 25=322^5 = 32. Subsets of size 33: (53)=10\binom{5}{3} = 10 (revisited in Chapter 6).

Example 3. If P(A)=32|P(A)| = 32, find A|A|.

2n=32n=52^n = 32 \Rightarrow n = 5. So A=5|A| = 5.

Example 4. Take U={1,2,,10}U = \{1, 2, \dots, 10\}, A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}. List the smallest universal set in which both AA and B={3,6,9}B = \{3, 6, 9\} are subsets, and verify that UU suffices.

AB={2,3,4,6,8,9,10}A \cup B = \{2, 3, 4, 6, 8, 9, 10\}. The smallest such universal set is ABA \cup B itself. But the given U={1,,10}U = \{1, \dots, 10\} also contains all of these, so UU suffices.

Example 5 (harder). Prove: if ABA \subseteq B, then P(A)P(B)P(A) \subseteq P(B).

Let SP(A)S \in P(A). Then SAS \subseteq A. By transitivity (since ABA \subseteq B), SBS \subseteq B, so SP(B)S \in P(B). Hence P(A)P(B)P(A) \subseteq P(B).

Try it yourself

  1. List all elements of P({1,2})P(\{1, 2\}).
  2. How many subsets does a set with 88 elements have?
  3. If P(A)P(A) has 128128 elements, find A|A|.
  4. Write all subsets of {a,b,c,d}\{a, b, c, d\} that have exactly two elements.
  5. If A={1,2,{3,4}}A = \{1, 2, \{3, 4\}\}, find A|A| and P(A)|P(A)|.
  6. Is {1,2}P({1,2,3})\{1, 2\} \in P(\{1, 2, 3\})? Is {1,2}P({1,2,3})\{1, 2\} \subseteq P(\{1, 2, 3\})?
  7. Show that P()={}P(\varnothing) = \{\varnothing\} and P({})={,{}}P(\{\varnothing\}) = \{\varnothing, \{\varnothing\}\}.
  8. Choose a sensible universal set for: (a) "the set of vowels"; (b) "rational solutions of a quadratic"; (c) "students who play football".
  9. Prove or disprove: P(AB)=P(A)P(B)P(A \cap B) = P(A) \cap P(B).
  10. Prove or disprove: P(AB)=P(A)P(B)P(A \cup B) = P(A) \cup P(B).
  11. If A=n|A| = n, how many subsets of AA have an even number of elements? (Hint: split by including/excluding a fixed element.)
  12. Why is "U=U = the set of all sets" not a legal universal set? (Hint: it leads to Russell's paradox; this is taken on faith for now.)

Pitfalls / Tricks

  • P(A)\varnothing \in P(A) and AP(A)A \in P(A) for every set AA. Both the empty subset and AA itself are subsets of AA.
  • {1}P({1,2})\{1\} \in P(\{1, 2\}) (true) is not the same as 1P({1,2})1 \in P(\{1, 2\}) (false , 11 is not a subset of {1,2}\{1, 2\}).
  • The universal set is a choice. The same set AA may have very different complements in different universes.
  • Insight. The map AP(A)A \mapsto P(A) takes nn to 2n2^n. It is the prototype of exponential blow-up , and the reason why brute-force search over subsets becomes infeasible quickly.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Power set and universal set
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6