Open and closed balls

Basic neighborhoods defined by a metric
Open and closed balls

Let (X,d)(X,d) be a , let x0Xx_0\in X, and let r>0r>0.

  • The open ball of center x0x_0 and radius rr is B(x0;r):={xXd(x,x0)<r}. B(x_0;r):=\{x\in X\mid d(x,x_0)<r\}.
  • The closed ball of center x0x_0 and radius rr is B(x0;r):={xXd(x,x0)r}. B'(x_0;r):=\{x\in X\mid d(x,x_0)\le r\}.

Open balls generate the topology of the metric space: a set is iff it contains an open ball around each of its points.

Examples:

  • In R\mathbb{R} with d(x,y)=xyd(x,y)=|x-y|, B(x0;r)=(x0r,x0+r)B(x_0;r)=(x_0-r,x_0+r) and B(x0;r)=[x0r,x0+r]B'(x_0;r)=[x_0-r,x_0+r].
  • In the discrete metric, B(x0;r)={x0}B(x_0;r)=\{x_0\} whenever 0<r10<r\le 1.