đźŤ© Topological Spaces
Basic Definitions

What is a topology?
A topology on a set X is a collection $\tau$ of subsets of X such that
 $\phi$ and X are in $\tau$.
 The union of the elements of any subcollection of $\tau$ is in $\tau$.
 The intersection of the elements of any finite subcollection of $\tau$ is in $\tau$.

What is a topological space?
A topological space is an ordered pair (X, $\tau$) consisting of a set X and a topology $\tau$ on X.

What is an open set?
If X is a topological space with topology $\tau$, we say that a subset U of X is an open set of X if U belongs to the collection $\tau$, i.e.,
\[U\subseteq X\text{ is open if }U\in\tau\] 
What is a discrete topology?
If X is any set, the collection of all subsets of X (i.e. $\mathcal P(x)$) is a topology on X, it is called the discrete topology on X.

What is an indiscrete topology?
The collection consisting of X and $\phi$ only is a topology on X; it is called the indiscrete topology, or the trivial topology on X.

What are comparable topologies?
Suppose that $\tau$ and $\tauâ€™$ are two topologies on a given set X. If $\tau\subseteq\tauâ€™$ we say that $\tauâ€™$ is finer than $\tau$ or $\tau$ is coarser than $\tauâ€™$. If $\tau\subset\tauâ€™$ we say that $\tauâ€™$ is strictly finer than $\tau$ or $\tau$ is strictly coarser than $\tauâ€™$. We say that $\tau$ is comparable to $\tauâ€™$ if either is contained in the other.
Munkres writes that, â€śThis terminology is suggested by thinking of a topological space as being something like a truckload full of gravelâ€”the pebbles and all unions of collections of pebbles being the open sets. If now we smash the pebbles into smaller ones, the collection of open sets has been enlarged, and the topology, like the gravel, is said to have been made finer by the operation.â€ť
A Couple of Examples of Topologies

Finite Complement Topology (a.k.a. cofinite topology)
Let $X$ be a set, let $\tau_f$ be the collection of all subsets $U$ of $X$ such that $X\setminus U$ either is finite or is all of $X$. Then $\tau_f$ is a topology on $X$, called the finite complement topology.
 Proof
 $X\setminus X=\phi$ is finite. $X\setminus\phi=X$ is all of $X$. Thus, both $X\text{ and }\phi\in\tau_f$.

Consider an indexed subcollection ${T_\alpha}$ of $\tau_f$. Then for any $T_\alpha,\,X\setminus T_\alpha$ is finite. Hence,
\[X\setminus\bigcup_\alpha T_\alpha = \bigcap_\alpha X\setminus T_\alpha\]which is an intersection of finite sets and is thus finite. Therefore, $\bigcup_\alpha T_\alpha\in\tau_f$

Consider a finite indexed subcollection ${T_\alpha}$ of $\tau_f$. Then,
\[X\setminus\bigcap_\alpha T_\alpha = \bigcup_\alpha X\setminus T_\alpha\]which is a finite union of finite sets and is hence finite. Therefore, $\bigcap_\alpha T_\alpha \in\tau_f$.
 Proof

Countable Complement Topology
Let $X$ be a set, let $\tau_c$ be the collection of all subsets $U$ of $X$ such that $X\setminus U$ either is countable or is all of $X$. Then $\tau_c$ is a topology on $X$.
 Proof
 $X\setminus\phi = X$ is all of $X$. $X\setminus X=\phi$ is countable with zero elements. Thus, both $\phi\text{ and }X\in\tau_c$.

Let ${T_\alpha}$ be an indexed subcollection of $\tau_c$. Then, we can write,
\[X\setminus\bigcup_\alpha T_\alpha = \bigcap_\alpha X\setminus T_\alpha\]which is an intersection of countable sets ( $\forall\alpha, \,\,X\setminus T_\alpha\text{ is countable}$ ) and is hence countable.

Let ${T_\alpha}$ be a finite indexed subcollection of $\tau_c$. Then, we can write,
\[X\setminus\bigcap_\alpha T_\alpha = \bigcup_\alpha X\setminus T_\alpha\]which is a finite union of countable sets and is hence countable.
 Proof