Inmathematics, aball is thesolid figure bounded by asphere; it is also called asolid sphere.[1] It may be aclosed ball (including theboundary points that constitute the sphere) or anopen ball (excluding them).
In other contexts, such as inEuclidean geometry and informal use,sphere is sometimes used to meanball. In the field oftopology the closed-dimensional ball is often denoted as or while the open-dimensional ball is or.
In Euclideann-space, an (open)n-ball of radiusr and centerx is the set of all points of distance less thanr fromx. A closedn-ball of radiusr is the set of all points of distance less than or equal tor away fromx.
In Euclideann-space, every ball is bounded by ahypersphere. The ball is a boundedinterval whenn = 1, is adisk bounded by acircle whenn = 2, and is bounded by asphere whenn = 3.
Then-dimensional volume of a Euclidean ball of radiusr inn-dimensional Euclidean space is given by[2]where Γ isLeonhard Euler'sgamma function (which can be thought of as an extension of thefactorial function to fractional arguments). Using explicit formulas forparticular 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:
In the formula for odd-dimensional volumes, thedouble factorial(2k + 1)!! is defined for odd integers2k + 1 as(2k + 1)!! = 1 ⋅ 3 ⋅ 5 ⋅ ⋯ ⋅ (2k − 1) ⋅ (2k + 1).
The surface area of an n-ball (an (n-1)-sphere) is:
Let(M,d) be ametric space, namely a setM with ametric (distance function)d, and let be a positive real number. The open (metric)ball of radiusr centered at a pointp inM, usually denoted byBr(p) orB(p;r), is defined the same way as a Euclidean ball, as the set of points inM of distance less thanr away fromp,
Theclosed (metric) ball, sometimes denotedBr[p] orB[p;r], is likewise defined as the set of points of distance less than or equal tor away fromp,
In particular, a ball (open or closed) always includesp itself, since the definition requiresr > 0. Aunit ball (open or closed) is a ball of radius 1.
A subset of a metric space isbounded if it is contained in some ball. A set istotally bounded if, given any positive radius, it is covered by finitely many balls of that radius.
The open balls of ametric space can serve as abase, giving this space atopology, the open sets of which are all possibleunions of open balls. This topology on a metric space is called thetopology induced by the metricd.
Let denote theclosure of the open ball in this topology. While it is always the case that it isnot always the case that For example, in a metric space with thediscrete metric, one has but for any
Anynormed vector spaceV with norm is also a metric space with the metric In such spaces, an arbitrary ball of points around a point with a distance of less than may be viewed as a scaled (by) and translated (by) copy of aunit ball Such "centered" balls with are denoted with
The Euclidean balls discussed earlier are an example of balls in a normed vector space.
In aCartesian spaceRn with thep-normLp, that is one chooses some and definesThen an open ball around the origin with radius is given by the setForn = 2, in a 2-dimensional plane, "balls" according to theL1-norm (often called thetaxicab orManhattan metric) are bounded by squares with theirdiagonals parallel to the coordinate axes; those according to theL∞-norm, also called theChebyshev metric, have squares with theirsides parallel to the coordinate axes as their boundaries. TheL2-norm, known as the Euclidean metric, generates the well known disks within circles, and for other values ofp, the corresponding balls are areas bounded byLamé curves (hypoellipses or hyperellipses).
Forn = 3, theL1-balls are within octahedra with axes-alignedbody diagonals, theL∞-balls are within cubes with axes-alignededges, and the boundaries of balls forLp withp > 2 aresuperellipsoids.p = 2 generates the inner of usual spheres.
Often can also consider the case of in which case we define
More generally, given anycentrally symmetric,bounded,open, andconvex subsetX ofRn, one can define anorm onRn 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.
One may talk about balls in anytopological spaceX, not necessarily induced by a metric. An (open or closed)n-dimensionaltopological ball ofX is any subset ofX which ishomeomorphic to an (open or closed) Euclideann-ball. Topologicaln-balls are important incombinatorial topology, as the building blocks ofcell complexes.
Any open topologicaln-ball is homeomorphic to the Cartesian spaceRn and to the openunitn-cube (hypercube)(0, 1)n ⊆Rn. Any closed topologicaln-ball is homeomorphic to the closedn-cube[0, 1]n.
Ann-ball is homeomorphic to anm-ball if and only ifn =m. The homeomorphisms between an openn-ballB andRn can be classified in two classes, that can be identified with the two possibletopological orientations of B.
A topologicaln-ball need not besmooth; if it is smooth, it need not bediffeomorphic to a Euclideann-ball.