Examples of topological spaces

Metric space

Let $(X,d)$ be a metric space. $(X,\tau)$ is a topological space with $\tau$ being the metric topology.

Discrete topology

Let $X$ be any set. $\tau = \mathcal{P}(X) = \set{\text{all subsets of }X}$ is the discrete topology.

Indiscrete topology

Let $X$ be any set. $\tau = \set{\emptyset, X}$ is the indiscrete topology.

Cofinite topology

Let $X$ be any set. $\tau = \sb{A\subseteq X}{X=\emptyset\text{ or } X\setminus A\text{ is finite}}$ is the cofinite topology.