Any
normed vector space with norm \|\cdot\| is also a metric space with the metric d (x,y)= \|x - y\|. In such spaces, an arbitrary ball B_r(y) of points x around a point y with a distance of less than r may be viewed as a scaled (by r) and translated (by y) copy of a
unit ball B_1(0). Such "centered" balls with y=0 are denoted with B(r). The Euclidean balls discussed earlier are an example of balls in a normed vector space.
-norm In a
Cartesian space with the
-norm , that is one chooses some p \geq 1 and defines\left\| x \right\| _p = \left( |x_1|^p + |x_2|^p + \dots + |x_n|^p \right) ^{1/p},Then an open ball around the origin with radius r is given by the set B(r) = \left\{ x \in \R^n \,:\left\| x \right\| _p = \left( |x_1|^p + |x_2|^p + \dots + |x_n|^p \right) ^{1/p} For , in a 2-dimensional plane \R^2, "balls" according to the -norm (often called the
taxicab or
Manhattan metric) are bounded by squares with their
diagonals parallel to the coordinate axes; those according to the -norm, also called the
Chebyshev metric, have squares with their
sides parallel to the coordinate axes as their boundaries. The -norm, known as the Euclidean metric, generates the well known disks within circles, and for other values of , the corresponding balls are areas bounded by
Lamé curves (hypoellipses or hyperellipses). For , the -balls are within octahedra with axes-aligned
body diagonals, the -balls are within cubes with axes-aligned
edges, and the boundaries of balls for with are
superellipsoids. generates the inner of usual spheres. Often can also consider the case of p = \infty in which case we define \lVert x \rVert_\infty = \max\{\left|x_1\right|, \dots, \left|x_n\right|\}
General convex norm More generally, given any
centrally symmetric,
bounded,
open, and
convex subset of , one can define a
norm on where the balls are all translated and uniformly scaled copies of . 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 . ==In topological spaces==