Section 2.3 Metric spaces
Abstract topologies can be very... abstract. The concept of topology, though, was actually inspired by a much more intuitive structure, called metric space, that generalizes what one sees on the real line.Definition 2.3.1. Metric space.
A metric space is a set \(M\) endowed with a function \(d:M\times M\to[0,\infty)\) such that:- \(d(x,y)=0\) if and only if \(x=y\)
- \(d(x,y)=d(y,x)\) for all \(x,y\in M\text{;}\)
- \(d(x,z)\leq d(x,y)+d(y,z)\) for all \(x,y,z\in M\)
