Created 16 Dec 2024

§1 Basics

We want to formalise our intuition about distances in the real world, and try to generalise.

1.1 Definitions and Examples

Defn. (metric space)

Let XX be any set.

A metric on XX is a function d:X×XRd:X \times X \rightarrow \mathbb{R} such that:

  • d(x,y)0d(x,y) \geq 0, equality iff x=yx=y ("positive semi-definite")
  • d(x,y)=d(y,x)d(x,y) = d(y,x) ("symmetric")
  • d(x,y)+d(y,z)d(x,z)d(x,y) + d(y,z) \geq d(x,z) ("triangle inequality")

We say (X,d)(X,d) is a metric space.

[TODO]