# Ball (mathematics)

(Redirected from Open ball)
"N-ball" redirects here. For the video game, see N-ball (game).
In Euclidean space, A ball is the inside of a sphere

In mathematics, a ball is the space inside a sphere. It may be a closed ball (including the boundary points of the sphere) or an open ball (excluding them).

These concepts are defined not only in three-dimensional Euclidean space but also for lower and higher dimensions, and for metric spaces in general. A ball in n dimensions is called an n-ball and is bounded by an (n-1)-sphere. Thus, for example, a ball in the Euclidean plane is the same thing as a disk, the area bounded by a circle. In Euclidean 3-space, a ball is taken to be the volume bounded by a 2-dimensional spherical shell boundary.

In other contexts, such as in Euclidean geometry and informal use, sphere is sometimes used to mean ball.

## Balls in Euclidean space

In Euclidean n-space, an (open) n-ball of radius r and center x is the set of all points of distance < r from x. A closed n-ball of radius r is the set of all points of distance ≤ r away from x.

In Euclidean n-space, every ball is the interior of a hypersphere (a hyperball), that is a bounded interval when n = 1, the interior of a circle (a disk) when n = 2, and the interior of a sphere when n = 3.

### The volume

Main article: Volume of an n-ball

The n-dimensional volume of a Euclidean ball of radius R in n-dimensional Euclidean space is:[1]

$V_n(R) = \frac{\pi^{n/2}}{\Gamma(\frac{n}{2} + 1)}R^n,$

where Γ is Leonhard Euler's gamma function (which can be thought of as an extension of the factorial function to fractional arguments). Using explicit formulas for particular values of the gamma function at the integers and half integers gives formulas for the volume of a Euclidean ball that do not require an evaluation of the gamma function. These are:

$V_{2k}(R) = \frac{\pi^k}{k!}R^{2k},$
$V_{2k+1}(R) = \frac{2^{k+1}\pi^k}{(2k+1)!!}R^{2k+1} = \frac{2(k!)(4\pi)^k}{(2k+1)!}R^{2k+1}.$

In the formula for odd-dimensional volumes, the double factorial (2k + 1)!! is defined for odd integers 2k + 1 as (2k + 1)!! = 1 · 3 · 5 ··· (2k − 1) · (2k + 1).

## Balls in general metric spaces

Let (M,d) be a metric space, namely a set M with a metric (distance function) d. The open (metric) ball of radius r > 0 centered at a point p in M, usually denoted by Br(p) or B(pr), is defined by

$B_r(p) \triangleq \{ x \in M \mid d(x,p) < r \}.$

The closed (metric) ball, which may be denoted by Bt[p] or B[pr], is defined by

$B_r[p] \triangleq \{ x \in M \mid d(x,p) \le r \}.$

Note in particular that a ball (open or closed) always includes p itself, since the definition requires r > 0.

The closure of the open ball Br(p) is usually denoted $\overline{ B_r(p) }$. While it is always the case that $B_r(p) \subseteq \overline{ B_r(p) }$ and $\overline{ B_r(p) } \subseteq B_r[p]$, it is not always the case that $\overline{ B_r(p) } = B_r[p]$. For example, in a metric space X with the discrete metric, one has $\overline{B_1(p)} = \{p\}$ and $B_1[p] = X$, for any $p \in X$.

A (open or closed) unit ball is a ball of radius 1.

A subset of a metric space is bounded if it is contained in some ball. A set is totally bounded if, given any positive radius, it is covered by finitely many balls of that radius.

The open balls of a metric space are a basis for a topological space, whose open sets are all possible unions of open balls. This space is called the topology induced by the metric d.

## Balls in normed vector spaces

Any normed vector space V with norm |·| is also a metric space, with the metric d(xy) = |x − y|. In such spaces, every ball Br(p) is a copy of the unit ball B1(0), scaled by r and translated by p.

The Euclidean balls discussed earlier are an example of balls in a normed vector space.

### p-norm

In Cartesian space $\R^n$ with the p-norm Lp, an open ball, is the set

$B(r) = \left\{ x \in \R^n \,:\, \sum_{i=1}^n \left|x_i\right|^p < r^p \right\}.$

For n=2, in particular, the balls of L1 (often called the taxicab or Manhattan metric) are squares with the diagonals parallel to the coordinate axes; those of L (the Chebyshev metric) are squares with the sides parallel to the coordinate axes. For other values of p, the balls are the interiors of Lamé curves (hypoellipses or hyperellipses).

For n = 3, the balls of L1 are octahedra with axis-aligned body diagonals, those of L are cubes with axis-aligned edges, and those of Lp with p > 2 are superellipsoids.

### General convex norm

More generally, given any centrally symmetric, bounded, open, and convex subset X of Rn, one can define a norm on Rn where the balls are all translated and uniformly scaled copies of X. Note this theorem does not hold if "open" subset is replaced by "closed" subset, because the origin point qualifies but does not define a norm on Rn.

## Topological balls

One may talk about balls in any topological space X, not necessarily induced by a metric. An (open or closed) n-dimensional topological ball of X is any subset of X which is homeomorphic to an (open or closed) Euclidean n-ball. Topological n-balls are important in combinatorial topology, as the building blocks of cell complexes.

Any open topological n-ball is homeomorphic to the Cartesian space Rn and to the open unit n-cube (hypercube) $(0,1)^n \subseteq \R^n$. Any closed topological n-ball is homeomorphic to the closed n-cube [0, 1]n.

An n-ball is homeomorphic to an m-ball if and only if n = m. The homeomorphisms between an open n-ball B and Rn can be classified in two classes, that can be identified with the two possible topological orientations of B.

A topological n-ball need not be smooth; if it is smooth, it need not be diffeomorphic to a Euclidean n-ball.