This article will derive fundamental equations for a spherical triangle. These equations express the ratio between the angles and curved sides of the triangle drawn on a celestial sphere. We will need these formulas for calculating the primary directions.

Consider a right-angled triangle on a sphere with sides , , and , as well as interior angles , , and .

How will its sides and angles be related to each other?

A B α γ β

Rotated Coordinate Systems

First, we introduce a cartesian vector in coordinate system.

B α γ β X Z v X' Y'

From the conversion equation (1) it follows that has coordinates

Now, let’s use the rotation matrix to rotate by angle along and express this vector in axis. As a result, we have the following:

But on the other hand, the same component of the vector is just a projection of that vector to the -axis in the -angle plane.

b α γ β X Z v X' Y'

It gives us the first equation:

Now we move to the next step and introduce a new coordinate system , which is , rotated by angle (minus B) in plane.

B α β Z v X'' Y' Z'' Y''

If we apply rotation matrix to coordinate system, we will have a -component of the vector to be equal to

On the other hand, -component of vector is equal to zero. It means that

The exact ratio applies to angle:

B α β A γ B α β A γ

Other Equations

We have set the main equations for spherical triangles:

All the rest is just a consequence of these three equations.

First, let’s multiply by , and we will get

Now, let’s consider :

Similarly, we can write

Now, let’s divide both sides of the equation by :

which gives

With the same approach, we get from the equation

This equality

is also called the sine theorem.

Now from it follows

If we sunstitude from we will get

or

In a similar manner from (2) follows that

If we substitute (8) with (7), we will get

Similarly,

Bottom Line

We have derived a set of handy equations necessary for calculating the primary directions. Here is the recap of what we got

B α β A γ B α β A γ

Spherical triangle.