2010-03-23 22:25:01 8 Comments

I'm ashamed to admit it, but I don't think I've ever been able to genuinely motivate the definition of a topological space in an undergraduate course. Clearly, the definition distills the essence of many examples, but it's never been obvious to me how it came about, compared, for example, to the rather intuitive definition of a metric space. In some ways, the sparseness of the definition is startling as it tries to capture, apparently successfully, the barest notion of 'space' imaginable.

I can try to make this question more precise if necessary, but I'd prefer to leave it slightly vague, and hope that someone who has discussed this successfully in a first course, perhaps using a better understanding of history, might be able to help me out.

Added 24 March:

I'm grateful to everyone for their thoughtful answers so far. I'll have to think over them a bit before I can get a sense of the 'right' answer for myself. In the meanwhile, I thought I'd emphasize again the obvious fact that the standard concise definition has been *tremendously successful.* For example, when you classify two-manifolds with it, you get equivalence classes that agree exactly with intuition. Then in as divergent a direction as the study of equations over finite fields, there is the etale topology*, which explains very clearly surprising and intricate patterns in the behaviour of solution sets.

*If someone objects that the etale topology goes beyond the usual definition, I would argue that the logical essence is the same. It is notable that the standard definition admits such a generalization so naturally, whereas some of the others do not. (At least not in any obvious way.)

For those who haven't encountered one before, a *Grothendieck topology* just replaces subsets of a set $X$ by maps $$Y\rightarrow X.$$ The collection of maps that defines the topology on $X$ is required to satisfy some obvious axioms generalizing the usual ones.

Added 25 March:

I hope people aren't too annoyed if I admit I don't quite see a satisfactory answer yet. But thank you for all your efforts. Even though Sigfpe's answer is undoubtedly interesting, invoking the notion of measurement, even a fuzzy one, just doesn't seem to be the best approach. As Qiaochu has pointed out, a topological space is genuinely supposed to be more general than a metric space. If we leave aside the pedagogical issue for a moment and speak as working mathematicians, a general concept is most naturally justified in terms of its consequences. As pointed out earlier, topologies that have no trace of a metric interpretation have been consequential indeed.

When topologies were naturally generalized by Grothendieck, a good deal of emphasis was put on the notion of an *open covering*, and not just the open sets themselves. I wonder if this was true for Hausdorff as well. (Thanks for the historical information, Donu!) We can see the reason as we visualize a two-manifold. Any sufficiently fine open covering captures a combinatorial skeleton of the space by way of the intersections. Note that this is not true for a closed covering. In fact, I'm not sure what a sensible condition might be on a closed covering of a reasonable space that would allow us to compute homology with it. (Other than just saying they have to be the simplices of a triangulation. Which also reminds me to point out that homology can be computed for ordinary objects without any notion of topology.)

To summarize, a topology relates to *analysis* with its emphasis on functions and their continuity, and to *metric geometry*, with its measurements and distances. However, it also interpolates between these and something like *combinatorial geometry*, where continuous functions and measurements play very minor roles indeed.

For myself, I'm still confused.

Another afterthought: I see what I was trying to say above is that open sets in topology provide an abstract framework for describing local properties of functions. However, an open *cover* is also able to encode global properties of spaces. It seems the finite intersection property is important for this, but I'm not able to say for sure. And then, when I try to return to the pedagogical question with all this, I'm totally at a loss. There are very few basic concepts that trouble me as much in the classroom.

### Related Questions

#### Sponsored Content

#### 1 Answered Questions

### [SOLVED] Reference request: norm topology vs. probabilist's weak topology on measures

**2019-06-17 11:19:19****JohnA****256**View**6**Score**1**Answer- Tags: reference-request fa.functional-analysis pr.probability gn.general-topology measure-theory

#### 1 Answered Questions

### [SOLVED] Exponential law w.r.t. compact-open topology

**2018-08-03 16:33:47****B. W.****221**View**4**Score**1**Answer- Tags: ct.category-theory gn.general-topology

#### 2 Answered Questions

### [SOLVED] covering theory with compact open topology

**2018-04-17 23:18:17****Paul Pfeiffer****299**View**2**Score**2**Answer- Tags: gn.general-topology covering-spaces

#### 4 Answered Questions

### [SOLVED] Topology of function spaces?

**2010-08-11 00:51:13****José Figueroa-O'Farrill****5632**View**32**Score**4**Answer- Tags: reference-request gn.general-topology infinite-dimensional-manifolds differential-topology dg.differential-geometry

#### 1 Answered Questions

### [SOLVED] Topology, the board game

**2013-03-13 00:35:48****Brian Rushton****851**View**8**Score**1**Answer- Tags: gn.general-topology mathematics-education soft-question

#### 1 Answered Questions

### [SOLVED] weak metric space

**2010-10-16 22:41:17****Vieux Girondin****475**View**2**Score**1**Answer- Tags: gn.general-topology geometry

## 30 comments

## @Will Sawin 2011-12-03 09:48:35

I'm going to take a finite, "combinatorial geometry" approach, thinking about, for instance, convex polytopes.

Suppose we have a finite set of things. For instance, a tetrahedron is made up of 4 points, 6 lines, 4 faces, and one solid. We notice, first, that some of these things are adjacent to each other, and some things are not adjacent to each other. So we have a graph.

Then we further note that this graph can be directed. If two things are adjacent, one of them must be bigger. If they have the same dimension, we have forgotten about the boundary that, in fact, separates them. This is a consequence of including, in some sense, all the shapes you can, to maximally clarify the geometry of your space.

So we have a directed graph. It is easy to verify that this graph should satisfy the axioms of a partially ordered set. If $A \geq B$ ($B$ is an edge of $A$) and $B \geq C$ ($C$ is a vertex of $B$) then $A\geq C$ ($C$ is a vertex of $A$).

Now, finite partially-ordered sets are just finite T0 topological spaces. The open sets contain everything $\geq$ their elements, and the closed sets contain everything $\leq$ their elements. It is not obvious in this context why these are natural objects of study, although they are fairly easy to define, and thus must be useful for something.

To determine the difference between finite and infinite union, we must break out of the finite world. We're going to do that, however, only by breaking it up into smaller finite pieces. A face might turn into 4 faces, 4 edges, and 1 vertex, for instance. A set on the unbroken space becomes a set on the broken space. Its closure is preserved, while the smallest open set containing it gets smaller.

Thus, though in the finite case we can consider the smallest closed set containing something or the smallest open set containing it, only the first notion is preserved as we increase the number of objects in our space and decrease their size, bringing us closer to infinite, continuous mathematics. Thus, we abandon the notion of a smallest open set containing something, which means we must abandon infinite intersection of open spaces, and therefore, infinite union of closed spaces.

## @Giorgio Mossa 2011-06-27 14:15:02

I want to complete something said by Andrew Stacey above: like him I think that the only reason to motivate the use of the open sets it's because they are more easy to use. Topology is the study of property preserved by invertible continuous transformation (following the Erlangen program): this definition clearly need the notion of continuity, I've always thought of continuity as the relation of proximity of points, so the first thing to do topology is to define the notion of proximity and neighbourhood are most natural way to do so (at least for me). Anyway dealing with neighbourhoods is more complex than working with open set, for example the definition of topology with neighbourhoods require five axioms while classical definition with open sets require just three axioms. So while it seems more natural the study of topology via neighbourhoods it is more convenient dealing with open sets which allow to simplify the proofs.

I hope this answer my help.

## @Toby Bartels 2012-01-14 07:11:31

There are several interpretations of the original question, but one is, why focus on open sets rather than closed sets? I have an unusual answer.

Suppose you want to do constructive mathematics. (Don't ask me why, you just do.) So you abstract the properties of open and closed subsets from the real line. Then you see that open subsets are closed under arbitrary union but only finitary intersection, OK. Dually, you see that closed sets are closed under arbitrary intersection but …

notunder finitary union! For example, the union of $ [ 0 , 1 ] $ and $ [ 1 , 2 ] $ cannot be proved to be closed. (The closure of the union is $ [ 0 , 2 ] $, but to prove that the union itself is all of $ [ 0 , 2 ] $ requires the lesser limited principle of omniscience. Or less formally, there is no definite method to decide whether a number is near $ 1 $ is in $ [ 0 , 1 ] $ or in $ [ 1 , 2 ] $.) So open sets are better behaved and naturally you prefer to axiomatise them.But as you continue with constructive topology, more advanced things fail, such as the Tychonoff Theorem (which implies the axiom of choice and thus excluded middle). Then you learn that this stuff works in locale theory, so you abandon traditional topological spaces for locales. And here the duality between open and closed is restored; a locale's frame of opens can just as well be interpreted as a coframe of closeds, and only tradition tells us to do the first. (In the locale of real numbers, the union of the closed sublocales $ [ 0 , 1 ] $ and $ [ 1 , 2 ] $ is the closed sublocale $ [ 0 , 2 ] $, and the thing that you can't prove constructively is that every point in this union belongs to at least one of its addends.)

So this answer only works in a very unusual frame of mind: setting off down an unusual path but not going all the way.

## @Vectornaut 2010-03-24 03:42:13

Here's one of my favorite axiomatizations of topology!

The first three axioms agree very well with my intuitive concept of "touching," and I find the fourth one at least tolerable, if not totally self-evident. If you leave out the fourth axiom, you get the definition of a pretopological space (a set with a Čech closure operator).

In Joshi's

Introduction to General Topology, and in most of the literature, this kind of relation is called anearness relation(page 114). I think one of the first papers on these things was "Nearness--A Better Approach to Continuity and Limits," by P. Cameron, J. G. Hocking, and S. A. Naimpally, which talks about nearness relations on metric spaces.The definition of continuity in terms of open sets really puzzled me at first. I think the definition in terms of the nearness relation is much clearer!

The definitions of convergence and Hausdorffness are quite pretty, in my opinion, and the definition of connectedness is very intuitive.

(WARNING: I'm kinda rusty at this, so these definitions may not be correct.)## @faridrb 2010-03-24 03:53:23

this is just the same as kuratowski's closure operator. It is also confusing because there are also the Nearness spaces defined by Herrlich which use covers and are more general than topological spaces..

## @Vectornaut 2010-03-24 22:51:35

@jef: Yes, it's the same as the closure operator, but I find it

wayeasier to motivate. Maybe I'm just weird? Thanks for mentioning Herrlich's nearness spaces---I'd never heard of them before! If anyone is interested in the definition, here's a nice reference: "On Nearness Space," by Seung On Lee and Eun Ai Choi (ccms.or.kr/data/pdfpaper/jcms8_1/8_1_19.pdf).## @beroal 2011-02-19 14:37:31

@Vectornaut: Your definition of a continuous map is a nice formalization of informal “a map without breaks” or “a map which preserves infinitesimal distances”. a touches A ↔ a is infinitely close to A. Infinitesimal distance between points does not make sense, so we need to replace one of the points with a set. That was crucial. I went the same way, but directly from the Kuratowski's axioms. a touches A ↔ $a\in cl(A)$. Thank you very much for the references because I did not know even where to start my search or what name it is called. I wonder why point-set topology is not derived this way.

## @beroal 2011-02-19 14:51:58

@Vectornaut: There is a short answer by @Mike Benfield, which goes in parallel with mine. It seems that this point of view is not popular. If you have any further info, especially rigorously developed, I will be glad to hear that.

## @David Corwin 2012-05-09 09:32:36

Having studied various non-standard topologies, especially ones relating to adeles and profinite groups, I find this axiomatization very useful.

## @Eric Auld 2013-11-17 08:12:48

@Vectornaut I love the nearness characterization! Is there a similarly intuitive characterization of compactness?

## @Vectornaut 2013-11-18 06:05:18

@DavidCorwin: That's really cool! I've never found myself in a situation where this axiomatization seemed like the nicest one to work with. Can you give a sketch of the context you were working in, and why the nearness axiomatization was well-suited to it?

## @Vectornaut 2013-11-18 06:12:32

@EricAuld, I don't know of a really intuitive characterization of compactness, but there's a straightforward one using the finite intersection property. Say a collection of subsets of a space is

cozyif there's a point touching every subset in the collection, and say a collection isfinite-wise cozyif every finite subcollection is cozy. A space iscompactif finite-wise coziness implies coziness. You might be able to finagle this into something a bit more intuitive---if you do, let me know!## @Eric Auld 2014-07-31 13:53:30

@Vectornaut Having thought about it, the most intuitive one for me is the characterization that every sequence has a convergent subsequence (and if we switch "net" for "sequence", the definition is good for an arbitrary topological space). The sort of thing this test detects are exactly what makes it possible for a continuous function to "run away" and become unbounded: points where closedness fails (where the sequence has a subsequence which converges, but to a point outside the space), or where a generalization of "boundedness" fails (the sequence has no convergent subsequence whatever).

## @user2345215 2014-08-20 14:23:15

I don't think you can leave out the 4th axiom to get pretopology. You would need equivanence in the 3rd.

## @PyRulez 2015-07-30 20:48:24

So would a function be continous at $x$ if for all $A$ such that $x$ touches $A$, $f(x)$ touches $f(A)$?

## @jcsahnwaldt says GoFundMonica 2016-07-17 09:03:17

The four axioms remain true if you replace "touches" by "is element of". Does this mean that "is element of" is a special case of "touches"? Or is this a silly idea?

## @Vectornaut 2016-07-17 18:41:21

@JonaChristopherSahnwaldt, it's not silly at all! Using $\in$ as the "touches" relation gives the discrete topology.

## @WetSavannaAnimal 2017-11-08 02:33:07

@EricAuld I get the impression that "compactness" must have been somewhat of a disappointment to Alexandrov and Urysohn: it is the only "clunky" definition in topology - well, for me it sticks out as being clunky in a subject that is otherwise built from such simple and powerful definitions. Bolzano-Weierstrass unfortunately was the one notion that couldn't be ground down by the Russian school.

## @ziggurism 2018-07-05 19:12:44

These axioms are possible the complement of the "apartness" axioms at ncatlab.org/nlab/show/apartness+space?

## @Abhimanyu Pallavi Sudhir 2019-08-21 07:32:27

Wait -- so in a pre-topology, it's no longer true true that "if $x$ touches $A\subset B$, then $x$ touches $B$"?

## @Abhimanyu Pallavi Sudhir 2019-08-21 20:16:16

Ah wait, no it's fine -- your axiom 4 implies the converse of axiom 3, and preservation of binary unions leads to $A\subseteq B\Rightarrow \mathrm{cl}(A)\subseteq\mathrm{cl}(B)$.

## @Steve Hurder 2011-06-26 23:07:34

Not sure if anyone has mentioned this article, but Gregory Moore discussed the development of the notion of open sets vs other historical approaches, in the paper "The emergence of open sets, closed sets, and limit points in analysis and topology" in Historia Mathematica, no. 35, 2008, pages 220-241. Makes for an interesting read.

## @Minhyong Kim 2011-06-28 07:13:38

This looks like a very nice article. Thanks very much.

## @Marcos Cossarini 2010-03-27 17:58:52

In this answer I will combine ideas of sigfpe's answer, sigfpe's blog, the book by Vickers, Kevin's questions and Neel's answers adding nothing really new until the last four paragraphs, in which I'll attempt to settle things about the open vs. closed ruler affair.

DISCLAIMER: I see that some of us are answering a question that is complementary of the original, since we are trying to motivate the structure of a topology, instead of adressing the question of which of the many equivalent ways to define a topology should be used, which is what the question literally asks for. In the topology course that I attended, it was given to us in the first class as an exercise to prove that a topology can be defined by its open sets, its neighbourhoods, its closure operator or its interior operator. We later saw that it can also be stated in terms of convergence of nets. Having made clear these equivalence of languages, its okay that anyone chooses for each exposition the language that seems more convinient without further discussion. However, I will mantain my non-answer since many readers have found the non-question interesting.

Imagine there's a set X of things that have certain properties. For each subset of S there is the property of belonging to S, and in fact each property is the property of belonging to an adequate S. Also, there are ways to prove that things have properties.

Let T be the family of properties with the following trait: whenever a thing has the property, you can prove it. Let's call this properties

affirmative(following Vickers).For example, if you are a merchant, your products may have many properties but you only want to advertise exactly those properties that you can show. Or if you are a physicist, you may want to talk about properties that you can make evident by experiment. Or if you predicate mathematical properties about abstract objects, you may want to talk about things that you can prove.

It is clear that if an arbitrary family of properties is affirmative, the property of having at least one of the properties (think about the disjunction of the properties, or the union of the sets that satisfy them) is affirmative: if a thing has at least one of the properties, you can prove that it has at least one of the properties by proving that property that it has.

It is also clear that if there is a finite family of affirmative properties, the property of having all of them is affirmative. If a thing has all the properties, you produce proofs for each, one after the other (assuming that a finite concatenation of proofs is a proof).

For example, if we sell batteries, the property P(x)="x is rechargeable" can be proved by putting x in a charger until it is recharged, but the property Q(x)="x is ever-lasting" can't be proved. It's easy to see that the negation of an affirmative property is not necessarily an affirmative property.

Let's say that the

open setsare the sets whose characteristic property is affirmative. We see that the family T of open sets satisfies the axioms of a topology on X. Let's confuse each property with the set of things that satisfy it (and open with affirmative, union with disjunction, etc.).Interior, neighbourhood and closure:If a property P is not affirmative, we can derive an affirmative property in a canonical way: let Q(x)="x certainly satisfies P". That is, a thing will have the property Q if it can be proved that it has the property P. It is clear that Q is affirmative and implies P. Also, Q is the union of the open sets contained in P. Then, it is the interior of P, which is the set of points for which Q is a neighbourhood. A neighbourhood of a point x is a set such that it can be proved that x belongs to it. The closure of P is the set of things that can't be proved not to satisfy P.Axioms of separation:If T is not T0, there are x, y that can't be distinguished by proofs and if it is not T1, there are x, y such that x can't be distinguished from y (we can think that they are apparently identical batteries, but x is built in such a way that it will never overheat. So if it overheats, then it's y, but if it doesn't, you can't tell).Base of a topology:Consider a family of experiments performable over a set X of objects. For each experiment E we know a set S of objects of X over which it yields a positive result (nothing is assumed about the outcome over objects that do not belong to S). If you consider the properties that can be proved by a finite sequence of experiments, the sets S are affirmative and the topology generated by them is the family of all the affirmative properties.Compactness:I don't know how to interpret it, but I think that some people know, and it would be nice if they posted it. (Searchable spaces?)Measurements:A measurement in a set X is an experiment that can be performed on each element of X returning a result from a finite set of possible ones. It may be a function or not (it is not a function if there is at least one element for which the result is variable). The experiment is rendered useful if we know for each possible result r a set T_r of elements for which the experiment certainly renders r and/or a set F_r for which it certainly doesn't, so let's add this information to the definition of measurement. An example is the measurement of a length with a ruler. If the length corresponds exactly with a mark on the ruler, the experimenter will see it and inform it. If the length fits almost exactly, the experimenter may think that it fits a mark or may see that it doesn't. If the length clearly doesn't fit any mark (because he can see that it lies between two marks, or because the length is out of range), he will inform it. It is sufficient to study measurements that have only a positive outcome and a negative outcome, a set T for which the outcome is certainly positive and a set F for which the outcome is certainly negative.Imprecise measurements on a metric space:If X is a metric space, we say that a measurement in X is imprecise if there isn't a sequence x_n contained in F that converges to a point x contained in T. Suppose that there is a set of imprecise measurements available to be performed on the metric space. Suppose that, at least, for each x in X we have experiments that reveal its identity with arbitrary precision, that is, for each e>0 there is an experiment that, when applied to a point y, yields positive if y=x and doesn't yield positive if d(y,x)>e. Combining these experiments we are allowed to prove things. What are the affirmative sets generated by this method of proof? Let S be a subset of X. If x is in the (metric) interior of S, then there is a ball of some radius e>0 centered at x and contained in S. It is easy to find an experiment that proves that x belongs to S. If x is in S but not in the interior (i.e, it is in the boundary), we don't have a procedure to prove that x is in S, since it would involve precise measurement. Therefore, the affirmative sets are those that coincide with its metric interior. So, the imprecise measurements of arbitrary precision induce the metric topology.Experimental sciences:In an experimental science, you make a model that consists of a set of things that could conceivably happen, and then make a theory that states that the things that actually happen are the ones that have certain properties. Not all statements of this kind are completely meaningful, but only the refutative ones, that is, those that can be proved wrong if they are wrong. A statements is refutative iff its negation is affirmative. By applying the closure operator to a non refutative statement we obtain a statement that retains the same meaning of the original, and doesn't make any unmeaningful claim.An example from classical physics:Assume that the space-time W is the product of Euclidean space and an affine real line (time). It can be given the structure of a four-dimensional real normed space. Newton's first law of motion states that all the events of the trajectory of a free particle are collinear in space-time. To prove it false, we must find a free particle that incides in three non-collinear events. This is an open condition predicated over the space W^3 of 3-uples of events, since a small perturbation of a counterexample is also a counterexample. Assuming that imprecise measurements of arbitrary precision can be made, it is an affirmative property. I think that classical physicists, by assuming that these kind of measurements can be done, give exact laws like Newton's an affirmative set of situations in which the law is proved false. I also suspect (but this has more philosophical/physical than mathematical sense) that the mathematical properties of space-time (i.e. that it is a normed space over an Archimedean field) are deduced from the kind of experiments that can be done on it, so there could be a vicious circle in this explanation.## @Toby Bartels 2012-01-14 04:05:53

Axioms of separability: It seems hard to tell the difference between your $ T _ 0 $ and your $ T _ 1 $. So to be precise: a space is $ T _ 0 $ iff, whenever $ x \ne y $, there is a verifiable property that can be proved of $ x $ but not of $ y $

orthere is a verifiable property that can be proved of $ y $ but not of $ x $. The space is $ T _ 1 $ iff, whenever $ x \ne y $, there is a verifiable property that can be proved of $ x $ but not of $ y $andthere is a verifiable property that can be proved of $ y $ but not of $ x $.## @Toby Bartels 2012-01-14 04:09:19

In Sierpiński space, there are two points, $ \top $ and $ \bot $, and one nontrivial verifiable property, which can be proved of $ \top $ but not of $ \bot $. So it is $ T _ 0 $. But there is no verifiable property that can be proved of $ \bot $ but not of $ \top $, so it is not $ T _ 1 $. We may take this as set of Turing machines modulo halting status, so $ \top $ is the (equivalence class of) machines that halt and $ \bot $ is the (equivalence class of) machines that run forever; the nontrivial verifiable property is that the machine halts.

## @Toby Bartels 2012-01-14 04:39:43

Another separation axiom: (not ‘separability’, I just noticed): a space is $ T _ 2 $ iff, whenever $ x \ne y $, there are two mutually contradictory verifiable properties, one of which holds of $ x $ and one of which holds of $ y $. Equivalently, in the product space, that $ x \ne y $ is itself verifiable. (In Sierpiński space, it's not: you'll never verify that $ \top \ne \bot $, even after you see $ \top $ halt.) The other separation axioms can't be stated in such elementary terms, I think.

## @Toby Bartels 2012-01-14 04:48:36

Compactness (as requested): If a verifiable property holds of at least one value, then this property of the property can be verified (by checking that value). If a property holds of

allvalues, then this property of the property might be hard to verify (since a priori one would need to check all values). But for a compact space, thiscanbe verified. Of course, a finite space is compact, since we can simply check each value in turn.## @Toby Bartels 2012-01-14 04:58:29

For Cantor space (the space of infinite sequences of binary digits), we must be a little more clever. Suppose we have a verifiable property of such sequences that (we suspect) is true of all of them. Sometimes, due to how the property is defined, knowing a finite list $ l $ of digits is enough to verify the property for every sequence that begins with $ l $. For a verifiable property, every sequence with this property will indeed begin with such a finite list, since we must be able to verify the property with a finite amount of information.

## @Toby Bartels 2012-01-14 05:02:29

So can we already tell that the property holds of all sequences? No? OK, can we already tell that it holds of all sequences that begin with $ 0 $? If so, can we already tell that it holds of all sequences that begin with $ 1 $? No to one of these (say $ a _ 0 $)? OK, can we already tell that it holds of all sequences that begin with $ a _ 0 0 $? If so, can we already tell that it holds of all sequences that begin with $ a _ 0 1 $? No to one of these (say $ a _ 1 $)? OK, …. If we never verify that the property holds of all sequences throughout this process, then we construct a counterexample.

## @Toby Bartels 2012-01-14 05:05:35

Not that we expect to ever verify the existence of such a counterexample! If the property is

notalways true, then we don't expect to verifythat; but if the propertyisalways true (of points in a compact space), then we must be able to verify that somehow, as I have proved by contradiction. (That Cantor space, as a topological space, is compact is a nonconstructive theorem, so please don't ask me to prove it except by contradiction!)## @Marcos Cossarini 2012-01-17 04:50:38

Thanks for commenting. I very often think of the meaning of compactness. I have a problem making your definition of compactness work. But it may be a clue to the fact that we might be not working in the adequate setting.

## @Marcos Cossarini 2012-01-17 04:50:54

Your argument proves that the Computer Scientist's Cantor Space is compact. In this space, a point is a black box that produces a sequence of digits, that is never read completely. If you prove that a sequence x satisfies a certain property, you verify it in finite time, and by knowing how much digits were enough to verify P(x), you can verify that the property holds for the infinite set of sequences that begin with the same sequence.

## @Marcos Cossarini 2012-01-17 04:51:10

In the Mathematician's Cantor Space we have less structure. Given a point x and a property P, the mathematician can only ask if P(x) holds. He cannot know how much knowledge of x was needed to verify it. So he will never prove that P holds for an infinite set of sequences. The Physicist's Interval seems to have the same problem as the mathematician's Cantor space.

## @Marcos Cossarini 2012-01-17 04:51:25

I am trying to stick to the definition that a set U is open if for each x in U there is an experiment that proves that x is in U, even if there is no method to find it because there is no list of experiments to try. This seems to me the most general definition, and the more adequate for physics, which is my main interest, but it's difficult to work with.

## @Marcos Cossarini 2012-01-17 04:51:37

A different approach would be to say that U is open if there exists a method that admits x as input and produces a proof that x is in U (if x is in U) and perhaps doesn't halt if x is not in U. I would prefer to call such a set "constructively open" or "strongly open". If a topology has a countable basis of strongly open sets, as in the Cantor space, then every open set is strongly open. This notion of openness seems good for the computer theorist's approach to continuum, since (I believe) the Cantor space is the only example to deal with. But I don't know if it can work for physics.

## @Toby Bartels 2014-12-17 21:52:05

Sorry for the late reply, Marcos, but you seem to be saying that the Mathematician's Cantor Space is discrete while the Computer Scientist's Cantor Space has the nontrivial topology. I wouldn't use such terminology myself, but I agree that my argument only works when Cantor space is equipped with a particular topology, that is a particular notion of which properties are verifiable.

## @user56097 2017-10-26 21:07:35

Compactness: As far as affirmative properties are concerned, any disjunction of cases boils down to a finite one.

## @Ronnie Brown 2012-01-14 14:30:58

I have long understood that the initial ideas of topology arose from the notion of "neighbourhood" and were then found to be equivalent to the definition in terms of open sets. One advantage of the neighbourhood concept was that the definition of continuity using that is nearer to the $\varepsilon$-$\delta$ definition used in analysis.

The neighbourhood definition is more easily motivated than that in terms of open sets, but one then shows the equivalence. However one finds difficulties with the neighbourhood definition in defining, say, identification spaces, and this illustrates nicely a feature of mathematics, that equivalent concepts may have their best uses in different areas. Horses for courses!

Einstein wrote in 1915:

"Concepts which have proved useful for ordering things easily assume so great an authority over us, that we forget their terrestrial origin and accept them as unalterable facts. They then become labelled as

conceptual necessities,a priori situations, etc. The road of scientific progress is frequently blocked for long periods by such errors. It is therefore not just an idle game to exercise our ability to analyse familiar concepts, and to demonstrate the conditions on which their justification and usefulness depend, and the way in which these developed, little by little... "Thus Grothendieck in his 1984 "Esquisse d'un programme" Section 5, argues that the notion of topological space is motivated from analysis rather than geometry, and the latter requires spaces with more structure, in particular what he calls stratified spaces. I have found filtered spaces important in basic homotopical algebraic topology.

## @Michael 2011-12-03 08:57:10

Here's how I like to think about it.

We can all agree that a topological space should be a set $X$ together with some extra structure encoding how the points of $X$ fit together. It seems pretty reasonable ask that this structure is sophisticated enough to answer the following question whenever $x \in S \subset X$:

We say that $x$ is an

interiorpoint of $S$ if the answer to the above question is "yes". I would say the following assertions about interior points are completely reasonable.and$T$, then $x$ is an interior point of $S \cap T$.For instance, (1) holds because there are no points in $X \setminus X$ to concern ourselves about bumping into. (3) holds because, if I specify a direction, then I can move $x$ an amount $a_s$ (in this direction) without hitting points from $X \setminus S$ and an amount $a_t$ without hitting points from $X \setminus T$, so if I move $x$ the smaller of these two amounts, I won't hit anything in $X \setminus (S \cap T)$.

If we take the above as axioms for a machine that tells us which points are interior to which sets, and then define an

openset to be a set each of whose points is an interior point, then it is simple to recover the standard axioms for open sets:The only issue I can see with this approach is that one might be able to convince oneself that interior points should satisfy more axioms. For instance, if $X = \{0,1\}$ and $1$ can be moved a little bit in any direction without bumping into $0$, then shouldn't it be possible to move $0$ a little bit in any direction without bumping into $1$? This would seem to preclude the existence of the Sierpiński topology $\{\varnothing, \{1\} ,X\}$. Or perhaps this is merely an invitation to be more imaginitive about the geometry of the situation? For instance, maybe there is a little round bowl with $1$ at the bottom and $0$ is sitting on the rim. If I give a $0$ a little push in the direction of $1$, no matter how small, $0$ will roll into the bowl and bump into $1$.

## @BSteinhurst 2011-12-03 16:08:34

I don't think you have to worry about your example. It would simply be the situation where you can't wiggle 0 about for some specific example. In general you have to allow for this to happen in your view otherwise you have no idea which points are interior or not. I do like this way of motivating the axioms.

## @Toby Bartels 2012-01-14 05:57:08

I do like this. But notice that specifying an ‘interior point’ condition gives

moreinformation than specifying the open sets! You have (using also Axiom 0, that an interior point of $ S $ must be a member of $ S $) written down the definition of a pretopological space. It is more standard (or at least that's what I've seen) to say that $ S $ is aneighbourhoodof $ x $ instead of that $ x $ is an interior point of $ S $. One reason is that there are two notions of interior, and that is the crux of the matter.## @Toby Bartels 2012-01-14 06:08:06

Define the

preinterior$ S ^ \circ $ of $ S $ to be the set of all points of which $ S $ is a neighbourhood. Call $ S $openif its preinterior is all of $ S $ (which is how you defined this). Then let theinterior$ I S $ of $ S $ be the union of all of the open subsets of $ S $. Nothing in your axioms proves that $ I S $ is all of $ S ^ \circ $. Instead we have $ S \supseteq S ^ \circ \supseteq S ^ { \circ \circ } \supseteq \cdots I S = I I S $. (In principle one could transfinitely iterate the preinterior, but I don't know how long this sequence can get or if it must converge.)## @Toby Bartels 2012-01-14 06:13:07

To fix this, one may add the axiom of that a preinterior must be open, or in your terms, every interior point of $ S $ must be an interior point of the set of interior points of $ S $. But this is significantly more complicated than the other axioms, and suggests that topological spaces are just a special case of pretopological spaces, much as Hausdorff spaces are just a special case of topological spaces.

## @Johannes Hahn 2015-04-03 22:03:26

@TobyBartels: The sequences of preinteriors (or dually preclosures) can become arbitrarly long. Consider any ordinal number $\alpha$ and define a closure operator by $A \mapsto [0,\sup(A)+1]\cap\alpha$. The sequence of closures of $\{0\}$ becomes stationary only at the $\alpha$-th step. And of course this is as bad as it gets: If $X$ has cardinality $\kappa$, then the chain will become stationary before the $\kappa^+$-th term.

## @Toby Bartels 2015-08-21 04:01:45

@JohannesHahn: Thanks, that's good to know.

## @Loop Space 2010-03-25 01:46:30

It may seem hard to add a new answer to all this, but here's mine. How to motivate the open set garbage of topological spaces:

There are many ideas in mathematics that can be easily derived from some real situation, and I would count approximation (ie limits), metric spaces, and neighbourhoods as among these. I think that it is quite easy to motivate the neighbourhood definition of topological spaces, for example, by considering real world examples of needing approximations that can't be controlled by metrics (for example, if you always need your approximations to be greater than the true value).

But one can take this line too far and try to motivate everything in mathematics from real-world situations and this, I think, misses a great opportunity to teach something that all students of mathematics need to learn: that when something is presented to you in a particular way, you don't have to accept that viewpoint but can choose a different one more suited to what you want to do.

We try to teach them this with bases of vector spaces: don't use the basis given, use one that makes the matrix look nice (diagonal if possible!).

So here, we can present topological spaces as sets with lots of declared neighbouhoods satisfying certain simple, intuitive rules. But they are hard to work with so instead we work with open sets (sets which are neighbourhoods of all their points)

because it makes life easier.I should qualify the above a little. It's written as a counterpoint to all the previous replies which try to justify open sets based on some intuition. I'm not saying that those are wrong - far from it - just that with something like this, one should think carefully about the message one is sending to the students about mathematics. At some point, they have to learn that mathematics strives to be clear and elegant rather than intuitive and vague, and it's a good idea to do this with an example like topological spaces where we are still close to the intuition, rather than something like function spaces where intuition often takes a hike.

## @Mariano Suárez-Álvarez 2010-03-25 01:58:45

+1000000 .

## @Loop Space 2010-03-27 12:54:09

Yay! I got a downvote! Fantastic. With something like this, I don't care whether or not people agree with me. I care only that they have thought about it. I hope that those who think that this is a bad idea do so

because they have a better one(if so, please tell me! I like hearing ofhowothers explain stuff.). With teaching styles, everyone needs to develop one that "fits" them best. But often it's hard to do because we don't have many examples of what is possible. So I throw out things like this to help people start thinking about different ideas.## @Harry Gindi 2010-03-27 23:31:08

I think that this answer is one of the best on MO.

## @Sean Tilson 2010-03-29 05:28:22

it is great to hear that this view is more prevalent then not. ps, I think some of us have countered out the effect of the downvote...

## @Loop Space 2010-03-29 20:50:03

This whole question is becoming a bit of a vote-fest! At time of writing, the question as 34 votes, the top answer 46, and this one has 20. I think this is great, and I hope it spills over to other questions and answers.

## @16278263789 2010-08-21 21:24:45

I don't want to be sarcastic but surely a high school student can answer you back that $(x+y)^2=x^2+y^2$ makes life a lot easier for him also. This argument is really weak, philosophically.

## @Loop Space 2010-08-21 21:40:14

I didn't realise that it was a philosophical argument. Ah, well, you live and learn.

## @Peter LeFanu Lumsdaine 2010-10-17 02:53:28

alephomega: there's a difference between the small-scale “easier” of that high-school student, and the larger-scale “easier” of an ideal mathematician. I'm not sure whether I think it’s a difference of degree or a difference of kind; but that really would be a philosophical argument, so I won’t start on it here.

## @Toby Bartels 2011-10-09 03:46:34

There's easier, and then there's easier while remaining correct. There's a semi-fake Einstein quotation about this: ‘Everything should be made as simple as possible, but no simpler.’.

## @Steven Gubkin 2012-01-09 19:09:03

I downvoted for the line starting with "one can take this line too far and try to motivate everything in mathematics from real-world situations". For me, all of mathematics is grounded in reality, and it is often only when I have worked out the simplest most childish connection to reality that I nstart to feel that I can understand some line of research.

## @Steven Gubkin 2012-01-09 19:11:14

Also, while it is fine to leave any given part of your mathematical knowledge "unmotivated", I would hope that if a student came to you with a question of motivation, you would respect the drive behind that inquiry, and not just say "because it has been found to make life easier for mathematicians".

## @Loop Space 2012-01-10 09:34:31

Steven, Thanks for the explanation. I have to say, though, that I don't understand where either of your comments comes from. Do you disagree, then, that some things are defined the way that they are (as opposed to various

equivalentother definitions) simply because it is the easiest to work with? I didn't say "Never motivate topological spaces" but rather "Maybe there's a chance to teach something else here". Note the "Maybe"! (On reflection, I shan't comment on the second comment.)## @Steven Gubkin 2012-01-11 16:13:11

Maybe I wasn't reading your answer the way you intended it. From your comment above it seems like you are saying "I would first motivate the neighborhood definition, point out that the open set definition is equivalent, and then just say that open sets are easier to work with". If so, that sounds like a great motivation for open sets, and to my mind conflicts with your initial "Answer: Don't". Am I understanding you here?

## @Loop Space 2012-01-12 08:24:05

Steven, your last comment is correct. I would motivate the general concept of topological spaces as well as I could with as many "real world" examples or links as possible. But then I would describe all (some of?) the different ways of thinking of topological spaces and show that open sets were the easiest to work with. Note also that I would

showthis (in an ideal world, that is; not everything works every time). That's what I meant the paragraph above the hrule to mean.## @Loop Space 2012-01-12 08:25:12

In my last course, I introduced metric spaces (we don't go as far as topological spaces) and I did something a bit like this for the definition of a continuous map (at a point). You can get a sense of it by looking at my lecture notes: lecture 7 on mathsnotes.math.ntnu.no/mathsnotes/show/lecture+notes+2011

## @Steven Gubkin 2012-01-12 15:28:54

Then I will remove my downvote. I would get rid of the "Answer: Don't" because it sounds like you are. Or rather, you are motivating an equivalent structure and then switching over. Maybe the most important point is that you can motivate something by motivating something that looks different but is actually equivalent.

## @Duchamp Gérard H. E. 2016-11-25 07:31:33

Grrreeeaaat ! I recently was invited in a cinema festival by one of my former math student (to animate discussions about the film "X+Y") and he recalled me that I opened my classes saying to the public that I will embark them within a science fiction world ... and they were passionate ! No need to be plainly into "concrete" situations. Make them dream with you ! and in a second time, swoop into real world (if you wish), to show the power of these great ideas and concepts.

## @mathnoob123 2019-09-06 19:47:29

I doubt that this is the correct way of approaching the question. When we talk about the "definition" of something, at least people like me, are not merely concerned with which formalization of the framework reduces the effort to a bare minimum. But rather which description best conforms to our intuition about the subject. So I would want to know the equivalent descriptions which cuts the effort but only after I am comfortable with the intuitive-albeit difficult to play around with- description

## @Matt Brin 2012-01-09 05:55:26

Topological spaces are good abstract spaces to study limit and continuity, just as vector spaces are good abstract spaces to study linear combinations. Like many abstractions, proofs are studied in less abstract settings (e.g., $\mathbb{R}$) to see what makes them tick.

So why open sets?

Topology is defined in terms of open sets because that formulation was introduced (by Hausdorff?) at just the right time to become popular and drive out any competing formulations. There are quite a few equivalent formulations: closed sets; neighborhoods; operation of taking interiors; closure operation; predicate that says when a point is a limit point of a set; and so forth.

## @Elemer E Rosinger 2010-07-02 07:40:16

It is indeed appropriate to ask "why open sets in topology ?" However, the answer is not so simple precisely since the concept of topology proves to be far more deep and complex than Hausdorff, Kuratowski or Bourbaki have ever imagined, and which may call the HKB topology. For starters, it turned out decades ago that the usual, open set based, that is, HKB topology leads to a category which is not Cartesian closed. And this creates serious difficulties when dealing with topologies on function spaces, and in particular, in duality theory for locally convex spaces. More simply, and without categories, there are most important topological type processes in mathematics which simply cannot be described by HKB topologies. Such are, for instance, in measure theory and partially ordered spaces. As a consequence, various more general concepts of pseudo-topologies have been suggested. What happened, however, is that the doors thus opened up proved to be too large for those who tried to pursue them, or would have liked to use them ... In other words, topologies beyond HKB are a far less cozy venture than usually customary in mathematics ... Some details about the above and relevant references may be found in

arXiv:1001.1866 [pdf, ps, other] Title: Beyond Topologies, Part I Authors: Elemer E Rosinger, Jan Harm van der Walt Subjects: General Mathematics (math.GM)

arXiv:1005.1243 [pdf, ps, other] Title: Rigid and Non-Rigid Mathematical Theories: the Ring $\mathbb{Z}$ Is Nearly Rigid Authors: Elemer E. Rosinger Subjects: General Mathematics (math.GM)

## @Justin Hilburn 2010-03-26 02:49:12

After reading the comments on Sigfpe's answer I realized that it would be useful to make a rigorous argument to explain why "rulers" or as like to call them "observable properties" should be open sets. In the process I'd like to explain how we can view general topology as an idealized version of computation by interpreting topological spaces as data types and continuous maps as computable functions.

Computationally an observable property $P$ of a data type $A$ corresponds to a semi-decision procedure. In other words a computable function $\chi_P: A \to Unit$ which returns the unique value $()$ of type $Unit$ if $a \in A$ has the property $P$ and runs forever otherwise. We can interpret $P$ as a subset of $A$ and $\chi_P$ as it's characteristic function. Clearly observable properties pull back under computable functions since if $f:B \to A$ is a computable function $\chi_P \circ f$ is a semi-decision procedure.

Let's translate this into topological language. If we interpret $A$ and $B$ as topological spaces and $f:B \to A$ as a continuous map we have that $f^{-1}(P)$ is observable if $P$ is. Thus it makes sense to interpret observable properties as open sets. We can make this correspondence more precise if we notice that every open set $P$ in $A$ corresponds to a map $\chi_P: A \to \mathbb{S}$ where $\mathbb{S}$ is the Sierpinski space. Thus in our translation $Unit$ corresponds to $\mathbb{S}$, the open point of $\mathbb{S}$ corresponds to $()$, and the closed point $\bot$ of $\mathbb{S}$ corresponds to nontermination.

Now a question remains: why did we choose to represent observable properties by open sets instead of closed sets? The answer lies in the way observable properties behave under intersection and union. Let $P$ and $Q$ be observable properties. The intersection $P \cap Q$ is an observable property we can write a semi-decision procedure $\chi_{P \cap Q}$ by running $\chi_P$ and $\chi_Q$ in succession. Similarly notice that $P \cup Q$ is observable since we can write a semi-decision procedure $\chi_{P \cup Q}$ that runs $\chi_P$ and $\chi_Q$ in parallel and outputs $()$ if one of $\chi_P$ and $\chi_Q$ does. If you have an infinite number of computers it is clear that you can generalize this construction to an infinite union $\bigcup_{i \in I} P_i$ by running all the $\chi_{P_i}$ in parallel. However this will not work for an infinite intersection $\bigcap_{n \in \mathbb{N}} P_n$ because if $\chi_{P_n}$ takes $n$ seconds to terminate, then even running all the $\chi_{P_n}$ in parallel will not help.

I can't help but list out a few other things to ponder in light of this dictionary:

A space $X$ is discrete if $=:X\times X \to \mathbb{S}$ is continuous

A space $X$ is Hausdorff if $\neq: X\times X \to \mathbb{S}$ is continuous

A space $X$ is compact if the map $\forall_X: (X \to \mathbb{S}) \to \mathbb{S}$ is continuous

An observable property $P$ of $T$ is decidable if and only if $P$ is clopen

On a sequential machine we can write a semi-decision procedure for a countable union of observable properties but not an uncountable union. Does this say anything about topology?

Here are some nice references:

Alex Simpson - Topological Spaces from a Computational Perspective

Martin Escardo - Synthetic Topology of Data Types and Classical Spaces

## @Dan Piponi 2010-03-26 03:27:35

I can't help expanding on my favourite briefly. The continuity of $\forall_X:(x\rightarrow\mathBB{S})\rightarrow\mathBB{S}$ for compact $X$ gives a way, due to Ulrich Berger, to exhaustively search certain infinite spaces in finite time. It's a beautiful meeting point of CS and topology. Some details here: math.andrej.com/2007/09/28/…

## @Justin Hilburn 2010-03-26 03:36:40

@Sigfpe: I think I actually learned all of this from reading papers I found on your blog (which is one of the best on the web).

## @Justin Hilburn 2010-03-26 03:36:50

Does anyone (maybe Neel) know exactly how the difference between parallel and sequential computation plays into all of this?

## @abcdxyz 2010-03-26 04:06:15

Thanks, I was under the impression that "rulers" or "imprecise measurements" requires a geometrical intuition, but from this post I see that it does not. I am completely happy with sigfpe's answer now. This was something I was trying to get at as well, except for this is much clearer.

## @Qiaochu Yuan 2010-03-26 06:01:28

The second and third observations seem to suggest something about an "internal logic" to the category of compact Hausdorff spaces. Do you know if something like this makes sense?

## @abcdxyz 2010-03-26 08:25:04

There is something a bit similar to this. Add in the condition that the space is of dimension 0 i.e there is a base consists of all clopen sets, these spaces are called Stone space. The Stone Representation theorem tell us that any Stone Space is realized as a Stone Space associated to a Bolean Algebra, see en.wikipedia.org/wiki/…. There seems to be more to it, see also Stone duality. But that is beyond my knowledge.

## @Justin Hilburn 2010-03-26 20:48:25

@Qiaochu: I have heard of such things but I don't know the details. Maybe this paper by Paul Taylor can help: paultaylor.eu/ASD/loccpct#foufct

## @Will Sawin 2012-01-07 07:29:11

I don't think it's meaningful to say that we "represent" observable properties by open sets. Instead, observable properties are open sets, in that they form a topology.

## @Toby Bartels 2012-01-14 02:11:59

Following Justin's comment, Taylor's work there (at paultaylor.edu/ASD generally) is a program to simultaneously axiomatise topology, computability, and constructivity. It's also related (following Tran's latest comment) to Stone duality (indeed ‘ASD’ stands for ‘Abstract Stone Duality’). It's very beautiful, although yet incomplete.

## @Toby Bartels 2012-01-14 02:14:24

The list of properties for discrete, Hausdorff, and compact beg for another: that the map $ \exists _ X \colon ( X \to \mathbb S ) \to \mathbb S $ be continuous. For topological spaces, this is always true, but it need not be in ASD. (A space with this property is called

overt, a term from constructive locale theory.)## @Toby Bartels 2012-01-14 02:15:50

Oops, that URI up there should be paultaylor.eu/ASD since Taylor is a European individual and not an American university!

## @Toby Bartels 2012-01-14 03:55:22

(Another thing possible in ASD but not in topological space is that a space might be discrete without being Hausdorff, just as much as the converse.)

## @Todd Trimble 2015-03-01 16:50:28

@QiaochuYuan This is embarrassingly ancient, almost five years old now, but I only just saw your question about internal logic of category of compact Hausdorff spaces. My immediate reaction is to say: that category is a pretopos (ncatlab.org/nlab/show/pretopos) since it is extensive and Barr exact; Barr exactness is by monadicity over $Set$. Being a pretopos means one can enact finitary first-order logic inside of it.

## @Sándor Kovács 2010-11-24 01:44:29

It might be a futile attempt to add anything worthwhile to this long list of interesting answers, but let me add my own pedestrian $0.02:

One may think of topology as a set of rules about what's close to what. In other words, it tells me that if I pick a point in the space, then there are several rules (i.e., open sets) that tell me that with respect to some question this set of points is "close" to my chosen point. Considering many rules (i.e., intersecting the open sets) gives me better and better approximation of which points are "really close" to the chosen one. It seems clear that then the union and intersection of these rules would have to belong to the rules.

If we were in a Euclidean space, then we might agree that one way to measure what's close is to put a small (open) ball around a point. If we can't measure, we can't do this, so we need to do something more general and a single open set will not be enough (it's not enough even in a Euclidean space as the radius of the ball that defines "closeness" would certainly depend on the way we want to measure closeness).

So far both open and closed sets would qualify for these rules, but I feel that open sets work better: A rule of "closeness" should be independent of any single point. In other words, a rule should behave the same with respect to any point it applies to (i.e., any point contained in the corresponding set). This clearly picks open sets over closed sets.

I suppose one might say that none of this explains what happens with infinitely many rules/sets. I suppose we could say that if we take an infinite set of rules that define closeness, then on one hand we might still say that satisfying any one of the rules is still a reasonable rule while satisfying all the rules is a little bit too much to ask. If you feel this part of my argument is a little shaky, then we agree. I don't have a very good explanation for the behavior of infinite unions and intersections. If I was indeed trying to explain this to undergrads, then at this point I would probably switch over to see what happens in a Euclidean space with all this non-sense about rules of "closeness" and come to the conclusion that a good way to define rules is to say that their corresponding sets contain little balls around every point in them. Then deduce the axioms of open sets in a topology and then say that we should see what these give us if we forget that we were in a Euclidean space.

## @David Feldman 2010-12-14 21:13:12

I risk reviving a settled matter.

I aim these sketchy remarks at the expert teacher - not at the neophyte student.

A motivation for open sets in topology might begin with a critique of measurement. Though we often think of measurement in continuous terms, practical measurement really always comes down essentially to answering Boolean questions. Thus the real-valued distance function $d(x,y)$ on a metric space carries the same information as a Boolean-valued function $D(x,y,r)$ where $D(x,y,r)=1$ iff $d(x,y)\leq r$. The Dedekind construction of the reals reflects the sort of divide-and-conquer process of actual measurement, the sort of process that takes us from $D$ to $d$, but not in finite terms.

Now in a non-metric topological space you just allow yourself a richer set of questions than you can index with a variable $r$ running over the reals.

Indeed mathematicians often identity sets with properties - having such and such a property means belonging to the (sub)set of all elements (of a given set) that have that property. Then we can measure the proximity of two things by which properties (that we care about) they share.

At a technical level, the previous paragraph has this reflection: just as a metric allows you to embed a metric space in a product of copies of the positive reals, a topology allows you to embed a general space in a product of copies of the $2$-element Sierpiński space.

Now a student might reasonably challenge the appearance of Sierpiński space in this fundamental role: why the asymmetry? why have just one open point? if binary decisions lie at the heart of the story, why not take as fundamental the $2$-element space discrete?

I say the choice of Sierpiński space mirrors an aspect of practical life. For certain questions, observation may, on the negative side, supply a full refutation, but on the positive side only at best lend support and never full confirmation. For example, we may discover after careful observation that two quantities are not equal, but often we can only amass evidence that they are equal pending more precise measurement. Another example, when we witness a demise we learn that something wasn't eternal, but observation can never confirm that something is eternal.

This concept of decidability motives the axiomatic closure properties of open sets. Intuitively, an open property admits confirmation by a finite amount of evidence. An arbitrary disjunction of open properties (a union) gets confirmed by confirming any one of them and thus also requires only a finite amount of evidence. But a conjunction of open properties requires confirming them all, so we must limit ourselves, at least

a priori, to finite conjunctions (intersections).In summary, the Sierpiński space may seem like a curiosity, if not a monstrosity, but it captures the essence of topology. We have open sets because we care about continuous maps to Sierpiński space, whether consciously or not. We care about continuous maps to Sierpiński space because we care about properties whether they are decidable or not (in the sense of the intuitionists, not in the sense of Turing), i.e., whether or not they disconnect the universe of possibilities. Accepting Sierpiński space commits you to accepting the subspaces of its self-products. The real conceptual hurdle for the topological neophyte lies in contemplating the ubiquity of undecidable properties.

Grothendieck topologies fit very nicely into this point of view (as it leads to topos theory). In essence, Grothendieck challenges the doctrine of identifying properties with subsets. For Grothendieck, a given property may only become visible if one breaks a symmetry or observes some distinction between objects that previously seemed identical. Thus singling out a property might require taking a cover rather than only passing to a subset.

## @Justin Hilburn 2010-12-20 06:18:37

Great answer. I would only note that there is a large area of computer science known as Domain Theory that tries to make the notion of decidability a la Turing the same as the notion of decidability given by considering maps into the Sierpinski space. Here is a short primer on these ideas: homepages.inf.ed.ac.uk/als/Teaching/MSfS/l3.ps

## @Pete L. Clark 2010-12-24 09:30:40

I believe the correct embedding theorem into powers of the Sierpinski space is the following: a topological space $X$ embeds into a product of copies of the Sierpinski space iff it is Kolmogorov (a.k.a. $T_0$). So the Sierpinski space does not quite have the universal role that you suggest.

## @David Fernandez-Breton 2014-06-11 16:15:49

@PeteL.Clark it depends on whether you really care about non-$T_0$ spaces. For all I care, every space is Tychonoff (a.k.a. completely regular or $T_{3\frac{1}{2}}$).

## @Pete L. Clark 2014-06-22 22:31:54

@David: I find your remark curious. If you only care about Tychonoff spaces, it follows that you don't care about the Sierpinski space. So why comment on it?

## @Incnis Mrsi 2015-03-22 15:52:07

In c. 1996 Ī discovered this formulation of general topology for myself and was astonished that it’s not found in textbooks. BTW, this space is also attributed to P.S. Alexandrov.

## @Mark Bennet 2010-12-14 21:34:34

Without specifying a precise answer to the question, I am surprised that there has been so little emphasis on continuity as the motivating concept for topology - topological spaces seem to me to have been designed, so to speak, to capture the notion of continuity in as much generality as seemed possible at the time, and particularly in non-metric contexts - and incidentally clarifying some proofs by throwing away the metric structure.

What can we recover from the epsilon-delta formulation of continuity if we don't allow measurement? It is possible that this question is more readily answered by reference to closed sets than to open ones.

Clearly the concept then takes off in all sorts of directions, where intuitions motivated by metrics are confounded (as mine was initially with the Zariski Topology).

## @Michael Hardy 2010-11-24 00:10:34

Think of the half-open interval $(0,1]$ with the usual open sets (e.g. $(1-\varepsilon,1]$ is an open neighborhood of 1. Then modify the collection of sets considered "open" so that every open neighborhood of 1 contains some set of the form $(1-\varepsilon,1] \cup (0,\varepsilon)$. See if students understand that this modification in which sets are considered open also modifies the way in which the space is connected together.

## @Terry Tao 2010-07-01 20:40:34

The textbook presentation of a topology as a collection of open sets is primarily an artefact of the preference for minimalism in the standard foundations of the basic structures of mathematics. This minimalism is a good thing when it comes to

analysingorcreatingsuch structures, but gets in the way ofmotivatingthe foundational definitions of such structures, and can also cause conceptual difficulties when trying togeneralisethese structures.An analogy is with Riemannian geometry. The standard, minimalist definition of a Riemannian manifold is a manifold $M$ together with a symmetric positive definite bilinear form $g$ - the metric tensor. There are of course many other important foundational concepts in Riemannian geometry, such as length, angle, volume, distance, isometries, the Levi-Civita connection, and curvature - but it just so happens that they can all be described in terms of the metric tensor $g$, so we omit the other concepts from the standard minimalist definition, viewing them as derived concepts instead. But from a conceptual point of view, it may be better to think of a Riemannian manifold as being an entire package of a half-dozen closely inter-related geometric structures, with the metric tensor merely being a canonical generating element of the package.

Similarly, a topology is really a package of several different structures: the notion of openness, the notion of closedness, the notion of neighbourhoods, the notion of convergence, the notion of continuity, the notion of a homeomorphism, the notion of a homotopy, and so forth. They are all important, and it is somewhat artificial to try to designate one of them as being more "fundamental" than the other. But the notion of openness happens to generate all the other notions, and has a particularly elegant and simple axiomatisation, so we have elected to make it the basis for the standard minimalist definition of a topology. But it is important to realise that this is by no means the only way to define a topology, and adopting a more package-oriented point of view can be preferable in some cases (for instance, when generalising the notion of a topology to more abstract structures, such as topoi, in which open sets no longer are the most convenient foundation to begin with).

## @Jacques Carette 2010-07-02 12:38:07

The difference between the minimalist and 'packaged' version is exactly what Bill Farmer and I have called axiomatic theories and high-level theories (respectively). A minimalist 'basis' is useful when trying to connect theories (theory interpretations, aka homomorphisms) because less has to be proven, but that makes a really poor "working environment". Any mathematician using a theory (be it topology or Riemannian geometry) will automatically want to use the high-level version. When trying to mechanize mathematics, such issues are no longer philosophical!

## @temp 2012-05-08 02:46:05

I really like this answer. Perhaps part of the so-called "mathematical maturity" is being able to recover the full package from the minimalist's definition. I'm not always able to do so. It took me a long time to realize the metric tensor really gives you a "package". I wish someone can tell me what the package the minimal definition of a scheme (as a ringed space $(X,\mathcal{O}_X)$ that is locally isomorphic to the spectrum of a ring) gives... Although I feel like I can handle it freely right now, I certainly don't know how to explain it to someone who is new to algebraic geometry.

## @Martin Brandenburg 2015-03-30 05:22:22

This great answer reminds me of several "unbiased" or "monadic" definitions of structures such as monoids or monoidal categories. The definition of a monoid "should" really introduce $n$-fold products for $n \in \mathbb{N}$, not just $0$-fold and $2$-fold products. Curiously, the monoid axioms are quite easy to state for $n$-fold products; this is even more true for the coherence axioms in the definition of a monoidal category via $n$-fold tensor products.

## @T.. 2010-07-02 01:42:36

Topology can be defined directly, without open sets, as the study of "metric spaces without the metric", i.e., modulo metric deformations or homeomorphism. This matches reasonably well the intuition of a qualitative geometry, insensitive to stretching and bending.

One can then prove that the structure of open sets is a complete invariant (since we start from metrizable spaces), and one can observe, with some experience, that reasoning about the topology of metric spaces (i.e., proofs of properties that are invariant under deformation or homeomorphism) can be formulated directly in terms of this invariant. In other words, not only the topologically invariant maps but the constructions of those maps descend to the category of topological spaces in terms of open sets. This means that we can work natively in manifestly topologically invariant terms provided that the invariant thing --- the structure of open sets --- is taken as the object of study. This is a rare case of a total or near-total success of the Erlangen program, where thinking in terms of that which is invariant really suffices for the original purposes of the subject.

(I say near-total, but don't know of any example where topologically invariant properties of a metric spaces are most easily proved using one or more metrics.)

Once topology is set up in terms of open sets one can look at examples beyond the motivating intuition, such as Zariski topology, the long line or pathological spaces. As far as those extensions start to challenge the adequacy of the open-set formalism it is because they are based on phenomena different from the stretching and bending ideas abstracted from picturesque low-dimensional situations.

## @Toby Bartels 2012-01-14 05:11:51

But of course there are other structures on a metric space that are complete topological invariants, for example the convergence structure (specifying which sequences converge to which points). Abstracting this gives the category of convergence spaces (well, sequential convergence spaces without some motivation to generalise from sequences to nets), of which $ Top $ is a full subcategory. So while this explanation is historically accurate, it doesn't explain why topological spaces

preciselyare so important (if they really are).## @Jonathan Wise 2010-07-01 22:50:12

I don't think that Grothendieck topologies should be viewed as analogous to ordinary topologies. It is true that a topology on a set induces various Grothendieck topologies on various categories, but so does every system of basic open neighborhoods. In my opinion, it is more fruitful to think of a Grothendieck topology as the analogue of a system of basic open neighborhoods and a topos as the analogue of a topological space.

Let me try to answer the following question, which may or may not be the question that is actually being asked: Why do we prefer topological spaces to systems of basic open neighborhoods, and topoi to Grothendieck topologies? I think that the answer has to do with morphisms.

To give a morphism of spaces with basic open neighborhoods, one must give a function that respects those neighborhoods. One can't, however, require that the pre-image of a basic open neighborhood be open. Instead, one has to require that each point contained in the pre-image of a basic open neighborhood have a basic open neighborhood inside the pre-image.

Not only is this definition more complicated than the one for topological spaces (and the extension to Grothendieck topologies is by no means obvious!), but there are multiple distinct but isomorphic systems of open neighborhoods on the same space. A topology is a maximal system of open neighborhoods in a given isomorphism class, which makes it a "best model" for a particular notion of nearness.

Another interpretation that makes this model appealing is that given a system of basic open neighborhoods, the open sets are the "local properties" (those that hold at a point if and only if they hold at all sufficiently nearby points). (If one believes a slogan like "there are two -1-categories: TRUE and FALSE" then open sets are "-1-sheaves"; this completes the formal analogy with Grothendieck topologies and their associated topoi, which are their associated categories of "0-sheaves".)

## @Harry Gindi 2010-07-01 23:29:36

Dear Jonathan, following that logic, why do we study top. spaces instead of their sheaf toposes?

## @Jonathan Wise 2010-07-02 00:39:19

Or, for that matter, why not study the higher topoi of stacks and higher stacks? If you're only interested in spaces, those theories add extra overhead without giving you anything new. If you're interested in something like the etale topology then you don't have the option of restricting your attention to topological spaces.

## @David Wheeler 2010-05-16 12:39:00

I have really quite enjoyed reading this thread, although I must confess I don't quite understand all of it. It has been many years since I have studied topology of any sort, and not only am I rusty, my mind is aging, and not as agile as it was in my youth. Anyway, for what it's worth, here is my take on basic definitions of topology. My first introduction to formal topology (rather than the specialized versions of it in real and complex analysis) was in simple homotopy theory, and the textbook I used gave the open sets axiomatically as a starting point. Although I saw (with some difficulty) that this was a generalization of the properties of the real vector spaces I was used to, and although it was in an algebraic style, I struggled with it's non-intuitive presentation. I believe (although I am hardly an expert) that "nearness" is a better approach to topology. It makes sense, even to a non-mathematician. For example, the statement of continuity in such a setting is simplicity itself: f:D->R is continuous at a point x in D, when: x is near a set A implies f(x) is near f(A). Furthermore, the axiomatic presentation of neighborhoods is simpler than the axioms for open sets in one important respect, you only need to consider the meet (for sets, intersection) of two neighborhoods, and the (possibly partial) order of the collection of the neighborhoods (for sets, the natural ordering on the power set, containment).

In a metric space, which automatically comes with a rich topological structure, you can easily resolve these notions to the traditional definitions. You lose the purely geometric flavor of topology in the process, though. Topology is concerned with matters in the small, and in the large, the nature of what are defined to be neighborhoods to a large part determines how intricate the spatial structure is.

As far as the aesthetic of why unions can be infinite, but intersections have to be finite, I have 2 thoughts: first, open and closed sets are somewhat dual notions, it is entirely possible to begin with the notion of a closed set, in which case you can allow only finite unions, but infinite intersections. In fact, this approach makes more sense for practical applications, since our physical tools for dealing with calculations (and our brains) are in fact finite. The second thought I have, is that when you take the union of two sets, you always get something "bigger", but when you take the intersection, you may get a null result. It seems natural to restrict the basic study to finite intersections, because infinite intersections can behave qualitatively different than infinte unions (similar to how, in whole numbers, substraction isn't always possible, but addition is).

Getting extra stuff is quite common in mathematics, you extend a field, or create a semi-direct product, or consider generated objects. But all this "extra stuff" is rather meaningless without some core thing that has some intrinsic behavior. In topology, I believe nearness should be that core thing. Much of topology's development was motivated by the idea of getting a handle on what a limit (and convergence) ought to mean, and these are notions which have their roots in approximation.

So, naively, one could argue, in real (one-dimensional) analysis we use open intervals as the basic building block, since we are often concerned about local behavior on very small intervals, and using that to extend to larger sets. extending this to a collection of open sets, or to a collection of neighborhoods can be shown to be equivalent constructions; however, using open sets focuses more on the "boundarylessness" of these sets (and thus emphasizes the density of the real numbers), whereas using neighborhoods focuses more on the "localness" of these intervals, lending itself more easily to abstraction while keeping some intuitive spatial idea.

## @The Mathemagician 2010-07-01 21:30:32

I agree that nieghborhoods gives quite a bit more flexibilty when working with more subtle aspects of topology and analysis then merely open sets.By the way,David-I'm 35 and applying to PHD programs.Age is just a number when it comes to the human mind as long as it's healthy.

## @Sean Tilson 2010-03-29 05:26:01

I found that the comment box underneath andrews response wasnt large enough for what i had to say. I think that before i continue in my answer i should mention that i study homotopy theory, and maybe that is why i dont really care about motivating the "original" definition of a topological space. In homotopy theory, and perhaps any geometric flavor of topology, we work with things that have the homotopy type of a CW-complex, these may be much easier to motivate.

I think that the best way to motivate the definition in terms of open sets is historical (i think this is often the case, when you look at what people were thinking about or the problems they were trying to solve or overcome the definition might become clearer). When people started writing down the definition of what a topological space was there was a strong penchant for axioms and set theory. This is the flavor of the definition in terms of open sets. The definition that we have in terms of open sets was gotten after a bit of hard work with bad definitions. There was a lot of change in the culture of mathematics at the turn of the century and a lot of things had to be reworked and made rigorous. Perhaps i have the facts wrong, but it makes some sense this way even if i am mistaken.

One of my instructors frequently answers questions by saying things like we dont care about that or that is a bad question, which i feel is a legitimate response. The point is that there is a lot of mathematics to be done, a lot of really beautiful important mathematics. You can't really do all of it in a lifetime, so it is probably good to accept some simplifying assumptions like your ring is Noetherian or your space has the homotopy type of a CW-complex. The objects you are ignoring are not that natural to begin with and the things you are looking at are really much more important. In the end the questions we don't answer about the topologists sine curve won't really matter (...I think?) How could you hope to answer a question about some pathological special example with a tool that is meant to capture intuition?

since i dont know how to save this answer as a draft i will just have to settle for coming back to edit it later

## @Agustí Roig 2010-03-26 16:51:40

My answer will not be of philosophical nature, neither historical, but perhaps pedagogical.

I find Munkress' Topology a great book. Among other merits, because its introduction, which I summarize as follows:

You recall what a metric space is. Define open balls and subsequently, open sets. Prove that, in a metric space:

1.1 The empty set and the total space are open sets.

1.2 The union of an arbitrary number of open sets is an open set.

1.3 The intersection of a finite number of open sets is an open set.

Recall what a continuous map between metric spaces is (the $\epsilon$-$\delta$ definition). Prove the theorem that says that a map between metric spaces $f: X \longrightarrow Y $ is continuous if and only if $f^{-1} (U) \subset X$ is an open set for every open set $U \subset Y$.

And you have a motivation for the definition of topological space and continuous map as well.

Of course this is not an historical explanation of how topological spaces arised, nor does it justify why you chose

theseproperties of open sets in metric spaces and not others: "experience" has told us thattheseare the good ones. (For instance, if I'm not wrong, when Hausdorff first defined topological spaces included the property of being... Hausdorff among the axioms. "Experience" -and not an a priori argument- showed us that it could be interesting to work with non-Hausdorff topological spaces.)## @David Carchedi 2010-03-23 23:50:22

At least for me, the first time I learned about a metric space, was to discuss when sequences converge. I am not a math-history buff, but the concept of metric seems to stem from the need to formalize the concept of convergence. However, everything about of convergence depends only on the topology the metric generates. Hence one only needs to understand the open sets.

Topological spaces generalize metric spaces in the sense that every metric space gives rise to one and all concepts of convergence are captured by this topological space. Even more, the category of metric spaces and continuous maps sits inside the category of topological spaces as a full subcategory (this is just saying that a map between metric spaces is continuous if and only if the preimage of an open is open). However, you may object, and justifiably, that you can embed metric spaces into several categories, so, why is topological spaces the right generalization?

There are many "practical answers", for instance, the wide range of examples of abstract spaces which are not metric spaces, e.g., Spec(R) of a ring. However, the core of the matter is that topological spaces correctly axiomatize the notion of convergence. What I mean by this is, a topological space is completely determined by the convergence of the ultrafilters on its underlying set. This is seem most notably for compact Hausdorff spaces; a topological space is compact Hausdorff if and only iff every ultrafilter has a unique limit, and in fact, compact Hausdorff spaces are precisely the algebras of the ultrafilter monad. However, we are interested in non-compact examples, since we study unbounded metric spaces for example- but even here we can have ultrafilters with no limit- so, a complete generalization should take this into account. Furthermore, the space Spec(R) is very often non-Hasudorff, which means, ultrafilters which have a limit point, may have more than one. So, to understand convergence is to understand the set of limits of each ultrafilter. If X is a space and BX is its set of ultrafilters, we get a map BX->P(X) which sends each ultrafilter to its set of limit points (possibly empty). This corresponds to a relation $R \subset X \times BX$, which made be seen as a map BX->X in the bicategory of sets and relations. More precisely, we get a "relational algebra" for the ultrafilter monad. The converse is true as well: the category of topological spaces is equivalent to the category of relational algebras for the ultrafilter monad. This a theorem of Barr. The upshot is, there is a bijection between topologies on a set and "convergence systems for ultrafilters" on that set.

Anyhow, this probably goes way beyond what you can explain to most undergraduates.

## @David Carchedi 2010-03-23 23:56:23

By my last sentence I mean, to undergraduates who have not yet seen what a topological space is!

## @Minhyong Kim 2010-03-24 00:12:40

David: That's exactly right. What you write is interesting, but I think it's clear that an answer of the form `The axioms for a topological space are equivalent to these other ones.' is not quite satifactory.

## @abcdxyz 2010-03-25 08:40:36

I like this answer.

## @Martin Brandenburg 2015-03-30 09:21:36

"the category of topological spaces is equivalent to the category of relational algebras for the ultrafilter monad." -- they are isomorphic, I guess.

## @Donu Arapura 2010-03-24 13:30:08

Hello Minhyong. I think other people have already given several excellent answers about how to motivate topology, and I'm not sure I have much to add. But there are a couple of other parts to your question. I had the impression that the notion of a topological space was introduced by Hausdorff in his 1914 book on set theory (Mengenlehre). But my history is somewhat shaky, and it would be nice if someone else could confirm this. It certainly seems that by the early 20th century there was a radical shift in the way mathematics was done.

Jumping ahead to your added comment, I agree that a Grothendieck topology is a very natural extension of this idea. However, for Grothendieck this was secondary; the associated category of sheaves or topos was the important thing. Of course, you know that, but perhaps not everyone does.

## @gowers 2010-03-24 10:03:20

One of the comments on the original post said that you can define a topology in terms of neighbourhoods. I'd like to amplify on that comment because it's the answer I favour too, if you want to do things as intuitively as possible. In fact, you can do it with basic open neighbourhoods, which is often nicer, for reasons I'll come to in a moment.

The first step would be to axiomatize the notion of a basic open neighbourhood. So it would consist of properties like that if N is a b.o.n. of x then x is an element of N, that if y is also an element of N then there is a b.o.n. N' of y such that N' is a subset of N (and in many systems one would be able to take N'=N), that the intersection of two b.o.n.s of x is another one, and so on. Suppose we've got all that sorted out. Then the rest of the definitions are just like metric space definitions

without the need to reformulate those definitions in terms of open sets. To give the most important example, a function $f:X\to Y$ iscontinuous at xif and only if the following condition holds: for every b.o.n. M of f(x) there exists a b.o.n. N of x such that $f(N)\subset M$. Of course, in a metric space the basic open neighbourhoods of x are the open balls $B_\epsilon(x)$.In the usual definition of continuity for maps between topological spaces, one never talks about continuity at a point, but it is perfectly possible and natural to do so, as the above shows.

Here's another example: a set F is closed if and only if for every x not in F you can find a basic open neighbourhood N of x that is disjoint from F. Oh, and I should have said that a set U is open if and only if for every x in U you can find a basic open neighbourhood N of x such that $N\subset U$.

The one thing you can't do is reformulate these definitions in terms of sequences, for the simple reason that the sequence reformulations do not generalize to topological spaces (unless you replace them by nets).

Added later: I've just seen some more of the comments on the original post. Much of what I have said is implicit in those comments, but perhaps it is useful to have it spelt out.

## @The Mathemagician 2010-03-24 17:34:36

John Stillwell suggested in the preface to his wonderful-if highly unorthodox-textbook on the subject that to render topology more concrete, that continuity should be removed entirely as it's foundation and it should be expressed entirely in terms of finite elements like simplexes.I think that would really work only in low dimensional spaces that are locally Euclidean. My point is that alternatives to open and closed sets (and the more common "weaker" variant nieborhoods) have been proposed in the past.

## @LSpice 2010-03-24 21:38:16

> Then the rest of the definitions are just like metric space definitions

without the need to reformulate those definitions in terms of open sets. … [A] function $f : X \to Y$ is continuous at $x$ if and only if the following condition holds: for every b.o.n. $M$ of $f(x)$ there exists a b.o.n. $N$ of $x$ such that $f(N) \subset M$. I think that I'm missing something very important here. This seems like youhavere-formulated the metric-space definitions, just saying ‘b.o.n.’ everywhere the usual definition would say ‘open containing’. What is the simplification?## @gowers 2010-03-26 09:42:43

Here's an example. Suppose I define the product topology on X={0,1}^N. I won't tell you what an open set is. Instead I'll say that the b.o.n. B_n(x) is the set of all sequences that agree with x up to n. Then I can define the continuity at x of a map from X to X without ever having to say what an open set is. So basic open neighourhoods are playing a role similar to balls of radius epsilon in metric-space theory. To relate this definition to metric spaces I don't have to prove that a map between metric spaces is continuous if and only if the inverse image of an open set is open.

## @Charlie Frohman 2010-03-23 23:16:12

I would say that topology is defined in terms of open sets and closed sets. I think it is motivated by two theorems from the Calculus. The Bolzano-Weierstrass theorem and the intermediate value theorem.

In its simplest form, the Bolzano-Weierstrass theorem says that an infinite subset of a closed bounded interval $[a,b]$ of the real numbers has a limit point. You find that limit point as follows. As there are infinitely many points in the set, then there are infinitely many in the left half or the right half of $[a,b]$. Say the left half. Divide that interval in half and there are infinitely many in one half or the other. Proceed this way to produce a sequence of closed intervals $I_{n+1}\subset I_n$ with the length of the $n$th interval equal to $\frac{b-a}{2^n}$. By Cantor's theorem $\cap_n I_n$ is nonempty, and the point in there is your limit point.

It didn't really make a difference if you broke the interval into two pieces or 10 pieces. This leads to the notion of compactness, by saying that every open cover has a finite subcover. The fact that the intersection of the closed intervals $I_n$ is nonempty is the complementary notion that a collection of closed subsets with the finite intersection property has nonempty intersection. The proof of the Bolzano-Weierstrass theorem leads you to think of open and closed sets.

A similar analysis of the proof of the intermediate value theorem leads likewise to open sets and closed sets.

Really, the concept of a topology was an incredible creative leap, that allowed people to take ideas from the Calculus and apply them in other places. Similar leaps to me, are the notion of sigma algebra, distribution (in the PDE sense), and the construction of homological algebra. :)

## @WetSavannaAnimal 2011-04-21 02:54:14

It's worth remembering that all of these notions have a long history: great minds wrestled with the notions for a long time before the present ones were settled on, for all reasons given in the many excellent answers above. The compactness notion I understand was particularly long in coming after the Heine-Borel theorem was originally formulated and proven. I seem to recall that modern topology wasn't settled on until the 1930s?

## @Qiaochu Yuan 2010-03-24 08:50:32

This is an attempt to synthesize ideas that have appeared in other answers, for example sigfpe's and Tim Perutz's. Feel free to edit if you think the ideas can be better expressed.

The idea I want to back is that a topological space is an environment $X$ in which the notion of checking the truth of a statement

locallymakes sense. In the actual language of topological spaces, we want to be able to talk about statements which are true for a space $X$ if and only if they're true for every open set in an open cover of $X$, and the same should be true for every subspace of $X$. (For example, continuity and differentiability of a function both have this property.)But whatever an open cover is, it should consist of elements chosen from a distinguished collection of subsets $\mathcal{P}$ of $X$ having certain properties. The empty set and $X$ should both be in $\mathcal{P}$ because checking a statement about $X$ is trivially equivalent to checking it on $X$ and on the empty set. $\mathcal{P}$ should be closed under arbitrary unions because a collection of open sets automatically forms an open cover of its union. $\mathcal{P}$ should be closed under binary intersections because one should be able to build an open cover of a subspace $S$ of $X$ by intersecting an open cover of $X$ with $S$, and if $S$ is itself open, an open cover of $S$ should be extendable to an open cover of $X$.

I don't think I've explained myself very well, though. I also wish I knew enough to say something about the relationship between topology and logic that the above seems to suggest. But one reason I like this perspective is that it suggests certain definitions naturally, such as the definition of compactness or of a manifold.

Some soapboxing: while I can see the pedagogical value of thinking about topological spaces as a natural generalization of metric spaces or even just of $\mathbb{R}$, I think the idea of a topological space is deeper than these roots suggest and I think Minhyong is looking for an answer that reflects this. In other words, I am of the opinion that the definition of a topological space is more natural than the definition of a metric space (or even of $\mathbb{R}$!), so one shouldn't use the latter to motivate the former. But this is just an opinion.

## @Kevin H. Lin 2010-03-24 09:00:13

Re soapboxing: I also think the idea of a topological space must be deeper than "just" a generalization of metric spaces or of $\mathbb{R}$; this is one of the reasons for this previous question of mine: mathoverflow.net/questions/14634/…

## @Minhyong Kim 2010-03-24 12:45:29

Qiaochu: I agree with your soapboxing comment. I've indicated my reasons somewhat in the recent edit.

## @LSpice 2010-03-24 21:33:42

I think I am missing here why the empty set should be included. It is certainly intuitive that a property that has been checked on $X$ is true on $X$; but, if I were a student presented with this definition, then I'd wonder, I think not unreasonably, why I should check it on $\emptyset$ as well.

## @Qiaochu Yuan 2010-03-24 21:36:55

I guess another answer is that "arbitrary union" includes the empty union.

## @Toby Bartels 2012-01-14 02:06:08

I think that it's a mistake to say ‘and on the empty set’. The justification that $\emptyset$ is open (which is given in Qiaochu's last comment) is entirely different from the justification that $X$ is open.

## @tttbase 2016-05-09 14:52:49

+1 for soapboxing.

## @JuanOS 2010-03-24 03:53:27

To me, like someone said before, it's because of the way you define continuity in a metric space... We've all heard (i think) that topology is a game "where bending and stretching is allowed but tearing is not", this is precisely what a continuous function does, so now, given a weird rubberish material (our topological space) how do we define continuity? Thinking back to metric spaces we find our $\epsilon$'s and $\delta$'s which are really just instructions on how to construct our space, they give us a definition of "nearness" (or "separation" some might say), so we construct our pieces of space with that definition in mind, we want a notion of when points are "near" (or "far") and we call those sets of relativily-near points "open"... To me it also helps to think of manifolds, like the usual example, the earth! it looks flat, but that's because we're looking at it locally, and what does "local" mean? an open set!

## @Michael Benfield 2010-03-24 00:12:54

This may be a naive answer, but for me the concept captured by a topological space is when a point is infinitely close to a set. This happens when the point is in the closure of the set (or, equivalently, when every neighborhood of the point intersects the set). The definition by open sets may obscure this.

## @Elizabeth S. Q. Goodman 2010-03-25 00:20:38

For the definition of "infinitely close" (or the way I would define "touches"), I prefer continuous functions: wherever the set goes, that point goes with it. (So a closed set is one that can go to a point without dragging more points with it--but that requires a tautological definition of continuity again.)

## @Tim Perutz 2010-03-23 23:36:45

Two platitudes:

(1) On a metric space, $\mathbb{R}$-valued functions which are continuous in the ($\epsilon$-$\delta$)-sense are the same as those for which the preimage of an open is open. So one can achieve the aim of discussing continuity by using open sets.

(2) The standard open sets in a metric space satisfy the axioms for a topology.

However, the open sets in a metric space satisfy many other properties too (Hausdorff, etc.).

So - as a former colleague of mine pointed out - to motivate our definition we ought to say why we can't reasonably

dropone of the axioms for a topology - the intersection axiom, say. After all, our examples will still satisfy the axioms, and we'll still be able to prove some standard lemmas about spaces and continuous functions.The answer, I think, is that continuity really ought to be

local: a function is continuous if it's continuous when restricted to each of the sets making up an open cover. In proving this, we use both the union and intersection axioms.## @Vectornaut 2010-03-24 23:35:39

Your answer is tempting me to say that I put a topology on a set X by choosing a subring of the ring of bounded real functions on X, and calling the functions in that subring continuous. If I went down this dangerous road, would I always end up with a unique topology on X? Would I have to be careful about which subring I chose? (The empty subring wouldn't work, because constant functions are always continuous, but that isn't much of a restriction.) I'd like to say I'm using the Banach-Stone theorem in reverse, but I'm not, because I can get non-Hausdorff topologies, like the indiscrete one.

## @Tim Perutz 2010-03-25 01:42:25

@Vectornaut. Surely maps to the reals can't be meaningful in studying general topological spaces (think, say, of affine varieties of positive characteristic...)? My point was rather that topological spaces are designed to facilitate a discussion of continuous maps, generalising classical continuous functions by asking that the preimage of opens are open. If we demand that continuity be determined locally, and that constant maps are continuous, the topological space axioms are essentially forced on us.

## @Andreas Rüdinger 2010-06-15 21:53:46

Regarding (1) of the answer above: I'm sorry, but I do not fully understand why the fact that a mapping between metric spaces is continuous if and only if the preimage of an open set is open should justify the predominace of open sets in topology vs. closed sets. It is also true that a mapping between metric spaces is continuous if and only if the preimage of a closed set is closed. So this does not yield a pedagogic motivation for using open sets in my opinion.

## @Tim Perutz 2010-06-15 22:36:58

The open sets determine and are determined by the closed sets, so one just has to make a choice about which to axiomatize. Axioms for one give complementary axioms for the other. My point was that the conventional axioms for open sets (or their complementary axioms for closed sets) appear to be minimal ones under which continuity is locally determined and constant functions are continuous.