Sphere

DOWNLOAD Mathematica Notebook EXPLORE THIS TOPIC IN the MathWorld Classroom sphere

A sphere is defined as the set of all points in three-dimensional Euclidean space R^3 that are located at a distance r (the "radius") from a given point (the "center"). Twice the radius is called the diameter, and pairs of points on the sphere on opposite sides of a diameter are called antipodes.

Unfortunately, geometers and topologists adopt incompatible conventions for the meaning of "n-sphere," with geometers referring to the number of coordinates in the underlying space ("thus a two-dimensional sphere is a circle," Coxeter 1973, p. 125) and topologists referring to the dimension of the surface itself ("the n-dimensional sphere S^n is defined to be the set of all points x=(x_1,x_2,...,x_(n+1)) in E^(n+1) satisfying x_1^2+...+x_(n+1)^2=1," Hocking and Young 1988, p. 17; "the (n-1)-sphere S^(n-1) is {x in R^n|d(x,0)=1}," Maunder 1997, p. 21). As a result, geometers call the surface of the usual sphere the 3-sphere, while topologists refer to it as the 2-sphere and denote it S^2.

Regardless of the choice of convention for indexing the number of dimensions of a sphere, the term "sphere" refers to the surface only, so the usual sphere is a two-dimensional surface. The colloquial practice of using the term "sphere" to refer to the interior of a sphere is therefore discouraged, with the interior of the sphere (i.e., the "solid sphere") being more properly termed a "ball."

The sphere is implemented in the Wolfram Language as Sphere[{x, y, z}, r].

The surface area of a sphere and volume of the ball of radius R are given by

S=4piR^2
(1)
V=4/3piR^3
(2)

(Beyer 1987, p. 130). In On the Sphere and Cylinder (ca. 225 BC), Archimedes became the first to derive these equations (although he expressed pi in terms of the sphere's circular cross section). The fact that

 (V_(sphere))/(V_(circumscribed cylinder)-V_(sphere))=2
(3)

was also known to Archimedes (Steinhaus 1999, p. 223; Wells 1991, pp. 236-237).

Any cross section through a sphere is a circle (or, in the degenerate case where the slicing plane is tangent to the sphere, a point). The size of the circle is maximized when the plane defining the cross section passes through a diameter.

The equation of a sphere of radius R centered at the origin is given in Cartesian coordinates by

 x^2+y^2+z^2=R^2,
(4)

which is a special case of the ellipsoid

 (x^2)/(a^2)+(y^2)/(b^2)+(z^2)/(c^2)=1
(5)

and spheroid

 (x^2+y^2)/(a^2)+(z^2)/(c^2)=1.
(6)

The Cartesian equation of a sphere centered at the point (x_0,y_0,z_0) with radius R is given by

 (x-x_0)^2+(y-y_0)^2+(z-z_0)^2=R^2.
(7)

A sphere with center at the origin may also be specified in spherical coordinates by

x=rhocosthetasinphi
(8)
y=rhosinthetasinphi
(9)
z=rhocosphi,
(10)

where theta is an azimuthal coordinate running from 0 to 2pi (longitude), phi is a polar coordinate running from 0 to pi (colatitude), and rho is the radius. Note that there are several other notations sometimes used in which the symbols for theta and phi are interchanged or where r is used instead of rho. If rho is allowed to run from 0 to a given radius r, then a solid ball is obtained.

A sphere with center at the origin may also be represented parametrically by letting u=rcosphi, so

x=sqrt(r^2-u^2)costheta
(11)
y=sqrt(r^2-u^2)sintheta
(12)
z=u,
(13)

where theta runs from 0 to 2pi and u runs from -r to r.

The generalization of a sphere in n dimensions is called a hypersphere. An n-dimensional hypersphere, also known as an n-sphere (in a geometer's convention), that is centered at the origin can therefore be specified by the equation

 x_1^2+x_2^2+...+x_n^2=r^2.
(14)

Of course, topologists would regard this equation as instead describing an (n-1)-sphere.

The volume of the sphere, V=4piR^3/3, can be found in Cartesian, cylindrical, and spherical coordinates, respectively, using the integrals

V=int_(-R)^Rint_(-sqrt(R^2-x^2))^(sqrt(R^2-x^2))int_(-sqrt(R^2-x^2-y^2))^(sqrt(R^2-x^2-y^2))dzdydx
(15)
=int_0^(2pi)int_0^Rint_(-sqrt(R^2-r^2))^(sqrt(R^2-r^2))rdzdrdtheta
(16)
=int_0^(2pi)int_0^piint_0^Rrho^2sinphidrhodphidtheta.
(17)

The interior of the sphere of radius R and mass M has moment of inertia tensor

 I=[2/5MR^2 0 0; 0 2/5MR^2 0; 0 0 2/5MR^2].
(18)

Converting to "standard" parametric variables a=rho, u=theta, and v=phi gives the coefficients of the first fundamental form

E=a^2sin^2v
(19)
F=0
(20)
G=a^2,
(21)

second fundamental form coefficients

e=asin^2v
(22)
f=0
(23)
g=a,
(24)

area element

 dA=a^2sinvdu ^ dv,
(25)

Gaussian curvature

 K=1/(a^2),
(26)

and mean curvature

 H=1/a.
(27)

Given two points on a sphere, the shortest path on the surface of the sphere which connects them (the geodesic) is an arc of a circle known as a great circle. The equation of the sphere with points (x_1,y_1,z_1) and (x_2,y_2,z_2) lying on a diameter is given by

 (x-x_1)(x-x_2)+(y-y_1)(y-y_2)+(z-z_1)(z-z_2)=0.
(28)

Four points are sufficient to uniquely define a sphere. Given the points (x_i,y_i,z_i) with i=1, 2, 3, and 4, the sphere containing them is given by the beautiful determinant equation

 |x^2+y^2+z^2 x y z 1; x_1^2+y_1^2+z_1^2 x_1 y_1 z_1 1; x_2^2+y_2^2+z_2^2 x_2 y_2 z_2 1; x_3^2+y_3^2+z_3^2 x_3 y_3 z_3 1; x_4^2+y_4^2+z_4^2 x_4 y_4 z_4 1|=0
(29)

(Beyer 1987, p. 210).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.