Jump to content

Metric

From Mathepedia, the mathematical encyclopedia

Revision as of 20:02, 12 June 2026 by {{GENDER:InfernalAtom683|

Mathepedia render error: ! Extra }, or forgotten $. l.8 '"2} } No pages of output. Transcript written on /var/lib/mathepedia-renderer/cache/mathepedia-cbb0e139328 50b9fe4e18f60e540979921293739af0280a15eb127d1c1c6428f-ifdowe71/diagram.log.

'"7

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 metirx 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.