Skip to content

16. Spherical geometry

A plane flying from London to New York does not follow the line you would draw on a flat map. It heads west-north-west, climbs to nearly \(54^\circ\) north over the Atlantic, although both cities lie south of that, and comes down towards New York from the north-east; and that route is shorter. The Earth is (nearly) a sphere, and on a sphere the "straight lines" are great circles. This chapter builds geometry on the sphere: its lines, its triangles (whose angles add up to more than \(180^\circ\), by an amount that measures their area), its trigonometry, the navigation formulas used for ships, aircraft and rovers on Mars, and the reason no flat map of the Earth can be perfect. It ends with elliptic geometry, the sphere with opposite points glued together, a geometry with no parallel lines at all.

In this chapter

You will learn:

  • why great circles are the lines of the sphere, and how to measure distance along them
  • lunes and Girard's theorem: a spherical triangle's area is its angle excess times \(R^2\) (with proof)
  • the spherical law of cosines and law of sines (with proofs), and the haversine formula
  • how to compute great-circle distances and bearings on Earth (\(R = 6371\) km) and Mars (\(R = 3389.5\) km)
  • why no flat map can keep all distances, and what Mercator, stereographic and equal-area maps each keep
  • elliptic geometry, where any two lines meet in exactly one point

You need: Chapter 7 (sine, cosine, radians, the law of cosines), Chapter 9 (dot and cross products), Chapter 11 (the area of the sphere) and Chapter 15 (neutral geometry, models). A gentler start: Geometry on a sphere.

Levels: 16.1 and 16.2 are intermediate; 16.3 and 16.4 are advanced but computational; 16.5 is advanced; 16.6 is advanced to expert.

16.1 Great circles as lines

Level: intermediate. Take a sphere of radius \(R\) with centre \(O\). A plane through \(O\) cuts it in a great circle, of radius \(R\), the largest circle the sphere contains: the equator and the meridians (lines of longitude) are great circles. A plane that misses \(O\) cuts a small circle: the circles of latitude other than the equator are small circles.

O N small circle equator

Why great circles are the "lines". Three reasons, which turn out to be one:

  1. Shortest paths. The shortest path on the sphere between two points is the shorter arc of the great circle through them. (We prove the key step, the triangle inequality, in 16.3.) A taut string stretched between two points on a globe lies along a great circle.
  2. Straightest paths. Walk on the sphere without turning left or right: you trace a great circle. A small circle curves towards its own centre, as you can feel by walking around a circle of latitude near a pole.
  3. Symmetry. Reflection in the plane of a great circle maps the sphere to itself and fixes the great circle, just as reflection in a line fixes the line in the plane.

Distance. Points on the sphere are vectors of length \(R\) from \(O\). The angle \(\theta\) between the vectors \(\mathbf{u}\) and \(\mathbf{v}\) (in radians) is given by the dot product, \(\cos\theta = \mathbf{u} \cdot \mathbf{v}/R^2\), and the arc of the great circle between them has length

\[ d = R\,\theta . \]

On the unit sphere (\(R = 1\)) distance simply is the central angle, and we will often measure sides in degrees or radians.

Latitude and longitude. The point at latitude \(\varphi\) and longitude \(\lambda\) is

\[ (R\cos\varphi\cos\lambda, \ R\cos\varphi\sin\lambda, \ R\sin\varphi) . \]

Example. Quito (very nearly on the equator, longitude about \(78.5^\circ\) W) and Singapore (latitude about \(1.3^\circ\) N, longitude about \(103.8^\circ\) E). Treating both as on the equator, they are \(78.5 + 103.8 = 182.3^\circ\) apart going east, so \(177.7^\circ\) going west: nearly antipodal. The distance is about \(R \cdot 177.7^\circ \cdot \pi/180 = 6371 \times 3.101 \approx 19\,760\) km, close to half the equator, \(20\,015\) km.

How lines behave.

  • Two points that are not antipodal (opposite ends of a diameter) lie on exactly one great circle: the plane through them and \(O\) is unique. Two antipodal points, like the poles, lie on infinitely many.
  • Any two great circles meet, in exactly two antipodal points: their planes both pass through \(O\), so they meet in a line through \(O\), which pierces the sphere twice. There are no parallel lines.
  • Lines are finite, with length \(2\pi R\), and closed.

So the sphere breaks Euclid's postulates 1 and 2 and the parallel postulate, and also the exterior angle theorem of Chapter 15. It is not a model of neutral geometry. It is a geometry in its own right, and a very old one: astronomers used spherical geometry for the sky long before anyone thought of non-Euclidean geometry.

16.2 Spherical triangles and angle excess

Level: intermediate. Three points on the sphere, joined by the shorter great-circle arcs, make a spherical triangle. Its angles are the angles between the arcs at the corners, which are the angles between the planes of the great circles (measured between their tangent lines at the corner).

A surprising triangle. Start at the North Pole, walk down the meridian of longitude \(0^\circ\) to the equator, turn left, walk a quarter of the way around the equator to longitude \(90^\circ\) E, turn left again and walk back up to the pole. Every turn was a right angle, and the triangle you walked around has three right angles: its angle sum is \(270^\circ\). It covers exactly one-eighth of the sphere, one octant.

Lunes

Two great circles through the poles, meeting at angle \(\alpha\), cut the sphere into four lunes (crescent shapes; the name is from luna, the Moon). Each lune runs from pole to pole.

N S α A B C 90°+90°+90°

Lemma 16.1. A lune of angle \(\alpha\) (in radians) on a sphere of radius \(R\) has area \(2\alpha R^2\).

Proof. The area of a lune is proportional to its angle: rotating about the polar axis carries lunes of equal angle onto each other, and \(n\) lunes of angle \(2\pi/n\) fill the sphere, so (by the usual argument with rational multiples and then limits) the area is a fixed multiple of \(\alpha\). The whole sphere, \(4\pi R^2\) (Chapter 11), is the lune of angle \(2\pi\). So the area is \(\frac{\alpha}{2\pi} \cdot 4\pi R^2 = 2\alpha R^2\). \(\square\)

Girard's theorem

Theorem 16.2 (Girard). A spherical triangle with angles \(\alpha, \beta, \gamma\) (in radians) on a sphere of radius \(R\) has area

\[ \text{Area} = (\alpha + \beta + \gamma - \pi)\, R^2 . \]

The quantity \(E = \alpha + \beta + \gamma - \pi\) is the spherical excess.

Proof. Let the triangle be \(ABC\) and let \(A', B', C'\) be the antipodal points. The antipodal triangle \(A'B'C'\) is the image of \(ABC\) under the map \(\mathbf{x} \mapsto -\mathbf{x}\), which preserves area, so it has the same area \(T\).

Extend the two sides at \(A\) to full great circles. They meet again at \(A'\) and cut out a lune of angle \(\alpha\) containing the triangle \(ABC\), together with the opposite lune (from \(A'\) back to \(A\) on the other side) containing the triangle \(A'B'C'\). Together, these two lunes have area \(2 \cdot 2\alpha R^2 = 4\alpha R^2\). Do the same at \(B\) and \(C\).

Now count how often each point of the sphere is covered by these six lunes. The three great circles cut the sphere into eight triangles: \(ABC\), \(A'B'C'\), and six others. A point of \(ABC\) or of \(A'B'C'\) lies in three of the lunes (one for each vertex). A point of any other piece lies in exactly one lune. (Check it on the octant picture: each of the other six pieces is "beyond" exactly one side of \(ABC\) or of \(A'B'C'\).) So

\[ 4\alpha R^2 + 4\beta R^2 + 4\gamma R^2 = 4\pi R^2 + 2T + 2T, \]

where \(4\pi R^2\) counts every point once, and the extra \(2T + 2T\) counts the two extra coverings of \(ABC\) and of \(A'B'C'\). Divide by \(4\): \((\alpha + \beta + \gamma) R^2 = \pi R^2 + T\). \(\square\)

Check with the octant. \(\alpha = \beta = \gamma = \pi/2\) gives area \((3\pi/2 - \pi) R^2 = \frac{\pi}{2} R^2\), and one eighth of the sphere is \(\frac{4\pi R^2}{8} = \frac{\pi}{2} R^2\). On Mars (\(R = 3389.5\) km) that is about \(18.0\) million km\(^2\).

Consequences.

  • Every spherical triangle has angle sum greater than \(180^\circ\), since its area is positive. The sum is less than \(540^\circ\), since each angle of a triangle made of shorter arcs is less than \(180^\circ\).
  • Area is angle. On a sphere of known radius, you can find a triangle's area without measuring any length.
  • No similar triangles. Two triangles with the same angles have the same area; in fact they are congruent. Making a spherical triangle larger always increases its angles. So spherical geometry, like hyperbolic geometry, has no "scaling", and the radius \(R\) is a natural unit of length.
  • Small triangles are nearly flat. A triangle of area \(T\) has excess \(T/R^2\). A triangle with sides of 10 km on Earth has area about \(43\) km\(^2\) and excess \(43/6371^2 \approx 1.06 \times 10^{-6}\) radians, about \(0.2\) seconds of arc. That is why surveyors on a small scale can ignore the curvature, while those mapping whole countries cannot (they use "Legendre's theorem": take one third of the excess off each angle and solve as a plane triangle).

The formula is named after Albert Girard, who published it in 1629. Thomas Harriot had found it earlier, around 1603, but did not publish. Euler and Legendre later gave the proof by lunes.

16.3 Spherical trigonometry

Level: advanced. Work on the unit sphere. A spherical triangle \(ABC\) has sides \(a, b, c\) (the arcs opposite \(A\), \(B\), \(C\), measured as central angles) and angles \(A, B, C\).

A B C O a b c

Theorem 16.3 (spherical law of cosines).

\[ \cos c = \cos a \cos b + \sin a \sin b \cos C . \]

Proof. Place \(C\) at the north pole, \(C = (0, 0, 1)\). The point \(A\) is at angular distance \(b\) from \(C\) (side \(CA\) has length \(b\)); turn the sphere so that \(A\) lies in the \(xz\)-plane: \(A = (\sin b, 0, \cos b)\). The point \(B\) is at angular distance \(a\) from \(C\), and the angle at \(C\) between the meridians to \(A\) and to \(B\) is \(C\), so \(B = (\sin a \cos C, \sin a \sin C, \cos a)\). The side \(c\) is the angle between the unit vectors \(A\) and \(B\), so

\[ \cos c = A \cdot B = \sin b \sin a \cos C + \cos b \cos a . \ \square \]

Small triangles. For a small triangle, \(\cos x \approx 1 - x^2/2\) and \(\sin x \approx x\). Then the law becomes \(1 - \tfrac{c^2}{2} \approx (1 - \tfrac{a^2}{2})(1 - \tfrac{b^2}{2}) + ab\cos C\). Expanding and dropping the term \(a^2b^2/4\), which is much smaller still: \(c^2 \approx a^2 + b^2 - 2ab\cos C\), the ordinary law of cosines. The sphere looks flat close up.

Spherical Pythagoras. If \(C = 90^\circ\), \(\cos C = 0\) and

\[ \cos c = \cos a \cos b . \]

Example. A right triangle with legs \(a = b = 60^\circ\): \(\cos c = \tfrac14\), so \(c = 75.52^\circ\). On a plane, legs of 60 units would give a hypotenuse of \(60\sqrt2 = 84.85\). On the sphere the hypotenuse is shorter, because great circles through the right angle's arms bend towards each other.

Theorem 16.4 (spherical law of sines).

\[ \frac{\sin A}{\sin a} = \frac{\sin B}{\sin b} = \frac{\sin C}{\sin c} . \]

Proof. From the law of cosines, \(\cos C = \frac{\cos c - \cos a \cos b}{\sin a \sin b}\). Then

\[ \sin^2 C = 1 - \cos^2 C = \frac{\sin^2 a \sin^2 b - (\cos c - \cos a \cos b)^2}{\sin^2 a \sin^2 b} . \]

Expand the numerator with \(\sin^2 = 1 - \cos^2\): it is \(1 - \cos^2 a - \cos^2 b - \cos^2 c + 2\cos a \cos b \cos c\), which we call \(\Delta\). So

\[ \frac{\sin^2 C}{\sin^2 c} = \frac{\Delta}{\sin^2 a \sin^2 b \sin^2 c} . \]

The right side is symmetric in \(a, b, c\), so the same expression equals \(\sin^2 A/\sin^2 a\) and \(\sin^2 B/\sin^2 b\). All these sines are positive (sides and angles are between \(0\) and \(\pi\)), so take square roots. \(\square\)

The triangle inequality. For any spherical triangle, \(c < a + b\). Proof. Since \(C < \pi\), \(\cos C > -1\), so \(\cos c = \cos a\cos b + \sin a \sin b \cos C > \cos a \cos b - \sin a \sin b = \cos(a + b)\). If \(a + b \ge \pi\) then \(c \le \pi \le a + b\) anyway (and \(c = \pi\) only for antipodal ends); otherwise \(a + b\) and \(c\) are both in \([0, \pi]\), where cosine decreases, so \(c < a + b\). \(\square\) This is the heart of the claim that great circles are the shortest paths: replacing two arcs of a path by the single arc joining their ends always shortens it, and a limiting argument (approximating any curve by great-circle polygons) does the rest.

Polar triangles. For each side of \(ABC\), take the pole of its great circle on the same side as the opposite vertex. These three poles form the polar triangle \(A^*B^*C^*\), and a short argument shows its sides are \(\pi - A\), \(\pi - B\), \(\pi - C\) and its angles are \(\pi - a\), \(\pi - b\), \(\pi - c\). Applying the law of cosines to the polar triangle gives a second law, for angles:

\[ \cos C = -\cos A \cos B + \sin A \sin B \cos c . \]

So on the sphere, three angles determine a triangle (unlike the plane, where they only fix its shape).

The haversine formula

Navigators want distances between points given by latitude and longitude. Put the north pole at \(C\); then for points \(1\) and \(2\) the sides from \(C\) are the colatitudes \(90^\circ - \varphi_1\) and \(90^\circ - \varphi_2\), and the angle at \(C\) is the difference of longitudes \(\Delta\lambda\). The law of cosines gives the central angle \(\theta\):

\[ \cos\theta = \sin\varphi_1 \sin\varphi_2 + \cos\varphi_1 \cos\varphi_2 \cos\Delta\lambda . \]

That is correct, but bad for computing short distances: for nearby points \(\cos\theta\) is very close to \(1\), and a computer (or a 19th-century navigator's tables) loses most of its significant digits. The cure is the haversine, \(\operatorname{hav}\theta = \sin^2(\theta/2) = (1 - \cos\theta)/2\). Substituting \(\cos x = 1 - 2\operatorname{hav} x\) everywhere and simplifying (using \(\cos\varphi_1\cos\varphi_2 + \sin\varphi_1 \sin\varphi_2 = \cos(\varphi_2 - \varphi_1)\)) gives

\[ \operatorname{hav}\theta = \operatorname{hav}(\varphi_2 - \varphi_1) + \cos\varphi_1 \cos\varphi_2 \operatorname{hav}(\Delta\lambda), \qquad d = 2R \arcsin\sqrt{\operatorname{hav}\theta} . \]

All the quantities are small for nearby points, so no digits are lost. In double-precision arithmetic, for two points at latitude \(45^\circ\) on Earth:

true distance by arccos by haversine
10 m 10.00025 m 10.00000 m
10 cm 9.49 cm 10.00 cm
1 cm 0 1.00 cm

16.4 Navigation on Earth and Mars

Level: advanced. Here are the formulas in use, with real numbers. We use the mean radius of the Earth, \(R = 6371\) km, and of Mars, \(R = 3389.5\) km. (Both planets are slightly flattened: Earth's equatorial radius is 6378 km and polar radius 6357 km; Mars's are about 3396 km and 3376 km. Over long distances the sphere model is within about half a percent; precise navigation uses an ellipsoid.)

Example 1: London to New York. London is at \(51.5074^\circ\) N, \(0.1278^\circ\) W; New York at \(40.7128^\circ\) N, \(74.0060^\circ\) W. By the haversine formula, \(\theta = 0.8743\) radians, so

\[ d = 6371 \times 0.8743 \approx 5570 \text{ km}. \]

Initial bearing. The compass direction to set off in (clockwise from north) is

\[ \tan\beta_1 = \frac{\sin\Delta\lambda \cos\varphi_2}{\cos\varphi_1 \sin\varphi_2 - \sin\varphi_1 \cos\varphi_2 \cos\Delta\lambda}, \]

using the two-argument arctangent to get the right quadrant. (This comes from the law of sines and the second form of the law of cosines in the triangle pole-London-New York.) For London to New York, \(\beta_1 \approx 288.3^\circ\): west-north-west, even though New York is south of London's latitude.

How far north does the route go? Along a great circle, \(\cos\varphi \sin\beta\) is constant (this is Clairaut's relation; it follows from the law of sines in the triangle formed by the pole, the starting point and any later point). At the northernmost point the bearing is due west, \(\sin\beta = \pm1\), so

\[ \cos\varphi_{\max} = \cos\varphi_1 \, |\sin\beta_1| = \cos 51.51^\circ \times |\sin 288.33^\circ| \approx 0.5906, \]

and \(\varphi_{\max} \approx 53.8^\circ\) N. The shortest route from London to New York goes north of both cities.

The rhumb line. The old alternative is to steer a constant compass bearing. That path, the rhumb line or loxodrome, crosses every meridian at the same angle; it is easy to sail but it is not a great circle. From London to New York it has bearing about \(258^\circ\) and length about \(5794\) km, some 224 km (4%) longer. On a Mercator map (16.5) the rhumb line is straight and the great circle bows towards the pole:

40°N 45°N 50°N 55°N London New York great circle rhumb line

Example 2: on Mars. NASA's Curiosity rover landed in Gale crater at about \(4.59^\circ\) S, \(137.44^\circ\) E, and Perseverance landed in Jezero crater at about \(18.44^\circ\) N, \(77.45^\circ\) E (planetocentric coordinates, longitude measured east). The haversine formula with \(R = 3389.5\) km gives a central angle of \(1.1067\) radians and

\[ d \approx 3389.5 \times 1.1067 \approx 3751 \text{ km}, \]

with initial bearing about \(293^\circ\) from Gale. A degree of latitude on Mars is \(2\pi \times 3389.5/360 \approx 59.2\) km, against \(111.2\) km on Earth.

Try it in Python

from math import radians, sin, cos, asin, atan2, sqrt, degrees

def great_circle(lat1, lon1, lat2, lon2, R):
    p1, l1, p2, l2 = map(radians, (lat1, lon1, lat2, lon2))
    h = sin((p2 - p1) / 2)**2 + cos(p1) * cos(p2) * sin((l2 - l1) / 2)**2
    d = 2 * R * asin(sqrt(h))
    y = sin(l2 - l1) * cos(p2)
    x = cos(p1) * sin(p2) - sin(p1) * cos(p2) * cos(l2 - l1)
    return d, degrees(atan2(y, x)) % 360

print(great_circle(51.5074, -0.1278, 40.7128, -74.0060, 6371))   # London to New York
print(great_circle(-4.5895, 137.4417, 18.4447, 77.4508, 3389.5)) # Gale to Jezero, Mars

16.5 Maps: why no flat map is perfect

Level: advanced. A map is a way of drawing a curved surface on a flat sheet. Could a map of some region of the Earth, however small, keep every distance correct (up to one scale factor)? No.

Theorem 16.5. No map from any open piece of a sphere to the plane preserves all distances, even up to a constant scale.

Proof. Take a point \(N\) of the region, which we may treat as the north pole, and the circle of points at distance \(\rho\) from \(N\) along the sphere (a circle of latitude, at angle \(\rho/R\) from the pole). Its circumference is \(2\pi R \sin(\rho/R)\). A map that kept distances (scaled by \(k\)) would send these points to points at distance \(k\rho\) from the image of \(N\), a circle of circumference \(2\pi k\rho\), and, keeping all distances, it would keep lengths of curves (scaled by \(k\)), so \(2\pi k R\sin(\rho/R) = 2\pi k \rho\). But \(\sin x < x\) for \(x > 0\), so \(R\sin(\rho/R) < \rho\). Contradiction. \(\square\)

The deeper reason is Gauss's Theorema Egregium (1827): the sphere has curvature \(1/R^2\) at every point, the plane has curvature \(0\), and curvature can be measured from distances alone, so no distance-preserving map can exist. That is Chapter 19. Every map therefore gives something up. Each projection chooses what to keep.

Cylindrical maps. Put longitude \(\lambda\) (in radians) on the horizontal axis, \(x = R\lambda\), and some function of latitude on the vertical axis, \(y = f(\varphi)\). Meridians are vertical lines and parallels horizontal lines. A circle of latitude \(\varphi\) has true length \(2\pi R\cos\varphi\), but on the map it has the same length \(2\pi R\) as the equator: it is stretched east-west by the factor \(\sec\varphi = 1/\cos\varphi\). The choice of \(f\) decides the north-south stretch \(f'(\varphi)/R\).

Equirectangular (plate carrée): \(f(\varphi) = R\varphi\). North-south distances along meridians are correct; shapes are squashed near the poles.

Mercator (Gerardus Mercator, 1569): make the north-south stretch also \(\sec\varphi\), so that small shapes are kept. We need \(f'(\varphi) = R\sec\varphi\), and the solution with \(f(0) = 0\) is

\[ y = R\ln\tan\left(\frac{\pi}{4} + \frac{\varphi}{2}\right) . \]

Check: differentiating, \(\frac{d}{d\varphi}\ln\tan(\frac\pi4 + \frac\varphi2) = \frac{\frac12\sec^2(\frac\pi4 + \frac\varphi2)}{\tan(\frac\pi4 + \frac\varphi2)} = \frac{1}{2\sin(\frac\pi4 + \frac\varphi2)\cos(\frac\pi4 + \frac\varphi2)} = \frac{1}{\sin(\frac\pi2 + \varphi)} = \sec\varphi\). Mercator's map is conformal (keeps angles), so a constant compass bearing is a straight line, which is why sailors loved it. The price is area: the scale factor \(\sec\varphi\) in both directions multiplies areas by \(\sec^2\varphi\). At \(60^\circ\) latitude lengths are doubled and areas multiplied by 4; Greenland (about 2.2 million km\(^2\)) looks as large as Africa (about 30 million km\(^2\)). The poles are infinitely far away.

Lambert's equal-area cylindrical (Johann Heinrich Lambert, 1772): take \(f(\varphi) = R\sin\varphi\). Then the north-south scale is \(\cos\varphi\), exactly cancelling the east-west \(\sec\varphi\): areas are correct. This is Archimedes' hat-box theorem in disguise: projecting the sphere horizontally onto the circumscribed cylinder keeps area, since the zone between two parallels at heights \(h_1 < h_2\) has area \(2\pi R(h_2 - h_1)\), the same as the band of cylinder between those heights.

equirectangular Mercator equal-area

Azimuthal maps look at the sphere from a point.

  • Stereographic (projection from the south pole onto the tangent plane at the north pole, or as in Chapter 13): conformal, and sends circles on the sphere to circles. It is the standard projection for polar maps of Earth and of Mars's polar caps.
  • Gnomonic (projection from the centre \(O\) onto a tangent plane): every great circle goes to a straight line, since a great circle lies in a plane through \(O\), which meets the tangent plane in a line. So on a gnomonic chart the shortest route is a ruler line, which navigators then transferred to a Mercator chart to steer it in short rhumb-line legs. It shows less than a hemisphere.

Measuring the damage. Nicolas Auguste Tissot (1859 and later) showed that every map sends each tiny circle on the sphere to a tiny ellipse, the Tissot indicatrix. Conformal maps keep circles circular (but change their size); equal-area maps keep their area (but stretch them). By Theorem 16.5, no map does both everywhere.

Maps of Mars follow the same rules. Global maps of Mars from the orbiters' elevation and image data are often published in simple cylindrical (equirectangular) form near the equator, with polar stereographic maps for the poles.

16.6 Elliptic geometry

Level: advanced to expert. Spherical geometry fails Euclid's first postulate in one way: two antipodal points lie on infinitely many lines. Fix it by declaring each pair of antipodal points to be one point.

Definition. The elliptic plane has as its points the pairs \(\{\mathbf{x}, -\mathbf{x}\}\) of antipodal points of the unit sphere, and as its lines the great circles (each now seen as a closed curve of length \(\pi\)). Equivalently, the points are the lines through \(O\) in space, and the lines are the planes through \(O\): this is the real projective plane \(\mathbb{RP}^2\) of Chapter 18, with a distance.

Now:

  • two points lie on exactly one line (two lines through \(O\) span exactly one plane);
  • two lines meet in exactly one point (two planes through \(O\) meet in exactly one line);
  • there are no parallels.

So the incidence axioms hold, and even more symmetrically than in the plane. What fails is order: a line is a closed loop, so of three points on it none is "between" the other two in Hilbert's sense, and a line does not cut the plane into two sides. (Remove a line from the elliptic plane, and what remains is still connected; in fact it is a disc.) Betweenness is replaced by a four-point relation, separation ("\(A\) and \(B\) separate \(C\) and \(D\) on a loop").

Triangles. Small triangles in the elliptic plane are just small spherical triangles, so every triangle has angle sum greater than \(\pi\), with area equal to the excess (on the unit sphere). The whole elliptic plane has area \(2\pi\), half the sphere. This is Saccheri's obtuse angle hypothesis come to life: he refuted it correctly, but only because his axioms made lines infinite. Drop that, and the obtuse hypothesis is a consistent geometry.

A twist. The elliptic plane is non-orientable: a narrow band along a line, followed once around, comes back flipped, like a Möbius band. You cannot consistently tell clockwise from anticlockwise. This is one reason the sphere itself, not the elliptic plane, is used for maps and navigation.

Three geometries. Riemann, in his 1854 lecture, saw spherical (or elliptic), Euclidean and hyperbolic geometry as the three cases of a surface with constant curvature: positive, zero and negative.

sphere / elliptic Euclidean plane hyperbolic plane
curvature \(+1/R^2\) \(0\) \(-1/R^2\)
parallels through a point none one infinitely many
angle sum of a triangle \(> 180^\circ\) \(= 180^\circ\) \(< 180^\circ\)
area of a triangle \(R^2 \times\) excess not fixed by angles \(R^2 \times\) defect
circumference of a circle of radius \(r\) \(2\pi R\sin(r/R)\) \(2\pi r\) \(2\pi R\sinh(r/R)\)
similar triangles of different sizes no yes no

The last column is Chapter 17.

Check yourself

1. Two points on the equator of Mars are \(90^\circ\) of longitude apart. How far apart are they, and how far is each from the north pole?

Both distances are a quarter of a great circle: \(\frac{\pi}{2} \times 3389.5 \approx 5324\) km.

2. Find the area of a lune with angle \(30^\circ\) on Earth, and what fraction of the Earth's surface it is.

\(\alpha = \pi/6\), area \(= 2\alpha R^2 = \frac{\pi}{3} \times 6371^2 \approx 4.25 \times 10^7\) km\(^2\). As a fraction: \(\frac{2\alpha}{4\pi} = \frac{30}{360} = \frac{1}{12}\).

3. A spherical triangle on Earth has angles \(100^\circ\), \(80^\circ\) and \(60^\circ\). Find its area.

The excess is \(240^\circ - 180^\circ = 60^\circ = \pi/3\). The area is \(\frac{\pi}{3} R^2 \approx 4.25 \times 10^7\) km\(^2\), one twelfth of the Earth, the same as the lune in question 2.

4. An equilateral spherical triangle has sides of \(60^\circ\) on the unit sphere. Find its angles and its area.

Law of cosines: \(\cos 60^\circ = \cos^2 60^\circ + \sin^2 60^\circ \cos C\), so \(\tfrac12 = \tfrac14 + \tfrac34 \cos C\) and \(\cos C = \tfrac13\), \(C \approx 70.53^\circ\). The excess is \(3 \times 70.53^\circ - 180^\circ = 31.59^\circ \approx 0.5513\) radians, which is the area on the unit sphere.

5. Use the spherical law of cosines to show that a right triangle with legs \(a = b = 90^\circ\) has hypotenuse \(90^\circ\), and describe the triangle.

\(\cos c = \cos 90^\circ \cos 90^\circ = 0\), so \(c = 90^\circ\). It is the octant triangle: all three sides and all three angles are \(90^\circ\).

6. On a Mercator map, by what factor are lengths and areas enlarged at latitude \(60^\circ\)? At \(80^\circ\)?

Lengths by \(\sec\varphi\), areas by \(\sec^2\varphi\). At \(60^\circ\): \(2\) and \(4\). At \(80^\circ\): \(\sec 80^\circ \approx 5.76\) and about \(33.2\).

7. A plane leaves a city at latitude \(40^\circ\) N with initial bearing \(60^\circ\) along a great circle. What is the highest latitude it reaches?

Clairaut: \(\cos\varphi_{\max} = \cos 40^\circ \sin 60^\circ \approx 0.7660 \times 0.8660 = 0.6634\), so \(\varphi_{\max} \approx 48.4^\circ\) N.

8. What fraction of the Earth's surface lies between the equator and latitude \(30^\circ\) N? Use Archimedes' hat-box theorem.

The zone between heights \(0\) and \(R\sin 30^\circ = R/2\) has area \(2\pi R \cdot \tfrac R2 = \pi R^2\), which is \(\frac{\pi R^2}{4\pi R^2} = \frac14\) of the sphere. So a quarter of the Earth lies between the equator and \(30^\circ\) N (and half of it between \(30^\circ\) S and \(30^\circ\) N).

9. Explain, using the circumference of circles, why a photograph of a small area of the Moon taken from straight above cannot be a perfect scale map of it.

The Moon is (nearly) a sphere. A circle of radius \(\rho\) measured on its surface has circumference \(2\pi R\sin(\rho/R) < 2\pi\rho\), while a scale map would need circumference exactly (scale)\(\times 2\pi\rho\). The error is small for small \(\rho\), but never zero (Theorem 16.5).

10. Prove that two spherical triangles with the same three angles have the same area. Does this hold for plane triangles?

By Girard's theorem the area is \((\alpha + \beta + \gamma - \pi) R^2\), determined by the angles. In the plane, no: similar triangles of different sizes have the same angles and different areas.

11. In the elliptic plane (unit sphere with antipodes identified), what is the largest possible area of a triangle? Hint: compare with the whole plane.

The elliptic plane has area \(2\pi\). Every triangle has area equal to its excess \(\alpha + \beta + \gamma - \pi\), and each angle is less than \(\pi\), so the excess is less than \(2\pi\). Triangles can come as close to area \(2\pi\) as you like (with all angles near \(\pi\)), but cannot reach it.

12. Use the haversine formula to find the distance on Earth from the equator at longitude \(0^\circ\) to the point at latitude \(1^\circ\) N, longitude \(1^\circ\) E. Compare with the flat estimate.

\(\operatorname{hav}\theta = \sin^2(0.5^\circ) + \cos 0^\circ \cos 1^\circ \sin^2(0.5^\circ) \approx 7.615 \times 10^{-5} \times (1 + 0.99985) \approx 1.5229 \times 10^{-4}\). Then \(\theta = 2\arcsin\sqrt{1.5229 \times 10^{-4}} \approx 0.024682\) radians and \(d \approx 157.25\) km. The flat estimate \(111.19 \times \sqrt2 \approx 157.25\) km agrees to within about 4 metres, as it should for a small triangle.

What you learned

  • On a sphere the lines are great circles: they are the shortest and straightest paths; any two meet twice, so there are no parallels.
  • A lune of angle \(\alpha\) has area \(2\alpha R^2\), and a triangle has area (angle sum \(- \pi\))\(R^2\) (Girard); angles add to more than \(180^\circ\).
  • The spherical laws of cosines and sines come from dot products; for small triangles they become the plane laws.
  • The haversine formula computes great-circle distances accurately; bearings and Clairaut's relation give the route.
  • No flat map keeps all distances, because circles on a sphere are too short; Mercator keeps angles, Lambert keeps areas, stereographic keeps circles, gnomonic keeps great circles straight.
  • Identifying antipodal points gives the elliptic plane, where two lines always meet in exactly one point.

Next: Chapter 17 builds the opposite geometry, with infinitely many parallels and triangles whose angles add up to less than \(180^\circ\).

Further reading

  • G. Van Brummelen, Heavenly Mathematics: The Forgotten Art of Spherical Trigonometry (2013).
  • I. Todhunter, Spherical Trigonometry (first published 1859), still the classic collection of formulas.
  • J. P. Snyder, Map Projections: A Working Manual, U.S. Geological Survey Professional Paper 1395 (1987).
  • T. G. Feeman, Portraits of the Earth: A Mathematician Looks at Maps (2002).
  • J. R. Weeks, The Shape of Space (2nd ed., 2002), on elliptic and other geometries.
  • M. J. Greenberg, Euclidean and Non-Euclidean Geometries (4th ed., 2008), for elliptic geometry and its axioms.
  • On this site: the gentler Geometry on a sphere lesson; Vectors and Dot product; the Geometry book index.