Ball (mathematics)
From Academic Kids

 A synonym for ball (in geometry or topology, and in any dimension) is disk (or disc); however, a 3dimensional ball is generally called a ball, and a 2dimensional ball (e.g., the interior of a circle in the plane) is generally called a disk.
Contents 
Geometry
In metric geometry, a ball is a set containing all points within a specified distance of a given point.
Examples
With the ordinary (Euclidean) metric, if the space is the line, the ball is an interval, and if the space is the plane, the ball is the disc inside a circle. With other metrics the shape of a ball can be different; for example, in taxicab geometry a ball is diamondshaped.
General definition
Let M be a metric space. The (open) ball of radius r > 0 centred at a point p in M is defined as
 <math>B_r(p) = \{ x \in M \mid d(x,p) < r \},<math>
where d is the distance function or metric. If the lessthan symbol (<) is replaced by a lessthanorequalto (≤), the above definition becomes that of a closed ball:
 <math>{\bar B}_r(p) = \{ x \in M \mid d(x,p) \le r \}<math>.
Note in particular that a ball (open or closed) always includes p itself, since r > 0. A (open or closed) unit ball is a ball of radius 1.
In ndimensional Euclidean space, a closed unit ball is also denoted D^{n}.
Related notions
Open balls with respect to a metric d form a basis for the topology induced by d (by definition). This means, among other things, that all open sets in a metric space can be written as a union of open balls.
A subset of a metric space is bounded if it is contained in a ball. A set is totally bounded if given any radius, it is covered by finitely many balls of that radius.
See also
Topology
In topology, ball has two meanings, with context governing which is meant.
The term (open) ball is sometimes informally used to refer to any open set: one speaks of "a ball about the point p" when one means an open set containing p. What this set is homeomorphic to depends on the ambient space and on the open set chosen. Likewise, closed ball is sometimes used to mean the closure of such an open set. (This can be quite misleading, as e.g. in ultrametric spaces a closed ball is not the closure of the open ball with the same radius, both being simultaneously open and closed sets.) Sometimes, neighborhood (or neighbourhood) is used for this meaning of ball, although neighborhood has a more general meaning: a neighborhood of p is any set containing an open set about p, thus not in general an open set.
Also (and more formally), an (open or closed) ball is a space homeomorphic to the (open or closed) Euclidean ball described above under Geometry, but perhaps lacking its metric. A ball is known by its dimension: an ndimensional ball is called an nball and denoted <math>B^n<math> or <math>D^n<math>. For distinct n and m, an nball is not homeomorphic to an mball. A ball need not be smooth; if it is smooth, it need not be diffeomorphic to the Euclidean ball.