Astronomy Olympiad / Level 2 · INAO / Maths Toolbox

Maths Toolbox · lesson 2 of 8 · 45 min

Spherical triangles: the cosine and sine rules

After this lesson you can:
  • Say what a spherical triangle is: three great-circle arcs, with sides measured as angles.
  • Use the spherical cosine rule to find a side from two sides and the angle between them.
  • Use the spherical sine rule, and check whether an angle found from it is acute or obtuse.
  • Find the angle between two stars, or two cities, from their coordinates.

Before this lesson: Distances on a sphere: great circles and the nautical mile

1. Concept

School trigonometry works on a flat page. The sky and the Earth are spheres, and on a sphere the shortest path between two points is not a straight line but an arc of a great circle: a circle whose centre is the centre of the sphere (the equator and every meridian are great circles; other parallels of latitude are not).

Sides are angles

Join three points on a sphere with great-circle arcs and you have a spherical triangle. Its angles A,B,CA, B, C are the angles between the arcs where they meet. Its sides a,b,ca, b, c are also measured as angles: the angle each arc makes at the centre of the sphere. Side aa is opposite angle AA, as in a flat triangle. To turn a side into a length, multiply by the radius: length =R×a= R \times a (with aa in radians).

A sphere with a triangle drawn by three great-circle arcs; the corners are labelled A, B and C and the opposite sides a, b and c
Figure 1. A spherical triangle. Each side is an arc of a great circle and is measured by the angle it makes at the centre O.

Angles add to more than 180°

Start at the North Pole, walk down a meridian to the equator, turn left by 90°, walk a quarter of the way round the equator, turn left by 90° again and walk back up to the pole. The triangle you walked has three right angles: 90°+90°+90°=270°90° + 90° + 90° = 270°. On a sphere the angle sum is always more than 180°. The extra amount is the spherical excess E=A+B+C−180°E = A + B + C - 180°, and it measures the area:

area=R2E(E in radians).\text{area} = R^{2} E \qquad (E \text{ in radians}).

For our walk E=90°=π/2E = 90° = \pi/2, so the area is πR2/2\pi R^{2}/2, exactly one eighth of the sphere’s 4πR24\pi R^{2}, as it should be. Small triangles have tiny excess and behave like flat ones.

The two rules

Cosine rule (two sides and the angle between them → the third side):

cos⁡a=cos⁡bcos⁡c+sin⁡bsin⁡ccos⁡A.\cos a = \cos b \cos c + \sin b \sin c \cos A .

Sine rule (pairs of opposite parts):

sin⁡asin⁡A=sin⁡bsin⁡B=sin⁡csin⁡C.\frac{\sin a}{\sin A} = \frac{\sin b}{\sin B} = \frac{\sin c}{\sin C} .

The cosine rule is the workhorse: it always gives a unique answer, because an angle between 0° and 180° is fixed by its cosine. The sine rule is quicker but ambiguous: sin⁡x=0.5\sin x = 0.5 gives x=30°x = 30° or x=150°x = 150°. When you use it, decide from the drawing (or another rule) which one is right.

Distance between two stars

Put the triangle’s third corner at the north celestial pole P. For two stars with right ascensions α1,α2\alpha_1, \alpha_2 and declinations δ1,δ2\delta_1, \delta_2, the sides from P are 90°−δ190° - \delta_1 and 90°−δ290° - \delta_2, and the angle at P is Δα=α1−α2\Delta\alpha = \alpha_1 - \alpha_2. The cosine rule then gives their angular distance θ\theta:

cos⁡θ=sin⁡δ1sin⁡δ2+cos⁡δ1cos⁡δ2cos⁡Δα.\cos\theta = \sin\delta_1 \sin\delta_2 + \cos\delta_1 \cos\delta_2 \cos\Delta\alpha .

The same formula with latitude and longitude gives the great-circle distance between two cities.

Traps. Using the flat rule a2=b2+c2−2bccos⁡Aa^{2} = b^{2} + c^{2} - 2bc\cos A with arcs in degrees: it fails for large triangles. Forgetting to turn RA from hours into degrees (1 h = 15°). Taking the sine rule’s first answer without checking for the obtuse one.

Going deeper (Olympiad)

For a small triangle, put cos⁡x≈1−x2/2\cos x \approx 1 - x^{2}/2 and sin⁡x≈x\sin x \approx x into the cosine rule. The terms of order x2x^{2} give back the flat cosine rule. So flat trigonometry is the small-triangle limit of spherical trigonometry, which is also a good check of any spherical result.

2. Explore it

Take an orange or a ball and draw a triangle on it with three straight-looking strokes that follow great circles. Measure the three angles with a protractor held against the surface: they will add to more than 180°, and the bigger the triangle, the bigger the excess. On a globe, stretch a thread tightly between Delhi and New York: it passes far to the north of both cities, because the great circle, not the parallel, is the shortest path.

3. Worked example

How far apart in the sky are Sirius and Betelgeuse?

Positions (J2000): Sirius α1=6h45m08.9s\alpha_1 = 6^{\text{h}}45^{\text{m}}08.9^{\text{s}}, δ1=−16°42′58′′\delta_1 = -16°42'58''; Betelgeuse α2=5h55m10.3s\alpha_2 = 5^{\text{h}}55^{\text{m}}10.3^{\text{s}}, δ2=+7°24′25′′\delta_2 = +7°24'25''.

Convert: Δα=49m58.6s=12.494°\Delta\alpha = 49^{\text{m}}58.6^{\text{s}} = 12.494°; δ1=−16.716°\delta_1 = -16.716°, δ2=+7.407°\delta_2 = +7.407°. Then

cos⁡θ=sin⁡(−16.716°)sin⁡(7.407°)+cos⁡(−16.716°)cos⁡(7.407°)cos⁡(12.494°)=−0.0371+0.9273=0.8902,θ=27.10°.\begin{aligned} \cos\theta &= \sin(-16.716°)\sin(7.407°) + \cos(-16.716°)\cos(7.407°)\cos(12.494°) \\ &= -0.0371 + 0.9273 = 0.8902, \\ \theta &= 27.10° . \end{aligned}

Check. Using a flat map, (Δαcos⁡δˉ)2+(Δδ)2\sqrt{(\Delta\alpha \cos\bar\delta)^{2} + (\Delta\delta)^{2}} with the mean declination δˉ=−4.65°\bar\delta = -4.65° gives 27.1°27.1°: close, because this triangle is small and near the equator. Far from the equator the flat answer goes badly wrong.

4. From a past paper

INAO 2014, Question 3 (official paper with solutions: HBCSE). On a flight between Oslo (61° N, 8° E) and Helsinki (60.2° N, 25° E), a passenger sees the Sun on the western horizon. Twenty minutes later the Sun is 2° above the horizon. (a) Which way was the plane flying? (b) What was its ground speed? (c) How long does the whole flight take?

Our solution. Take both cities at latitude φ=60°\varphi = 60° and the Earth’s radius R=6400R = 6400 km, and assume it was near an equinox, so the Sun moves along the celestial equator.

(a) A Sun that rises in the west is only possible if the plane outruns the Earth’s rotation, flying west faster than the ground turns east. Oslo is west of Helsinki, so the plane flew from Helsinki to Oslo.

(b) In 20 minutes the Earth turns 15°/h×1315°/\text{h} \times \tfrac{1}{3} h =5°= 5°, which on its own would sink the Sun. At latitude 60° the equator meets the western horizon at 90°−φ=30°90° - \varphi = 30°, so the Sun gains altitude at only sin⁡30°=0.5\sin 30° = 0.5 times its speed along its path: rising by 2° means moving back 4°4° along the equator. The plane therefore covered 5°+4°=9°5° + 4° = 9° of longitude in 20 minutes:

v=Rcos⁡φ×9°×π180°1200 s=(6.4×106)(0.5)(0.1571)1200 m/s=419 m/s≈1510 km/h.v = \frac{R\cos\varphi \times 9° \times \tfrac{\pi}{180°}}{1200\ \text{s}} = \frac{(6.4 \times 10^{6})(0.5)(0.1571)}{1200}\ \text{m/s} = 419\ \text{m/s} \approx 1510\ \text{km/h}.

The official solution also accepts the simpler count 5°+2°=7°5° + 2° = 7° (about 1170 km/h); it notes that the tilt of the Sun’s path makes 9°9° the better value.

(c) The cities differ by 17°17° in longitude, so the time is 17/9×2017/9 \times 20 min =38= 38 min.

Check with the cosine rule. The real route is a great-circle arc. With the poles as the third corner,

cos⁡θ=sin⁡61°sin⁡60.2°+cos⁡61°cos⁡60.2°cos⁡17° ⇒ θ=8.36°,\cos\theta = \sin 61° \sin 60.2° + \cos 61° \cos 60.2° \cos 17° \ \Rightarrow\ \theta = 8.36°,

so the distance is Rθ=934R\theta = 934 km and the time at 1510 km/h is 37 min. The two answers agree to about a minute.

The tilt of the Sun’s path at the horizon gets its own lesson in the Coordinates unit.

5. Quick check

Q1. Delhi is at 28.6° N, 77.2° E and Mumbai at 19.1° N, 72.9° E. Taking the Earth as a sphere of radius 6371 km, find the great-circle distance between them in km.

Q2. A spherical triangle on a sphere of radius RR has three right angles. What is its area?

Q3. Vega is at α=279.23°\alpha = 279.23°, δ=+38.78°\delta = +38.78° and Altair at α=297.70°\alpha = 297.70°, δ=+8.87°\delta = +8.87°. Find their angular distance in degrees.

Q4. The sine rule gives sin⁡B=0.5\sin B = 0.5 in a spherical triangle. What can you say about BB?

6. Next