Skip to main content

Metric Spaces

functional-analysis
Some notes on metric spaces
Author

Rahul Manavalan

Published

November 22, 2026


Definition

Let \(X\) denote an abstract set and \(d : X \times X \mapsto \mathbb{R}\) denote a bivariate function.

A bivariate function is non-degenerate if for \(x,y \in X\), \(d(x,y) = 0 \iff x = y\).

A bivariate function is symmetric if for \(x,y \in X\), \(d(x,y) = d(y,x)\).

A bivariate function is distance-like if for \(x, y, z \in X\), \(d(x,z) \leq d(x,y) + d(y,z)\).

A bivariate function that is non-degenerate, symmetric and distance-like is called a metric function.

A metric function is a generalized notion of distance on abstract sets \(X\).

The corresponding pair \((X,d)\) is called a metric space.


A metric is non-negative.

\[2 d(x,y) = d(x,y) + d(x,y) = d(x,y) + d(y,x) \geq d(x,x) \geq 0.\]


Definition

Let \(X,d\) denote a metric space. For a point \(x \in X\) and a scalar \(r > 0\), we define the following sets:

\[C_r(x) := \{y \in X : d(x,y) \leq r\}, \quad O_r(x) := \{y \in Y : d(x,y) < r\}.\]

These sets are referred to as closed and open balls of radius \(r\) about the point \(x \in X\).


Definition

Let \(X\) denote a metric space. Let \(U\) denote a subset of \(X\). This set is called open if for all \(x \in U\), there exists a scalar \(\epsilon > 0\) such that \(O_{\epsilon}(x) \subset U\).

Definition

Let \(X\) denote a metric space. Let \(U \subset X\). If for every \(x \in U\) there exists an open set \(O_r\) such that \(O_r \subset U\); then \(U\) is called the neighborhood of \(x\).

Definition

Let \(X\) denote a metric space. Let \(U \subset X\). For \(A \subset U\), the set \(U\) is called the neighborhood of \(A\) if for all \(x \in A\), \(U\) is a neighborhood of \(x\).


Definition

Let \(X\) denote a metric space. For \(A \subset X\), the interior of \(A\) is defined as: \[ \textrm{int} A = \cup_{\{U \subset A : U \textrm{ is open}\}} U. \]

Definition

Let \(X\) denote a metric space. For \(A \subset X, C \subset X\), the closure of \(A\) is defined as: \[ \textrm{cl}(A) := \cap_{\{A \subset C : C \textrm{ is closed.}\}} C. \]


Definition

For any \(A \subset X\), a point \(x \in A\) is called an interior point of \(A\) if \(x \in \textrm{int} A\).

Definition

If \(A \subset X\) and if \(\textrm{cl} A = X\), then \(A\) is dense in \(X\).

Definition

If \(A \subset X\) is countable and \(\textrm{cl} A = X\), then \(X\) is separable.

Using the definitions of interiors and closures, we can define open and closed sets as if for some \(A \subset X\), \(\textrm{int} A = A\) then \(A\) is open. Similarly, if \(\textrm{cl} A = A\) means \(A\) is closed.

Definition

Let \(X\) denote a metric space. For \(A \subset X\), the diameter of this set is defined as: \[ \textrm{diam A} := \sup_{x, y \in A} d(x,y). \] The set \(A\) is bounded if \(\textrm{diam}(A) < \infty\).


Back to top