Skip to content
The Lumenary
Wonder TrailOptional · never gradedStarts from The Pythagorean theorem

Triangles on a ball

1

The question

On flat paper the angles of every triangle add up to 180°, and a² + b² = c² in every right triangle. Draw a triangle on a ball instead. Is either rule still true?

Try the experiment before reading on. There’s no wrong way to explore.

2

Experiment

Triangles on curved surfaces

Drag the corners. On a flat plane the angles add up to 180°; on a sphere they add up to more, and in the hyperbolic plane to less.

80.6°66.6°64.7°ABC

Drag a corner to move it; drag anywhere else to turn the sphere. The sides are arcs of great circles — the shortest paths on a sphere.

  • ∠A80.6°
  • ∠B66.6°
  • ∠C64.7°

∠A + ∠B + ∠C = 212.0°

Angle excess (sum − 180°)
32.0° = 0.558 rad
Area, measured numerically
0.558 R²
Share of the whole sphere (area ÷ 4πR²)
4.44 %

∠A + ∠B + ∠C − π = Area / R²On a sphere of radius R, the excess in radians equals the area divided by R². The area is computed separately, by numerical integration, so the match is a check rather than an assumption.

∠A + ∠B + ∠C − π = K · Area

Flat planeK = 0∠A+∠B+∠C = 180°
SphereK = 1/R²∠A+∠B+∠C > 180°
Hyperbolic planeK = −1∠A+∠B+∠C < 180°

This is a first glimpse of the Gauss–Bonnet theorem: for a triangle whose sides are geodesics (shortest paths), the angle sum minus π equals the total curvature inside it. Here the curvature K is the same everywhere; on other surfaces you add up (integrate) K over the area.

3

Hints, if you want them

    4

    What’s going on

    What’s going on

    On a sphere the "straight lines" are great circles — circles whose centre is the centre of the sphere, like the equator. The walk in the first hint makes a triangle with three right angles: its angles add up to 270∘270^\circ.

    Albert Girard found the rule in 1629. On a sphere of radius RR, a triangle with angles α,β,γ\alpha, \beta, \gamma (in radians) has

    α+β+γ−π=areaR2.\alpha + \beta + \gamma - \pi = \frac{\text{area}}{R^2}.

    Our triangle covers one eighth of the sphere, so its area is 18⋅4πR2=π2R2\tfrac18 \cdot 4\pi R^2 = \tfrac{\pi}{2}R^2, and the excess is π2\tfrac{\pi}{2} — exactly the extra 90∘90^\circ.

    Pythagoras fails too. All three sides of that triangle are quarter-circles of the same length cc, so a2+b2=2c2≠c2a^2 + b^2 = 2c^2 \neq c^2. The spherical version of the theorem is

    cos⁡cR=cos⁡aR cos⁡bR,\cos\frac{c}{R} = \cos\frac{a}{R}\,\cos\frac{b}{R},

    and for small triangles it is very close to a2+b2=c2a^2 + b^2 = c^2 — which is why flat geometry works so well for drawing a field or a town, even though the Earth is round.

    The difference between the angle sum and 180∘180^\circ measures how curved a surface is. On a saddle-shaped surface — the hyperbolic plane — triangles have angle sums less than 180∘180^\circ. Gauss, Bolyai, Lobachevsky and Riemann turned these observations into non-Euclidean geometry, and Einstein used curved geometry to describe gravity.

    Computationally testedAI-drafted · awaiting human review
    5

    Where this leads