Canonical: https://knowlpedia.com/topology/topological-space/

# Topological space

A set equipped with a topology, specifying which subsets are open.

A **topological space** is a pair \((X,\mathcal T)\), where \(X\) is a [set](https://knowlpedia.com/shared-foundations/set/) and \(\mathcal T\) is a collection of [subsets](https://knowlpedia.com/shared-foundations/subset/) of \(X\), satisfying:

1. **Empty set and whole space:** \(\varnothing,X\in\mathcal T\).
2. **Arbitrary unions:** the union of any collection of members of \(\mathcal T\) belongs to \(\mathcal T\).
3. **Finite intersections:** the intersection of finitely many members of \(\mathcal T\) belongs to \(\mathcal T\).

The collection \(\mathcal T\) is the [topology](https://knowlpedia.com/topology/topology/) of the space.

## Constructions

Here \(\mathcal{P}(X)\) denotes the [power set](https://knowlpedia.com/shared-foundations/power-set/) of \(X\), and the members of \(\mathcal{T}\) are the [open sets](https://knowlpedia.com/topology/open-set/) (whose complements are the [closed sets](https://knowlpedia.com/topology/closed-set/)). Many standard constructions—such as the [subspace topology](https://knowlpedia.com/topology/subspace-topology/), [product topology](https://knowlpedia.com/topology/product-topology/), and [quotient topology](https://knowlpedia.com/topology/quotient-topology/)—produce new topological spaces from existing ones.

## Examples

- \(\mathbb{R}\) with its usual topology (open sets are unions of open intervals).
- Any set \(X\) with the discrete topology \(\mathcal{T}=\mathcal{P}(X)\).
- Any [metric space](https://knowlpedia.com/topology/metric-space/) \((X,d)\), using the [topology induced by the metric](https://knowlpedia.com/topology/metric-induced-topology/).
