Day 235 · Aug 22

The Mathematics of Distances – Metric Spaces

A metric space is a set with a distance function d(x,y) satisfying: non‑negative, zero only if x=y, symmetric (d(x,y)=d(y,x)), and triangle inequality (d(x,z) ≤ d(x,y)+d(y,z)). The Euclidean plane is a metric space. The taxicab metric (Manhattan distance) is d = |x₁–x₂|+|y₁–y₂|. The discrete metric d(x,y)=1 if x≠y, 0 otherwise. Metrics define convergence, continuity, and compactness – the foundation of real analysis. They allow us to study abstract spaces (function spaces, sequence spaces) that look nothing like ordinary geometry.

In the taxicab metric, what is the ‘unit circle’ (set of points at distance 1 from the origin)? Draw it – it’s a diamond (square rotated 45°).

Practice related topics on DuelMath

Challenge someone →