Topological Spaces
Let be a set. A topology on is a collection of subsets of called the open sets of the topology, that satisfies the topology axioms:
- and
- the union of any collection of sets in is in
- the intersection of finitely many sets in is in
A topological space is a set equipped with a topology and is written when the topology is understood. A set is closed if its complement is open, so arbitrary intersections and finite unions of closed sets are closed. The open sets of a metric space satisfy the axioms, so every metric space is a topological space with the metric topology induced by its metric, and equivalent metrics induce the same topology. The topology in which every subset is open is the discrete topology, induced by the discrete metric, and the topology is the indiscrete topology. A topological space is metrisable if its topology is induced by some metric; the indiscrete topology on a set with more than one point is not metrisable.
Let and be topologies on is finer than and is coarser than if so that the discrete topology is the finest and the indiscrete topology the coarsest topology on
Let and A neighbourhood of is a set that contains an open set containing The interior, limit points, isolated points, closure, boundary and density of are defined as in a metric space with “open ball centred at ” replaced by “neighbourhood of ”, and the interior remains the largest open set in and the closure the smallest closed set containing A sequence converges to if and only if every neighbourhood of contains all but finitely many of its terms.
A basis for a topology is a collection of open sets such that every open set is a union of sets in The open balls form a basis for the metric topology, as do the open balls with rational radii, and the open intervals with rational endpoints form a countable basis for the usual topology on A collection of subsets of is a basis for some topology if and only if it covers and the intersection of any two of its sets is a union of sets in that topology, the topology generated by is the coarsest topology containing
Let The subspace topology on consists of the intersections of with the open sets of and with this topology is a subspace of
A metric subspace carries the subspace topology, and a set that is open in a subspace need not be open in the whole space: is open in the subspace of If is open in then the open sets of the subspace are exactly the open subsets of contained in and likewise for closed sets if is closed.
Let and be topological spaces. The product topology on the Cartesian product is the topology generated by the basis of products of open sets.
The product of finitely many spaces is defined in the same way. The product topology on is the usual topology on and the product of the metric spaces and is metrisable by the product metric which is strongly equivalent to and to A sequence in a product converges if and only if each of its coordinate sequences converges.
Let be a function between topological spaces. is continuous if and only if the inverse image of every open set is open, which for metric spaces agrees with the earlier definition.
Equivalently, the inverse image of every closed set is closed, or the inverse image of every set in a basis for is open. Constant functions, the identity function, the inclusion of a subspace and the coordinate projections and of a product are continuous, a composition of continuous functions is continuous, the restriction of a continuous function to a subspace is continuous and a function into a product is continuous if and only if each of its coordinate functions is. A continuous function maps convergent sequences to convergent sequences, but in a general topological space the converse can fail, so continuity is not determined by sequences alone.
is a homeomorphism if it is a bijection and both and are continuous, in which case and are homeomorphic and induces a bijection between their topologies. A topological property is a property preserved by homeomorphisms, such as being metrisable or having a countable basis; metric properties such as boundedness and completeness are not topological, since is a homeomorphism from the bounded incomplete space onto A continuous bijection need not be a homeomorphism: is a continuous bijection from onto the unit circle whose inverse is discontinuous at A continuous function is an open map if it maps open sets to open sets and a closed map if it maps closed sets to closed sets, and a continuous bijection is a homeomorphism if and only if it is an open map, if and only if it is a closed map.
A topological space is Hausdorff if any two distinct points have disjoint neighbourhoods.
Every metric space is Hausdorff, since and are disjoint when whereas the indiscrete topology on a set with more than one point is not. Subspaces and products of Hausdorff spaces are Hausdorff. In a Hausdorff space finite sets are closed and a convergent sequence has exactly one limit; in the indiscrete topology every sequence converges to every point.