Skip to content
Tutorials Center
My learning

Topics

Lesson 13 of 36 ยท Topological Spaces

Bases and Subbases

Describe a topology with a small family of building blocks: the two basis conditions, generating a topology by unions, subbases, and the Sorgenfrey line.

Listing every open set of a topology is usually impossible. The real line has uncountably many open sets, but all of them are built from the open intervals, which are far simpler. A basis is a small family of "building block" sets from which every open set can be made by taking unions. Working with a basis is how most topologies are defined in practice.

What a basis is

Let X be a set. A collection โ„ฌ of subsets of X is a basis (for some topology on X) if:

  • B1. The sets of โ„ฌ cover X: every point of X lies in at least one member of โ„ฌ.
  • B2. If Bโ‚, Bโ‚‚ โˆˆ โ„ฌ and x โˆˆ Bโ‚ โˆฉ Bโ‚‚, then there is Bโ‚ƒ โˆˆ โ„ฌ with x โˆˆ Bโ‚ƒ โІ Bโ‚ โˆฉ Bโ‚‚.

The topology generated by โ„ฌ consists of all unions of members of โ„ฌ (including the empty union โˆ…). Equivalently, U is open when every point x โˆˆ U has some B โˆˆ โ„ฌ with x โˆˆ B โІ U.

Condition B2 says the overlap of two blocks can again be filled by blocks around each of its points. It is precisely what makes the finite-intersection axiom of a topology work. If Bโ‚ โˆฉ Bโ‚‚ were not a union of blocks, it would fail to be open, and the generated collection would not be a topology.

Examples:

  • On โ„, the open intervals (a, b) form a basis for the usual topology. For two intervals that overlap, the overlap is again an open interval.
  • Open balls B(x, r) form a basis of a metric topology.
  • In โ„, the intervals with rational endpoints form a basis too. There are only countably many of them, so โ„ has a countable basis ("second countable"). This matters for many theorems.
  • On any set, the singletons form a basis of the discrete topology.

A basis is not unique, and different bases can generate the same topology. Intervals with rational endpoints and all open intervals both give the usual topology on โ„.

Checking and generating

The code tests B1 and B2 for a family of sets on a finite X and, if both hold, builds the generated topology by taking all unions.

Python Basis checker and generated topology

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 first family contains all four singletons, so every subset is a union of blocks and the generated topology is discrete (16 sets). The second family fails B2: {1, 2} and {2, 3} overlap in , which is not inside any block that fits in the overlap.

Subbases

Sometimes even a basis is more than you need. A subbasis (or subbase) ๐’ฎ is any family of subsets whose union is X. The topology generated by ๐’ฎ is the smallest topology containing it: first take all finite intersections of members of ๐’ฎ (this gives a basis), then take all unions.

Example: on โ„, the rays (โˆ’โˆž, a) and (b, โˆž) form a subbasis for the usual topology, since (a, b) = (โˆ’โˆž, b) โˆฉ (a, โˆž). This order topology idea works on any ordered set.

Python Subbase to basis to topology

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.

Local bases and countability

A local basis at a point x is a family of open sets containing x such that every open set containing x contains one of them. In a metric space the balls B(x, 1/n), n = 1, 2, 3, โ€ฆ form a countable local basis. A space where every point has a countable local basis is first countable; one with a countable basis for the whole topology is second countable. These conditions let you use sequences to detect closure and continuity, and they give many nice theorems.

A twist: the Sorgenfrey line

Take โ„ and use the half-open intervals [a, b) as blocks. Check B2: [a, b) โˆฉ [c, d) is either empty or [max(a, c), min(b, d)), again a half-open interval, so they form a basis. The resulting topology is the lower limit topology, and โ„ with it is the Sorgenfrey line. It is strictly finer than the usual topology: every usual open interval (a, b) is open here, since each of its points x has [x, b) โІ (a, b) as a block, but [0, 1) is open here and not in the usual topology. This space is a classic source of counterexamples: it is not second countable even though it looks tame.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What does condition B2 for a basis guarantee?

    B2 says that for x in B1 โˆฉ B2 there is a block B3 with x in B3 inside B1 โˆฉ B2, which ensures finite intersections are open.
  2. 2. How do you get the open sets generated by a basis?

    The generated topology consists of all unions of basis elements.
  3. 3. A subbasis generates a topology by taking...

    Finite intersections of subbase elements form a basis; unions of those give the topology.
  4. 4. Which family is a basis of the discrete topology on X?

    Every subset is a union of singletons, so the singletons generate the discrete topology.

Summary

  • A basis is a family covering X that satisfies B2; its unions form the generated topology.
  • Open intervals (or just those with rational endpoints) form a basis for the real line.
  • A subbasis generates a topology via finite intersections then unions.
  • Local bases at points lead to first and second countability.
  • The Sorgenfrey line uses [a, b) as blocks and gives a finer topology than the usual one.

Next: The Subspace Topology