[example: Finite Sets Become Discrete]
Let $X=\{1,2,3\}$. To compute the cofinite topology, list the complements of all subsets of $X$:
\begin{align*}
X\setminus \varnothing=\{1,2,3\}.
\end{align*}
\begin{align*}
X\setminus \{1\}=\{2,3\}, \qquad X\setminus \{2\}=\{1,3\}, \qquad X\setminus \{3\}=\{1,2\}.
\end{align*}
\begin{align*}
X\setminus \{1,2\}=\{3\}, \qquad X\setminus \{1,3\}=\{2\}, \qquad X\setminus \{2,3\}=\{1\}.
\end{align*}
\begin{align*}
X\setminus X=\varnothing.
\end{align*}
Each complement displayed is finite, because each is a subset of the finite set $X$. Therefore every subset of $X$ has finite complement, so every subset of $X$ is open in the cofinite topology:
\begin{align*}
\tau_{\mathrm{cof}}=\{\varnothing,\{1\},\{2\},\{3\},\{1,2\},\{1,3\},\{2,3\},X\}.
\end{align*}
Since the power set $\mathcal{P}(X)$ is exactly the collection of all subsets of $X$, we have
\begin{align*}
\tau_{\mathrm{cof}}=\mathcal{P}(X).
\end{align*}
Thus on this finite set the cofinite topology is the [discrete topology](/page/Discrete%20Topology), so the unusual behaviour of the cofinite topology depends on $X$ being infinite.
[/example]