Skip to content

Boundary of a Set

Definition

For a metric space (X,d),(X,d)\text{,} and a subset E⊆X,E \subseteq X\text{,} a point x0x_0 is a boundary point of EE if it's neither an interior nor an exterior point of E.E\text{.} We denote the set of boundary points of EE as ∂E.\partial E\text{.}


Interpretation

The boundary is the dividing line between inside and outside: it consists of the points that EE neither surrounds nor avoids. Relative to EE, every point of XX is of exactly one of three kinds: interior, exterior or boundary.

A shaded region E with a point on its edge and a small ball around it that contains points both inside and outside E, marking it as a boundary point.

Each ball around the point x0x_0 in the figure, however small, contains points of EE and points of X∖EX\setminus E, so no ball fits inside EE and no ball avoids EE. The boundary consists of points that are neither interior nor exterior: ∂E=E‾∖int⁡(E)\partial E=\overline{E}\setminus\operatorname{int}(E), the adherent points that are not interior.

On the unit circle, and at the isolated point p\boldsymbol p, every ball meets both EE and its complement, however small ε\varepsilon is.

The condition is symmetric in EE and its complement, so ∂E=∂(X∖E)\partial E=\partial(X\setminus E). A boundary point may belong to EE or not, and this is what separates the kinds of sets: EE is closed exactly when it contains its whole boundary, and open exactly when it contains none of it.

Boundary points matter in optimization. A global extremum on a domain can lie at an interior point, where a derivative test applies, or at a boundary point, which has to be checked separately.

A common slip is to picture the boundary as a thin curve around the set. It depends on the set and on the metric: in the plane, an isolated point of EE such as p\boldsymbol{p} in the interactive example is a boundary point, while with the discrete metric every set has empty boundary, because the ball of radius 12\tfrac{1}{2} around any point contains only that point.


Key Results

  • A boundary point x0x_0 of EE may or may not be in E.E\text{.}
  • For a boundary point x0x_0 of E,E\text{,} any balls centred at x0x_0 will contain points both inside and outside E.E\text{.}

Examples

  • The boundary of (0,1)(0,1) is {0,1}\{0,1\}. Every neighbourhood around 00 contains points in (0,1)(0,1) and points not in (0,1)(0,1).
  • The boundary of Q\mathbb{Q} in R\mathbb{R} is all of R\mathbb{R}.

Prerequisites

Sources

Aliases: boundary point, frontier, topological boundary Symbols: epsilon, partial, rational numbers, real numbers, subset

Last updated: 20 October 2026 03:02