Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2017/iii/paper-338/1/a/ii/solution

Let be orthonormal unit vectors north, west and upward. A direction of altitude and westward azimuth is
The north celestial pole and the upper equatorial meridian direction are
In the equatorial coordinate system, the same unit vector is . Taking dot products with respectively gives
This is an orthogonal transformation between two bases, so it preserves the length of the direction vector. Recover from both its sine and cosine to keep the correct quadrant. At the zenith, azimuth itself is undefined; the vector equations remain meaningful by continuity. Using the more usual eastward azimuth changes the sign of the second equation.

New to topics? Read the docs here!