Geometry

The triangle that a globe gets wrong

On a sphere, a right triangle with legs of fifty and sixty degrees has a hypotenuse of seventy-two, not seventy-eight. The theorem is not approximately true there — it is false, and what replaces it says exactly how much room the surface has.

Worth reading first: Two squares, four triangles, and no algebra · Two right angles and the diagonal of a box.

Draw a right angle where the equator crosses a meridian. Go fifty degrees east along the equator, and sixty degrees north up the meridian. The flat theorem says the two endpoints are 502+602=78.1\sqrt{50^2+60^2} = 78.1 degrees of arc apart.

They are 71.371.3 degrees apart.

A right triangle on a sphereA spherical triangle with a right angle where the equator meets a meridian and legs of 50 and 60 degrees; its hypotenuse is shorter than the flat theorem predicts.50°60°71.3°legs of 50° and 60° give a hypotenuse of 71.25°,against the 78.10° the flat theorem asks for — shortby 6.85°the three angles of this triangle add to more than ahalf turn, and the excess is its area
Fig. 1 A right triangle on a sphere: the right angle where the equator meets a meridian, legs of fifty and sixty degrees, and a hypotenuse measured along the great circle joining their ends. It is almost seven degrees shorter than the flat theorem asks for.

Nothing has been measured badly and no approximation has been made. The two legs really are fifty and sixty degrees along the shortest paths available, the angle between them really is a right angle, and the third side really is the shortest path between its endpoints. Every ingredient of the theorem is present, and the conclusion is false.

What replaces it

The relation that holds instead is short enough to be startling:

cosc=cosacosb,\cos c = \cos a \cos b,

with all three sides measured as angles at the centre of the sphere. For a=50°a = 50° and b=60°b = 60° that gives cosc=0.643×0.5=0.321\cos c = 0.643 \times 0.5 = 0.321, so c=71.25°c = 71.25°, against the 78.10°78.10° the sum of squares asks for.

There are no squares in it. There is no sum. The two legs are combined by multiplication of their cosines, which is not an operation the flat statement contains anywhere, and the right angle enters only by being the case where the general spherical law of cosines loses its last term.

The formula is also symmetric in aa and bb, as it must be, and it has the right degenerate behaviour: if b=0b = 0 the relation collapses to c=ac = a, which is a triangle flattened onto a single arc.

Why the sphere shortens things

The mechanism is worth having in a sentence, because it explains the direction of the error as well as its size.

Both legs are arcs of great circles through the corner. Their far ends are two points on the sphere, and the hypotenuse is the great circle joining those. That third great circle does not stay near the two legs; it cuts across, and cutting across a curved surface takes a shortcut that a flat surface does not offer.

Put the other way: the sphere has less room than the plane. A circle of radius rr drawn on a sphere has circumference 2πsinr2\pi \sin r rather than 2πr2\pi r, which is less, so the points at distance rr from the corner are packed closer together than the plane would pack them, so the two leg-ends are nearer each other than flat geometry predicts.

A right triangle on a sphereA spherical triangle with a right angle where the equator meets a meridian and legs of 80 and 80 degrees; its hypotenuse is shorter than the flat theorem predicts.80°80°88.3°legs of 80° and 80° give a hypotenuse of 88.27°,against the 113.14° the flat theorem asks for — shortby 24.87°the three angles of this triangle add to more than ahalf turn, and the excess is its area
Fig. 2 Legs of eighty degrees each. The flat answer is 113°113°, which is more than half a great circle and therefore impossible on a sphere at all; the true hypotenuse is 88.3°88.3°. At this size the theorem is not slightly wrong — it is answering with a number the geometry has no room for.

That last figure makes the failure structural rather than numerical. On a sphere no two points are more than 180°180° apart, so any formula that can return 200°200° has left the surface behind. The flat theorem is not a good approximation that degrades; it is a statement about a different space, and at large sizes it reports quantities that do not exist.

The small triangle, which lies

So why did nobody notice for two thousand years?

A right triangle on a sphereA spherical triangle with a right angle where the equator meets a meridian and legs of 10 and 12 degrees; its hypotenuse is shorter than the flat theorem predicts.10°12°15.6°legs of 10° and 12° give a hypotenuse of 15.57°,against the 15.62° the flat theorem asks for — shortby 0.05°the three angles of this triangle add to more than ahalf turn, and the excess is its area
Fig. 3 Legs of ten and twelve degrees. The spherical hypotenuse is 15.573°15.573° against a flat 15.620°15.620° — a discrepancy of three parts in a thousand, on a triangle over a thousand kilometres across.

Because small triangles are almost flat, and the almost improves extremely fast. Expanding both sides of cosc=cosacosb\cos c = \cos a \cos b in powers of the side lengths gives

c2=a2+b213a2b2+,c^{2} = a^{2} + b^{2} - \tfrac{1}{3}a^{2}b^{2} + \cdots,

so the flat theorem is not merely the leading term — it is correct to third order, and the first correction is fourth order in the size of the triangle. Halving a triangle divides its error by sixteen.

The flat theorem as the limit at zero sizeThe hypotenuse of a right triangle as a fraction of the flat theorem's answer, on the sphere and on the hyperbolic plane, against the size of the triangle; both approach one as the triangle shrinks.0.8000.90011.10204060the shorter leg, in degrees of archypotenuse ÷ the flat theorem's answerhyperbolicsphericalflatlegs in the ratio 3 : 4, drawn from a triangle a fifth of a degree across to one 70° acrossat 70° the sphere is 21.9% short and the hyperbolic plane 11.4% long; at one degree both are within 0.006%
Fig. 4 The hypotenuse as a fraction of the flat theorem’s answer, for triangles of the same shape at every size. The spherical curve falls away below one and the hyperbolic curve rises above it, symmetrically, and both leave one flat: the correction is a2b2/3\mp a^2b^2/3 in c2c^2, and it is invisible until the triangle is enormous.

For a builder’s triangle six metres across on the Earth’s surface, aa and bb are about 10610^{-6} radians, and the hypotenuse comes up short by around 2×10132\times10^{-13} metres — a thousandth of the width of an atom. The knotted rope is not approximately right; it is right to a precision that has no physical meaning.

The lying starts at the scale of countries. A triangle whose legs are six hundred and eight hundred kilometres has a hypotenuse nearly a kilometre shorter than the flat theorem gives, which is why geodesy — the business of surveying at continental scale — was the first discipline forced to take spherical trigonometry seriously, and why the metre was originally defined by a survey arc rather than by a stick.

The other direction

There is a second geometry where the theorem also fails, and it fails the opposite way.

A triangle whose angles come to 70.0 degreesA triangle in the disc model with sides drawn as arcs, and its three angles measured from the tangents.21.1°21.1°27.7°angles 21.1° + 21.1° + 27.7° = 70.0°, against 180° in the planethe shortfall is 110.0°, and in this model that number is the triangle's area
Fig. 5 A triangle in the Poincaré disc, whose sides are the shortest paths available there. Its angles add to less than a half turn, and the deficit — like the sphere’s excess, but with the sign reversed — is its area.

In hyperbolic geometry the relation is

coshc=coshacoshb,\cosh c = \cosh a \cosh b,

the same statement with the circular cosine replaced by the hyperbolic one, and the same expansion now gives c2=a2+b2+13a2b2c^{2} = a^{2}+b^{2}+\tfrac{1}{3}a^{2}b^{2}. The hypotenuse is longer than the flat answer. There is more room in the hyperbolic plane than in the flat one, not less: a circle of radius rr has circumference 2πsinhr2\pi\sinh r, which grows exponentially, so the ends of the two legs are pushed apart rather than drawn together.

Three geometries, three formulas, one pattern:

cosc=cosacosbc2=a2+b2coshc=coshacoshb,\cos c = \cos a\cos b \qquad c^{2}=a^{2}+b^{2} \qquad \cosh c = \cosh a\cosh b,

and the middle one is the boundary case between them — the case where the correction term vanishes, in the same sense that a right angle is the case where the law of cosines loses its last term.

Curvature is the quantity being measured

The three formulas are not three unrelated facts. They are one formula at three values of a single number, and that number is the curvature KK of the surface: positive on the sphere, zero on the plane, negative in the hyperbolic plane. The correction to c2c^2 at leading order is 13Ka2b2-\tfrac{1}{3}K a^{2}b^{2}, and everything above is that expression at K=1K = 1, 00 and 1-1.

This is what makes the failure of the theorem informative rather than merely inconvenient. A creature confined to a surface, with no access to a third dimension and no view from outside, can find out which surface it is on by drawing a right triangle and comparing the sum of the squares with the square of the hypotenuse. The discrepancy, divided by 13a2b2\tfrac13 a^2b^2, is the curvature — measured entirely from inside.

That is Gauss’s Theorema Egregium in its most usable clothing: curvature is intrinsic. It is not a fact about how a surface sits in space but about distances measured within it, and it can be detected by a survey. Gauss, who was running exactly such a survey in Hanover in the 1820s, is reported to have measured the triangle formed by three mountain peaks partly to see whether physical space itself was flat. The measurement was not accurate enough to settle anything, and the ambition was the right one; the same question in the same form is what a modern cosmological survey asks with rather better instruments.

No flat map of it

One more consequence belongs here, because it is the same theorem read backwards.

Stereographic projectionLines from the north pole of a sphere through each of its points land on a plane below, matching the sphere minus one point with the whole plane.the one point with nowhere to goa circle on the sphere……is a circle on the planethe plane runs on past the edge of the drawing
Fig. 6 A sphere matched point for point with a plane, by rays from the north pole. The correspondence is perfect except at one point, and it preserves angles exactly — and still it cannot preserve distances, because the two surfaces have different amounts of room in them.

If some flat map of a region of the sphere preserved every distance, then triangles drawn on the sphere would have flat triangles’ side lengths, and the sum of squares would hold. It does not, so no such map exists — not for any region, however small, and not for any cleverness of construction. Every map of any part of a sphere distorts distance somewhere, and this is why, rather than because mapmakers have not tried hard enough.

That impossibility has the same source as everything above: the curvature is intrinsic, so it cannot be flattened away, so it obstructs any distance-preserving correspondence with a plane. A sphere is a plane plus one point as far as which points are near which is concerned; it is nothing like a plane as far as how far apart they are is concerned.

What it costs to give the theorem up

The convenience lost is larger than one formula.

On a sphere there are no similar triangles. Two triangles with the same three angles are congruent — the angles determine the sides, and there is no scaling. Everything the flat subject does with proportion, from the tangent ratio to the whole of trigonometry as a table of shape-dependent ratios, stops working, because a spherical triangle’s angles depend on its size.

Nor is there a rectangle. A quadrilateral with four right angles does not exist on a sphere, so the tiling arguments that prove the flat theorem by rearrangement have nothing to rearrange. The Greek proofs are not merely harder to adapt; their objects are gone.

And the angle sum is no longer a constant. A spherical triangle’s angles add to more than 180°180°, by an amount equal to its area, so the triangle with three right angles — an octant of the sphere, an eighth of the whole surface — is perfectly ordinary there and impossible here.

A knotted rope pulled into a 3-4-5 triangleA closed loop of rope carrying 12 equally spaced knots, held at three of them so the sides are 3, 4 and 5 knots long; the angle between the two shorter sides is 90.0 degrees.34512 knots at equal spacing, closed into aloop and pulled taut at three of them3² + 4² = 25 = 5², and the corner comesout square without anything beingmeasured
Fig. 7 The rope again, for contrast. On a curved surface this construction gives a corner that is not quite square, and the amount by which it misses is proportional to the area the rope encloses — undetectable for a rope, decisive for a continent.

How the spherical version was actually found

The flat theorem is Greek and famous. The spherical one is Greek and obscure, and its history says something about what mathematics gets remembered.

Menelaus of Alexandria wrote the Sphaerica around AD 100, which contains the first systematic treatment of triangles on a sphere and the theorem that bears his name. His motive was astronomy: the positions of stars are angles, the sky is a sphere, and every question about where a star rises is a question about a spherical triangle. The subject was developed much further by Islamic astronomers — Abū al-Wafā’ in the tenth century had the law of sines for spheres and something close to the relation above, and al-Bīrūnī used spherical trigonometry to compute the direction of Mecca from an arbitrary city, which is a genuinely hard instance of the problem.

The compact form cosc=cosacosb\cos c = \cos a \cos b is one of a set of ten relations for right spherical triangles, packaged in 1614 by John Napier — the same Napier as the logarithms — into a mnemonic circle of five parts, from which any of the ten can be read off by a rule about adjacent and opposite pieces. Napier’s rules were memorised by navigators for three centuries and are now nearly forgotten, because the questions they answered are answered by machines.

What is worth noticing is the order of events. Spherical trigonometry was worked out for use, by people who needed the sky and the sea, and the flat theory was the one that was studied for its own sake. The elegant limiting case became the famous one, and the general case that contains it stayed in the manuals.

What the picture cannot show

The spherical figures are drawings of a sphere on a flat page, which means every arc in them is distorted by the projection used to draw it. The hypotenuse looks shorter than the legs in the first figure partly because it is shorter and partly because of where it sits relative to the viewer, and no reader can separate the two effects by looking. The numbers in the captions are computed on the sphere; the picture is a photograph of it.

The hyperbolic figure is worse in a specific and famous way. The Poincaré disc is a model: the whole infinite hyperbolic plane is squeezed inside a finite circle, distances near the rim are enormously compressed, and the two sides of a triangle that look short may be far longer than the one that looks long. Every drawing of hyperbolic geometry has this property, because the surface cannot be embedded in ordinary three-dimensional space without distortion — a theorem of Hilbert, and the reason there is no hyperbolic globe to sit next to the spherical one.

So neither picture shows lengths. Both show incidence — what meets what, in what order — and both hand the lengths over to the arithmetic in the caption. That is a real limitation on the site’s usual claim, and it is where a figure stops being a proof and starts being a diagram.

The ladder from here

Below: the rearrangement proof, Euclid’s shear, the whole-number solutions, the converse and the third dimension. This rung is where the ladder leaves the theorem behind, and what stands above it belongs to a different subject: the metric tensor, geodesics as the paths a metric makes straight, and Gauss–Bonnet, which ties the total curvature of a surface to a number that counts its handles rather than its shape.

Sideways, the failure of the parallel postulate is the same discovery arriving from the direction of logic: a consistent geometry in which Euclid’s fifth axiom is false, which is what makes it an axiom rather than a theorem. The two routes reached the same place in the 1820s, one by surveying and one by trying to prove an axiom and failing usefully.

A theorem is a statement about a space

The lasting point is what the failure identifies.

For two thousand years the sum of the squares was taken to be a fact about triangles. It is not. It is a fact about flat triangles, and the flatness was invisible because there was nothing else on offer — the only surface anyone was measuring was one that is flat to twenty decimal places at the scale of a courtyard.

What the spherical and hyperbolic versions show is that the theorem was always carrying a hidden parameter, and that the parameter can be measured from inside by using the theorem and seeing how badly it does. A statement believed to be universal turned out to be the boundary case of a family, and its error term turned out to be a measurement of the thing nobody knew was there.

That is a pattern worth carrying, because the same shape recurs whenever an assumption is finally noticed: a rule that seems forced turns out to be a choice, and the alternatives are consistent, and the original is the special case in the middle. Euclid’s fifth postulate, the excluded middle, the commutativity of multiplication and the flatness of space were all discovered to be assumptions in the same way — by someone building the world in which they are false and finding that it does not collapse.

What links here

Computed from the collection, not written here: the essays that point at this one.

Named objects

A dashed tag is an object no other essay names yet.

CurvatureGeodesicHyperbolic geometryParallel postulatePythagorean theoremSpherical excessSpherical geometry