In mathematics, an n-sphere is a generalization of the surface of an ordinary sphere to arbitrary dimension. For any natural number n, an n-sphere of radius r is defined as the set of points in (n + 1)-dimensional Euclidean space which are at distance r from a central point, where the radius r may be any positive real number. In symbols:
It is an n-dimensional manifold in Euclidean (n + 1)-space. In particular, a 0-sphere is a pair of points that are the ends of a line segment, a 1-sphere is a circle in the plane, and a 2-sphere is an ordinary sphere in three-dimensional space. Spheres of dimension n > 2 are sometimes called hyperspheres, with 3-spheres sometimes known as glomes. The n-sphere of unit radius centered at the origin is called the unit n-sphere, denoted Sn. The unit n-sphere is often referred to as the n-sphere. An n-sphere is the surface or boundary of an (n + 1)-dimensional ball, and is an n-dimensional manifold. For n ≥ 2, the n-spheres are the simply connected n-dimensional manifolds of constant, positive curvature. The n-spheres admit several other topological descriptions: for example, they can be constructed by gluing two n-dimensional Euclidean spaces together, by identifying the boundary of an n-cube with a point, or (inductively) by forming the suspension of an (n − 1)-sphere.
Contents |
For any natural number n, an n-sphere of radius r is defined as the set of points in (n + 1)-dimensional Euclidean space that are at distance r from some fixed point c, where r may be any positive real number and where c may be any point in (n + 1)-dimensional space. In particular:
The set of points in (n + 1)-space: (x1,x1,x2,…,xn+1) that define an n-sphere, (Sn) is represented by the equation:
where c is a center point, and r is the radius.
The above n-sphere exists in (n + 1)-dimensional Euclidean space and is an example of an n-manifold. The volume form ω of an n-sphere of radius r is given by
where * is the Hodge star operator; see Flanders (1989, §6.1) for a discussion and proof of this formula in the case r = 1. As a result,
The space enclosed by an n-sphere is called an (n + 1)-ball. An (n + 1)-ball is closed if it includes the n-sphere, and it is open if it does not include the n-sphere.
Specifically:
Topologically, an n-sphere can be constructed as a one-point compactification of n-dimensional Euclidean space. Briefly, the n-sphere can be described as , which is n-dimensional Euclidean space plus a single point representing infinity in all directions. In particular, if a single point is removed from an n-sphere, it becomes homeomorphic to . This forms the basis for stereographic projection. [1]
The -volume of an -sphere of radius or, equivalently, the surface area of an -ball of radius is:
The -volume of a -ball of radius :
The 1-sphere of radius R is the circle of radius R in the Euclidean plane, and this has circumference (1-dimensional measure)
The region enclosed by the 1-sphere is the 2-ball, or disk of radius R, and this has area (2-dimensional measure)
Analogously, in 3-dimensional Euclidean space, the surface area (2-dimensional measure) of the 2-sphere of radius R is given by
and the volume enclosed is the volume (3-dimensional measure) of the 3-ball, and is given by
In general, the volume, in n-dimensional Euclidean space, of the n-ball of radius R is proportional to the nth power of the R:
where the constant of proportionality, the volume of the unit n-ball, is given by
where is the gamma function. For even n, this reduces to
and since
for odd n,
where denotes the double factorial.
The "surface area", or properly the (n − 1)-dimensional volume, of the (n−1)-sphere at the boundary of the n-ball is
The following relationships hold between the n-spherical surface area and volume:
This leads to the recurrence relations:
The recurrence relation for can be proved via integration with 2-dimensional polar coordinates:
We may define a coordinate system in an n-dimensional Euclidean space which is analogous to the spherical coordinate system defined for 3-dimensional Euclidean space, in which the coordinates consist of a radial coordinate, and n − 1 angular coordinates where ranges over radians (or over [0, 360) degrees) and the other angles range over radians (or over [0, 180] degrees). If are the Cartesian coordinates, then we may compute from with:
Except in the special cases described below, the inverse transformation is unique:
where if for some but all of are zero then when , and radians (180 degrees) when .
There are some special cases where the inverse transform is not unique; for any will be ambiguous whenever all of are zero; in this case may be chosen to be zero.
Note that a half-angle formula is used for because the more straightforward is too small by an addend of π when < 0.
Expressing the angular measures in radians, the volume element in n-dimensional Euclidean space will be found from the Jacobian of the transformation:
and the above equation for the volume of the n-ball can be recovered by integrating:
The volume element of the (n-1)–sphere, which generalizes the area element of the 2-sphere, is given by
The natural choice of an orthogonal basis over the angular coordinates is a product of ultraspherical polynomials,
for j = 1, 2, ..., n − 2, and the e isφj for the angle j = n − 1 in concordance with the spherical harmonics.
Just as a two dimensional sphere embedded in three dimensions can be mapped onto a two-dimensional plane by a stereographic projection, an n-sphere can be mapped onto an n-dimensional hyperplane by the n-dimensional version of the stereographic projection. For example, the point on a two-dimensional sphere of radius 1 maps to the point on the plane. In other words,
Likewise, the stereographic projection of an n-sphere of radius 1 will map to the dimensional hyperplane perpendicular to the axis as
To generate uniformly distributed random points on the (n − 1)-sphere (i.e., the surface of the n-ball), Marsaglia (1972) gives the following algorithm.
Generate an n-dimensional vector of normal deviates (it suffices to use N(0, 1), although in fact the choice of the variance is arbitrary), .
Now calculate the "radius" of this point, .
The vector is uniformly distributed over the surface of the unit n-ball.
For example, when n = 2 the normal distribution exp(−x12) when expanded over another axis exp(−x22) after multiplication takes the form exp(−x12−x22) or exp(−r2) and so is only dependent on distance from the origin.
Another way to generate a random distribution on a hypersphere is to make a uniform distribution over a hypercube that includes the unit hyperball, exclude those points that are outside the hyperball, then project the remaining interior points outward from the origin onto the surface. This will give a uniform distribution, but it is necessary to remove the exterior points. As the relative volume of the hyperball to the hypercube decreases very rapidly with dimension, this procedure will succeed with high probability only for fairly small numbers of dimensions.
Wendel's theorem gives the probability that all of the points generated will lie in the same half of the hypersphere.
With a point selected from the surface of the n-ball uniformly at random, one needs only a radius to obtain a point uniformly at random within the n-ball. If u is a number generated uniformly at random from the interval [0, 1] and x is a point selected uniformly at random from the surface of the n-ball then u1/nx is uniformly distributed over the entire unit n-ball.
|