Sets and Mathematical Proofs: A Primer

18Collections of sets

We saw in SectionΒ 4 that a set can have other sets among its elements. This section collects a few things worth saying about sets of that kind.

Given a set X, all of the subsets of X can themselves be gathered into a single set. We call it the power set of X, and we write it 𝒫(X). So the inclusion criterion for 𝒫(X) is Y βŠ‚ X:

Definition 13 (Power set). 𝒫(X) = {Y : Y βŠ‚ X}.

For example, 𝒫({7, 8}) = {βˆ…, {7}, {8}, {7, 8}}. Notice that βˆ… and X are elements of 𝒫(X) whatever X is, by PropositionsΒ 4 (an empty set is a subset of anything) andΒ 2 (every set is a subset of itself).

We often want to take the union or the intersection of more than two sets at once. Let β„± be a collection of sets, by which I just mean a set whose elements are themselves sets:

Definition 14 (Collection). A collection is a set whose elements are themselves sets.

The union of β„± is the set of objects belonging to at least one element of β„±, and we write it ⋃ β„±. The intersection of β„± is the set of objects belonging to every element of β„±, and we write it β‹‚ β„±. So the inclusion criterion for ⋃ β„± is that x ∈ X for at least one X ∈ β„±, and the inclusion criterion for β‹‚ β„± is that x ∈ X for every X ∈ β„±:

Definition 15 (Union of a collection). ⋃ β„± = {x : x ∈ X for at least one X ∈ β„±}.

X₁Xβ‚‚X₃
Figure 22. The union of a collection β„± = {X1, X2, X3} is the whole shaded region.

Definition 16 (Intersection of a collection). β‹‚ β„± = {x : x ∈ X for every X ∈ β„±}.

X₁Xβ‚‚X₃Xβ‚„
Figure 23. The intersection of a collection β„± = {X1, X2, X3, X4} is the shaded region.

For example, ⋃ {{7, 8}, {8, 9}, {9, 10}} = {7, 8, 9, 10}. On the other hand, β‹‚ {{7, 8}, {8, 9}, {9, 10}} = βˆ…, since no number is in all three. And β‹‚ {{7, 8, 9}, {8, 9}, {9, 10}} = {9}.

Taking β„± to be {X, Y} gives us back the operations we already have: ⋃ {X, Y} = X βˆͺ Y and β‹‚ {X, Y} = X ∩ Y. We will always assume that β„± is non-empty when taking an intersection.

Proposition 45 (each set is a subset of the union of its collection). For any collection β„± and any X ∈ β„±, X βŠ‚ ⋃ β„±.

Suppose that x ∈ X. By the definition of union, for any Y ∈ β„±, if y ∈ Y then y ∈ ⋃ β„±. In particular, since X ∈ β„±, we have x ∈ ⋃ β„±.

These are the general versions of PropositionsΒ 15 (each set is a subset of the union) andΒ 8 (an intersection is a subset of each set).

In practice you will often see these written with an index. If we have a set Xi for each i in some set I, people write ⋃i ∈ I Xi for ⋃ {Xi : i ∈ I}, and β‹‚i ∈ I Xi for β‹‚ {Xi : i ∈ I}. This is just a way of labelling the elements of the collection, and nothing new is going on.