Distance and direction between two places on the Earth
The shortest way between two places on the Earth is an arc of a great circle, the circle you get when a plane through the center of the Earth cuts the surface. Pilots and ship captains follow it. To measure it, join the two places to the North Pole: you get a triangle on the sphere, and one formula (the cosine law for sides) gives the distance. Here latitude φ is measured from the equator (north is positive, south is negative) and longitude λ is measured from Greenwich (east is positive, west is negative).
The triangle PAB
P = the North Pole, A and B = the two places. A side from the pole is the colatitude, 90° minus the latitude (for a place in the south, φ is negative, so the colatitude is more than 90°). Δλ = the difference of longitude. If it is more than 180°, use 360° − Δλ: go the short way round.
Distance (cosine law for sides)
d is the angle at the center of the Earth between A and B. With R = 6371 km: 1° of arc is 111.195 km and 1′ of arc is 1.853 km, which is why 1 nautical mile (1.852 km) is defined as 1′ of a great circle. In D = Rd the angle d must be in radians. For statute miles use 1° = 69.09 mi (R = 3959 mi).
Initial course at A
α is the azimuth, the direction measured clockwise from north (0° to 360°). The tangent alone cannot tell the quadrant, so use Pol( ) on the calculator, or look at the signs: a bottom part that is negative means the route heads south (α between 90° and 270°); with Δλ positive (going east) α is between 0° and 180°, with Δλ negative (going west) it is between 180° and 360°.
Final course at B
β is the direction of travel when you arrive at B, again clockwise from north. It is not the same as α: the meridians come together towards the pole, so the course changes along the route. The direction from B back to A is β ± 180°.
Check by the sine law
This gives the acute angle only (for example 29.5° when the real course is 150.5°), so use it to check the size of α, not to find the quadrant.
Going the other way: where do I arrive?
Start at A, leave on the course α and travel the distance d (d in degrees = nautical miles ÷ 60 = km ÷ 111.195). The first formula gives the latitude of the end point, the second the change of longitude (use Pol( ) for the quadrant).
Arc, chord and depth
The arc D runs along the surface; the chord c is the straight line through the Earth (a tunnel), and h is how deep the middle of the tunnel is below the surface. For d = 20° the arc is 2,224 km, the chord 2,213 km and the depth 97 km.
Midpoint and highest latitude
The last line is Clairaut's rule: a great circle reaches its highest latitude where it runs due east or west. It lies on your route only if the route passes it: going east, the course at A is less than 90° and the course at B is more than 90°; going west, the course at A is more than 270° and the course at B is less than 270° (all measured from north, in the northern hemisphere). A route from the Philippines to the United States climbs well north of both ends: the great circle curves towards the pole.
| Azimuth α | Quadrant bearing | Example |
|---|---|---|
| 0° to 90° | N α E | 40° = N 40° E |
| 90° to 180° | S (180° − α) E | 125° = S 55° E |
| 180° to 270° | S (α − 180°) W | 230° = S 50° W |
| 270° to 360° | N (360° − α) W | 310° = N 50° W |
How to set it up
- Write the two places as (φ, λ) with north and east positive. Find Δλ = λ₂ − λ₁ and, if it is more than 180° either way, subtract or add 360°.
- Sketch the pole P and the two places. Mark PA = 90° − φ₁, PB = 90° − φ₂ and the angle Δλ at P.
- Calculator in Deg mode: d = cos⁻¹(sin φ₁ sin φ₂ + cos φ₁ cos φ₂ cos Δλ). Then multiply by 60 for nautical miles, by 111.195 for kilometers (R = 6371 km).
- Course: use Pol( ) on the denominator and numerator of the tangent formula, and add 360° if the angle is negative. Check the size with the sine law.
- Sanity check: d is never more than 180° (20,015 km). A short distance should be close to the flat-map answer.
Calculator technique (Canon F-789SGA): distance in one line, then the course with Pol( )
In the course line the first number in Pol( ) is the bottom of the tangent and the second is the top, so the quadrant comes out right. If θ comes out negative, add 360°. [STO] is [SHIFT][RCL]; the letter A is the key [(-)] with [ALPHA] where you read it back.
Longitude and time
The Earth turns once (360°) in 24 hours, so every 15° of longitude is 1 hour of time. The Earth turns towards the east, so a place to the east has already passed noon: its clock is ahead. Local time that follows the sun is local mean time (LMT). For daily life each country uses standard time: the whole zone uses the time of one central meridian, 15° × (zone number), measured from Greenwich (UTC). The Philippines is in the +8 zone, centered on 120°E.
Arc and time
Convert the difference of longitude to hours (divide by 15), then to hours, minutes and seconds. Do the reverse to turn a time into an arc: hours × 15.
Local mean time and standard time
λ in degrees, east positive; Z = the zone number (hours ahead of Greenwich): Philippines Z = +8, Los Angeles (in standard time) Z = −8, New York Z = −5, London Z = 0. Subtract the zones to change the clock from A to B. Daylight-saving time adds one more hour where it is used (not in the Philippines).
How far from the standard meridian?
Iloilo City is at 122.56°E, which is 2.56° east of the Philippine meridian (120°E): its local mean time is 10.24 minutes ahead of the clock, so the sun crosses the meridian of Iloilo 10.24 minutes before 12:00 on the clock (apart from the equation of time, below).
The international date line
The line follows the 180° meridian (with bends around islands and countries). Traveling east over the Pacific you pass from the farthest-east zone (+12) to the farthest-west zone (−12): the clock goes back about 24 hours, so the calendar date goes back one day. Going west, the date goes forward one day.
Flights across zones: use UTC
Turn the departure time into UTC, add the flight time, then turn the answer into the clock time of the destination. The date comes out right by itself if you carry the days along (a clock reading above 24:00 is the next day; below 00:00 is the day before).
Clock time of the sun
The real sun runs a little fast or slow during the year (the equation of time, up to 16 minutes). This lesson ignores it: all times here are mean times, which is good enough for the exam and for ±10 minutes in the sun problems.
How to set it up
- Write each place's longitude with east positive and its zone number Z (Philippines +8).
- For the difference of the sun times: Δt = Δλ ÷ 15 (hours). The place farther east is later.
- For clocks: T_B = T_A + (Z_B − Z_A). If the result is above 24:00 subtract 24 h and add a day; if it is below 00:00 add 24 h and subtract a day.
- For a flight, work in UTC: UTC = local − Z, add the flight time, then convert to the destination. The dates change only through the 24-hour carries, not at the date line itself (the zones already include it).
- Check with a map: east is later; a flight of 12 hours cannot arrive 40 hours later.
Calculator technique (Canon F-789SGA): arc to time with the degrees-minutes-seconds key
Type 52 [° ' "] 18 [° ' "] with no seconds. Press [° ' "] again after the answer to turn a decimal number of hours into hours-minutes-seconds. Always divide by 15 to get hours.
The astronomical triangle: altitude and azimuth of the sun
Look at the sky as a huge sphere around you. The sun (or a star) sits at a point S on it. Three points make a triangle: the celestial pole P (the point the sky turns around, straight above the geographic North Pole), your zenith Z (straight overhead), and the sun S. This is the same kind of triangle as PAB on the Earth, so the same cosine law gives the answers. What you want: the altitude h of the sun above the horizon and its azimuth A (the direction, clockwise from north).
Three given angles
Declination δ = the latitude of the sun on the sky: about +23.44° on 21 June, 0° at the equinoxes (21 March, 23 September) and −23.44° on 21 December. Hour angle H = how far the sun is from your meridian: 15° for each hour from noon. t = solar time. In the morning H is negative, in the afternoon positive. At 9:00 a.m. solar time H = −45°.
The sides of the triangle PZS
z is the zenith distance (the angle from straight overhead). The angle at P is the hour angle |H| and the angle at Z is the azimuth (measured from the north for a morning sun; 360° minus it for an afternoon sun).
Altitude of the sun
This is the cosine law for the side ZS, using cos(90° − h) = sin h. It has the same shape as the distance formula: h plays the role of 90° − d.
Azimuth of the sun
The first form is the cosine law for the side PS. The second form works for every hour angle: put the bottom and the top in Pol( ) and add 360° if the angle is negative. Azimuth 0° = north, 90° = east, 180° = south, 270° = west.
The declination from the date
N = the day number of the year (1 January = 1, 21 March = 80, 21 June = 172, 21 December = 355). This approximate formula is good to about ±1°, enough for the exam; it is the idea behind the formula in the April 2024 item. The Nautical Almanac gives δ to the minute.
The triangle in one line
P is the pole in both. A and B are the two places; Z and S are the zenith and the sun. The sides 90° − φ₁ and 90° − φ₂ become 90° − φ and 90° − δ; the side d becomes z = 90° − h; the angle Δλ becomes H; the course α becomes the azimuth A.
How to set it up
- Find the three given angles: latitude φ (north positive), declination δ (from the table or the date), hour angle H = 15° × (solar time − 12 h).
- Sketch the triangle PZS with PZ = 90° − φ, PS = 90° − δ and the angle H at P. Mark the sun's side of the meridian (morning = east).
- Altitude: h = sin⁻¹(sin φ sin δ + cos φ cos δ cos H). The sun is above the horizon only if h > 0.
- Azimuth: tan A = −sin H ÷ (tan δ cos φ − sin φ cos H), with Pol( ) and 360° added if negative. A morning sun is east of the meridian (A between 0° and 180°); an afternoon sun is west of it (A between 180° and 360°).
- Check: at noon (H = 0) the sun is on your meridian, so it is exactly south or exactly north of the zenith (Topic 4 gives the noon altitude).
Calculator technique (Canon F-789SGA): altitude, then azimuth with Pol( ) (φ = 16.4°, δ = 20°, H = −60°)
Deg mode. The cosine of −60° is the same as the cosine of 60°, and −sin H = +sin 60° for a morning sun, so enter 60 in both places. For an afternoon sun (H positive) the second number in Pol( ) is negative: press [(-)] before [sin]; the result is then an angle between 180° and 360°, or a negative angle to which you add 360°.
That’s the end of the free preview
The rest of this lesson is for members only. Members are enrolled GERTC students and GERTC Review Pass holders. Members get:
- Topic 4: Sunrise, sunset, day length and the sun at noon (the hour angle at sunrise, the direction of sunrise, refraction, midnight sun and polar night, the noon altitude on either side of the zenith, and the length of a shadow)
- Topic 5: A plan for any problem on the Earth or in the sky (which formula for which question, and the area of a triangle on the Earth from the spherical excess)
- The Earth and sun lab: distance and course between places, arc and chord, time and longitude (with flights across the date line), and the sun (altitude, azimuth, sunrise, noon and the time for a given altitude), with drawings to scale and full steps
- 12 worked examples, each with a figure, a full solution, a Canon F-789SGA technique where it saves time and a button that opens the numbers in the lab (three follow items from past board exams: May 2017, May 2018 and April 2024, with changed numbers)
- The exam traps and the formulas to memorize, and an 18-item quiz with full solutions
Get a Review Pass to open the rest of this lesson and every other members-only lesson: 1 month ₱150 · 3 months ₱250 · 6 months ₱400. Sign in with your Gmail, pay by QR (GCash, Maya or any bank app), then send a screenshot of your receipt. Your pass starts once GERTC approves your payment.
Enrolled GERTC student? You are already a member: open this lesson in your Student Portal (Interactive Lessons).
The Trigonometry series
Plane trigonometry first, then the sphere. The quick start and the first lesson of each row are free; the others open with a free preview for members.
Plane trigonometry
- Quick startTrigonometry in one pageFree
- Trigonometry 1Angles and the Six FunctionsFree
- Trigonometry 2Identities, Inverse Functions and EquationsMembers-only preview
- Trigonometry 3Right and Oblique TrianglesMembers-only preview
- Trigonometry 4Areas, Polygons, Circles and Complex NumbersMembers-only preview
Spherical trigonometry
Want the full review?
This is a sample of what you learn at GERTC. Pre-register for the September 2027 or March 2028 CE Board Exam and join the raffle.