Definition

For nonempty compact subsets A,BA,B of a (X,d)(X,d), their Hausdorff distance is

dH(A,B)=max{supaAd(a,B),supbBd(b,A)},d_H(A,B)=\max\left\{ \sup_{a\in A}d(a,B),\qquad \sup_{b\in B}d(b,A) \right\},

where d(x,C)=infcCd(x,c)d(x,C)=\inf_{c\in C}d(x,c).

Neighborhood form

Equivalently,

dH(A,B)=inf{ε>0:ABε and BAε}.d_H(A,B)=\inf\{\varepsilon>0: A\subseteq B_\varepsilon\text{ and }B\subseteq A_\varepsilon\}.

On the nonempty compact subsets of XX, this is a genuine metric. For more general closed unbounded subsets it may be infinite.

Convex bodies

On in a finite-dimensional , the topology induced by dHd_H does not depend on the chosen . Under a fixed norm it agrees with of on the dual unit sphere.

References
  1. Dmitri Burago, Yuri Burago, and Sergei Ivanov, A Course in Metric Geometry, AMS, 2001. DOI record. Relevant: §7.3.
  2. Rolf Schneider, Convex Bodies: The Brunn–Minkowski Theory, 2nd ed., Cambridge University Press, 2014. DOI record. Relevant: §1.8.