Alphabeta Math
DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-26
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Open ball, closed ball and sphere in a metric space

Definition

Let (X,d) be a metric space (Metric space: d(x,y)=0 iff x=y, symmetry, and the triangle inequality; pseudometric and ultrametric), let x∈X and let r∈R with r>0 (Order on the reals). Define

B(x,r):={ y∈X:d(x,y)<r },Bˉ(x,r):={ y∈X:d(x,y)≤r },S(x,r):={ y∈X:d(x,y)=r }.

B(x,r) is the open ball, Bˉ(x,r) the closed ball and S(x,r) the sphere of centre x and radius r. The radius is always a strictly positive real; a ball of radius 0 or of negative radius is never written in this library.

Immediate consequences of the definitions. For every x∈X and r>0:

  • x∈B(x,r), because d(x,x)=0<r (axiom (M1) of Metric space: d(x,y)=0 iff x=y, symmetry, and the triangle inequality; pseudometric and ultrametric); in particular open and closed balls are nonempty.
  • B(x,r)⊆Bˉ(x,r) and S(x,r)⊆Bˉ(x,r), and Bˉ(x,r) is the disjoint union of B(x,r) and S(x,r), by trichotomy of the order of R (Complete ordered field (least-upper-bound property), Ordered field): each y satisfies exactly one of d(x,y)<r, d(x,y)=r, d(x,y)>r.
  • If 0<s≤r then B(x,s)⊆B(x,r) and Bˉ(x,s)⊆Bˉ(x,r), by transitivity of the order.
  • Nonnegativity of the metric (Nonnegativity of a metric is a consequence of the other axioms, not an axiom) is what forces the radius convention, and it forces it for the open ball only: if r≤0 then B(x,r)={y:d(x,y)<r} is empty, because d(x,y)≥0≥r for every y. The other two sets behave differently at r=0, and the convention r>0 excludes them for uniformity rather than for emptiness: Bˉ(x,0)=S(x,0)={x}, since d(x,y)≤0 together with d(x,y)≥0 gives d(x,y)=0 and hence y=x by (M1). For r<0 all three sets are empty.

A sphere may be empty, and so the three sets are not on a par. For r>0 the open and closed balls always contain x, but nothing in the definition produces a point at distance exactly r from x. If a metric takes only the values 0 and 1, as the discrete metric on the companion page does, then S(x,2)=∅ while B(x,2)=Bˉ(x,2) is the whole space. So nonemptiness of a sphere is never available by convention: where it is used, it is proved.

The ambient space is part of the notation. B(x,r) depends on (X,d) and not on x and r alone. When more than one space or more than one metric is in play we write BX(x,r), or Bd(x,r), and likewise for Bˉ and S. This matters as soon as subspaces appear (Isometry, isometric embedding, and the subspace metric on a subset): a ball of a subspace is the trace on it of a ball of the ambient space, and the two are different sets.

Remarks

Depends on

Used by

…and 173 more results.

Dependency tree · two levels

11 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources