Length functional. On the unit sphere, write the position vector in spherical coordinates as
Its two coordinate tangent vectors satisfy , and . Consequently the induced Riemannian metric is . On a segment for which increases and ,
Segments where is not monotone require another parameter or a subdivision. Endpoint turning points can be handled by a limit.
First integral. With , there is no explicit dependence. The Euler-Lagrange equation therefore says that
is constant. For , put and solve:
The radicand must be nonnegative along the chosen segment. The printed expression with both limits fixed at describes a longitude difference between endpoints; a formula for needs the variable upper limit and the additive constant shown here. The case gives a meridian with constant longitude. The equator is also a stationary route, although it cannot be parameterized using changing .
Integration and geometric meaning. Put , so and
For a nonconstant segment , and writing , the integral becomes
Rearranging, and absorbing phase and sign into two constants, gives
Multiplying by shows that the corresponding Cartesian coordinates satisfy . Thus every such stationary route lies in a plane through the sphere's center: it is a great circle, the geodesic of the sphere. The meridians and equator are the limiting or separately parameterized cases of the same description.
Rome to Singapore. Use exactly the approximate coordinates supplied in the question: at departure and at arrival. Inserting them into the preceding relation determines
Indeed the right side is one at Rome and zero at Singapore. This corresponds to , . In latitude , the route is : it starts at north with an initially eastward heading and then curves southward to the equator. The first-integral expression in has an integrable endpoint singularity at departure, where has a turning point; the longitude parameter is regular there.
Figure 1.
Shortest spherical route for the approximate Rome and Singapore coordinates in the question
. Latitude versus longitude for the derived great circle, with endpoints at 45 degrees north and 15 degrees east, and zero degrees north and 105 degrees east. The quarter-circle parameter increases uniformly in spherical distance. Details.
For an explicit regular arc-length parametrization, let and . Their dot product is . Hence
Both and equal one. The shorter great circle arc is the global shortest path: for any unit-speed curve from , its central angle satisfies by the Cauchy-Schwarz inequality, since the tangential projection of has length . Integrating gives length at least the endpoint angle , which this route attains. For a sphere of radius , the corresponding shortest distance is .