Two stars and the celestial pole make a spherical triangle. Its sides from the pole are 90∘−δ1
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
How far apart are two stars?
Hold your hand at arm's length. The width of a fist is about 10∘ of sky. Observers use it to say that Orion's belt is about 3∘ long. But to give an exact value, we need the coordinates of the stars and the cosine rule.
The triangle with the pole
A spherical triangle used to find the angular distance between two stars. Its top corner is the north celestial pole P. Two great-circle arcs run down from P, one to star X1 and one to star X2. The arc from P to X1 is labelled 90 degrees minus delta 1, and the arc from P to X2 is labelled 90 degrees minus delta 2. The angle at P between the two arcs is labelled the difference of the right ascensions, alpha 1 minus alpha 2. The third side, from X1 to X2, is labelled theta, the angular distance. The celestial equator is drawn as a curve below the two stars.
Take two stars, X1 at (α1,δ1) and X2 at (α2,δ2), and the north celestial pole P.
The arc PX1 runs along a circle of right ascension. It is 90∘−δ1.
The arc PX2 is 90∘−δ2.
The angle at P between the two arcs is the difference of the right ascensions, Δα=α1−α2, changed to degrees.
The side X1X2 is the angular distance θ. The cosine rule gives
cosθ=cos(90∘−δ1)cos(90∘−δ2)
+sin(90∘−δ1)sin(90∘−δ2)
×cosΔα
which becomes
cosθ=sinδ1sinδ2
+cosδ1cosδ2cosΔα
The formula works for stars in either hemisphere, if southern declinations are negative.
Hours to degrees
Right ascension is given in hours, minutes and seconds of time. The full circle is 24h=360∘, so
1h=15∘,1min=15′
1s=15′′
Declination is given in degrees, arcminutes and arcseconds.
Worked example: the two brightest stars of Gemini
Take Castor at α=7h34.6min, δ=+31.89∘ and Pollux at α=7h45.3min, δ=+28.03∘.
The angle at the pole.Δα=10.7min of time =10.7×15′=160.5′=2.675∘.
The two terms.sin31.89∘sin28.03∘=0.24826 and cos31.89∘cos28.03∘cos2.675∘=0.74865.
The distance.cosθ=0.99691, so θ=4.50∘.
Check with a flat sky. For close stars, θ2≈(Δαcosδm)2+(Δδ)2, where δm=29.96∘ is the mean declination. This gives (2.318∘)2+(3.86∘)2=4.50∘. The two agree.
Notice the digits in step 3. Had we rounded cosθ to 0.997, we would get 4.44∘, an error of more than 1′ in every 1∘. Near cosθ=1 a tiny change in the cosine is a large change in the angle.
Small distances need care
When θ is small, cosθ is very close to 1, and rounding spoils the answer, as step 3 showed. Two cures are used.
Keep many digits, as a computer does.
Use the haversine form, where havx=sin2(x/2):
havθ=hav(Δδ)
+cosδ1cosδ2hav(Δα)
It contains no number close to 1, so it stays accurate for close pairs.
The same triangle on the Earth
Replace the pole of the sky by the North Pole, declination by latitude ϕ, and right ascension by longitude λ. The triangle gives the great-circle distance between two places:
cosθ=sinϕ1sinϕ2
+cosϕ1cosϕ2cosΔλ
The sine and cosine rules in the same triangle give the initial course, the direction in which to set off, measured from north through east. A ship on a great circle must change its course all the way along.
Put both stars on the equator, with declinations 0∘. What is the distance for Δα=6 h? Now raise both to +80∘. Why is the distance so much smaller for the same Δα?
Practise with new numbers
Try it in Python
The program finds the three sides of the Summer Triangle, made by Vega, Deneb and Altair, and the angles at its corners.
Common mistakes
Forgetting to change hours to degrees.Δα in the formula must be in degrees: multiply hours by 15.
Using the flat sky for wide pairs. Pythagoras works only for stars close together.
Rounding cosθ too soon. Near θ=0 keep many digits, or use the haversine form.
Dropping the sign of a southern declination.sinδ is negative south of the equator.
Remember these
cosθ=sinδ1sinδ2+cosδ1cosδ2cosΔα.
The triangle is pole, star, star, with sides 90∘−δ and the angle Δα at the pole.
1h=15∘, 1min=15′, 1s=15′′.
On the Earth, use latitude and longitude in the same formula.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Two stars have the same right ascension. Their declinations are +20∘ and −15∘. How far apart are they?
A star is at declination +70∘. How far is it from the north celestial pole, and from the south celestial pole?
Two stars at declination +60∘ differ in right ascension by 12 h. How far apart are they?
Why is the flat formula θ2=Δδ2+(Δα)2 wrong even for close stars near the pole?