When is the closure of an intersection equal to the intersection of closures?

This extends the answers of hardmath and Brian M. Scott, but completely answers the question.

Spaces satisfying the (seemingly) weaker condition that $\overline{ A \cap B } = \overline{A} \cap \overline{B}$ for all $A , B \subseteq X$ are discrete.

If $A \subseteq X$ is a non-closed set, pick $x \in \overline{A} \setminus A$. Note, then, that $$x \in \overline{ \{ x \} } \cap \overline{A} = \overline{ \{ x \} \cap A } = \overline{ \varnothing } = \varnothing,$$ which is absurd! Therefore all subsets are closed.

As hardmath noted, all discrete spaces satisfy the stronger condition in the OP, and so we have an equivalence of all three notions.

Given a topological space $X$, the following are equivalent:

  1. $\overline{ \bigcap_{i \in I} A_i } = \bigcap_{i \in I} \overline{A_i}$ for all families $\{ A_i \}_{i \in I}$ of subsets of $X$.
  2. $\overline{ A \cap B } = \overline{A} \cap \overline{B}$ for all $A , B \subseteq X$.
  3. $X$ is discrete.

$\newcommand{\cl}{\operatorname{cl}}$There is a very large class of spaces in which it fails. Let $X$ be any space with a non-isolated point $p$ such that the intersection of all nbhds of $p$ is $\{p\}$. Let $\mathscr{N}$ be the set of nbhds of $p$, and for each $N\in\mathscr{N}$ let $N'=N\setminus\{p\}$. Then

$$\bigcap_{N\in\mathscr{N}}\cl N'\supseteq\{p\}\ne\varnothing=\cl\bigcap_{N\in\mathscr{N}}N'\;.$$

This class includes all non-discrete $T_1$ spaces. (In case it isn’t immediately obvious that $p\in\cl N'$ for each $N\in\mathscr{N}$, note that $\mathscr{N}$ is a filter, and $\{p\}\notin\mathscr{N}$, so $N'\cap M\ne\varnothing$ for each $N,M\in\mathscr{N}$.)


It's trivially so if the underlying space has a discrete topology.

In such cases $\overline{A} = A$ for any subset $A$ of the space.