Metric Spaces
Metrics
Definition 1.1 · Metric & Pseudometric
A metric on a set $X$ is a function $d\colon X\times X\to[0,\infty)$ such that for all $x,y,z\in X$,
- $d(x,x)=0$
- $d(x,y) = 0$ implies $x=y$
- $d(x,y) = d(y,x) \hspace{3 cm}$ (symmetry)
- $d(x,z) \le d(x,y) + d(y,z). \quad \quad$ ($\triangle$-inequality)
If $d$ satisfies every axiom but the second, it is called a pseudometric.
Referenced in: Definition 1.2
Definition 1.2 · Metric Space
A metric space is a pair $(X,d)$ comprised by a set $X$ and a metric on $X$ $d : X \times X \to [0,\infty)$.
Proposition 1.3 · Metric topology
The open balls $B(x,r)=\{y : d(x,y)<r\}$ form a basis for a topology on $X$, in the sense of Definition 1.1 (Topological Spaces, Continuous Maps, and Compactness).
Example 1.4
On $\mathbb{R}^n$, the Euclidean metric gives the usual topology, and by Theorem 1.3 (Topological Spaces, Continuous Maps, and Compactness), compositions of continuous maps between Euclidean spaces are continuous.