# Unit sphere

In mathematics, a unit sphere is the set of points of distance 1 from a fixed central point, where a generalized concept of distance may be used; a closed unit ball is the set of points of distance less than or equal to 1 from a fixed central point. Usually a specific point has been distinguished as the origin of the space under study and it is understood that a unit sphere or unit ball is centered at that point. Therefore, one speaks of "the" unit ball or "the" unit sphere.

For example, a one-dimensional sphere is the surface of what is commonly called a "circle", while such a circle's interior and surface together are the two-dimensional ball. Similarly, a two-dimensional sphere is the surface of the Euclidean solid known colloquially as a "sphere", while the interior and surface together are the three-dimensional ball.

A unit sphere is simply a sphere of radius one. The importance of the unit sphere is that any sphere can be transformed to a unit sphere by a combination of translation and scaling. In this way the properties of spheres in general can be reduced to the study of the unit sphere.

## Unit spheres and balls in Euclidean space

In Euclidean space of n dimensions, the (n−1)-dimensional unit sphere is the set of all points $(x_{1},\ldots ,x_{n})$ which satisfy the equation

$x_{1}^{2}+x_{2}^{2}+\cdots +x_{n}^{2}=1.$ The n-dimensional open unit ball is the set of all points satisfying the inequality

$x_{1}^{2}+x_{2}^{2}+\cdots +x_{n}^{2}<1,$ and the n-dimensional closed unit ball is the set of all points satisfying the inequality

$x_{1}^{2}+x_{2}^{2}+\cdots +x_{n}^{2}\leq 1.$ ### General area and volume formulas

The classical equation of a unit sphere is that of the ellipsoid with a radius of 1 and no alterations to the x-, y-, or z- axes:

$f(x,y,z)=x^{2}+y^{2}+z^{2}=1$ The volume of the unit ball in n-dimensional Euclidean space, and the surface area of the unit sphere, appear in many important formulas of analysis. The volume of the unit ball in n dimensions, which we denote Vn, can be expressed by making use of the gamma function. It is

$V_{n}={\frac {\pi ^{n/2}}{\Gamma (1+n/2)}}={\begin{cases}{\pi ^{n/2}}/{(n/2)!}&\mathrm {if~} n\geq 0\mathrm {~is~even,} \\~\\{\pi ^{\lfloor n/2\rfloor }2^{\lceil n/2\rceil }}/{n!!}&\mathrm {if~} n\geq 0\mathrm {~is~odd,} \end{cases}}$ where n!! is the double factorial.

The hypervolume of the (n1)-dimensional unit sphere (i.e., the "area" of the boundary of the n-dimensional unit ball), which we denote An, can be expressed as

$A_{n}=nV_{n}={\frac {n\pi ^{n/2}}{\Gamma (1+n/2)}}={\frac {2\pi ^{n/2}}{\Gamma (n/2)}}\,,$ where the last equality holds only for n > 0.

The surface areas and the volumes for some values of $n$ are as follows:

$n$ $A_{n}$ (surface area) $V_{n}$ (volume)
0 $0(1/0!)\pi ^{0}$ 0$(1/0!)\pi ^{0}$ 1
1 $1(2^{1}/1!!)\pi ^{0}$ 2$(2^{1}/1!!)\pi ^{0}$ 2
2 $2(1/1!)\pi ^{1}=2\pi$ 6.283$(1/1!)\pi ^{1}=\pi$ 3.141
3 $3(2^{2}/3!!)\pi ^{1}=4\pi$ 12.57$(2^{2}/3!!)\pi ^{1}=(4/3)\pi$ 4.189
4 $4(1/2!)\pi ^{2}=2\pi ^{2}$ 19.74$(1/2!)\pi ^{2}=(1/2)\pi ^{2}$ 4.935
5 $5(2^{3}/5!!)\pi ^{2}=(8/3)\pi ^{2}$ 26.32$(2^{3}/5!!)\pi ^{2}=(8/15)\pi ^{2}$ 5.264
6 $6(1/3!)\pi ^{3}=\pi ^{3}$ 31.01$(1/3!)\pi ^{3}=(1/6)\pi ^{3}$ 5.168
7 $7(2^{4}/7!!)\pi ^{3}=(16/15)\pi ^{3}$ 33.07$(2^{4}/7!!)\pi ^{3}=(16/105)\pi ^{3}$ 4.725
8 $8(1/4!)\pi ^{4}=(1/3)\pi ^{4}$ 32.47$(1/4!)\pi ^{4}=(1/24)\pi ^{4}$ 4.059
9 $9(2^{5}/9!!)\pi ^{4}=(32/105)\pi ^{4}$ 29.69$(2^{5}/9!!)\pi ^{4}=(32/945)\pi ^{4}$ 3.299
10 $10(1/5!)\pi ^{5}=(1/12)\pi ^{5}$ 25.50$(1/5!)\pi ^{5}=(1/120)\pi ^{5}$ 2.550

where the decimal expanded values for n  2 are rounded to the displayed precision.

#### Recursion

The An values satisfy the recursion:

$A_{0}=0$ $A_{1}=2$ $A_{2}=2\pi$ $A_{n}={\frac {2\pi }{n-2}}A_{n-2}$ for $n>2$ .

The Vn values satisfy the recursion:

$V_{0}=1$ $V_{1}=2$ $V_{n}={\frac {2\pi }{n}}V_{n-2}$ for $n>1$ .

#### Fractional dimensions

The formulae for An and Vn can be computed for any real number n  0, and there are circumstances under which it is appropriate to seek the sphere area or ball volume when n is not a non-negative integer.

The surface area of an (n1)-dimensional sphere with radius r is An rn1 and the volume of an n-dimensional ball with radius r is Vn rn. For instance, the area is A = 4πr2 for the surface of the three-dimensional ball of radius r. The volume is V = 4πr3 / 3 for the three-dimensional ball of radius r.

## Unit balls in normed vector spaces

More precisely, the open unit ball in a normed vector space $V$ , with the norm $\|\cdot \|$ , is

$\{x\in V:\|x\|<1\}$ It is the interior of the closed unit ball of (V,||·||):

$\{x\in V:\|x\|\leq 1\}$ The latter is the disjoint union of the former and their common border, the unit sphere of (V,||·||):

$\{x\in V:\|x\|=1\}$ The 'shape' of the unit ball is entirely dependent on the chosen norm; it may well have 'corners', and for example may look like [1,1]n, in the case of the max-norm in Rn. One obtains a naturally round ball as the unit ball pertaining to the usual Hilbert space norm, based in the finite-dimensional case on the Euclidean distance; its boundary is what is usually meant by the unit sphere.

Let $x=(x_{1},...x_{n})\in \mathbb {R} ^{n}.$ Define the usual $\ell _{p}$ -norm for p 1 as:

$\|x\|_{p}=(\sum _{k=1}^{n}|x_{k}|^{p})^{1/p}$ Then $\|x\|_{2}$ is the usual Hilbert space norm. $\|x\|_{1}$ is called the Hamming norm, or $\ell _{1}$ -norm. The condition p 1 is necessary in the definition of the $\ell _{p}$ norm, as the unit ball in any normed space must be convex as a consequence of the triangle inequality. Let $\|x\|_{\infty }$ denote the max-norm or $\ell _{\infty }$ -norm of x.

Note that for the circumferences $C_{p}$ of the two-dimensional unit balls (n=2), we have:

$C_{1}=4{\sqrt {2}}$ is the minimum value.
$C_{2}=2\pi \,.$ $C_{\infty }=8$ is the maximum value.

## Generalizations

### Metric spaces

All three of the above definitions can be straightforwardly generalized to a metric space, with respect to a chosen origin. However, topological considerations (interior, closure, border) need not apply in the same way (e.g., in ultrametric spaces, all of the three are simultaneously open and closed sets), and the unit sphere may even be empty in some metric spaces.

If V is a linear space with a real quadratic form F:V → R, then { p ∈ V : F(p) = 1 } may be called the unit sphere or unit quasi-sphere of V. For example, the quadratic form $x^{2}-y^{2}$ , when set equal to one, produces the unit hyperbola which plays the role of the "unit circle" in the plane of split-complex numbers. Similarly, quadratic form x2 yields a pair of lines for the unit sphere in the dual number plane.