Sphere

A sphere (from Greek, ) is a geometrical object that is a three-dimensional analogue to a two-dimensional circle. Formally, a sphere is the set of points that are all at the same distance $O(3)$ from a given point in three-dimensional space. That given point is the center of the sphere, and $4πr^{2}$ is the sphere's radius. The earliest known mentions of spheres appear in the work of the ancient Greek mathematicians.

The sphere is a fundamental object in many fields of mathematics. Spheres and nearly-spherical shapes also appear in nature and industry. Bubbles such as soap bubbles take a spherical shape in equilibrium. The Earth is often approximated as a sphere in geography, and the celestial sphere is an important concept in astronomy. Manufactured items including pressure vessels and most curved mirrors and lenses are based on spheres. Spheres roll smoothly in any direction, so most balls used in sports and toys are spherical, as are ball bearings.

Basic terminology
As mentioned earlier $4⁄3πr^{3}$ is the sphere's radius; any line from the center to a point on the sphere is also called a radius.

If a radius is extended through the center to the opposite side of the sphere, it creates a diameter. Like the radius, the length of a diameter is also called the diameter, and denoted $r$. Diameters are the longest line segments that can be drawn between two points on the sphere: their length is twice the radius, $r$. Two points on the sphere connected by a diameter are antipodal points of each other.

A unit sphere is a sphere with unit radius ($r$). For convenience, spheres are often taken to have their center at the origin of the coordinate system, and spheres in this article have their center at the origin unless a center is mentioned.

A great circle on the sphere has the same center and radius as the sphere, and divides it into two equal hemispheres.

Although the figure of Earth is not perfectly spherical, terms borrowed from geography are convenient to apply to the sphere. A particular line passing through its center defines an axis (as in Earth's axis of rotation). The sphere-axis intersection defines two antipodal poles (north pole and south pole). The great circle equidistant to the poles is called the equator. Great circles through the poles are called lines of longitude or meridians. Small circles on the sphere that are parallel to the equator are circles of latitude (or parallels). In geometry unrelated to astronomical bodies, geocentric terminology should be used only for illustration and noted as such, unless there is no chance of misunderstanding.

Mathematicians consider a sphere to be a two-dimensional closed surface embedded in three-dimensional Euclidean space. They draw a distinction between a sphere and a ball, which is a three-dimensional manifold with boundary that includes the volume contained by the sphere. An open ball excludes the sphere itself, while a closed ball includes the sphere: a closed ball is the union of the open ball and the sphere, and a sphere is the boundary of a (closed or open) ball. The distinction between ball and sphere has not always been maintained and especially older mathematical references talk about a sphere as a solid. The distinction between "circle" and "disk" in the plane is similar.

Small spheres or balls are sometimes called spherules, e.g. in Martian spherules.

Equations
In analytic geometry, a sphere with center $d$ and radius $r$ is the locus of all points $d = 2r$ such that
 * $$ (x - x_0 )^2 + (y - y_0 )^2 + ( z - z_0 )^2 = r^2.$$

Since it can be expressed as a quadratic polynomial, a sphere is a quadric surface, a type of algebraic surface.

Let $a, b, c, d, e$ be real numbers with $r = 1$ and put
 * $$x_0 = \frac{-b}{a}, \quad y_0 = \frac{-c}{a}, \quad z_0 = \frac{-d}{a}, \quad \rho = \frac{b^2 +c^2+d^2 - ae}{a^2}.$$

Then the equation
 * $$f(x,y,z) = a(x^2 + y^2 +z^2) + 2(bx + cy + dz) + e = 0$$

has no real points as solutions if $$\rho < 0$$ and is called the equation of an imaginary sphere. If $$\rho = 0$$, the only solution of $$f(x,y,z) = 0$$ is the point $$P_0 = (x_0,y_0,z_0)$$ and the equation is said to be the equation of a point sphere. Finally, in the case $$\rho > 0$$, $$f(x,y,z) = 0$$ is an equation of a sphere whose center is $$P_0$$ and whose radius is $$\sqrt \rho$$.

If $a$ in the above equation is zero then $(x_{0}, y_{0}, z_{0})$ is the equation of a plane. Thus, a plane may be thought of as a sphere of infinite radius whose center is a point at infinity.

Parametric
A parametric equation for the sphere with radius $$r > 0$$ and center $$(x_0,y_0,z_0)$$ can be parameterized using trigonometric functions.
 * $$\begin{align}

x &= x_0 + r \sin \theta \; \cos\varphi \\ y &= y_0 + r \sin \theta \; \sin\varphi \\ z &= z_0 + r \cos \theta \,\end{align}$$

The symbols used here are the same as those used in spherical coordinates. $r$ is constant, while $θ$ varies from 0 to $π$ and $$\varphi$$ varies from 0 to 2$π$.

Enclosed volume
In three dimensions, the volume inside a sphere (that is, the volume of a ball, but classically referred to as the volume of a sphere) is
 * $$V = \frac{4}{3}\pi r^3 = \frac{\pi}{6}\ d^3 \approx 0.5236 \cdot d^3$$

where $r$ is the radius and $d$ is the diameter of the sphere. Archimedes first derived this formula by showing that the volume inside a sphere is twice the volume between the sphere and the circumscribed cylinder of that sphere (having the height and diameter equal to the diameter of the sphere). This may be proved by inscribing a cone upside down into semi-sphere, noting that the area of a cross section of the cone plus the area of a cross section of the sphere is the same as the area of the cross section of the circumscribing cylinder, and applying Cavalieri's principle. This formula can also be derived using integral calculus, i.e. disk integration to sum the volumes of an infinite number of circular disks of infinitesimally small thickness stacked side by side and centered along the $x$-axis from $(x, y, z)$ to $a ≠ 0$, assuming the sphere of radius $r$ is centered at the origin.

At any given $x$, the incremental volume ($δV$) equals the product of the cross-sectional area of the disk at $x$ and its thickness ($δx$):
 * $$\delta V \approx \pi y^2 \cdot \delta x.$$

The total volume is the summation of all incremental volumes:
 * $$V \approx \sum \pi y^2 \cdot \delta x.$$

In the limit as $δx$ approaches zero, this equation becomes:
 * $$V = \int_{-r}^{r} \pi y^2 dx.$$

At any given $x$, a right-angled triangle connects $x$, $y$ and $r$ to the origin; hence, applying the Pythagorean theorem yields:
 * $$y^2 = r^2 - x^2.$$

Using this substitution gives
 * $$V = \int_{-r}^{r} \pi \left(r^2 - x^2\right)dx,$$

which can be evaluated to give the result
 * $$V = \pi \left[r^2x - \frac{x^3}{3} \right]_{-r}^{r} = \pi \left(r^3 - \frac{r^3}{3} \right) - \pi \left(-r^3 + \frac{r^3}{3} \right) = \frac43\pi r^3.$$

An alternative formula is found using spherical coordinates, with volume element
 * $$ dV=r^2\sin\theta\, dr\, d\theta\, d\varphi$$

so
 * $$V=\int_0^{2\pi} \int_{0}^{\pi} \int_0^r r'^2\sin\theta\, dr'\, d\theta\, d\varphi

= 2\pi \int_{0}^{\pi} \int_0^r r'^2\sin\theta\, dr'\, d\theta = 4\pi \int_0^r r'^2\, dr'\ =\frac43\pi r^3.$$

For most practical purposes, the volume inside a sphere inscribed in a cube can be approximated as 52.4% of the volume of the cube, since $f(x, y, z) = 0$, where $d$ is the diameter of the sphere and also the length of a side of the cube and $\pi⁄6$ ≈ 0.5236. For example, a sphere with diameter 1 m has 52.4% the volume of a cube with edge length 1   m, or about 0.524 m3.

Surface area
The surface area of a sphere of radius $r$ is:
 * $$A = 4\pi r^2.$$

Archimedes first derived this formula from the fact that the projection to the lateral surface of a circumscribed cylinder is area-preserving. Another approach to obtaining the formula comes from the fact that it equals the derivative of the formula for the volume with respect to $r$ because the total volume inside a sphere of radius $r$ can be thought of as the summation of the surface area of an infinite number of spherical shells of infinitesimal thickness concentrically stacked inside one another from radius 0 to radius $r$. At infinitesimal thickness the discrepancy between the inner and outer surface area of any given shell is infinitesimal, and the elemental volume at radius $r$ is simply the product of the surface area at radius $r$ and the infinitesimal thickness.

At any given radius $r$, the incremental volume ($r$) equals the product of the surface area at radius $δV$ ($x = −r$) and the thickness of a shell ($r$):
 * $$\delta V \approx A(r) \cdot \delta r. $$

The total volume is the summation of all shell volumes:
 * $$V \approx \sum A(r) \cdot \delta r.$$

In the limit as $δr$ approaches zero this equation becomes:
 * $$V = \int_0^r A(r) \, dr.$$

Substitute $δr$:
 * $$\frac43\pi r^3 = \int_0^r A(r) \, dr.$$

Differentiating both sides of this equation with respect to $V$ yields $r$ as a function of $A$:
 * $$4\pi r^2 = A(r).$$

This is generally abbreviated as:
 * $$A = 4\pi r^2,$$

where $r$ is now considered to be the fixed radius of the sphere.

Alternatively, the area element on the sphere is given in spherical coordinates by $x = r$. The total area can thus be obtained by integration:
 * $$A = \int_0^{2\pi} \int_0^\pi r^2 \sin\theta \, d\theta \, d\varphi = 4\pi r^2.$$

The sphere has the smallest surface area of all surfaces that enclose a given volume, and it encloses the largest volume among all closed surfaces with a given surface area. The sphere therefore appears in nature: for example, bubbles and small water drops are roughly spherical because the surface tension locally minimizes surface area.

The surface area relative to the mass of a ball is called the specific surface area and can be expressed from the above stated equations as
 * $$\mathrm{SSA} = \frac{A}{V\rho} = \frac{3}{r\rho}$$

where $r$ is the density (the ratio of mass to volume).

Other geometric properties
A sphere can be constructed as the surface formed by rotating a circle one half revolution about any of its diameters; this is very similar to the traditional definition of a sphere as given in Euclid's Elements. Since a circle is a special type of ellipse, a sphere is a special type of ellipsoid of revolution. Replacing the circle with an ellipse rotated about its major axis, the shape becomes a prolate spheroid; rotated about the minor axis, an oblate spheroid.

A sphere is uniquely determined by four points that are not coplanar. More generally, a sphere is uniquely determined by four conditions such as passing through a point, being tangent to a plane, etc. This property is analogous to the property that three non-collinear points determine a unique circle in a plane.

Consequently, a sphere is uniquely determined by (that is, passes through) a circle and a point not in the plane of that circle.

By examining the common solutions of the equations of two spheres, it can be seen that two spheres intersect in a circle and the plane containing that circle is called the radical plane of the intersecting spheres. Although the radical plane is a real plane, the circle may be imaginary (the spheres have no real point in common) or consist of a single point (the spheres are tangent at that point).

The angle between two spheres at a real point of intersection is the dihedral angle determined by the tangent planes to the spheres at that point. Two spheres intersect at the same angle at all points of their circle of intersection. They intersect at right angles (are orthogonal) if and only if the square of the distance between their centers is equal to the sum of the squares of their radii.

Pencil of spheres
If $V = \pi⁄6 d^{3}$ and $A(r)$ are the equations of two distinct spheres then
 * $$s f(x,y,z) + t g(x,y,z) = 0$$

is also the equation of a sphere for arbitrary values of the parameters $ρ$ and $s$. The set of all spheres satisfying this equation is called a pencil of spheres determined by the original two spheres. In this definition a sphere is allowed to be a plane (infinite radius, center at infinity) and if both the original spheres are planes then all the spheres of the pencil are planes, otherwise there is only one plane (the radical plane) in the pencil.

Properties of the sphere


In their book Geometry and the Imagination, David Hilbert and Stephan Cohn-Vossen describe eleven properties of the sphere and discuss whether these properties uniquely determine the sphere. Several properties hold for the plane, which can be thought of as a sphere with infinite radius. These properties are:
 * 1) The points on the sphere are all the same distance from a fixed point. Also, the ratio of the distance of its points from two fixed points is constant.
 * The first part is the usual definition of the sphere and determines it uniquely. The second part can be easily deduced and follows a similar result of Apollonius of Perga for the circle. This second part also holds for the plane.
 * 1) The contours and plane sections of the sphere are circles.
 * This property defines the sphere uniquely.
 * 1) The sphere has constant width and constant girth.
 * The width of a surface is the distance between pairs of parallel tangent planes. Numerous other closed convex surfaces have constant width, for example the Meissner body. The girth of a surface is the circumference of the boundary of its orthogonal projection on to a plane. Each of these properties implies the other.
 * 1) All points of a sphere are umbilics.
 * At any point on a surface a normal direction is at right angles to the surface because on the sphere these are the lines radiating out from the center of the sphere. The intersection of a plane that contains the normal with the surface will form a curve that is called a normal section, and the curvature of this curve is the normal curvature. For most points on most surfaces, different sections will have different curvatures; the maximum and minimum values of these are called the principal curvatures. Any closed surface will have at least four points called umbilical points. At an umbilic all the sectional curvatures are equal; in particular the principal curvatures are equal. Umbilical points can be thought of as the points where the surface is closely approximated by a sphere.
 * For the sphere the curvatures of all normal sections are equal, so every point is an umbilic. The sphere and plane are the only surfaces with this property.
 * 1) The sphere does not have a surface of centers.
 * For a given normal section exists a circle of curvature that equals the sectional curvature, is tangent to the surface, and the center lines of which lie along on the normal line. For example, the two centers corresponding to the maximum and minimum sectional curvatures are called the focal points, and the set of all such centers forms the focal surface.
 * For most surfaces the focal surface forms two sheets that are each a surface and meet at umbilical points. Several cases are special:
 * * For channel surfaces one sheet forms a curve and the other sheet is a surface
 * * For cones, cylinders, tori and cyclides both sheets form curves.
 * * For the sphere the center of every osculating circle is at the center of the sphere and the focal surface forms a single point. This property is unique to the sphere.
 * 1) All geodesics of the sphere are closed curves.
 * Geodesics are curves on a surface that give the shortest distance between two points. They are a generalization of the concept of a straight line in the plane. For the sphere the geodesics are great circles. Many other surfaces share this property.
 * 1) Of all the solids having a given volume, the sphere is the one with the smallest surface area; of all solids having a given surface area, the sphere is the one having the greatest volume.
 * It follows from isoperimetric inequality. These properties define the sphere uniquely and can be seen in soap bubbles: a soap bubble will enclose a fixed volume, and surface tension minimizes its surface area for that volume. A freely floating soap bubble therefore approximates a sphere (though such external forces as gravity will slightly distort the bubble's shape). It can also be seen in planets and stars where gravity minimizes surface area for large celestial bodies.
 * 1) The sphere has the smallest total mean curvature among all convex solids with a given surface area.
 * The mean curvature is the average of the two principal curvatures, which is constant because the two principal curvatures are constant at all points of the sphere.
 * 1) The sphere has constant mean curvature.
 * The sphere is the only imbedded surface that lacks boundary or singularities with constant positive mean curvature. Other such immersed surfaces as minimal surfaces have constant mean curvature.
 * 1) The sphere has constant positive Gaussian curvature.
 * Gaussian curvature is the product of the two principal curvatures. It is an intrinsic property that can be determined by measuring length and angles and is independent of how the surface is embedded in space. Hence, bending a surface will not alter the Gaussian curvature, and other surfaces with constant positive Gaussian curvature can be obtained by cutting a small slit in the sphere and bending it. All these other surfaces would have boundaries, and the sphere is the only surface that lacks a boundary with constant, positive Gaussian curvature. The pseudosphere is an example of a surface with constant negative Gaussian curvature.
 * 1) The sphere is transformed into itself by a three-parameter family of rigid motions.
 * Rotating around any axis a unit sphere at the origin will map the sphere onto itself. Any rotation about a line through the origin can be expressed as a combination of rotations around the three-coordinate axis (see Euler angles). Therefore, a three-parameter family of rotations exists such that each rotation transforms the sphere onto itself; this family is the rotation group SO(3). The plane is the only other surface with a three-parameter family of transformations (translations along the $t$- and $x$-axes and rotations around the origin). Circular cylinders are the only surfaces with two-parameter families of rigid motions and the surfaces of revolution and helicoids are the only surfaces with a one-parameter family.

Spherical geometry


The basic elements of Euclidean plane geometry are points and lines. On the sphere, points are defined in the usual sense. The analogue of the "line" is the geodesic, which is a great circle; the defining characteristic of a great circle is that the plane containing all its points also passes through the center of the sphere. Measuring by arc length shows that the shortest path between two points lying on the sphere is the shorter segment of the great circle that includes the points.

Many theorems from classical geometry hold true for spherical geometry as well, but not all do because the sphere fails to satisfy some of classical geometry's postulates, including the parallel postulate. In spherical trigonometry, angles are defined between great circles. Spherical trigonometry differs from ordinary trigonometry in many respects. For example, the sum of the interior angles of a spherical triangle always exceeds 180 degrees. Also, any two similar spherical triangles are congruent.

Any pair of points on a sphere that lie on a straight line through the sphere's center (i.e. the diameter) are called antipodal points—on the sphere, the distance between them is exactly half the length of the circumference. Any other (i.e. not antipodal) pair of distinct points on a sphere
 * lie on a unique great circle,
 * segment it into one minor (i.e. shorter) and one major (i.e. longer) arc, and
 * have the minor arc's length be the shortest distance between them on the sphere.

Spherical geometry is a form of elliptic geometry, which together with hyperbolic geometry makes up non-Euclidean geometry.

Differential geometry
The sphere is a smooth surface with constant Gaussian curvature at each point equal to $dA = r^{2} sin θ dθ dφ$. As per Gauss's Theorema Egregium, this curvature is independent of the sphere's embedding in 3-dimensional space. Also following from Gauss, a sphere cannot be mapped to a plane while maintaining both areas and angles. Therefore, any map projection introduces some form of distortion.

A sphere of radius $y$ has area element $$dA = r^2 \sin \theta\, d\theta\, d\varphi$$. This can be found from the volume element in spherical coordinates with $r$ held constant.

A sphere of any radius centered at zero is an integral surface of the following differential form:
 * $$ x \, dx + y \, dy + z \, dz = 0.$$

This equation reflects that the position vector and tangent plane at a point are always orthogonal to each other. Furthermore, the outward-facing normal vector is equal to the position vector scaled by $r$.

In Riemannian geometry, the filling area conjecture states that the hemisphere is the optimal (least area) isometric filling of the Riemannian circle.

Topology
Remarkably, it is possible to turn an ordinary sphere inside out in a three-dimensional space with possible self-intersections but without creating any creases, in a process called sphere eversion.

The antipodal quotient of the sphere is the surface called the real projective plane, which can also be thought of as the Northern Hemisphere with antipodal points of the equator identified.

Circles
Circles on the sphere are, like circles in the plane, made up of all points a certain distance from a fixed point on the sphere. The intersection of a sphere and a plane is a circle, a point, or empty. Great circles are the intersection of the sphere with a plane passing through the center of a sphere: others are called small circles.

More complicated surfaces may intersect a sphere in circles, too: the intersection of a sphere with a surface of revolution whose axis contains the center of the sphere (are coaxial) consists of circles and/or points if not empty. For example, the diagram to the right shows the intersection of a sphere and a cylinder, which consists of two circles. If the cylinder radius were that of the sphere, the intersection would be a single circle. If the cylinder radius were larger than that of the sphere, the intersection would be empty.

Loxodrome


In navigation, a loxodrome or rhumb line is a path whose bearing, the angle between its tangent and due North, is constant. Loxodromes project to straight lines under the Mercator projection. Two special cases are the meridians which are aligned directly North–South and parallels which are aligned directly East–West. For any other bearing, a loxodrome spirals infinitely around each pole. For the Earth modeled as a sphere, or for a general sphere given a spherical coordinate system, such a loxodrome is a kind of spherical spiral.

Clelia curves
Another kind of spherical spiral is the Clelia curve, for which the longitude (or azimuth) $$\varphi$$ and the colatitude (or polar angle) $$\theta$$ are in a linear relationship, $1/r$. Clelia curves project to straight lines under the equirectangular projection. Viviani's curve ($\varphi = c\theta$) is a special case. Clelia curves approximate the ground track of satellites in polar orbit.

Spherical conics
The analog of a conic section on the sphere is a spherical conic, a quartic curve which can be defined in several equivalent ways, including:
 * as the intersection of a sphere with a quadratic cone whose vertex is the sphere center;
 * as the intersection of a sphere with an elliptic or hyperbolic cylinder whose axis passes through the sphere center;
 * as the locus of points whose sum or difference of great-circle distances from a pair of foci is a constant.

Many theorems relating to planar conic sections also extend to spherical conics.

Intersection of a sphere with a more general surface
If a sphere is intersected by another surface, there may be more complicated spherical curves.


 * Example: sphere – cylinder

The intersection of the sphere with equation $$\; x^2+y^2+z^2=r^2\;$$ and the cylinder with equation $$ \;(y-y_0)^2+z^2=a^2, \; y_0\ne 0\; $$ is not just one or two circles. It is the solution of the non-linear system of equations
 * $$x^2+y^2+z^2-r^2=0$$
 * $$(y-y_0)^2+z^2-a^2=0\ .$$

(see implicit curve and the diagram)

Ellipsoids
An ellipsoid is a sphere that has been stretched or compressed in one or more directions. More exactly, it is the image of a sphere under an affine transformation. An ellipsoid bears the same relationship to the sphere that an ellipse does to a circle.

Dimensionality
Spheres can be generalized to spaces of any number of dimensions. For any natural number $c=1$, an $n$-sphere, often denoted $f(x, y, z) = 0$, is the set of points in ($g(x, y, z) = 0$)-dimensional Euclidean space that are at a fixed distance $n$ from a central point of that space, where $r$ is, as before, a positive real number. In particular:
 * $1/r^{2}$: a 0-sphere consists of two discrete points, $c = 8$ and $S ^{n}$
 * $n + 1$: a 1-sphere is a circle of radius r
 * $S ^{0}$: a 2-sphere is an ordinary sphere
 * $−r$: a 3-sphere is a sphere in 4-dimensional Euclidean space.

Spheres for $r$ are sometimes called hyperspheres.

The $r$-sphere of unit radius centered at the origin is denoted $S ^{1}$ and is often referred to as "the" $n$-sphere. The ordinary sphere is a 2-sphere, because it is a 2-dimensional surface which is embedded in 3-dimensional space.

In topology, the $n$-sphere is an example of a compact topological manifold without boundary. A topological sphere need not be smooth; if it is smooth, it need not be diffeomorphic to the Euclidean sphere (an exotic sphere).

The sphere is the inverse image of a one-point set under the continuous function $S ^{2}$, so it is closed; $S ^{3}$ is also bounded, so it is compact by the Heine–Borel theorem.

Metric spaces
More generally, in a metric space $n > 2$, the sphere of center $n$ and radius $S ^{n}$ is the set of points $x$ such that $\|x\|$.

If the center is a distinguished point that is considered to be the origin of $y$, as in a normed space, it is not mentioned in the definition and notation. The same applies for the radius if it is taken to equal one, as in the case of a unit sphere.

Unlike a ball, even a large sphere may be an empty set. For example, in $S^{n}$ with Euclidean metric, a sphere of radius $(E,d)$ is nonempty only if $r > 0$ can be written as sum of $d(x,y) = r$ squares of integers.

An octahedron is a sphere in taxicab geometry, and a cube is a sphere in geometry using the Chebyshev distance.

History
The geometry of the sphere was studied by the Greeks. Euclid's Elements defines the sphere in book XI, discusses various properties of the sphere in book XII, and shows how to inscribe the five regular polyhedra within a sphere in book XIII. Euclid does not include the area and volume of a sphere, only a theorem that the volume of a sphere varies as the third power of its diameter, probably due to Eudoxus of Cnidus. The volume and area formulas were first determined in Archimedes's On the Sphere and Cylinder by the method of exhaustion. Zenodorus was the first to state that, for a given surface area, the sphere is the solid of maximum volume.

Archimedes wrote about the problem of dividing a sphere into segments whose volumes are in a given ratio, but did not solve it. A solution by means of the parabola and hyperbola was given by Dionysodorus. A similar problem — to construct a segment equal in volume to a given segment, and in surface to another segment — was solved later by al-Quhi.

Regions

 * Hemisphere
 * Spherical cap
 * Spherical lune
 * Spherical polygon
 * Spherical sector
 * Spherical segment
 * Spherical wedge
 * Spherical zone