Sets and Mathematical Proofs: A Primer

17Disjointness

Two sets are disjoint when they have no elements in common at all:

Definition 12 (Disjoint). X and Y are disjoint when XY = ∅.

The paradigm case is a set and its complement. Proposition 31 (a set and its complement are disjoint) tells us that X and Xc are disjoint, and Proposition 30 (a set and its complement exhaust the domain) that between them they take up the whole of U.

Splitting a set into disjoint pieces can be useful in certain contexts, so it’s worth getting used to doing it. The reason is that pieces which do not overlap can be counted or measured separately without anything being counted twice.

Taking a relative complement is the basic way of producing a pair of disjoint sets.

Disjointness is also inherited by subsets: if two sets do not overlap, then neither do any smaller sets taken from them.

The next three propositions give us ways of decomposing a set into two disjoint components. In the first two, the components are disjoint by Proposition 39 (a set is disjoint from what is taken off another). In the third they are disjoint by Propositions 39 (a set is disjoint from what is taken off another) and 40 (disjointness passes to subsets) together, since XYX.

Each of the propositions has a diagram to help you understand. In the first, X sits inside Y, and the two pieces are X itself and the ring around it.

Proposition 41 (splitting a set around a subset). For any sets X and Y, if XY, then Y = X ∪ (YX).

XY ∖ X
Figure 18. Proposition 41 (splitting a set around a subset): Y split into X and YX.

Suppose that XY. We will show that Y = X ∪ (YX) using Proposition 1 (double inclusion).

First, let us show that YX ∪ (YX). Let yY. By the law of excluded middle, either (i) yX or (ii) yX. Case (i): if yX, then yX ∪ (YX) by the definition of union. Case (ii): if yX, then yYX by the definition of relative complement; hence yX ∪ (YX) by the definition of union.

Next we will show that X ∪ (YX) ⊂ Y. Suppose that xX ∪ (YX). There are two cases: either (i) xX or (ii) xYX. Case (i): if xX, then since XY we have xY. Case (ii): if xYX, then by definition of relative complement, xY.

In the second, we take all of X and only the part of Y which is new.

In the third, Y alone is cut into the part outside X and the part inside it.

One last fact about disjointness, which we will want later.

Proposition 44 (a union of sets disjoint from Z is disjoint from Z). For any sets X, Y and Z, if X and Z are disjoint and Y and Z are disjoint, then XY and Z are disjoint.

XYZ
Figure 21. Proposition 44 (a union of sets disjoint from Z is disjoint from Z): if neither X nor Y meets Z, their union does not meet it either.

By Proposition 23 (intersection distributes over union), (XY) ∩ Z = (XZ) ∪ (YZ). As X, Z and Y, Z are both disjoint pairs, XZ = YZ = ∅, hence (XY) ∩ Z = ∅ ∪ ∅. By Proposition 19 (uniting with the empty set), ∅ ∪ ∅ = ∅, therefore (XY) and Z are disjoint.