Cartesian Products
& Power Sets
Master two foundational operations in set theory: building ordered pairs from Cartesian products and enumerating all subsets with power sets.
What Is a Cartesian Product?
The Cartesian product of two sets \(A\) and \(B\), written \(A \times B\), is the set of all ordered pairs \((a, b)\) where \(a \in A\) and \(b \in B\).
Order matters: the pair \((a, b)\) is not the same as \((b, a)\) unless \(a = b\). This means \(A \times B \neq B \times A\) in general.
Visualizing \(A \times B\)
Let \(A = \{1, 2\}\) and \(B = \{x, y, z\}\). We can lay out every ordered pair in a grid:
Why Cartesian Products Matter
Cartesian products are the building block for functions, graphs, probability sample spaces, and relational databases.
What Is a Power Set?
The power set of a set \(S\), written \(\mathcal{P}(S)\), is the set of all subsets of \(S\), including the empty set \(\emptyset\) and \(S\) itself.
For a set with \(n\) elements, the power set contains exactly \(2^n\) subsets. Each element is either included or excluded: two choices per element.
Visualizing \(\mathcal{P}(\{a, b, c\})\)
Core Cardinality Theorems
Each element of \(A\) pairs with every element of \(B\).
Each element is independently in or out of each subset.
Properties of \(A \times B\)
Properties of \(\mathcal{P}(S)\)
Cartesian Product vs. Power Set
| \(A \times B\) | \(\mathcal{P}(S)\) | |
|---|---|---|
| Input | Two sets \(A, B\) | One set \(S\) |
| Output elements | Ordered pairs \((a, b)\) | Subsets \(T \subseteq S\) |
| Size formula | \(|A| \cdot |B|\) | \(2^{|S|}\) |
| Growth rate | Polynomial | Exponential |
| Order matters? | Yes (pairs are ordered) | No (subsets are sets) |
How to Compute Each
2. For each \(a \in A\), pair it with every \(b \in B\).
3. Collect all pairs \((a, b)\).
4. Verify: you should have \(|A| \cdot |B|\) pairs.
2. For each element \(s \in S\), take every existing subset and create a copy with \(s\) added.
3. Combine old and new subsets.
4. Verify: you should have \(2^{|S|}\) subsets.
Example: \(\{1, 2\} \times \{a, b\}\)
Let \(A = \{1, 2\}\) and \(B = \{a, b\}\). Find \(A \times B\).
Example: \(\mathcal{P}(\{1, 2, 3\})\)
Let \(S = \{1, 2, 3\}\). Find every subset of \(S\).
Example: \(\mathcal{P}(A) \times B\)
Let \(A = \{1, 2\}\) and \(B = \{x\}\). Find \(\mathcal{P}(A) \times B\).
Common Mistakes
Question 1 of 5
If \(A = \{1, 2, 3\}\) and \(B = \{x, y\}\), what is \(|A \times B|\)?
Question 2 of 5
How many elements are in \(\mathcal{P}(\{a, b, c, d\})\)?
Question 3 of 5
Which of the following is true about Cartesian products?
Question 4 of 5
Which element is always in \(\mathcal{P}(S)\) for any set \(S\)?
Question 5 of 5
Let \(A = \{1\}\) and \(B = \{2, 3\}\). Which set equals \(B \times A\)?