More Operations on Sets
Learning objectives
- Compute indexed unions and intersections of families of sets
- Determine the power set of a given set and count its elements
- Compute Cartesian products of two or more sets
- Recognize when an element of is a subset, not a member, of
Two sets are easy; an infinite family of sets is where set theory earns its keep. Once you allow more than two sets at a time, the basic operations from §1.4 need to scale: indexed union generalizes to arbitrarily many sets, and indexed intersection generalizes . Two further constructions — the power set, which collects every subset of a set into one giant new set, and the Cartesian product, which builds the set of ordered pairs — will be the foundation for relations (Chapter 4) and functions (Chapter 5). All four constructions are essentially shorthand for quantified statements you already know, which is why this section sits right after the quantifier negation rules.
Indexed unions and intersections
An indexed family of sets is a collection , where is some index set (often or a finite list). The indexed union and indexed intersection are:
The union collects everything that lies in at least one ; the intersection keeps only what lies in every . The quantifier powers the union; the quantifier powers the intersection. This is the deep reason the two are duals: De Morgan for quantifiers gives De Morgan for indexed sets.
For example, if for :
(the largest ) and (the smallest ).
The power set
The power set of , written (also ), is the set of all subsets of :
If has elements, has elements — one for each choice of "include or exclude" per element. For :
Notice the empty set is always a member of (the empty set is a subset of everything), and itself is always a member of (every set is a subset of itself).
Cartesian products
The Cartesian product of and is the set of ordered pairs
If and , then . The order in a pair matters: in general. Cartesian products are how we model planes (), strings (), database joins (one row from each table), and — coming up in Chapter 4 — relations between sets.
Pause and think: Is an element of ? Is an element of ? What is the difference between and ? (Hint: members of are SETS; the number is not a set.)
Try it
- Before listing: predict the size of . Then list every element to verify your count of .
- Predict first: which is bigger, or ? Compute both and explain.
- Let for . Predict before computing. (Hint: is in every ; is any positive number in every ?)
- Compute and count its elements. (You should see all binary strings of length .)
- Is for every set ? Is ? Justify by recalling that elements of are exactly the subsets of .
A trap to watch for
The single most common mistake is confusing membership with subsethood when working with . For : is an element of because is a subset of ; but is not an element of , because is not a set. The general rule: . Element-of means subset-of . Spending sixty seconds with this rule now saves hours of confusion later when you start building relations on power sets and seeing nested set notation.
What you now know
You can build indexed unions and intersections, list power sets, and compute Cartesian products. Chapter 2 is now complete — you have a working vocabulary of propositional and predicate logic, plus the set-theoretic operations they describe. Chapter 3 leverages all of this into the art of writing proofs: direct, by contradiction, by contrapositive, and proofs that maneuver through quantifiers.
References
- Velleman, D. J. (2019). How to Prove It: A Structured Approach (3rd ed.). Cambridge University Press, ch. 2.
- Halmos, P. R. (1960). Naive Set Theory. Van Nostrand, §§6–7.
- Enderton, H. B. (1977). Elements of Set Theory. Academic Press, ch. 3.
- Kunen, K. (2009). The Foundations of Mathematics. College Publications, ch. 1.