Basics of Topology and Continuous Functions

Informally, a topology is a kind of “arrangement” or “organization” that we put on a set. One can think of an analogy with an army, which is made up of soldiers organized into squads, which are in turn organized into platoons, and so forth. Topology accomplishes this by organizing subsets of a set into “open sets” and “closed sets”. We quote here the rigorous definition of a topology following the book Topology by James R. Munkres:

A topology on a set X is a collection \mathcal{T} of subsets of X having the following properties:

(1)  \varnothing and X are in \mathcal{T}.

(2) The union of the elements of any subcollection of \mathcal{T} is in \mathcal{T}.

(3) The intersection of the elements of any finite subcollection of \mathcal{T} is in \mathcal{T}.

A set X for which a topology \mathcal{T} has been specified is called a topological space.

From the same book, we have the following definition of an open set:

If X is a topological space with a topology \mathcal{T}, we say that a subset U of X is an open set of X if U belongs to the collection \mathcal{T}.

We also have the following definition of a closed set:

A subset A of a topological space X is said to be closed if the set  X-A is open.

We note that the notation X-A here refers to the complement of A in X, i.e., the set X-A is the set of all elements of the set X that are not also elements of the set A.

Our definition of open sets and closed sets has some results that seem rather weird at first glance. By definition, both the entire set X and the empty set \varnothing are open. But X-\varnothing is just X, which is open; therefore, by our definition of closed sets, \varnothing is closed. Similarly, since X-X is the empty set \varnothing, which is again open, we find that the entire set X is also closed. Therefore, the sets X and \varnothing are both open and closed!

This only seems paradoxical because we are used to thinking of the words open and closed as being opposites; such may be the case in real life, but for our purposes these words are merely terminology that we use in order to organize our set; therefore, it should not be troubling for us to find a set both closed and open (some refer to such a set as a “clopen” set). There also exist examples of sets in some topologies being neither closed nor open.

Now we show one example of putting a topology on a set. We consider the set with two elements, which we shall refer to as 0 and 1. This set has the following subsets:

\displaystyle \varnothing

\displaystyle \{0\}

\displaystyle \{1\}

\displaystyle \{0,1\}

We shall now put a topology on this set. By the definition of a topology, the subsets \{0,1\}, which is the entire set, along with the empty set \varnothing have to be open. By the result we discovered earlier, they must also both be closed. We now have a choice of what to do with the remaining subsets, \{0\} and  \{1\}. If we declare them to both be open, then all the subsets are open sets. We call a topology where all subsets are open the discrete topology. It so happens that if we do this, both \{0\} and  \{1\} will also be closed by the definition of topology. So putting the discrete topology on this set with two elements makes all subsets both open and closed.

We can also not declare anything on the two sets \{0\} and  \{1\}; this will make them neither open nor closed, and only the entire set and the empty set are declared open (they also happen to be closed). Such a topology where only the entire set and empty set are declared to be open (which they are forced to be, by definition) is called the trivial topology.

Finally, we can declare just one of \{0\} and  \{1\} to be open. There are two different ways of doing this; we can declare either \{0\} to be open, in which case  \{1\} will be closed, or we can declare  \{1\} to be open, in which case \{0\} will be closed. A two element set where one of the one-element subset is declared to be open, rendering the other one-element subset closed, is called a Sierpinski space.

We tackle one more example. Consider the set of all real numbers \mathbb{R}, also called the real line. We will put a topology on the real line, but first there is one more concept that we need to define. Let a and b be two real numbers, where b is greater than a (also written, of course, as a<b). The set of all real numbers which are greater than a but less than b is denoted by (a, b). Note that a and b themselves are not included in the set (a, b). We call sets such as these open intervals. If instead we consider the set of real numbers greater than or equal to a but less than or equal to b, then we write [a, b], and both a and b are now included in [a, b]. Such sets are called closed intervals.

We now go back to putting a topology on the real line. As may be suggested by the naming, we now declare that all sets that are unions of open intervals, including of course the open intervals themselves, to be the open sets of our topology. This will make the closed intervals, including the sets consisting of only one real number, into closed sets. We will not explain why in this post, but it always goes back to the definitions of topology, open set, and closed set. This topology that we have defined on the real line is called its standard topology.

Now that we know the concept of an open interval, there is another related concept that we will introduce in this post. We stay in the context of real numbers and the real line. Let x be a real number, and let \epsilon be a positive real number. The open interval (x-\epsilon, x+\epsilon) is an example of what we call a neighborhood of x. It consists of all real numbers whose difference from x is less than \epsilon, or we may think of it them as being less than a distance \epsilon away from x. This motivates the terminology of “neighborhood”, even though \epsilon can be as small or as big as we want.

The concept of a neighborhood plays a big role in a very common kind of topology called a metric topology. It plays a big role in the modern foundations of calculus and geometry.

Recall that a function is a mapping between sets, in the sense that it assigns to every element in a set called its domain an element of another set called its range. As per our definitions above, a topological space is just a set  for which a topology is specified, so we can talk about functions between topological spaces. The topologies on the sets involved will allow us to define an important kind of function between topological spaces, called a continuous function. Once more we refer to the book of Munkres:

Let X and Y be topological spaces. A function f: X \rightarrow Y is said to be continuous if for each open subset V of Y, the set f^{-1}(V) is an open subset of X

Recall that f^{-1}(V) is the set of all points x of X for which f(x)\in V; it is empty if V does not intersect the image set f(X) of f.

Continuity of a function depends not only upon the function f itself, but also on the topologies specified for its domain and range. If we wish to emphasize this fact, we can say that f is continuous relative to specific topologies on X and Y.

A continuous function with a continuous inverse is called a homeomorphism.

This is the most basic definition of continuity of a function. However, depending on the topologies on the domain and range, there may be several equivalent definitions, all deriving from this one most basic definition, that will shed light on certain concepts of importance for the topological spaces that we are studying. We state here one important equivalent definition for the case of functions from real numbers to real numbers, with the set of real numbers equipped with the standard topology discussed earlier.

A function f: \mathbb{R} \rightarrow \mathbb{R} is said to be continuous if for any two real numbers x and y and a positive real number \epsilon, there exists another positive real number \delta such that whenever |x-y| is less than \delta, then it is guaranteed that |f(x)-f(y)| is less than \epsilon. The notation |x-y| stands for the absolute value of x-y; if x is greater than y then it is simply equal to x-y, but if y is greater than x then it is instead equal to y-x. The same applies to |f(x)-f(y)|. If f(x) is greater than f(y) then it is equal to f(x)-f(y) but if f(y) is greater than f(x) then it is equal to f(y)-f(x).

The idea that this definition of continuity is supposed to communicate, is that we can always produce as small a change as we want in the “output” of the function as long as we make a change in the “input” that is sufficiently small enough. We can think of functions that are not continuous as having abrupt “jumps” such that even if we make the smallest of changes in the input we still cannot make the output change slowly enough with respect to this change in the input.

It is important to remind ourselves, once again, that this latter definition of continuity follows from the one most basic definition of continuity we have defined earlier, we have simply specialized it to the case where the domain and range is the set of real numbers, and we have equipped this set with its standard topology. We have not discussed explicitly how exactly to relate the two definitions here, but the inquisitive reader can find it and much more in the book of Munkres.


General Topology on Wikipedia

Sierpinski Space on Wikipedia

Continuous Function on Wikipedia

Topology by James R. Munkres


7 thoughts on “Basics of Topology and Continuous Functions

  1. Pingback: Homotopy Theory | Theories and Theorems

  2. Pingback: Presheaves | Theories and Theorems

  3. Pingback: Category Theory | Theories and Theorems

  4. Pingback: Basics of Algebraic Geometry | Theories and Theorems

  5. Pingback: Vector Fields, Vector Bundles, and Fiber Bundles | Theories and Theorems

  6. Pingback: Cohomology in Algebraic Geometry | Theories and Theorems

  7. Pingback: Metric, Norm, and Inner Product | Theories and Theorems

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s