Key idea of this section
cos c = cos a cos b + sin a sin b cos C (sides as arcs on the unit sphere) sin A/sin a = sin B/sin b = sin C/sin c, Area = (A + B + C − π) R²
Spherical triangles
On the unit sphere S² ⊂ ℝ³, the great circles (intersections with planes through the origin) play the role of lines: the shortest path between two non-antipodal points is the shorter great-circle arc, and its length equals the angle between the position vectors. A spherical triangle has vertices given by unit vectors A, B, C (linearly independent), sides the great-circle arcs between them, of lengths a = ∠(B, C), b = ∠(C, A), c = ∠(A, B) in (0, π), and angles A, B, C equal to the dihedral angles between the planes of the sides. On a sphere of radius R, lengths scale by R and angles are unchanged.
The spherical law of cosines
Theorem 6.1. cos c = cos a cos b + sin a sin b cos C.
Proof. The angle C is the angle between the normals C × A and C × B of the two planes through C, so (C × A)·(C × B) = |C × A| |C × B| cos C = sin b sin a cos C. By the Binet–Cauchy identity (u × v)·(w × x) = (u·w)(v·x) − (u·x)(v·w), the left side is (C·C)(A·B) − (C·B)(A·C) = cos c − cos a cos b. ∎
For small triangles, cos x = 1 − x²/2 + O(x⁴) and sin x = x + O(x³) turn the spherical law into c² = a² + b² − 2ab cos C + O(|x|⁴): plane trigonometry is the infinitesimal limit of spherical trigonometry. When C = π/2 we get the spherical Pythagorean theorem cos c = cos a cos b.
The law of sines and the polar triangle
Theorem 6.2. sin A/sin a = sin B/sin b = sin C/sin c.
Proof. From Theorem 6.1, sin²C = 1 − cos²C = (sin²a sin²b − (cos c − cos a cos b)²)/(sin²a sin²b). The numerator equals 1 − cos²a − cos²b − cos²c + 2 cos a cos b cos c = det G, where G is the Gram matrix of A, B, C. Hence sin²C/sin²c = det G/(sin²a sin²b sin²c), which is symmetric in the three vertices. ∎
The polar triangle A′B′C′ has vertices A′ = B × C/|B × C| and so on (chosen on the same side as A). Its sides are π − A, π − B, π − C and its angles are π − a, π − b, π − c. Applying Theorem 6.1 to the polar triangle gives the dual law of cosines for angles:
cos C = −cos A cos B + sin A sin B cos c.
In particular, a spherical triangle is determined up to congruence by its three angles: there are no similar but non-congruent spherical triangles.
Girard's theorem
Theorem 6.3 (Girard, 1629; Harriot, 1603). The area of a spherical triangle on the unit sphere is A + B + C − π.
Proof. A lune of angle θ (the region between two great semicircles meeting at angle θ) has area 2θ, since the whole sphere, of area 4π, is a lune of angle 2π and area is additive. The three great circles through the sides of the triangle produce three pairs of lunes, of angles A, B and C, each pair consisting of a lune and its antipodal image. These six lunes cover the sphere, covering the triangle T and its antipode −T three times each and every other point exactly once. Hence 2(2A + 2B + 2C) = 4π + 4·area(T), and area(T) = A + B + C − π. ∎
The quantity A + B + C − π is the spherical excess. Girard's theorem is the simplest case of the Gauss–Bonnet theorem: for a geodesic triangle on a surface, the angle sum minus π equals the integral of the Gaussian curvature over the triangle. On the sphere of radius R the curvature is 1/R², giving area (A + B + C − π)R².
Navigation and the haversine formula
Using latitude φ and longitude λ, the north pole N and points P₁, P₂ form a spherical triangle with sides π/2 − φ₁, π/2 − φ₂ and angle Δλ at N. Theorem 6.1 gives the central angle σ between P₁ and P₂:
cos σ = sin φ₁ sin φ₂ + cos φ₁ cos φ₂ cos Δλ.
For small σ this is numerically unstable, because cos σ ≈ 1 loses digits. Writing hav θ = sin²(θ/2) = (1 − cos θ)/2, the same identity becomes
hav σ = hav(φ₂ − φ₁) + cos φ₁ cos φ₂ hav(Δλ),
which is well conditioned for small distances and was the standard formula of celestial navigation, with printed tables of haversines.
Worked example. Two points at latitude 40° N with longitudes differing by 90° have cos σ = sin²40° ≈ 0.41318, so σ ≈ 65.60°. Following the parallel of latitude instead costs 90° · cos 40° ≈ 68.94° of great-circle measure: the great circle is shorter, which is why transatlantic flights curve towards the pole on a flat map.
Exercise
- (a)A spherical right triangle on the unit sphere has legs a = b = 60°. Find the hypotenuse c and the area.
- (b)Find the angles and the area of an equilateral spherical triangle with sides 60° on the unit sphere.
- (c)Two points on the equator differ in longitude by 120°. Find their great-circle distance on a sphere of radius 6371 km.
Show solution
Answers: (a) cos c = cos²60° = 1/4, so c = arccos(1/4) ≈ 75.52°. By the law of sines, sin A = sin a sin C/sin c = (√3/2)/(√15/4) = 2/√5, and A is acute (cos A = (cos a − cos b cos c)/(sin b sin c) = (1/2 − 1/8)/((√3/2)(√15/4)) = 1/√5 > 0), so A = B = arctan 2 ≈ 63.43°. Area = 2 arctan 2 + π/2 − π = 2 arctan 2 − π/2 ≈ 0.6435. (b) By Theorem 6.1 with all sides equal, cos A = (cos a − cos²a)/sin²a = cos a/(1 + cos a) = 1/3, so each angle is arccos(1/3) ≈ 70.53° and the area is 3 arccos(1/3) − π ≈ 0.5513. (c) σ = 120° = 2π/3, so the distance is 6371 · 2π/3 ≈ 13 343.4 km.