Jump to content

Metric space

From Wikibase
Revision as of 10:31, 20 October 2026 by Rongzhou (talk | contribs) (Created page with "A metric space is a space whre distance between points can be measured. == Formal definition == Let $S$ be a set. Function $$ d: S \times S \to \mathbb{R} $$ is a '''metric function''' of $S$ if $$ \begin{cases} d(a,b) \ge 0,\, \forall a,b \in S \text{ (Positive definiteness)} \\ d(a,b) = 0 \iff a=b \text{ (Non-overlay)} \\ d(a,b)=d(b,a),\, \forall a,b \in S \text{ (Symmetry)} \\ d(a,c) \le d(a,b)+d(b,c),\, \forall a,b,c \in S \text{ (Triangle inequality)} \\...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Languages: English · français · Esperanto

A metric space is a space whre distance between points can be measured.

Formal definition

Let $S$ be a set.

Function

$$ d: S \times S \to \mathbb{R} $$

is a metric function of $S$ if

$$ \begin{cases} d(a,b) \ge 0,\, \forall a,b \in S \text{ (Positive definiteness)} \\ d(a,b) = 0 \iff a=b \text{ (Non-overlay)} \\ d(a,b)=d(b,a),\, \forall a,b \in S \text{ (Symmetry)} \\ d(a,c) \le d(a,b)+d(b,c),\, \forall a,b,c \in S \text{ (Triangle inequality)} \\ \end{cases}; $$

In which case $d(a,b)$ is called the distance between $a,b$; $(S,d)$ is a metric space.

[1]