The great-circle distance is the shortest distance between any two points on the surface of a sphere measured along a path on the surface of the sphere (as opposed to going through the sphere's interior). Because spherical geometry is rather different from ordinary Euclidean geometry, the equations for distance take on a different form. The distance between two points in Euclidean space is the length of a straight line from one point to the other. On the sphere, however, there are no straight lines. In non-Euclidean geometry, straight lines are replaced with geodesics. Geodesics on the sphere are the great circles (circles on the sphere whose centers are coincident with the center of the sphere).
Between any two points on a sphere which are not directly opposite each other, there is a unique great circle. The two points separate the great circle into two arcs. The length of the shorter arc is the great-circle distance between the points. Between two points which are directly opposite each other (called antipodal points) there infinitely many great circles, but all have the same length, equal to half the circumference of the circle, or πr, where r is the radius of the sphere.
Because the Earth is approximately spherical, the equations for great-circle distance are important for finding the shortest distance between points of the surface of the Earth, and so has important applications in navigation.
Let δ1 and φ1 be respectively the latitude and the longitude of the first point, and δ2 and φ2 those of the second. Let r be the Earth's radius. Then the great-circle distance is:
This equation can have large rounding errors when the distances between nearby points are computed, however, so it should not generally be used in practice. Instead, an alternate formula, mathematically equivalent but with less rounding sensitivity, is:
For more explanation, and a slightly different version of this formula, see the haversine formula.
Spherical distance on the Earth
The shape of the Earth more closely resembles a flattened spheroid with extreme values for the radius of curvature of 6336 km at the equator and 6399 km at the poles. Using a sphere with a radius of 6367 km results in an error of up to about 0.5%.
A worked example
In order to use this formula for anything practical you will need two sets of coordinates. For example, the latitude and longitude of two airports:
- Nashville International Airport (BNA) in Nashville, TN, USA: N 36°7.2', W 86°40.2
- Los Angeles International Airport (LAX) in Los Angeles, CA, USA: N 33°56.4', W 118°24.0'
You will have to convert these coordinates to a more mathematically friendly form using a simple method before you can use them effectively in a formula. After conversion, the coordinates become:
- BNA: δ1 = 36.12°, = −86.67°
- LAX: δ2 = 33.94°, = −118.40°
You'll need to convert these coordinates to radians instead of degrees for them to be useful in the formula:
- BNA: δ1 = 0.6304, = −1.5127
- LAX: δ2 = 0.5924, = −2.0665
Now you can simply substitute numbers in the formula above:
Substituting r with 6367 kilometers, we get:
The distance between LAX and BNA is then 2884.6 km or 1792 miles.
In the spherical coordinates used by mathematicians and physicists, usually when considering other spheres than the Earth's surface, the great-circle distance is found as follows. If φ is the azimuthal angle and θ the colatitude then the spherical distance is given by
Note that if φ1 = φ2 then the distance formula reduces to d = r|θ1 − θ2|.
The notation above is that used in the physical sciences. Pure mathematicians, by contrast, conventionally interchange the roles of the letters φ and θ.
Last updated: 05-07-2005 02:59:02