Skip to main content

Section Unions, Intersections, and Complements of Sets

In mathematics, the collection of points that make up a string or a blob of play-doh as in Activity 1.2 is represented as a set. Topology is then the study of these sets and what properties of the sets don’t change when transformations are applied to the sets. To study topology we will need a solid understanding of sets and different operations on sets.
What we saw in Preview Activity 1.1 is what is called a paradox. Our original attempt to define a set led to an impossible situation since both SS and SS lead to contradictions. This paradox is called Russell’s paradox after Bertrand Russell, although it was apparently known before Russell. The moral of the story is that we need to be careful when making definitions. A set might seem like a simple object, and in our experi≈ence usually is, but formally defining a set can be problematic. As a result, we won’t state a formal definition, but rather take a set to be a collection of objects that doesn’t lead to a paradox. The objects are called the elements of the set. (In axiomatic set theory, a set is taken to be an undefined primitive — much as a point is undefined in Euclidean geometry.)
In order to effectively work with sets, we need to have an understanding what it means for two sets to be equal.

Activity 1.3.

(a)

What should it mean for two sets to be equal? If A and B are sets, how do we prove that A=B? (This is question that requires discussion, which is different than a question that only asks for a computation or an example. Activities throughout this text will ask both types of questions.)

(b)

Let A={xRx<2} and B={xRx1<1}. Is A=B? If yes, prove your answer. If no, prove any containment that you can.

(c)

Let A={nZ2 divides n} and B={nZ4 divides (n2)}. Is A=B? If yes, prove your answer. If no, prove any containment that you can.

(d)

Let A={nZn is odd } and B={nZ4 divides (n1) or 4 divides (n3)}. Is A=B? If yes, prove your answer. If no, prove any containment that you can.
Once we have the notion of a set, we can build new sets from existing ones. For example, we define the union, intersection, set difference, and complement of a set as follows.
  • The union of sets A and B is the set AB defined as
    AB={xxA or xB}.
  • The intersection of sets A and B is the set AB defined as
    AB={xxA and xB}.
  • Let A and B be sets. The set difference AB is the set
    AB={aAaB}.
  • Let A be a subset of a set U. The complement of A in U is the set
    UA={xUxA}.
    The complement of a set A in a set U is also denoted by CU(A), C(A) (if the set U is understood), Ac, or even UA.
We can visualize these sets using Venn diagrams. A Venn diagram is a depiction of sets using geometric figures. For example, if U is a set containing all other sets of interest (we call U the universal set), we can represent U as a large container (say a rectangle) with subsets A and B as smaller containers (say circles), and shade the elements in a given set. The Venn diagrams in Figure 1.2 depict the sets A, B, AB, AB, Ac, and Bc.
A
B
AB
AB
Ac
Bc
Figure 1.2. Venn diagrams
As we have discussed, to prove that two sets X and Y are equal we prove that each is a subset of the other. The next example provides another illustration of the idea.

Example 1.3.

Let A, B, and C be sets. We will prove that A(BC)=(AB)(AC).
To prove this set equality we must prove that A(BC)(AB)(AC) and (AB)(AC)A(BC). We start with A(BC)(AB)(AC).
To prove that A(BC)(AB)(AC), we need to demonstrate that every element in A(BC) is also in (AB)(AC). To do this, we select an arbitrary element in A(BC) and show that this element is in (AB)(AC). Let xA(BC). Then xA and xBC. The fact that xBC implies that xB but xC. Therefore, xA and xB, but xC. This implies that xA and xB, but xA and xC. So xA and xB, but xAC. We conclude that x(AB)(AC). This proves that A(BC)(AB)(AC).
For the reverse containment, we let y(AB)(AC). So yAB but yAC. Since yAB, we know that yA and yB. The fact that yAC means that yC. So yA, yB, and yC. Thus, yA and yBC. We conclude that yA(BC), which shows that (AB)(AC)A(BC). The two containments, A(BC)(AB)(AC) and (AB)(AC)A(BC) demonstrate that A(BC)=(AB)(AC).
We will use the ideas in Activity 1.3 and Example 1.3 to prove set equalities throughout this text. The next activity will provide some additional practice.

Activity 1.4.

In this activity we work with unions, intersections, and complements of sets. Let A and B be sets.

(a)

Let A={1,2,3,4,5,6} and B={2,4,6,8,10}, with U={1,2,3,4,5,6,7,8,9,10}.
(i)
Determine the elements in AB and AB. What are the elements in (AB)c and (AB)c?
(ii)
Determine the elements in AcBc and AcBc.

(b)

Let A and B be arbitrary subsets of a universal set U. There are connections between A, B and their complements, unions, and intersections.
(i)
Use Venn diagrams to draw (AB)c and (AB)c.
(ii)
Use the Venn diagrams and the result of (a) to find and prove a relationship between Ac, Bc and (AB)c.
(iii)
Use the Venn diagrams and the result of (a) to find and prove a relationship between Ac, Bc and (AB)c.
In Activity 1.4 we worked with the union and intersection of two sets. There is no reason to restrict these definitions to only two sets, as the next activity illustrates.

Activity 1.5.

To define an infinite collection of sets we often use what is called an indexing set. An indexing set allows us to consider a collection of objects that are in one-to-one correspondence with a set like the positive integers, or even the real numbers. When using an indexing set, we generally make a statement such as ``let {Aα} for αI be a collection of sets indexed by some set I". The collection {Aα}αI is called an indexed family of sets.

(a)

The set I could be finite. As an example, let An={1,2,3,n} for n in the set I={1,2,3,,10}.
(ii)
How many sets are in the indexed family {An}nI?

(b)

The indexing set can be infinite. For example, let Aα=[0,|α|) for α in the set R (where [a,b) is the interval consisting of the real numbers x such that ax<b). In this case, what is A5? What is Aπ? What is A23?

(c)

We have defined the union and intersection of two sets. The same idea can be extended to define the union and intersection of an indexed collection of sets.
(i)
Recall that if A and B are sets, the intersection AB is the set {xxA and xB}. How can we extend this definition from two sets to any collection of sets? In other words, how do we define
αIAα?
In the example in (b), what set is αRAα?
(ii)
Recall that if A and B are sets, the union AB is the set {xxA or xB}. How can we extend this definition from two sets to any collection of sets? In other words, how do we define
αIAα?
In the example in (b), what set is αRAα?
These properties (AB)c=AcBc and (AB)c=AcBc that we learned about in Activity 1.4 are called DeMorgan’s Laws. These laws apply to any union or intersection of sets, finite or infinite. The proofs are left for Exercise 4.

Activity 1.6.

(a)

Verify DeMorgan’s Laws in the specific case of Aα={1,2,3,α} in U=Z, where α is any element of the indexing set I=Z+.

(b)

Why should the complement of a union be an intersection and why should the complement of an intersection be a union?
Hint.
Consider the definitions of unions and intersections.