Spherical Trigonometry

Spherical trigonometry deals with the relationships between the sides and angles of spherical triangles. A spherical triangle is a figure formed on the surface of a sphere by three intersecting great circles. This subject is crucial in civil engineering for geodesy, surveying, and astronomy, where the curvature of the Earth cannot be ignored over long distances.

Fundamentals of Spherical Triangles

Properties of a Spherical Triangle

  • Sides as Angles: Unlike plane triangles, the sides of a spherical triangle (a,b,ca, b, c) are measured as central angles subtended at the center of the sphere, typically in degrees or radians. The actual linear length of a side is the arc length s=R×(side in radians)s = R \times (\text{side in radians}), where RR is the sphere's radius.
  • Vertices: The angles of the triangle (A,B,CA, B, C) are the dihedral angles between the planes of the great circles intersecting at the vertices.
  • Sum of Angles: The sum of the angles A+B+CA + B + C is strictly greater than 180180^\circ and less than 540540^\circ.
  • Spherical Excess: The amount by which the sum of the angles exceeds 180180^\circ is called the spherical excess (EE).

Spherical Excess

The difference between the sum of the angles of a spherical triangle and 180 degrees.

Variables

SymbolDescriptionUnit
EESpherical excess^\\circ
A,B,CA, B, CAngles of the spherical triangle^\\circ

Properties of a Spherical Triangle

The area of a spherical triangle is directly proportional to its spherical excess:

Area of a Spherical Triangle

Calculates the surface area of a spherical triangle given its excess and the sphere's radius.

Variables

SymbolDescriptionUnit
Area\text{Area}Surface area of the spherical trianglem^2
RRRadius of the spherem
EESpherical excess^\\circ

Great Circles

A great circle is the largest possible circle that can be drawn on a sphere. Its center coincides with the center of the sphere. The shortest path between two points on a sphere (the geodesic) lies along a great circle. Examples include the Equator and all lines of Longitude. Lines of Latitude (except the Equator) are small circles.

The Polar Triangle

Every spherical triangle ABCABC has a corresponding polar triangle ABCA'B'C', formed by the poles of the great circles that make up the sides of the original triangle.
  • The angles of one triangle are supplementary to the corresponding sides of its polar triangle.
  • A=180aA' = 180^\circ - a, B=180bB' = 180^\circ - b, C=180cC' = 180^\circ - c
  • a=180Aa' = 180^\circ - A, b=180Bb' = 180^\circ - B, c=180Cc' = 180^\circ - C
This property is extremely useful because it allows us to convert a problem where we know three angles (AAA) into a problem where we know three sides (SSS) of the polar triangle, which can then be solved using the Law of Cosines.
Key Takeaways
  • Sides are Angles: In a spherical triangle, both sides and angles are measured in angular units (degrees or radians).
  • Polar Triangles: Use polar triangles to convert an AAA (angle-angle-angle) problem into an SSS (side-side-side) problem.

Origins in Celestial Navigation

Spherical trigonometry was primarily developed by Islamic astronomers and mathematicians (like Al-Jayyani and Nasir al-Din al-Tusi) during the Islamic Golden Age to solve problems related to astronomy, timekeeping, and finding the Qibla (the direction of Mecca). These early mathematical foundations later became essential for global maritime exploration and modern celestial navigation.

Right Spherical Triangles and Napier's Rules

A right spherical triangle has at least one angle equal to 9090^\circ. To solve right spherical triangles, we use Napier's Rules of Circular Parts, a powerful mnemonic that simplifies the relationships between the five remaining parts.

Napier's Circle

If angle C=90C = 90^\circ, the remaining five parts are arranged in a specific order in a circle divided into five sectors:
  • The two sides forming the right angle: aa and bb.
  • The complements of the remaining parts: 90A90^\circ - A (or coAco-A), 90c90^\circ - c (or cocco-c), and 90B90^\circ - B (or coBco-B).
The order around the circle is: aa, bb, coAco-A, cocco-c, coBco-B.
Napier's Rules
Select any one of the five parts as the middle part. The two adjacent parts are adjacent parts, and the remaining two are opposite parts.
  • Rule 1: The sine of the middle part equals the product of the tangents of the adjacent parts. (Sin-Tan-Ad)
sin(mid)=tan(adj1)×tan(adj2) \sin(\text{mid}) = \tan(\text{adj}_1) \times \tan(\text{adj}_2)
  • Rule 2: The sine of the middle part equals the product of the cosines of the opposite parts. (Sin-Cos-Op)
sin(mid)=cos(opp1)×cos(opp2) \sin(\text{mid}) = \cos(\text{opp}_1) \times \cos(\text{opp}_2)

Complement Identities

When applying Napier's rules, recall the complement trigonometric identities:
  • sin(90θ)=cosθ\sin(90^\circ - \theta) = \cos \theta
  • cos(90θ)=sinθ\cos(90^\circ - \theta) = \sin \theta
  • tan(90θ)=cotθ\tan(90^\circ - \theta) = \cot \theta
Key Takeaways
  • Napier's Rules: Essential for solving right spherical triangles quickly. Memorize the circle (aa, bb, coAco-A, cocco-c, coBco-B) and the rules "sin-tan-ad" and "sin-cos-op".

Oblique Spherical Triangles

For spherical triangles without a right angle, we use the Spherical Law of Sines, the Spherical Law of Cosines, and Napier's Analogies.

Spherical Laws

Spherical Law of Sines

Spherical Law of Sines

Relates the sines of the sides of a spherical triangle to the sines of its opposite angles.

Variables

SymbolDescriptionUnit
a,b,ca, b, cSides of the spherical triangle (measured as angles)^\\circ
A,B,CA, B, CAngles of the spherical triangle^\\circ

Spherical Laws

Spherical Law of Cosines for Sides

Spherical Law of Cosines (Sides)

Relates the cosine of one side to the other two sides and their included angle.

Variables

SymbolDescriptionUnit
a,b,ca, b, cSides of the spherical triangle^\\circ
A,B,CA, B, CAngles of the spherical triangle^\\circ

Spherical Laws

Spherical Law of Cosines for Angles

Spherical Law of Cosines (Angles)

Relates the cosine of one angle to the other two angles and their included side.

Variables

SymbolDescriptionUnit
A,B,CA, B, CAngles of the spherical triangle^\\circ
a,b,ca, b, cSides of the spherical triangle^\\circ

Napier's Analogies

Napier's Analogies are useful formulas for solving oblique spherical triangles when you are given two sides and the included angle (SAS) or two angles and the included side (ASA). They express half-angles and half-sides.
tan[12(AB)]cot(12C)=sin[12(ab)]sin[12(a+b)]tan[12(A+B)]cot(12C)=cos[12(ab)]cos[12(a+b)] \frac{\tan\left[\frac{1}{2}(A-B)\right]}{\cot\left(\frac{1}{2}C\right)} = \frac{\sin\left[\frac{1}{2}(a-b)\right]}{\sin\left[\frac{1}{2}(a+b)\right]} \frac{\tan\left[\frac{1}{2}(A+B)\right]}{\cot\left(\frac{1}{2}C\right)} = \frac{\cos\left[\frac{1}{2}(a-b)\right]}{\cos\left[\frac{1}{2}(a+b)\right]}

Delambre's Analogies (Gauss's Equations)

Often attributed to Gauss but published earlier by Delambre, these equations relate the functions of half the sides to functions of half the angles. They are frequently used alongside Napier's Analogies to check spherical calculations.
sin[12(AB)]cos(12C)=sin[12(ab)]sin(12c) \frac{\sin\left[\frac{1}{2}(A-B)\right]}{\cos\left(\frac{1}{2}C\right)} = \frac{\sin\left[\frac{1}{2}(a-b)\right]}{\sin\left(\frac{1}{2}c\right)} cos[12(AB)]sin(12C)=sin[12(a+b)]sin(12c) \frac{\cos\left[\frac{1}{2}(A-B)\right]}{\sin\left(\frac{1}{2}C\right)} = \frac{\sin\left[\frac{1}{2}(a+b)\right]}{\sin\left(\frac{1}{2}c\right)}
Key Takeaways
  • Spherical Laws: Used for oblique triangles. They are analogous to plane geometry laws but involve sines and cosines of the sides.
  • Napier's Analogies: Particularly efficient for solving SAS and ASA cases in spherical trigonometry.

Spherical Excess and Girard's Theorem

Unlike plane triangles where the sum of interior angles is always exactly 180180^\circ (or π\pi radians), the sum of the angles of a spherical triangle always exceeds 180180^\circ. This difference is called the Spherical Excess (EE).
E=A+B+Cπ E = A + B + C - \pi
(where angles are strictly in radians)
Girard's Theorem states that the surface area of a spherical triangle is directly proportional to its spherical excess:

Area of a Spherical Triangle

Calculates the area using spherical excess and the radius of the sphere.

Variables

SymbolDescriptionUnit
Area\text{Area}Surface area of the spherical trianglem^2
EESpherical excess in radiansrad
RRRadius of the spherem

Spherical Excess and Girard's Theorem

This principle is fundamental in calculating land areas over large sections of the Earth.

Terrestrial Applications

Spherical trigonometry is applied to calculate distances and bearings between points on the Earth's surface. Let the Earth be a sphere of radius R6371 kmR \approx 6371 \text{ km}.

Terrestrial Coordinates

  • Latitude (ϕ\phi): The angle north or south of the equator. The polar distance (colatitude) is 90ϕ90^\circ - \phi.
  • Longitude (λ\lambda): The angle east or west of the Prime Meridian.
To find the great circle distance between two points P1(ϕ1,λ1)P_1(\phi_1, \lambda_1) and P2(ϕ2,λ2)P_2(\phi_2, \lambda_2), we form a spherical triangle with the North Pole (NN).
  • Side P1N=90ϕ1P_1N = 90^\circ - \phi_1
  • Side P2N=90ϕ2P_2N = 90^\circ - \phi_2
  • Angle N=λ1λ2N = |\lambda_1 - \lambda_2| (Difference in longitude)
Applying the Spherical Law of Cosines for the side P1P2P_1P_2 (dd in angular measure):

Great Circle Distance (Cosine Law)

Calculates the angular distance between two points on a sphere.

Variables

SymbolDescriptionUnit
ddAngular distance between points^\\circ \\text{ or rad}
ϕ1,ϕ2\phi_1, \phi_2Latitudes of the two points^\\circ
Δλ\Delta \lambdaDifference in longitude^\\circ

Terrestrial Coordinates

The actual distance is D=R×dD = R \times d (where dd is in radians).

The Haversine Formula

While the Spherical Law of Cosines works mathematically, it can suffer from severe rounding errors on computers when calculating small distances (where cosd1\cos d \approx 1). The Haversine formula is numerically stable for all distances and is the standard method used in surveying, GPS, and geodesy.

Haversine Formula

Numerically stable calculation of the great-circle distance between two points.

Variables

SymbolDescriptionUnit
ddAngular distance between points^\\circ \\text{ or rad}
ϕ1,ϕ2\phi_1, \phi_2Latitudes of the two points^\\circ
Δλ\Delta \lambdaDifference in longitude^\\circ

The Haversine Formula

Where the haversine function is defined as hav(θ)=sin2(θ2)=1cosθ2\text{hav}(\theta) = \sin^2\left(\frac{\theta}{2}\right) = \frac{1 - \cos \theta}{2}.
Solving for the distance DD (where D=RdD = R \cdot d, and dd is in radians):

Great Circle Distance (Haversine)

Directly calculates the linear distance between two points on the Earth's surface.

Variables

SymbolDescriptionUnit
DDLinear distancekm
RRRadius of the Earth (\approx 6371 \text{ km})km
ϕ1,ϕ2\phi_1, \phi_2Latitudes (must be converted to radians for calculation)rad
Δλ\Delta \lambdaDifference in longitude (must be converted to radians)rad

Spherical vs. Ellipsoidal Earth (WGS 84)

While spherical trigonometry assumes the Earth is a perfect sphere, it is actually an oblate spheroid (slightly squashed at the poles).
For short distances or basic celestial navigation, assuming a mean radius of R6371 kmR \approx 6371 \text{ km} is sufficient. However, for precision modern geodesy, surveying, and the Global Positioning System (GPS), civil engineers must use the WGS 84 (World Geodetic System 1984) reference ellipsoid.
On an ellipsoid, the shortest path between two points is called a geodesic, which is much more complex to calculate than a great circle. When extreme accuracy is required, equations like Vincenty's formulae are used instead of the Haversine formula to account for the Earth's oblateness.
Key Takeaways
  • Terrestrial Navigation: Great circle routes represent the shortest distance between two points on the globe, calculated using spherical trigonometry.