Let (X,d)(X,d) be a metric space and let EXE\subset X.

The closure of EE, denoted E\overline{E}, is defined as

E:={FXF is closed and EF}.\overline{E}:=\bigcap\{\,F\subset X \mid F \text{ is closed and } E\subset F\,\}.
Equivalent characterizations

Equivalently, E\overline{E} is the smallest containing EE.

Remarks

A useful pointwise characterization is given by , and in metric spaces there is also a sequence characterization (see ).

Examples
  • In R\mathbb{R}, (0,1)=[0,1]\overline{(0,1)}=[0,1].
  • If EE is closed, then E=E\overline{E}=E.
  • If EE is dense in XX (e.g., Q\mathbb{Q} in R\mathbb{R}), then E=X\overline{E}=X.