For independent Bernoulli distribution upper-triangular entries of a symmetric zero-diagonal adjacency matrix of a graph, put . For a unit vector , has sub-Gaussian variance proxy at most , by the Hoeffding lemma. Hence . The volumetric bound for Euclidean metric nets gives a -metric net of the unit sphere with at most points. The quadratic form net bound gives on that net. The union bound gives ; integrating this tail proves the displayed expectation bound.
Spherical cap area upper bound Created 2026-10-06 Updated 2026-10-18
On the unit sphere , let be a spherical cap of angular radius . If , its surface area is at most . This includes for every . The bound follows by comparing the cap-area derivative with the derivative of and checking the two endpoint values.
Spherical geometry 2026-10-13
Spherical geometry studies lengths and angles measured along the surface of a sphere, rather than through its interior. It is a useful model whenever travel is constrained to a round surface. Its straightest paths are great circle arcs: they are geodesics, even though they appear curved in the surrounding Euclidean space. Two distinct great circles meet at an antipodal pair, so the parallel-line picture of Euclidean geometry does not apply.
For a sphere of radius , write two positions as , with unit vectors. Their shorter surface route has great-circle distance
where the dot product gives the central angle in radians. The straight chord through the surrounding Euclidean space instead has length . For a quarter-circle separation these are and : specifying which distance we mean has a measurable effect. On the unit sphere, and great-circle distance equals the central angle.
Consider the spherical triangle with vertices , and , joined by the shorter great circle arcs. Each side has length . At each vertex the two outgoing tangent vectors point along the other coordinate axes and are orthogonal, so all three interior angles are . This is the positive coordinate octant of the sphere, not a flat triangle drawn inside it.
For a convex minor spherical triangle with interior angles in radians, the spherical excess formula states
Our octant therefore has area . Independently, eight congruent octants partition the sphere, giving again. Thus angles alone determine area when is fixed, unlike Euclidean geometry, where similar triangles can have arbitrarily different areas. The Gauss-Bonnet theorem explains the connection: the sphere's constant Gaussian curvature times the area equals this excess. For spherical triangles whose area is small compared with , the excess is small, recovering the familiar flat picture.
Figure 1.
Three quarter-great-circle sides enclose a spherical octant with three right angles and area
. Details.
Spherical law of cosines 2026-10-14
For a nondegenerate convex minor spherical triangle, the spherical law of cosines relates two angular sides , their included interior angle , and the opposite angular side :
Relabelling the vertices gives the corresponding formulas for and . As with the spherical law of sines, physical side lengths must first be divided by the sphere's radius. The spherical law of cosines determines uniquely from when the data describe such a spherical triangle. It also recovers each interior angle from three sides, for example
Using the cosine and the range selects a unique angle, avoiding the supplementary-angle ambiguity of an inverse sine calculation.
To derive the spherical law of cosines, let be the vertex unit vectors at , so , and . The outgoing unit tangent vectors at are and . Their dot product is both and , proving the identity. This gives a geometric explanation: spherical trigonometry compares angles in the tangent plane using vectors in the surrounding Euclidean space.
For a worked example on the unit sphere, take the vertices
At , the outgoing unit tangent vectors are and , so the interior angle is a right angle. The vertex dot products give . The spherical law of cosines then reduces to the right-angle identity , giving
To find , use the relabelled spherical law of cosines:
The physical side lengths on a sphere of radius are and . For example, on a toy sphere with metres they are approximately , and metres; the interior angles stay the same. Applying the planar Pythagorean theorem directly to the angular sides would instead give . That flat right triangle calculation does not give the great-circle distance between and .
Figure 1.
A non-octant spherical triangle with a right angle at , angular sides and , and interior angles
. Details.
The familiar law of cosines reappears as a local approximation. With all small in radians, substitute the small-angle approximations and into the spherical law of cosines and keep terms through second order:
Multiplication by gives the planar law of cosines for the physical side lengths. For a fixed small surface triangle on a progressively larger sphere, the angular sides shrink and this approximation improves. Thus the curved and flat formulas fit together: the Pythagorean theorem is recovered locally when is a right angle.
Spherical trigonometry 2026-10-14
Spherical trigonometry calculates the sides and interior angles of spherical triangles using trigonometric functions. Its sides must be shorter great circle arcs, which are geodesics on a round sphere. A curve at constant nonzero latitude does not qualify. The spherical law of sines and spherical law of cosines play the roles of the familiar flat-triangle rules, but account for the sphere's curvature.
Use uppercase both for the vertices and for their interior angles, and lowercase for the opposite angular sides. For example, is the central angle subtended by the arc from to . On a sphere of radius , its physical arc length is when is in radians; similarly and . Only on the unit sphere do the angular and physical side lengths have the same numerical values. See J. B. Tatum, Celestial Mechanics, chapter 3, section 3.5: great-circle sides and angular units.
One useful application of spherical trigonometry is finding great-circle distance from spherical coordinates. Write a unit vector as , where is latitude and is the equatorial azimuth, or longitude, measured from a chosen reference direction. The dot product of two such unit vectors gives
Here is the central angle and is the great-circle distance. The same identity follows from the spherical law of cosines by adding the north pole as the third vertex, with angular sides and . This connects spherical geometry to position calculations in astronomy and to navigation on a spherical model of Earth. Choosing the surface model matters: Paula Neeley and Anthony Narkawicz, Map Projection Induced Variations in Locations of Polygon Geofence Edges, NASA/TM-2017-219675 (2017), sections 2-3 distinguishes spherical and ellipsoidal geodesics and gives this coordinate identity.
For a toy example, put two points at latitude , with equatorial azimuths and . The great-circle distance and the arc length along constant latitude are
The great circle takes a shorter route by bending towards the pole in these spherical coordinates. To locate its highest latitude, the endpoint unit vectors are and . Their great circle lies in the plane through the origin with . On its shorter arc, the maximum latitude occurs at and is . Thus a geodesic can change latitude substantially even when its endpoints have equal latitude. These are lengths on an ideal sphere; the example illustrates the geometry rather than specifying an actual flight route.
Figure 1.
On an ideal sphere, two points at latitude and longitudes are joined by a shorter great-circle arc reaching latitude
. Details.
Historically, spherical trigonometry was prominent in teaching as well as in astronomy. John Conway and Alex Ryba note its presence in early twentieth-century school textbooks in Remembering spherical trigonometry, The Mathematical Gazette 100(547), March 2016, pages 1-8, DOI 10.1017/mag.2016.3. Their introductory observation documents that teaching history; it does not identify a single inventor of the spherical law of sines or spherical law of cosines.
For a real symmetric matrix and nonzero real vector , the quotient rule and the quadratic form gradient give the displayed gradient. It vanishes exactly when , so the stationary points are eigenvectors. Equivalently, the Lagrange multiplier condition for optimizing on the unit sphere is . The smallest and largest eigenvalues give the global extrema; other eigenvectors can be stationary without being extrema, as a direction mixing larger and smaller eigenvalues changes the quotient in opposite ways.
Stereographic projection Created 2026-09-24 Updated 2026-10-18
Stereographic projection identifies a sphere minus one pole with the plane and supplies the standard charts of the Riemann sphere.
In the equatorial-plane convention of the Riemann sphere, draw the straight line through and a point on the unit sphere. Its intersection with the plane has complex coordinate
The inverse function, for and , is
Here positive gives positive , and positive gives positive . Thus and lie on the positive and ends of the equator. The omitted north pole is assigned .[ref]
Figure 1.
North-pole projection onto the equatorial plane: two real points and the positive complex-axis convention
. Details.
For original worked points, the real numbers and lift to points with the same coordinate but opposite coordinates:
Projecting back gives and . A point off the real axis checks the other sign:
The coordinates satisfy , as a point on the unit sphere must. Also , and .
A short derivation starts with the line . Setting its last coordinate to zero gives , hence the projection formula. Conversely the line from to is . Substitution in the unit sphere equation gives
The root is ; the other root gives . These line intersections establish both the formula and its bijection property without guessing the inverse.
The same algebra explains how large planar distances become small spherical ones:
Consequently brings to independently of direction. The last expression is twice the chordal metric distance . A whole unbounded exterior in the complex plane therefore becomes a small cap on the unit sphere.
A real symmetric matrix whose quadratic form is positive at every nonzero vector in the nonnegative orthant. By compactness of the nonnegative unit sphere, this is equivalent to a positive uniform lower bound on that orthant. It need not be a positive-definite matrix.
A cover of the unit ball by balls of radius gives a radius- metric net on the unit sphere: discard balls missing the sphere and choose a sphere point in each remaining ball. Every sphere point lies within of the selected point in its ball. The argument keeps the number of balls and ensures that the selected points have unit length, regardless of the initial covering centers.
A subset of the radius- Euclidean ball admits an -metric net of size at most . Take a maximal separated set: its disjoint radius- Euclidean balls lie in the radius- ball. Comparing Lebesgue measures gives the estimate. In particular, the unit sphere admits a net of radius one with at most points.
Weighted Euclidean inner product Created 2026-10-14 Updated 2026-10-18
A symmetric positive-definite matrix defines an inner product on real coordinate vectors by
For diagonal , positive diagonal entries weight the squared coordinate errors. This is the finite-coordinate version of a weighted inner product; the positive-definite matrix example appears in Francis Narcowich, Inner Products and Norms, standard inner products, example 8.
For , the squared norm of is . A first-coordinate error of one costs as much as a second-coordinate error of two. The unit sphere is the ellipse , and orthogonality means . Thus “closest” and “perpendicular” depend on the chosen inner product. The orthogonal projection residual example shows how this changes a best approximation.