Skip to content
Tutorials Center
My learning

Topics

Lesson 11 of 36 · Topological Spaces

Examples of Topologies

Meet the discrete, indiscrete, cofinite, Sierpinski and particular-point topologies, check each against the axioms, and compare how fine or coarse they are.

A good way to understand an abstract definition is to meet many examples, especially odd ones. This lesson builds a small zoo of topologies. Some are very coarse, some very fine, and some are useful for finding counterexamples that tell you which statements need extra hypotheses.

The extremes: discrete and indiscrete

On any set X:

  • The discrete topology is P(X), all subsets. Every subset is open, and also closed (its complement is open). It comes from the discrete metric.
  • The indiscrete topology (or trivial topology) is {∅, X}. A point cannot be told apart from any other by open sets.

In the discrete topology each singleton is open, so each point is isolated and sequences converge only if eventually constant. In the indiscrete topology the only open set containing a point x is the whole space, so every sequence converges to every point.

The cofinite topology

The cofinite topology on X consists of ∅ together with every subset whose complement is finite. Closed sets are then the finite subsets and X itself.

Check the axioms: the complement of a union is the intersection of complements, and an intersection of finite sets is finite. A finite intersection of cofinite sets has a complement that is a finite union of finite sets, hence finite. Good.

On a finite set X, every subset has a finite complement, so the cofinite topology is discrete. The topology becomes interesting when X is infinite, for example ℕ. There, any two nonempty open sets intersect (their complements are finite, so they cannot cover the infinite set), a property that cannot happen in a metric space with two or more points. That is another proof that the cofinite topology on ℕ is not metrizable.

The Sierpiński space

On {0, 1} take τ = {∅, {1}, {0, 1}}. This is the smallest topology that is neither discrete nor indiscrete, and it appears all over mathematics and computer science: it represents a single yes/no observation where "yes" is detectable and "no" is not. The point 1 is open and the point 0 is closed.

The particular point topology

Fix a point p ∈ X. The particular point topology has as open sets ∅ and every subset that contains p. The Sierpiński space is the case X = {0, 1}, p = 1. The excluded point topology is its mirror image: the open sets are X and every subset that does not contain p. The code below checks both.

Generating and comparing examples

The code defines these topologies on a small finite set X = {1, 2, 3, 4}, checks each with the pairwise criterion, and prints which are coarser or finer than which. Note that the cofinite topology on a finite set is the discrete one, so it appears as a duplicate.

Python A zoo of topologies on four points

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The comparison output shows which topologies sit inside which. For example, the particular point topology on 4 points (9 open sets) lies inside the discrete one (16 sets), and the indiscrete topology lies inside everything.

Sequences in different topologies

Convergence depends on the topology. A sequence xₙ → L means that for every open set U containing L, the terms are eventually in U. Let the code test this on X = {1, 2, 3, 4} with the sequence 4, 3, 2, 1, 1, 1, … (it then stays at 1).

Python Which points does a sequence converge to?

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In the discrete topology the only limit is the value the sequence settles on, 1. In the indiscrete topology every point is a limit. In the particular point topology every point is a limit too: each nonempty open set contains 1, so any open set around any point contains the tail of the sequence.

Why odd examples matter

These examples teach two lessons. First, uniqueness of limits is a property some spaces have and others lack (see Hausdorff and Separation). Second, a statement that seems obvious in ℝ may fail in a strange topology, and finding such a space is how you prove a hypothesis cannot be dropped.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. In the indiscrete topology on a set X with at least two points, to which points does the sequence 1, 1, 1, ... converge?

    The only open set containing any point is X, which contains the whole sequence, so the sequence converges to every point.
  2. 2. What are the closed sets of the cofinite topology on an infinite set X?

    Closed sets are complements of open sets: complements of cofinite sets are finite, and the complement of the empty set is X.
  3. 3. What is the cofinite topology on a finite set?

    Every subset of a finite set has a finite complement, so every subset is open.
  4. 4. In the Sierpinski space {0, 1} with open sets {}, {1}, {0, 1}, which point is open?

    The singleton {1} is open; {0} is not in the list (it is closed).

Summary

  • The discrete topology has all subsets open; the indiscrete one has only ∅ and X.
  • The cofinite topology has finite closed sets; on a finite set it is discrete.
  • The Sierpiński space is the smallest topology that is neither discrete nor indiscrete.
  • The particular point topology: open means empty or containing a fixed point.
  • Convergence and separation of points depend on the topology; odd examples show which hypotheses matter.

Next: Closed Sets, Closure and Interior