Astronomy Olympiad / Level 2 · INAO / Maths Toolbox

Maths Toolbox · lesson 3 of 8 · 45 min

The four-part formula and the polar triangle

After this lesson you can:
  • Use the four-part formula on four parts that follow each other round a spherical triangle.
  • Build the polar triangle and use it to get the cosine rule for angles.
  • Fix the quadrant of an answer by a second formula.
  • Choose the shortest rule for the parts you know.

Before this lesson: Spherical triangles: the cosine and sine rules

INAO questions solved here: INAO 2024 Q1(b) · all INAO questions

1. Concept

Any three parts of a spherical triangle (sides or angles) fix the other three. The cosine and sine rules of the last lesson are enough in principle, but some problems need two or three steps with them. Two more tools make those problems short.

The four-part formula

Walk round a triangle and write its parts in order: side, angle, side, angle, side, angle. Any four parts in a row are linked by one formula. Call the two middle ones the inner side and inner angle, and the two ends the outer side and outer angle. Then

cos⁡(inner side)cos⁡(inner angle)=sin⁡(inner side)cot⁡(outer side)−sin⁡(inner angle)cot⁡(outer angle).\cos(\text{inner side})\cos(\text{inner angle}) = \sin(\text{inner side})\cot(\text{outer side}) - \sin(\text{inner angle})\cot(\text{outer angle}).

With the letters of Figure 1, for the four parts a,C,b,Aa, C, b, A in a row (inner side bb, inner angle CC):

cos⁡bcos⁡C=sin⁡bcot⁡a−sin⁡Ccot⁡A.\cos b \cos C = \sin b \cot a - \sin C \cot A .

Its use: you know two sides and the angle between them and want another angle, in one line. The cosine rule would need the third side first.

The triangle formed by the celestial pole P, the zenith Z and a star X, with the four parts used for the star's azimuth marked in a row: side PX, angle P, side PZ and angle Z
Figure 1. The pole P, the zenith Z and a star X make a spherical triangle. To find the star's azimuth (the angle at Z) from its hour angle H (the angle at P), use the four parts in a row: side PX, angle P, side PZ, angle Z.

The polar triangle

For every triangle there is a partner, the polar triangle. Its corners are the poles of the three sides (the points 90° from every point of each side). Its sides and angles swap roles with the original’s:

A′=180°−a,a′=180°−A,A' = 180° - a, \qquad a' = 180° - A,

and the same for B,CB, C. Apply the ordinary cosine rule to the polar triangle and translate back: you get the cosine rule for angles,

cos⁡A=−cos⁡Bcos⁡C+sin⁡Bsin⁡Ccos⁡a.\cos A = -\cos B \cos C + \sin B \sin C \cos a .

It finds an angle from the other two angles and the side between them, or a side from three angles. A spherical triangle is fixed by its three angles alone, which a flat triangle never is.

Getting the quadrant right

cos⁡\cos fixes an angle between 0° and 180° uniquely; tan⁡\tan and sin⁡\sin do not. When the four-part formula gives cot⁡Z\cot Z, look at the signs: take tan⁡Z=(numerator)/(denominator)\tan Z = (\text{numerator})/(\text{denominator}) with both signs kept, which is what the two-argument arctangent (atan2) does. Or find the same angle a second way and compare.

Traps. Using four parts that are not in a row. Mixing the inner and outer parts. Taking arctan⁡\arctan of a negative number as a negative angle when the angle in the triangle must lie between 0° and 180°.

Which rule?

You know You want Shortest rule
three sides an angle cosine rule
two sides and the angle between them the third side cosine rule
two sides and the angle between them another angle four-part formula
two angles and the side between them the third angle cosine rule for angles
a side and its opposite angle, plus one more part an opposite part sine rule (check the quadrant)

2. Explore it

Use Figure 1 with your own latitude. Pick a bright star you know, find its declination, and choose its hour angle as 3 h (45°) west. Which three parts are known? Which rule gives its altitude, and which gives its azimuth directly? Do both and compare the effort.

3. Worked example

A star of declination δ=+20°\delta = +20° is at hour angle H=40°H = 40° west, seen from Delhi (φ=28.6°\varphi = 28.6° N). Find its azimuth.

In the triangle P–Z–X: side PZ =90°−φ= 90° - \varphi, side PX =90°−δ= 90° - \delta, angle P =H= H, and the angle Z is the azimuth measured from north towards the west. The four parts PX, P, PZ, Z are in a row, with inner side PZ and inner angle P:

cos⁡(90°−φ)cos⁡H=sin⁡(90°−φ)cot⁡(90°−δ)−sin⁡Hcot⁡Z⇒ tan⁡Z=sin⁡Hcos⁡φtan⁡δ−sin⁡φcos⁡H=0.64280.3196−0.3667=0.6428−0.0471.\begin{aligned} \cos(90° - \varphi)\cos H &= \sin(90° - \varphi)\cot(90° - \delta) - \sin H \cot Z \\ \Rightarrow\ \tan Z &= \frac{\sin H}{\cos\varphi \tan\delta - \sin\varphi \cos H} = \frac{0.6428}{0.3196 - 0.3667} = \frac{0.6428}{-0.0471}. \end{aligned}

The numerator is positive and the denominator negative, so ZZ is in the second quadrant: Z=94.19°Z = 94.19° from north towards west. On the usual scale (north 0°, east 90°) the azimuth is 360°−94.19°=265.81°360° - 94.19° = 265.81°, just south of due west.

Check by the cosine rules. Altitude: sin⁡h=sin⁡φsin⁡δ+cos⁡φcos⁡δcos⁡H=0.1637+0.6320=0.7957\sin h = \sin\varphi\sin\delta + \cos\varphi\cos\delta\cos H = 0.1637 + 0.6320 = 0.7957, so h=52.72°h = 52.72°. Then

cos⁡Z=sin⁡δ−sin⁡φsin⁡hcos⁡φcos⁡h=0.3420−0.38090.5317=−0.0731 ⇒ Z=94.19°.\cos Z = \frac{\sin\delta - \sin\varphi \sin h}{\cos\varphi \cos h} = \frac{0.3420 - 0.3809}{0.5317} = -0.0731 \ \Rightarrow\ Z = 94.19° .

Same answer, and the cosine settles the quadrant on its own; but it took two steps instead of one.

4. From a past paper

INAO 2024, Question 1(b) (official paper: HBCSE). A picture shows the Sun just above the western horizon as seen from Ujjain, with the ecliptic, the celestial equator and the west point marked, and six possible paths drawn. Which path will the Sun follow down to the horizon?

Our solution. In a few minutes the Sun’s declination hardly changes, so the Sun moves along its daily circle, which is parallel to the celestial equator (not to the ecliptic). The right path is the one parallel to the equator: path 3 in the paper’s picture.

We can go further and find the angle θ\theta at which the path meets the horizon. At setting the star X is on the horizon, so side ZX =90°= 90°. The path is at right angles to the hour circle PX, and the horizon is at right angles to the vertical ZX; so θ\theta equals the angle at X. The cosine rule for side PZ is the shortest route:

cos⁡(90°−φ)=cos⁡(90°−δ)cos⁡90°+sin⁡(90°−δ)sin⁡90°cos⁡θ⇒ cos⁡θ=sin⁡φcos⁡δ.\begin{aligned} \cos(90° - \varphi) &= \cos(90° - \delta)\cos 90° + \sin(90° - \delta)\sin 90° \cos\theta \\ \Rightarrow\ \cos\theta &= \frac{\sin\varphi}{\cos\delta} . \end{aligned}

For Ujjain (φ=23.18°\varphi = 23.18°): at an equinox (δ=0\delta = 0) θ=66.82°\theta = 66.82°, which is exactly 90°−φ90° - \varphi, the angle of the equator itself; at either solstice (δ=±23.44°\delta = \pm 23.44°) θ=64.59°\theta = 64.59°. Within about two degrees, the Sun’s path at setting is parallel to the equator all year.

5. Quick check

Q1. In a spherical triangle you know two sides and the angle between them, and you want one of the other angles. Which rule gives it in one step?

Q2. A star with δ=+10°\delta = +10° is at hour angle H=30°H = 30° west, seen from latitude φ=20°\varphi = 20° N. Find the angle qq at the star in the triangle P–Z–X (the parallactic angle), in degrees.

Q3. A spherical triangle has three angles of 90°. What are the sides of its polar triangle?

Q4. At an equinox, at what angle (in degrees) does the setting Sun's path meet the horizon, seen from Ujjain (φ=23.18°\varphi = 23.18° N)?

6. Next