Equations Describing the Surface of an N-dimensional Hypersphere
Abstract.
We introduce the concept of an N-dimensional space and define a surface as a subset of points in that space that divides the space into two parts. We generalize the parametric equations of a circle in two dimensions and a sphere in three dimensions to those of the surface of an N-dimensional hypersphere. Finally, we unparameterize the equations, reducing them to a single multivariable equation of the form , and show that corresponds to the region outside of the hypersphere, corresponds to the interior of the hypersphere, and corresponds to the surface of the hypersphere.
1. N-dimensional Spaces
Coordinates are variables grouped together for analytical purposes. We most often relate coordinates to two- or three-dimensional physical spaces, such as when noting the locations of chess pieces on a chess board or using GPS (Global Positioning System) coordinates to navigate aircraft. But coordinates need not represent physical locations. Any function of one or more variables may be plotted as a set of points in a coordinate system. Nor must coordinates be limited to two or three dimensions. If we were to track the position of an object in three-dimensional space through time, we would require four coordinates: , where the first three coordinates identify the position in space and the position in time.
Visualizing a function in two or three dimensions helps us analyze its properties. Although it may not be possible to do the same in higher dimensions, we can project higher-dimensional artifacts onto a lower-dimensional space to help our visually-oriented brains reason about them. Alternatively, we can reason about a higher-dimensional artifact by analyzing its lower-dimensional analogues. For example, a square has a surface (i.e., its perimeter) formed by line segments equal in length and corners formed by the meeting of two line segments at right angles. A cube has a surface formed by squares equal in area and corners formed by three line segments meeting at right angles to each other. A four-dimensional hypercube has a surface formed by cubes equal in volume and corners formed by four line segments meeting at right angles to each other.
To fully generalize the analysis of multivariable systems, we do not restrict ourselves to a specific number of dimensions. Instead, we work with an unspecified positive integral number of dimensions, denoted by . We notate the variables of the system as a set of coordinates, . A particular set of values for the coordinate variables is a point and the universe of possible points in the system comprises an N-dimensional space. The range of coordinate values may be finite or infinite. In either case, we represent a space with .111We could choose any letter, but works as a mnemonic for either vector—as in vector space—or volume—as in if a surface is an analogue of area, then a space is an analogue of volume.
2. A Degenerate Case: The Circle
Before describing the surface of an -dimensional hypersphere, we will examine the degenerate case of the surface of a two-dimensional sphere, commonly known as a circle. The surface of a circle is the set of all points a constant distance—called the radius—from a central point. The circle itself is comprised of the surface and all the points inside the surface. Therefore, the surface divides space into two regions: points inside of the surface and points outside of the surface. You may notice we made no reference to the number of dimensions. It so happens that the definition applies to any hypersphere of two or more dimensions. For the circle, we will work with only two dimensions.
Looking at Figure 1, another way to think of a circle is that it traces out every possible right triangle with a hypotenuse equal to the length of the radius. The hypotenuse of each triangle extends from the center of the circle to a point on the circle’s circumference, forming an angle with the axis. From the trigonometric definitions of sine and cosine and a visual analysis of the figure, we can see the following relationships:
Solving for the coordinates in terms of the angle yields the parametric equations of a circle,
(1) |
We can use the Pythagorean theorem to arrive at the algebraic equation of a circle directly,
(2) |
But let us derive it from the parametric equations so that we can benefit from the approach later. Recognizing that —an identity resulting from the Pythagorean thereom—we simplify as follows:
Although Equations 1 and 2 should be obvious to a middle- or high-school student who has taken a course in analytic geometry, we reviewed them to make clear their relationship to the equations of a fully generalized N-dimensional hypersphere in Section 4.
Before moving on, observe that for all points inside the circle, must be true; and for all points outside the circle, must be true. If we rewrite Equation 2 as
(3) |
we can re-express the division of space in terms of the values taken on by the resulting function,
(4) |
It should be clear that for a point to lie inside of the circle, the distance from the center of the circle to the point, , must be less than the radius of the circle. Likewise, the distance must be greater than the radius for the point to lie outside of the circle. The distance is equal to the radius for points lying on the surface of the circle.
3. A Special Case: The Sphere
Having analyzed the equations of a circle, we can make a similar geometric analysis to arrive at the equations for the surface of a sphere. Whereas a point on a circle can be located with two parameters—a radius and an angle —a point on a sphere requires three parameters—a radius and two angles, and . The coordinate system of a circle is known as a polar coordinate system and the coordinate system of a sphere is known as a spherical coordinate system. We will parameterize the Cartesian coordinates of a point on a sphere in terms of spherical coordinates before rewriting them as a single algebraic function.
Figure 2 shows the spherical and Cartesian coordinates of a point on a sphere. By combining visual inspection with geometric and trigonometric identities, we can express in terms of . First, we look at the right triangle formed by the origin, the point , and the projection of onto the plane. The spherical radius forms the hypotenuse of the triangle and is its height. The angle formed at point is equal to , being the alternate interior angle formed by the axis and the side of the triangle parallel to it. Thereby we arrive at our first equation,
The base of the triangle must then have a length equal to . This forms the hypotenuse of the right triangle in the plane, allowing us to write
Finally, the side opposite is equal to , giving us
We now have the parametric equations of a sphere,
(5) |
As with the circle, we can either use the Pythagorean theorem directly to express the distance between two points—the origin and —in three dimensions, or we can derive an expression from the parametric equations. Using the approach we used to arrive at Equation 3, we can eliminate the angles as follows:
This allows us to write the spherical equivalent of Equation 4 as
(6) |
4. The General Case: An N-dimensional Hypersphere
Based on the circle and the sphere, we can infer that a point on the surface of an N-dimensional hypersphere can be located with a radius and angles, written as . Alternatively, one can use coordinates corresponding to the position along mutually perpendicular axes, written as . The angles and perpendicular axes create the same trigonometric relationships as in the lower-dimensional cases. For example, a four-dimensional hypersphere’s coordinates can be written as or , producing the following equations:
(7) |
These can be generalized to N dimensions as follows:
(8) |
We can now write the general equation for the surface of an N-dimensional hypersphere as
(9) |
Throughout this presentation we have assumed the origin of the coordinate system is the center of the hypersphere. In order to account for the center being located at an arbitrary point , we can further generalize the equation for the surface of a hypersphere as
(10) |