Altanis

2.2Basis for a Topology

Updated 22 Oct 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 x∈Xx \in X, there is some B∈BB \in \mathcal{B} such that x∈Bx \in B. That is, X⊆⋃B∈BBX \subseteq \bigcup_{B \in \mathcal{B}} B.

  2. Refinement. If there exist B1,B2∈BB_1, B_2 \in \mathcal{B} such that x∈B1∩B2x \in B_1 \cap B_2, there is some B3∈BB_3 \in \mathcal{B} such that x∈B3⊆B1∩B2x \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 U⊆XU \subseteq X is said to be open (i.e., in T\Tau) if, for each x∈Ux \in U, there is some B∈BB \in \mathcal{B} such that x∈B⊆Ux \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 x∈Rnx \in \bR^n is contained in some open ball B∈BB \in \mathcal{B}. Now consider some x∈Rnx \in \bR^n contained in two open balls B1,B2∈BB_1, B_2 \in \mathcal{B}—that is, x∈B1∩B2x \in B_1 \cap B_2. Then we can construct a smaller open ball about xx, say B3B_3, such that x∈B3⊆B1∩B2x \in B_3 \subseteq B_1 \cap B_2 (with B3∈BB_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 U⊆XU \subseteq X be any arbitrary subset of XX. Then note, for each x∈Ux \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 U⊆XU \subseteq X is in T\Tau, then for each x∈Ux \in U, there is some B∈BB \in \mathcal{B} such that x∈B⊆Ux \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 x∈Xx \in X, there is some Bx∈BB_x \in \mathcal{B} such that x∈Bx⊆Xx \in B_x \subseteq X (both by definition of a basis element), so X∈TX \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 x∈Ux \in U, then there is some λ∈Λ\lambda \in \Lambda such that x∈Uλx \in U_\lambda. Since UλU_\lambda is open, there exists some Bλ∈BB_\lambda \in \mathcal{B} such that x∈Bλ⊆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 n∈Z+n \in \bZ_+, the intersection of open sets U1∩⋯UnU_1 \cap \cdots U_n is open. We prove this inductively, using n=2n = 2 as our base case. Suppose U1,U2∈TU_1, U_2 \in \Tau—we show U1∩U2∈TU_1 \cap U_2 \in \Tau as well. First, suppose x∈U1∩U2x \in U_1 \cap U_2. Then there exist B1,B2∈TB_1, B_2 \in \Tau such that x∈B1⊆U1x \in B_1 \subseteq U_1 and x∈B2⊆U2x \in B_2 \subseteq U_2. Since x∈B1∩B2x \in B_1 \cap B_2, there exists B3∈BB_3 \in \mathcal{B} such that x∈B3⊆B1∩B2⊆U1∩U2x \in B_3 \subseteq B_1 \cap B_2 \subseteq U_1 \cap U_2. Thus U1∩U2∈TU_1 \cap U_2 \in \Tau.

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

U1∩⋯∩Un=(U1∩⋯Un−1)⏟:=U1∩Un⏟:=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 T∈TT \in \Tau. For each x∈Tx \in T, there is some Bx∈BB_x \in \mathcal{B} such that x∈Bx⊆Tx \in B_x \subseteq T. Thus T⊆⋃x∈TBxT \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 U⊆XU \subseteq X (under the topology T\Tau) and for each x∈Ux \in U, there is some C∈CC \in \mathcal{C} such that x∈C⊆Ux \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 x∈Xx \in X is met with some C∈CC \in \mathcal{C} such that x∈Cx \in C, and of course C⊆XC \subseteq X. Moreover, suppose x∈Xx \in X is such that, for some C1,C2∈CC_1, C_2 \in \mathcal{C}, it follows that x∈C1∩C2x \in C_1 \cap C_2. Since C1,C2C_1, C_2 are open under T\Tau, it follows that C1∩C2C_1 \cap C_2 are open under T\Tau, so there exists some C3∈CC_3 \in \mathcal{C} such that x∈C3⊆C1∩C2x \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 U⊆XU \subseteq X is open under T\Tau. The, for each x∈Ux \in U, there is some C∈CC \in \mathcal{C} such that x∈C⊆Ux \in C \subseteq U (by hypothesis), meaning U∈T′U \in \Tau'. Now suppose W∈T′W \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 W∈TW \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 x∈Xx \in X and for every B∈BB \in \mathcal{B} such that x∈Bx \in B, there exists some B′∈B′B' \in \mathcal{B}' such that x∈B′⊆Bx \in B' \subseteq B.

Proof.

(2)  ⟹  (1)(2) \implies (1): We seek to show T⊆T′\Tau \subseteq \Tau'. Suppose U∈TU \in \Tau. Then, since B\mathcal{B} generates T\Tau, there is some B∈BB \in \mathcal{B} such that x∈B⊆Ux \in \mathcal{B} \subseteq U. By hypothesis, however, there is some B′∈T′B' \in \Tau' such that x∈B′⊆Ux \in \mathcal{B}' \subseteq U. Thus B′\mathcal{B}' generates T\Tau, meaning U⊆T′U \subseteq \Tau'.

(1)  ⟹  (2)(1) \implies (2): Suppose x∈Xx \in X is such that there is some B∈BB \in \mathcal{B} for which x∈Bx \in B. Note B⊆T⊆T′\mathcal{B} \subseteq \Tau \subseteq \Tau', and so B∈T′B \in \Tau'. Since T′\Tau' is generated by B′\mathcal{B}', there is some B′∈B′B' \in \mathcal{B}' such that x∈B′⊆Bx \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}={x∈R: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}={x∈R:a≤x<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}n∈Z+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 T⊆Tℓ\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, S⊆B\mathcal{S} \subseteq \mathcal{B}, and S\mathcal{S} covers XX, so automatically B\mathcal{B} covers XX as well. Now let

B1=Sλ1∩⋯∩SλmB2=Sλ1′∩⋯∩Sλ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,B2∈BB_1, B_2 \in \mathcal{B}. To complete the proof, we show some finite intersection of SS-sets is a subset of B1∩B2B_1 \cap B_2. Indeed,

B3=B1∩B2=(Sλ1∩⋯∩Sλm)∩(Sλ1′∩⋯∩Sλ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 B3∈BB_3 \in \mathcal{B}. Thus, each x∈(B1∩B2)x \in (B_1 \cap B_2) is such that x∈B3⊆(B1∩B2)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 A⊆XA \subseteq X. Suppose, for each x∈Ax \in A, there is some open set UxU_x such that x∈Ux⊆Ax \in U_x \subseteq A. Show AA is open.

Proof.

Define O=⋃x∈AUxO = \bigcup_{x \in A} U_x. Note that it is an arbitrary union of open sets, and so it is open. Immediately, since each Ux⊆AU_x \subseteq A, it follows that O⊆AO \subseteq A. But also, since {Ux}x∈A\{U_x\}_{x \in A} forms a cover for AA, it's true that A⊆OA \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 A⊆Tα\mathcal{A} \subseteq \Tau_\alpha for each α∈A\alpha \in A. Let T′=⋂α∈ATαT' = \bigcap_{\alpha \in A} \Tau_\alpha—we show T=T′T = T'. Of course, T∈{Tα}α∈AT \in \{\Tau_\alpha\}_{\alpha \in A}, and so T′⊆TT' \subseteq T. Now we seek to show T⊆T′T \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 O∈TO \in T. Note A\mathcal{A} is a basis for TT, and so for each x∈Ox \in O, there is some Bx∈AB_x \in \mathcal{A} such that x∈Bx⊆Ox \in B_x \subseteq O. Thus O=⋃x∈OBxO = \bigcup_{x \in O} B_x. But note Bx∈A⊆TαB_x \in \mathcal{A} \subseteq \Tau_\alpha for every x∈Ox \in O, and so the arbitrary union of each BxB_x is in Tα\Tau_\alpha. Thus O∈TαO \in \Tau_\alpha, which completes the proof.

[2.2.17]Problem#

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

Solution.

Let O⊆RO \subseteq \bR be open with respect to the standard topology. Fix x∈Ox \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<b∈Qa < b \in \bQ such that

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

Then note (a,b)=B∈B(a, b) = B \in \mathcal{B}, and thus x∈B⊆(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.