A closed ball in a metric space (X,d)(X,d) is a set of the form

Bd(x,r)={yX:d(x,y)r},\overline{B}_d(x,r)=\{y\in X : d(x,y)\le r\},

where xXx\in X and r0r\ge 0.

Closed balls are closely related to and are in the .

Examples
  • In (R,)(\mathbb{R},|\cdot|), B(x,r)=[xr,x+r]\overline{B}(x,r)=[x-r,x+r].
  • In the discrete metric on XX, B(x,0)={x}\overline{B}(x,0)=\{x\} and B(x,1)=X\overline{B}(x,1)=X.