A ball is a solid shape.
It can be round like a ball. It can be flat like a disk. Some balls look like squares. These shapes fill up space. Do you see any balls? Can you find a round one?
A ball is a solid shape.
It can be round. It can also be flat like a disk. A disk is a ball in a flat space.
Some balls are not round. They can look like squares. They can even look like a diamond shape.
How a ball looks depends on how we measure distance. We can use rules to find the center. Then we find all points near it.
Some balls include their outer edge. Other balls do not.
Shapes like these help us understand space.
In mathematics, a ball is a set of points chosen by their distance from a center. We also choose a radius and a rule for measuring distance.
With ordinary Euclidean distance, a two-dimensional ball is a filled-in disk. A three-dimensional ball is a filled-in round region. A sphere consists of the points exactly one radius from the center, rather than all the points inside.
An open ball contains points whose distance from the center is less than the radius. A closed ball includes points at the radius as well. For example, a point exactly five units from the center is excluded from an open ball of radius five but included in the closed ball.
Changing the distance rule can change the shape. In a flat grid, taxicab distance adds the horizontal and vertical distances. Its balls look like diamonds when drawn on ordinary square axes. The definition still depends on distance, not on looking round.
A mathematical ball is specified by a center, a positive radius and a distance rule, called a metric. An open ball contains points at distance strictly less than the radius. A closed ball uses distance less than or equal to the radius.
In the ordinary Euclidean plane, the closed ball of radius five centered at the origin contains the point (3, 4). Its distance is the square root of 3² + 4², which is five. That point lies on the circle, so the open ball with the same center and radius excludes it. Points inside the circle belong to both balls.
A sphere should not be confused with a ball. In Euclidean three-dimensional space, the sphere is the surface at exactly the chosen radius. A ball also contains interior points. In one dimension, balls are intervals; in two dimensions, they are disks.
A metric need not be Euclidean. For the point (1, 1), Euclidean distance from (0, 0) is the square root of two. Taxicab distance is two because it adds the absolute coordinate changes. The point therefore belongs to the Euclidean open ball of radius two but not the taxicab open ball of radius two.
Statements about a round boundary should be tied to the chosen geometry. The same numerical radius can select different sets under different metrics.
A ball in a metric space is defined by a center c, a radius r greater than zero and a metric d. The open ball consists of points x satisfying d(c, x) < r. The closed ball uses d(c, x) ≤ r. The metric's role is essential: a ball is not defined by a drawing of a round object.
In Euclidean space, balls have familiar forms. They are intervals in one dimension, disks in two and filled spherical regions in three. The corresponding sphere is the set where d(c, x) = r. In Euclidean spaces of positive dimension, it is the boundary of the open and closed balls.
For example, let c = (0, 0) and r = 5 in the Euclidean plane. The point (3, 4) has distance five, so it belongs to the closed ball and sphere but not the open ball. The center belongs to both balls because its distance from itself is zero.
Other metrics change these sets. In the plane, taxicab distance between two points adds the absolute horizontal and vertical differences. Maximum distance takes the larger of those differences. Their balls appear as diamonds and squares, respectively, on the same coordinate grid.
For x = (1, 1) and r = 2, the distances from the origin are √2, 2 and 1 under Euclidean, taxicab and maximum distance. Thus x lies in the Euclidean and maximum-metric open balls, but only in the taxicab closed ball at that radius.
General metric spaces require care with boundary language. An open ball need not have a boundary equal to the set of points at distance exactly r, and the closure of an open ball need not be the whole closed ball. The distance inequalities remain the definitions even when a Euclidean picture is misleading.
🖼️ Images & Media (2)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
Sources for this explanation
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.