Definition · applies to points · also called

Undergraduate

Consider a set $X$. The discrete metric on $X$ is the metric $d$ such that $d(p, q) = 1$ for $p \neq q$ and $d(p, p) = 0$.

Examples

Worked examples

Examples

Properties

  • The discrete metric does not come from a norm, even on $\reals^n$, because $d(2p, 0) = 1 = d(p, 0)$ for every $p \neq 0$, so it does not scale.
  • In the discrete metric, every set is open, and a sequence converges only if it is eventually constant.

Distinctions involving this term

All definitions · All distinctions · All examples