Sets and Operations
Sets and Operations
Mathematics is often referred to as a language with its own vocabulary and rules of grammar; one
of the basic building blocks of the language of mathematics is the language of sets. Becoming familiar
with the terms and symbols and learning to use them correctly will help you throughout your study of
mathematics.
When attempting to make precise definitions, we have to begin by assuming that some terms are
already understood. Many of the terms will be in your English vocabulary and only need a new
mathematical interpretation. The following paragraph may give you some idea about the meanings of
several of the terms used in set theory. They will be explained again later.
You are a member of the set of students at your College. The readers of this handout form a
subset of the entire set of students or the universal set. The set of those students who do not read this
handout form the complement of the set who do. If each person reading this has his or her own copy,
then there is a one-to-one correspondence between the set of readers and the set of handouts being read.
We start this discussion by assuming that you know what is meant by a set (a collection or group)
of elements and also what is meant by a particular element being a member of (belonging to) a set. The
preceding paragraph may have given you some idea of what the terms subset, universal set,
complement, and one-to-one correspondence mean, and we will give precise definitions after
introducing some set notation.
We will usually describe a set by listing or describing its elements inside brackets. Here are some
examples:
The elements of a set are the members. The membership symbol is ∈ . We write 2 ∈ {0,1,2,3,4}
and say, "2 is an element of the set," or "2 is a member of the set," or "2 is in the set." In general, the
order in which the elements of a set are listed does not matter. However, when three dots are used to
indicate that the list continues according to some pattern, then the order becomes important so that the
pattern can be seen and used to identify the missing elements. The sets in examples (c) and (d) have
exactly the same elements; they are equal.
It is often convenient to give sets names; capital letters are usually used. Consider these sets of
numbers.
W = {0,1,2,3,4,…}
E = {0,2,4,6,8,…}
F = {1,3,5,...,15}
G = {0,1,2,3,4}
The sets W and E have no last element; they continue indefinitely and are called infinite sets.
There is no rule about how many numbers must be included before the three dots are written, but there
should be enough for the pattern to be recognized. Set F has just a few elements that are not listed. (Set
F could also have been written F = {1,3,5,7,9,11,13,15}.) Sets G and F are finite sets since we can
actually count the number of elements in each.
A
U
U U
B A
A B
A ⊆B B⊆ A
When A and B have no elements in common, we say they are disjoint. If the sets have elements in
common, then they overlap or intersect.
A B A B
Often we are given two sets X and Y, and we don't know if or how they are related. In this case
we draw a general figure.
X Y
2 3 4
We have to be careful when we make a general diagram to remember that there are several
possibilities for each region. For example, just because we have drawn X and Y as overlapping sets
does not mean that they must overlap. In fact, we have the following possibilities:
X or Y or both may be the empty set.
If X ⊆ Y, then region 2 is empty.
If Y ⊆ X, then region 4 is empty.
lf X = Y, then both regions 2 and 4 are empty.
If X and Y are disjoint, then region 3 is empty.
Three common operations are performed on sets: union, intersection, and complementation.
Union is the operation that combines two sets; the union of the sets A and B is the set that
consists of all the elements of A and in addition all the elements of B. The symbol for union is ∪ and
we write A ∪ B.
The intersection of the sets A and B is the set containing all the elements that are common to both
sets and is denoted A ∩ B.
The complement of a set A is the set of all elements in U (the universe) and not in A. We will
denote the complement of a set A by adding a prime: A'. (Other books will use may use other notations,
such as ~ A or A .)
Using set notation we have these definitions:
The union of the sets A and B = A ∪ B = {x| x ∈ A or x ∈ B}
The intersection of A and B = A ∩ B = {x|x ∈ A and x ∈ B}
The complement of a set A = A' = {x| x ∈ U and x ∉ A}
Let's recall the sets we considered on page 2.
U = {2,4,6,8,10}
A = {2,4,6}
B ={2,4,6,8}
C ={2,6,10}
For the given sets A, B, and C and universe U, we have:
A ∪ B = {2,4,6,8} A ∩ B = {2,4,6} A' = {8,10}
A ∪ C = {2,4,6,10} A ∩ C = {2,6} B' = {10}
B ∪ C = {2,4,6,8,10} B ∩ C = {2,6} C' = {4,8}
U U
A B A B
A∪ B
Intersection also can be illustrated using the Venn diagram. This time shade the set A in one
direction or color and then shade the set B in another direction or color. The set A ∩ B is the set that has
been shaded twice.
U U
A B A B
A ∩ B
Complementation, too, can be shown using a Venn diagram. In this case, the area outside the
given set is shaded.
A' U
TRUE OR FALSE?
9. X ⊆ Y 13. X and Z are disjoint.
l0. X ⊆ Z 14. 2 ∈ X
II. Y ⊆ X 15. {1,3} ∈ Z
12. 2 ∈ Y 16. { } ⊆ X
27. 29.
U
X Z
X 6 Y 2,4,6,8, 1,3,5,7,9
2,4 10
8,10 5,7
31. 33.
U U
Z
Y 5
Y
7 1,3,9
6 5,6,7
35. {0,1,2,3,4,5}
37. {0,3,6,9}