Metric space

A set equipped with a metric, used to define limits and continuity abstractly.
Metric space

A metric space is a pair (X,d)(X,d) where XX is a and dd is a on XX, i.e. a function d:X×X[0,)d:X\times X\to[0,\infty) satisfying positive definiteness, symmetry, and the triangle inequality.

Metric spaces generalize and provide the setting for “analysis without coordinates.” Many results in real analysis extend to general metric spaces once stated in terms of dd.

Examples:

  • (R,xy)(\mathbb{R},|x-y|) is a metric space.
  • (Rk,xy2)(\mathbb{R}^k,\|x-y\|_2) is a metric space.
  • Any set XX with the discrete metric is a metric space in which every subset is open.