Topology/Basic Concepts Set Theory
This chapter is meant to be a short, concise introduction to the basic set concepts used throughout this book. It is not meant to be a comprehensive text book on set theory. Rather, it will list the material that the reader should be familiar with and showcase the notation used. Readers desirous of a more in-depth understanding of set theory should read the Set Theory Wikibook.
[edit] Basic Definitions
The empty set is denoted by symbol
. A (finite) set consisting of elements
is denoted
.
It is a bit sloppy but common practice not to distinguish very strictly between a singleton set
and its single element
.
For a more in depth understanding of how elements of sets relate to each other, we must first define a few terms.
Let A and B denote two sets. Then we define the union of A and B, denoted
, as the set of all x that belong to either A or B (or both).
The intersection of A and B, denoted
, is the set of all x that belong to both A and B.
The difference of A and B, denoted
or A - B, is the set of all
such that
.
The symmetric difference of A and B, denoted AΔB, is defined by
.
If every element in A also belongs to B, we say that A is a "subset" of B. In other words,
is equivalent to
. A key property of these sets is that A = B if and only if
and
. If
and
then A is a proper subset of B, which we denote
. We do not use the notation
, as the meaning varies between subset and proper subset in various sources.
We may want to focus on properties of elements that are not in a particular set. To do so we introduce the notion of the complement of a set. Let X and U be sets such that
. We say the complement of X, denoted Xc, is the set of all
such that
.
Our next definition deals with "sizes" of sets. Let A be some set. Then we define the cardinality of A, denoted
, as the number of elements in A.
Examples:
- 1)

- 2)

- 3)

Another important concept to note is that of the power set. We define the power set to be the set of all subsets of some set A, and denote it by P(A).
Examples:
- 1)

- 2)

- 3)

Note that
.
Finite ordered sets (or n-tuples) are denoted
.
For two ordered sets
and
, we have X = Y if and only if
(compare with the statement above regarding equality of unordered sets).
Ordered sets can be defined in terms of unordered sets.
For example, the ordered pair
was defined by Kazimierz Kuratowski as
. It is tedious but not difficult to check that
if and only if
and
.
Now n-tuple is defined as follows:
We now can use this notion of ordered pairs to discuss the Cartesian Product of two sets. The Cartesian Product of A and B, denoted
, is the set of all possible ordered pairs where the first element comes from A and the second from B; that is,
.
Now that we have defined Cartesian Products, we can turn to the notions of binary relations and functions. We say a set R is a binary relationfrom A to B if
. If
, it is customary to write xRy.
If R is a relation, then the set of all x which are in relation R with some y is called the domain of R, denoted domR.
The set of all y such that, for some x, x is in relation R with y is called the range of R, denoted ranR.
A binary relation F is called a function if every element x in its domain has exactly one element y in its range such that xFy. Also, if F is a function, the typical notation is F(x) = y instead of xFy.
There are a few special types of functions we should discuss.
A function
is said to be onto a set B, or a surjective function from A to B, if ranF = B.
A function F is said to be one-to-one or injective if
implies
.
A function that is both injective and surjective is called bijective.
[edit] Exercises
If you can successfully answer the following two problems, you are ready to study topology! Please take the time to solve these problems.
1. Prove that the empty set is a subset of every set.
2 a) Consider the set An = (-n,n) for each n in the set of natural numbers. Does the union over all An (for n in the set of natural numbers) equal R (the set of all real numbers)? Justify your answer.
2 b) Prove that no finite subcollection of An has the property that the union of this finite subcollection equals R. Once you study topology, you will see that this constitutes a proof that R is not compact.
This page may need to be 






.