Altanis

2.2Basis for a Topology

Updated 14 Jun 2026Chapter (PDF)

[2.2.1]Definition(Basis, Basis Elements)#

If XX is a set, then a basis for some topology on XX is a collection B\mathcal{B} of subsets of XX (called basis elements) that satisfy the following conditions.

  1. Covering. For each xXx \in X, there is some BBB \in \mathcal{B} such that xBx \in B. That is, XBBBX \subseteq \bigcup_{B \in \mathcal{B}} B.

  2. Refinement. If there exist B1,B2BB_1, B_2 \in \mathcal{B} such that xB1B2x \in B_1 \cap B_2, there is some B3BB_3 \in \mathcal{B} such that xB3B1B2x \in B_3 \subseteq B_1 \cap B_2.

[2.2.2]Definition(Topology Generated by Basis)#

If there exists some basis B\mathcal{B} for XX, we say the topology T\Tau generated by B\mathcal{B} is as follows:

“A subset UXU \subseteq X is said to be open (i.e., in T\Tau) if, for each xUx \in U, there is some BBB \in \mathcal{B} such that xBUx \in B \subseteq U”.

[2.2.3]Example(Basis of Open Balls/Boxes)#

Let B\mathcal{B} be the collection of all open balls in Rn\bR^n. Of course, each xRnx \in \bR^n is contained in some open ball BBB \in \mathcal{B}. Now consider some xRnx \in \bR^n contained in two open balls B1,B2BB_1, B_2 \in \mathcal{B}—that is, xB1B2x \in B_1 \cap B_2. Then we can construct a smaller open ball about xx, say B3B_3, such that xB3B1B2x \in B_3 \subseteq B_1 \cap B_2 (with B3BB_3 \in \mathcal{B}), of course.

We can do an analogous procedure, but instead defining B\mathcal{B} to be the collection of all open boxes in Rn\bR^n. But note that intersections of boxes are, well, boxes, so we do not need to find a basis element inside the intersection of two other basis elements as done with the basis of open balls.

We provide a schematic for these bases in R2\bR^2.

[2.2.4]Example(Basis that Generates Discrete Topology)#

If XX is any set, then we can define a basis B\mathcal{B} comprising every singleton subset of XX. Let UXU \subseteq X be any arbitrary subset of XX. Then note, for each xUx \in U, it's true that {x}B\{x\} \in \mathcal{B}, such that x{x}Ux \in \{x\} \subseteq U. Thus all subsets of XX are open, meaning the topology generated by B\mathcal{B} is in fact the discrete one.

We now verify that a topology generated by a basis is, indeed, a topology.

[2.2.5]Theorem(Basis Generates a Topology)#

Suppose B\mathcal{B} is a basis for some set XX. Let T\Tau be a collection of subsets such that, if some subset UXU \subseteq X is in T\Tau, then for each xUx \in U, there is some BBB \in \mathcal{B} such that xBUx \in B \subseteq U. Then (X,T)(X, \Tau) forms a topological space.

Proof.

First, note T\emptyset \in \Tau vacuously. Next, note that for each xXx \in X, there is some BxBB_x \in \mathcal{B} such that xBxXx \in B_x \subseteq X (both by definition of a basis element), so XTX \in \Tau.

We show arbitrary union is closed in T\Tau. Suppose {Uλ}λΛ\{U_\lambda\}_{\lambda \in \Lambda} is an indexed family of elements of T\Tau. Define

U=λΛUλ.U = \bigcup_{\lambda \in \Lambda} U_\lambda.

If xUx \in U, then there is some λΛ\lambda \in \Lambda such that xUλx \in U_\lambda. Since UλU_\lambda is open, there exists some BλBB_\lambda \in \mathcal{B} such that xBλUλUx \in B_\lambda \subseteq U_\lambda \subseteq U. Thus UU is open.

Finally, we show finite intersection is closed in T\Tau. That is, for some nZ+n \in \bZ_+, the intersection of open sets U1UnU_1 \cap \cdots U_n is open. We prove this inductively, using n=2n = 2 as our base case. Suppose U1,U2TU_1, U_2 \in \Tau—we show U1U2TU_1 \cap U_2 \in \Tau as well. First, suppose xU1U2x \in U_1 \cap U_2. Then there exist B1,B2TB_1, B_2 \in \Tau such that xB1U1x \in B_1 \subseteq U_1 and xB2U2x \in B_2 \subseteq U_2. Since xB1B2x \in B_1 \cap B_2, there exists B3BB_3 \in \mathcal{B} such that xB3B1B2U1U2x \in B_3 \subseteq B_1 \cap B_2 \subseteq U_1 \cap U_2. Thus U1U2TU_1 \cap U_2 \in \Tau.

Now suppose this result is true for n1n - 1. Then note

U1Un=(U1Un1):=U1Un:=U2.U_1 \cap \cdots \cap U_n = \underbrace{(U_1 \cap \cdots U_{n - 1})}_{:= U_1} \cap \underbrace{U_n}_{:= U_2}.

U1U_1 is open by hypothesis, of course. Since we have reduced this to n=2n = 2, it follows that the intersection is, indeed, finite. Thus T\Tau is a topology!

[2.2.6]Corollary(Intuition Behind Basis)#

Let XX be a set, and let B\mathcal{B} be a basis for some topology T\Tau on XX. Then T\Tau is the collection of all unions of elements of B\mathcal{B}.

Proof.

Let {Bλ}λΛ\{B_\lambda\}_{\lambda \in \Lambda} be a collection of elements of B\mathcal{B}. Of course, each basis element is an element of the topology it generates. Since topologies are closed under arbitrary union, the union of elements in this collection is a subset of T\Tau.

Conversely, suppose TTT \in \Tau. For each xTx \in T, there is some BxBB_x \in \mathcal{B} such that xBxTx \in B_x \subseteq T. Thus TxTBxT \subseteq \bigcup_{x \in T} B_x, a union of a collection of elements from B\mathcal{B}, completing the proof.

Immediately, after choosing a basis for a topology, we note that every element of the topology may be generated by a union of some elements of the basis. This is reminiscent of vectors being generated by a linear combination of some elements of the basis. But note that each vector is uniquely expressible in a vector space's basis, while each element of a topology does not have a necessarily unique expression in the topology's basis.

[2.2.7]Theorem#

Suppose (X,T)(X, \Tau) is a topological space. Let C\mathcal{C} be a collection of open sets such that, for each open set UXU \subseteq X (under the topology T\Tau) and for each xUx \in U, there is some CCC \in \mathcal{C} such that xCUx \in \mathcal{C} \subseteq U. Then C\mathcal{C} is a basis for the topology T\Tau.

Proof.

First, we show C\mathcal{C} is a basis. Note XX is open, so by hypothesis, every xXx \in X is met with some CCC \in \mathcal{C} such that xCx \in C, and of course CXC \subseteq X. Moreover, suppose xXx \in X is such that, for some C1,C2CC_1, C_2 \in \mathcal{C}, it follows that xC1C2x \in C_1 \cap C_2. Since C1,C2C_1, C_2 are open under T\Tau, it follows that C1C2C_1 \cap C_2 are open under T\Tau, so there exists some C3CC_3 \in \mathcal{C} such that xC3C1C2x \in C_3 \subseteq C_1 \cap C_2 by hypothesis. Thus C\mathcal{C} is a basis.

Now we show the topology generated by C\mathcal{C}, say T\Tau', is T\Tau itself. This is slightly tautological, but whatever. Suppose UXU \subseteq X is open under T\Tau. The, for each xUx \in U, there is some CCC \in \mathcal{C} such that xCUx \in C \subseteq U (by hypothesis), meaning UTU \in \Tau'. Now suppose WTW \in \Tau'. Then WW is expressible as the arbitrary union of elements of C\mathcal{C}, which are all elements of T\Tau, and so WTW \in \Tau. Thus T=T\Tau = \Tau'.

It is difficult to describe topologies by their elements (as a topology is a subset of a power set, which is unwieldy). Thus we look towards a topological space's basis, a typically smaller subset of the topology that generates it under unions. We investigate properties of topologies by looking at bases of a topology.

[2.2.8]Theorem#

Suppose XX is some set with topologies T,T\Tau, \Tau', each with a basis B,B\mathcal{B}, \mathcal{B}' respectively. Then the following statements are equivalent.

  1. T\Tau is coarser than T\Tau'.

  2. For each xXx \in X and for every BBB \in \mathcal{B} such that xBx \in B, there exists some BBB' \in \mathcal{B}' such that xBBx \in B' \subseteq B.

Proof.

(2)    (1)(2) \implies (1): We seek to show TT\Tau \subseteq \Tau'. Suppose UTU \in \Tau. Then, since B\mathcal{B} generates T\Tau, there is some BBB \in \mathcal{B} such that xBUx \in \mathcal{B} \subseteq U. By hypothesis, however, there is some BTB' \in \Tau' such that xBUx \in \mathcal{B}' \subseteq U. Thus B\mathcal{B}' generates T\Tau, meaning UTU \subseteq \Tau'.

(1)    (2)(1) \implies (2): Suppose xXx \in X is such that there is some BBB \in \mathcal{B} for which xBx \in B. Note BTT\mathcal{B} \subseteq \Tau \subseteq \Tau', and so BTB \in \Tau'. Since T\Tau' is generated by B\mathcal{B}', there is some BBB' \in \mathcal{B}' such that xBBx \in B' \subseteq B.

[2.2.9]Example(Topologies on R\bR)#

Consider the following topoologies that can be endowed on R\bR.

  1. Let B\mathcal{B} be the set of all open intervals in R\bR.

    B={(a,b):a<b}={xR:a<x<b}.\mathcal{B} = \{(a, b): a < b\} = \{x \in \bR: a < x < b\}.

    The topology generated by B\mathcal{B} is said to be the standard topology on R\bR. All open sets of R\bR with respect to this topology take the form of the union of arbitrarily many open intervals.

  2. Now let B\mathcal{B} be defined as such.

    B={[a,b):a<b}={xR:ax<b}.\mathcal{B} = \{[a, b): a < b\} = \{x \in \bR: a \le x < b\}.

    The topology generated by B\mathcal{B} is said to be the lower limit topology. We denote R\bR endowed with this topology as R\bR_\ell.

  3. Finally, define K={1/n}nZ+K = \{1/n\}_{n \in \bZ_+}, and let B\mathcal{B} be defined as such.

    B={(a,b),(a,b)K}.\mathcal{B} = \{(a, b), (a, b) \setminus K\}.

    The topology generated by B\mathcal{B} is said to be the K-topology. We denote R\bR endowed with this topology as RK\bR_K.

[2.2.10]Remark#

The topologies on R\bR_\ell and RK\bR_K (denoted T\Tau_\ell and TK\Tau_K) are both strictly finer than the topology on R\bR (denoted T\Tau) and both incomparable.

Proof.

First, we show T\Tau_\ell is strictly finer than T\Tau. Let x(a,b)x \in (a, b), with (a,b)(a, b) an arbitrary basis element of T\Tau. Then note x[x,b)(a,b)x \in [x, b) \subseteq (a, b), where [x,b)[x, b) is a basis element of T\Tau_\ell, and so TT\Tau \subseteq \Tau_\ell (T\Tau_\ell is finer than T\Tau). To show that this is a strict subset, we show T⊈T\Tau_\ell \not \subseteq \Tau. Consider some x[x,d)x \in [x, d), with [x,d)[x, d) a basis element of T\Tau_\ell. Then note there is no open interval that contains xx and is a subset of [x,d)[x, d). Thus T\Tau is not finer than T\Tau_\ell, meaning T\Tau_\ell is strictly finer than T\Tau.

Next, we show TK\Tau_K is strictly finer than T\Tau. Note the basis of TK\Tau_K comprises the basis of T\Tau, so it is automatically finer than T\Tau—we seek to show T\Tau is not finer than TK\Tau_K. Let 0(1,1)K0 \in (-1, 1) \setminus K, where (1,1)K(-1, 1) \setminus K is a basis element of TK\Tau_K. Then note there is no local refinement in T\Tau that contains 00 (that is, there is no open interval that contains 00 and is a subset of this basis element). Thus T\Tau is not finer than TK\Tau_K, meaning TK\Tau_K is indeed strictly finer than T\Tau.

Finally, we show T\Tau_\ell and TK\Tau_K are incomparable (i.e., neither is finer than one another). Consider 2[2,3)2 \in [2, 3), where [2,3)[2, 3) is a basis element of T\Tau_\ell. Then note no open interval (a,b)(a, b)—much less any punctured open interval (a,b)K(a, b) \setminus K—contains 22 and is a subset of [2,3)[2, 3). Thus TK\Tau_K is not finer than T\Tau_\ell. Conversely, consider 0(1,1)K0 \in (-1, 1) \setminus K, with (1,1)K(-1, 1) \setminus K a basis element of TK\Tau_K. No left closed, right open interval (i.e., basis elements of T\Tau_\ell) contains 00 and is a subset of (1,1)K(-1, 1) \setminus K. Thus T\Tau_\ell is not finer than TK\Tau_K, completing the proof.

Consider some arbitrary topological space (X,T)(X, \Tau), and let B\mathcal{B} be a basis for T\Tau. Recall that B\mathcal{B} must be a cover for XX, but it also carries the extra requirement that the intersection of two basis elements must comprise another basis element. In other words, a basis is closed under finite intersection. Then, what is the minimal structure that, when considering the set of all finite intersections, regenerates the basis? We define the subbasis and explain the hierarchy accordingly.

[2.2.11]Definition(Subbasis)#

A subbasis S\mathcal{S} for a topology on XX is a collection of subsets of XX whose union equals XX. The topology generated by the subbasis S\mathcal{S} is said to be the collection T\Tau of all unions of fintie intersections of elements of S\mathcal{S}.

[2.2.12]Remark(Interlude on Subbasis)#

Before we show the topology generated by a subbasis is, indeed, a topology, we provide some form of intuition for it.

A subbasis S\mathcal{S} is the most general collection of subsets capable of generating a topology. The primary distinction between a basis and a subbasis lies in the intersection axiom: while a basis B\mathcal{B} must be “self-refining”—in the sense that the intersection of any two basis elements must be representable as a union of other basis elements—a subbasis S\mathcal{S} is subject to no such constraint.

To bridge this gap, the construction of the topology T\Tau proceeds in two distinct stages:

  1. Generating the Basis: We first take the collection of all finite intersections of elements in S\mathcal{S}. This produces a new collection B\mathcal{B} which is, by construction, a basis. Because B\mathcal{B} is formed under finite intersections, it satisfies the “self-refining” property that S\mathcal{S} lacked.

  2. Generating the Topology: We then take the collection of all arbitrary unions of elements in B\mathcal{B}. This final collection T\Tau now satisfies the remaining axioms of a topology.

Conceptually, this identifies the topology T\Tau as the collection of all arbitrary unions of finite intersections of elements in S\mathcal{S}. This is the coarsest/minimal topology containing S\mathcal{S}, allowing one to define a topology by simply declaring a specific collection of sets to be open, bypassing the need to verify that the initial collection satisfies any intersection properties itself.

[2.2.13]Theorem(Subbasis Generates a Topology)#

Let XX be an arbitrary set. The set of all arbitrary unions of the set of all finite intersections of a subbasis forms a topology on XX.

Proof.

Let XX be a set we seek to endow a topology on. We show that the set of all finite intersections of a subbasis forms a basis, and the theorem follows immediately (since we know a basis generates a topology by taking arbitrary unions). Suppose our subbasis S\mathcal{S} is written as

S={Sλ}λΛ.\mathcal{S} = \{S_\lambda\}_{\lambda \in \Lambda}.

We seek to show B\mathcal{B}, the set of all finite intersections of elements of S\mathcal{S}, forms a basis. Of course, SB\mathcal{S} \subseteq \mathcal{B}, and S\mathcal{S} covers XX, so automatically B\mathcal{B} covers XX as well. Now let

B1=Sλ1SλmB2=Sλ1Sλn,B_1 = S_{\lambda_1} \cap \cdots \cap S_{\lambda_m} \qquad B_2 = S_{\lambda_1}' \cap \cdots \cap S_{\lambda_n}',

where B1,B2BB_1, B_2 \in \mathcal{B}. To complete the proof, we show some finite intersection of SS-sets is a subset of B1B2B_1 \cap B_2. Indeed,

B3=B1B2=(Sλ1Sλm)(Sλ1Sλn)B_3 = B_1 \cap B_2 = (S_{\lambda_1} \cap \cdots \cap S_{\lambda_m}) \cap (S_{\lambda_1}' \cap \cdots \cap S_{\lambda_n}')

is a finite intersection of sets (by basic properties of sets), so B3BB_3 \in \mathcal{B}. Thus, each x(B1B2)x \in (B_1 \cap B_2) is such that xB3(B1B2)x \in B_3 \subseteq (B_1 \cap B_2), completing the proof.

2.2.1Exercises#

[2.2.14]Problem#

Let (X,T)(X, \Tau) be a topological space, with AXA \subseteq X. Suppose, for each xAx \in A, there is some open set UxU_x such that xUxAx \in U_x \subseteq A. Show AA is open.

Proof.

Define O=xAUxO = \bigcup_{x \in A} U_x. Note that it is an arbitrary union of open sets, and so it is open. Immediately, since each UxAU_x \subseteq A, it follows that OAO \subseteq A. But also, since {Ux}xA\{U_x\}_{x \in A} forms a cover for AA, it's true that AOA \subseteq O. Thus A=OA = O, and so AA is open.

[2.2.15]Problem#

Suppose {Tα}αA\{\Tau_\alpha\}_{\alpha \in A} is a family of topologies on XX. Show αATα\bigcap_{\alpha \in A} \Tau_\alpha is a topology.

Solution.

Let T=αATαT = \bigcap_{\alpha \in A} \Tau_\alpha. Then TT is the set of all sets that were open in every topology in {Tα}αA\{T_\alpha\}_{\alpha \in A}. We note that \emptyset and XX are open in each TαT_\alpha (αA\alpha \in A), and so they belong in TT. Now consider arbitrarily many elements {Oλ}λΛ\{O_\lambda\}_{\lambda \in \Lambda} from TT. We note these elements are in every Tα:αA\Tau_\alpha: \alpha \in A, so their union should also be in every Tα:αA\Tau_\alpha: \alpha \in A. Thus the union is in TT as well. An analogous statement may be made about the intersection of finitely many elements, which completes the proof.

[2.2.16]Problem#

Suppose A\mathcal{A} is the basis for some topology on XX. Show that the topology A\mathcal{A} generates is the intersection of all topologies on XX that contain A\mathcal{A}.

Solution.

Suppose A\mathcal{A} generates a topology TT. Let {Tα}αA\{\Tau_\alpha\}_{\alpha \in A} be the family of topologies on XX such that ATα\mathcal{A} \subseteq \Tau_\alpha for each αA\alpha \in A. Let T=αATαT' = \bigcap_{\alpha \in A} \Tau_\alpha—we show T=TT = T'. Of course, T{Tα}αAT \in \{\Tau_\alpha\}_{\alpha \in A}, and so TTT' \subseteq T. Now we seek to show TTT \subseteq T'. Equivalently, we show that for any open set in TT, it follows that aforementioned open set is also in Tα\Tau_\alpha for every αA\alpha \in A. Fix αA\alpha \in A and OTO \in T. Note A\mathcal{A} is a basis for TT, and so for each xOx \in O, there is some BxAB_x \in \mathcal{A} such that xBxOx \in B_x \subseteq O. Thus O=xOBxO = \bigcup_{x \in O} B_x. But note BxATαB_x \in \mathcal{A} \subseteq \Tau_\alpha for every xOx \in O, and so the arbitrary union of each BxB_x is in Tα\Tau_\alpha. Thus OTαO \in \Tau_\alpha, which completes the proof.

[2.2.17]Problem#

Let B={(a,b):a<bQ}\mathcal{B} = \{(a, b): a < b \in \bQ\}. Show B\mathcal{B} is a basis for the standard topology on R\bR.

Solution.

Let ORO \subseteq \bR be open with respect to the standard topology. Fix xOx \in O, and choose ε>0\epsilon > 0 such that (xε,x+ε)O(x - \epsilon, x + \epsilon) \subseteq O. By the density of Q\bQ in R\bR, there is some a<bQa < b \in \bQ such that

xε<a<x<b<x+ε.x - \epsilon < a < x < b < x + \epsilon.

Then note (a,b)=BB(a, b) = B \in \mathcal{B}, and thus xB(xε,x+ε)Ox \in B \subseteq (x - \epsilon, x + \epsilon) \subseteq O. Thus B\mathcal{B} is a basis for the standard topology on R\bR.