Jump to content

Metric: Difference between revisions

From Mathepedia, the mathematical encyclopedia
Line 2: Line 2:


== Definitions ==
== Definitions ==
Let <math>X</math> be a given non-empty set. A metirx on <math>X</math> is a function <math display="block">d: X\times X\to \mathbb{R}</math>,
Let <math>X</math> be a given non-empty set. A metric on <math>X</math> is a function <math display="block">d: X\times X\to \mathbb{R},</math>


that satisfies the following four properties for all <math>x,y,z\in X</math>:
that satisfies the following four properties for all <math>x,y,z\in X</math>:

Revision as of 20:03, 12 June 2026

In mathematics, a metric or distance function is a function that defines a rigorous concept of distance between each pair of elements in a given set. By generalizing the physical concept of distance, metrics allow mathematicians to define topological concepts such as open and closed sets, continuity, convergence, and limits in highly abstract spaces. A set equipped with a metric is called a metric space.

Definitions

Let LaTeX be a given non-empty set. A metric on LaTeX is a function

LaTeX

that satisfies the following four properties for all LaTeX:

  1. Non-negativity: LaTeX
  2. Identity of indiscernibles: LaTeX
  3. Symmetry: LaTeX
  4. Triangle inequality: LaTeX.

Properties

Property.

Non-negativity is implied by the other three properties.

Proof

Let LaTeX. By triangle inequality,

LaTeX
By the identity of indisscernbles, LaTeX. Thus
LaTeX
By symmetry, LaTeX. Thus
Mathepedia render error: ! Package amsmath Error: \begin{align} allowed only in paragraph mode. See the amsmath package documentation for explanation. Type H <return> for immediate help. ... l.9 \begin{align} No pages of output.