Diameter

The supremum of all distances between pairs of points in a set within a metric space.
Diameter

The diameter of a subset AA of a metric space (X,d)(X,d) is

diam(A)=sup{d(x,y):xA, yA}[0,], \operatorname{diam}(A)=\sup\{d(x,y): x\in A,\ y\in A\}\in[0,\infty],

where sup\sup denotes the (and the value may be ++\infty). By convention, diam()=0\operatorname{diam}(\varnothing)=0.

Diameter measures the “size” of a set in a way that is tailored to the ; it is directly tied to the notion of a .

Examples:

  • In (R,)(\mathbb{R},|\cdot|), diam([a,b])=ba\operatorname{diam}([a,b])=b-a for aba\le b.
  • In R2\mathbb{R}^2 with the Euclidean metric, the unit circle has diameter 22.