Bases and Subspaces
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn to define a topology by a basis instead of listing every open set, check the two conditions a basis must satisfy, and work with the subspace topology, where the ambient space is always part of the question.
The Concept
Section titled “The Concept”Why a basis
Section titled “Why a basis”Listing every open set of is hopeless: there are uncountably many. But every one of them is a union of open intervals, so the intervals determine the whole topology. That is the idea.
A basis for a topology on is a collection such that every open set is a union of members of .
Equivalently, and more usefully in practice: for every open and every , there is a basis element with .
The left panel builds a two-piece open set as a union of overlapping intervals, with the covering computed rather than drawn. Every open subset of can be produced this way, which is what makes the intervals a basis.
Going the other way
Section titled “Going the other way”Usually you have a candidate family and want a topology from it.
A collection of subsets of is a basis for some topology if
- covers : every point lies in some basis element.
- For and , there is with .
Then the topology generated is all unions of basis elements. Condition 2 is weaker than requiring itself to be in , and that flexibility is what makes bases convenient: open intervals satisfy it because the intersection of two intervals is an interval, while open discs in the plane satisfy it even though the intersection of two discs is not a disc.
The standard bases
Section titled “The standard bases”| Space | Basis |
|---|---|
| , standard | open intervals |
| , standard (countable) | intervals with rational endpoints |
| open balls, or open boxes | |
| Metric space | open balls |
| Discrete | singletons |
| , lower limit | half-open intervals |
| Product | products of open sets |
The rational-endpoint basis is worth noticing: it is countable, which makes second countable and is what lets many analysis arguments enumerate cases.
A related notion: a local basis at is a family of neighbourhoods of such that every neighbourhood of contains one of them. In a metric space the balls form a countable local basis, and that is precisely why sequences work so well in metric spaces.
Comparing topologies via bases
Section titled “Comparing topologies via bases”A convenient test: if and only if for every and every basis element containing , there is with .
This is how the lower limit topology is shown to be strictly finer than the standard one: inside any containing you can fit , but inside there is no open interval containing 0.
The subspace topology
Section titled “The subspace topology”If , the subspace topology on is
So the open sets of are exactly the traces of the open sets of . This is the only sensible choice, and it is why a subset of a space is automatically a space.
The right panel of the figure shows the consequence that surprises people: intersecting the ambient open interval with produces a half-open set, which is open in and not open in .
“Open” is never a property of a set by itself. It always means open in a particular space, and forgetting to say which is the most common source of confusion in this material.
What behaves well and what does not
Section titled “What behaves well and what does not”Some properties pass to subspaces automatically, and some do not.
| Property | Inherited by every subspace? |
|---|---|
| Hausdorff | yes |
| Metrizable | yes |
| Second countable | yes |
| Compact | no - only by closed subspaces |
| Connected | no |
| Complete (metric) | no - only by closed subspaces |
A property inherited by all subspaces is called hereditary. Compactness and connectedness are not hereditary, which is why is compact and connected while its subspace is neither.
Closed subspaces are the well-behaved case, and that pattern recurs: a closed subspace of a compact space is compact, and a closed subspace of a complete metric space is complete.
Worked Examples
Section titled “Worked Examples”Example 1: Verify that open intervals form a basis for .
Solution. Condition 1: every real number lies in some interval, for instance ✓
Condition 2: the intersection of two open intervals is either empty or an open interval, so it is itself a basis element and serves as ✓
Answer: a basis. ∎
Example 2: Verify that open discs form a basis for .
Solution. Condition 1 is clear. For condition 2, let . Each disc contains a small disc about , say of radii and , so the disc about of radius lies inside both.
Answer: a basis. ∎
Note the intersection of two discs is not a disc, which is exactly why condition 2 is stated with a containment rather than membership.
Example 3: Show the intervals with rational endpoints form a basis for .
Solution. Given open and , there is containing . By density of , choose rationals and . Then
Answer: a basis, and a countable one. ∎
A countable basis for an uncountable space. This is what second countability means, and it is used constantly in analysis.
Example 4: Find the subspace topology on inside .
Solution. Open sets are intersections with ambient open sets. Taking gives , so the singleton is open in this subspace.
The subspace is therefore disconnected, splitting into the clopen pieces and . ∎
A singleton can be open in a subspace without being open in , which is worth internalizing.
Example 5: Is open in ?
Solution. Yes: , an ambient open set intersected with the subspace.
Is it closed in ? Its complement in is , which equals and is the intersection with a closed set, hence closed. So is open and not closed in .
∎
Example 6: Show the subspace topology on is discrete.
Solution. For any integer ,
so every singleton is open in the subspace, and therefore every subset is.
Answer: discrete. ∎
A discrete subspace of a non-discrete space. The subspace topology can look nothing like the ambient one.
Example 7: Show compactness is not hereditary.
Solution. is compact, as we prove in lesson 10. Its subspace is not: the cover by for has no finite subcover, since any finite collection has a smallest and misses everything below it.
Answer: compact space, non-compact subspace. ∎
Closed subspaces are the exception: a closed subspace of a compact space is always compact, and is not closed in .
Real-World Applications
Section titled “Real-World Applications”Constraint surfaces in robotics. A robot arm’s reachable set is a subspace of its full configuration space, and it inherits its topology. Path planning happens in that subspace, where openness and connectedness may differ from the ambient space.
Manifolds and data. The manifold hypothesis in machine learning says high-dimensional data lies near a low-dimensional subspace, and the subspace topology is what makes local charts and dimensionality reduction meaningful.
Level sets in simulation. A constraint surface such as an isosurface of temperature is studied with its subspace topology, and whether it is connected determines whether a physical region is isolated.
Sampling and second countability. A countable basis is what justifies approximating a continuous space by a countable grid, which every numerical method relies on. Without it, discretization has no guarantee of capturing the topology.
Digital signal spaces. The set of realizable filter coefficients is a subspace of a parameter space, and the design problem is constrained to it. Boundary behaviour differs between the two spaces, which is where marginal stability lives.
Geographic information systems. A region’s boundary is treated differently depending on whether you work in the plane or in the region as its own space, and inconsistent choices produce the classic sliver-polygon errors.
Retrying will remove your ✅ checkmark until you pass again.