Geodesics on an ellipsoid

The study of geodesics on an ellipsoid arose in connection with geodesy specifically with the solution of triangulation networks. The figure of the Earth is well approximated by an oblate ellipsoid, a slightly flattened sphere. A geodesic is the shortest path between two points on a curved surface, analogous to a straight line on a plane surface. The solution of a triangulation network on an ellipsoid is therefore a set of exercises in spheroidal trigonometry.

If the Earth is treated as a sphere, the geodesics are great circles (all of which are closed) and the problems reduce to ones in spherical trigonometry. However, showed that the effect of the rotation of the Earth results in its resembling a slightly oblate ellipsoid: in this case, the equator and the meridians are the only simple closed geodesics. Furthermore, the shortest path between two points on the equator does not necessarily run along the equator. Finally, if the ellipsoid is further perturbed to become a triaxial ellipsoid (with three distinct semi-axes), only three geodesics are closed.

Geodesics on an ellipsoid of revolution
There are several ways of defining geodesics. A simple definition is as the shortest path between two points on a surface. However, it is frequently more useful to define them as paths with zero geodesic curvature—i.e., the analogue of straight lines on a curved surface. This definition encompasses geodesics traveling so far across the ellipsoid's surface that they start to return toward the starting point, so that other routes are more direct, and includes paths that intersect or re-trace themselves. Short enough segments of a geodesics are still the shortest route between their endpoints, but geodesics are not necessarily globally minimal (i.e. shortest among all possible paths). Every globally-shortest path is a geodesic, but not vice versa.

By the end of the 18th century, an ellipsoid of revolution (the term spheroid is also used) was a well-accepted approximation to the figure of the Earth. The adjustment of triangulation networks entailed reducing all the measurements to a reference ellipsoid and solving the resulting two-dimensional problem as an exercise in spheroidal trigonometry.

It is possible to reduce the various geodesic problems into one of two types. Consider two points: $A$ at latitude $φ_{1}$ and longitude $λ_{1}$ and $B$ at latitude $φ_{2}$ and longitude $λ_{2}$ (see Fig. 1). The connecting geodesic (from $A$ to $B$) is $AB$, of length $s_{12}$, which has azimuths $&alpha;_{1}$ and $&alpha;_{2}$ at the two endpoints. The two geodesic problems usually considered are: As can be seen from Fig. 1, these problems involve solving the triangle $&alpha;_{2}$ given one angle, $B$ for the direct problem and $&alpha;_{2} &plusmn; π$ for the inverse problem, and its two adjacent sides. For a sphere the solutions to these problems are simple exercises in spherical trigonometry, whose solution is given by formulas for solving a spherical triangle. (See the article on great-circle navigation.)
 * 1) the direct geodesic problem or first geodesic problem, given $A$, $&alpha;_{1}$, and $s_{12}$, determine $B$ and $&alpha;_{2}$;
 * 2) the inverse geodesic problem or second geodesic problem, given $A$ and $B$, determine $s_{12}$, $&alpha;_{1}$, and $&alpha;_{2}$.

For an ellipsoid of revolution, the characteristic constant defining the geodesic was found by. A systematic solution for the paths of geodesics was given by and  (and subsequent papers in #|1808 and #|1810). The full solution for the direct problem (complete with computational tables and a worked out example) is given by.

During the 18th century geodesics were typically referred to as "shortest lines". The term "geodesic line" (actually, a curve) was coined by : Nous désignerons cette ligne sous le nom de ligne géodésique [We will call this line the geodesic line]. This terminology was introduced into English either as "geodesic line" or as "geodetic line", for example , A line traced in the manner we have now been describing, or deduced from trigonometrical measures, by the means we have indicated, is called a geodetic or geodesic line: it has the property of being the shortest which can be drawn between its two extremities on the surface of the Earth; and it is therefore the proper itinerary measure of the distance between those two points. In its adoption by other fields geodesic line, frequently shortened to geodesic, was preferred.

This section treats the problem on an ellipsoid of revolution (both oblate and prolate). The problem on a triaxial ellipsoid is covered in the next section.

Equations for a geodesic
Here the equations for a geodesic are developed; the derivation closely follows that of. ,, , , , , and also provide derivations of these equations.

Consider an ellipsoid of revolution with equatorial radius $NAB$ and polar semi-axis $&alpha;_{1}$. Define the flattening $λ_{12} = λ_{2} &minus; λ_{1}$, the eccentricity $a$, and the second eccentricity $b$:



f = \frac{a - b}{a}, \quad e = \frac{\sqrt{a^2 - b^2}}{a} = \sqrt{f(2-f)},\quad e' = \frac{\sqrt{a^2-b^2}}{b} = \frac{e}{1-f}. $$

(In most applications in geodesy, the ellipsoid is taken to be oblate, $f$; however, the theory applies without change to prolate ellipsoids, $e$, in which case $e&prime;$, $a &gt; b$, and $a &lt; b$ are negative.)

Let an elementary segment of a path on the ellipsoid have length $f$. From Figs. 2 and 3, we see that if its azimuth is $&alpha;$, then $e^{2}$ is related to $e&prime;^{2}$ and $ds$ by

\cos\alpha\,ds = \rho\,d\varphi = - \frac{dR}{\sin\varphi}, \quad \sin\alpha\,ds = R\,d\lambda,$$ $$ where $&rho;$ is the meridional radius of curvature, $ds$ is the radius of the circle of latitude $φ$, and $&nu;$ is the normal radius of curvature. The elementary segment is therefore given by
 * $$ds^2 = \rho^2\,d\varphi^2 + R^2\,d\lambda^2$$

or
 * $$\begin{align}

ds &= \sqrt{\rho^2\varphi'^2 + R^2}\,d\lambda \\ &\equiv L(\varphi,\varphi')\,d\lambda, \end{align}$$ where $dφ$ and the Lagrangian function $dλ$ depends on $φ$ through $R = &nu; cosφ$ and $φ&prime; = dφ/dλ$. The length of an arbitrary path between $L$ and $&rho;(φ)$ is given by
 * $$ s_{12} = \int_{\lambda_1}^{\lambda_2} L(\varphi, \varphi')\,d\lambda,$$

where $φ$ is a function of $λ$ satisfying $R(φ)$ and $(φ_{1}, λ_{1})$. The shortest path or geodesic entails finding that function $(φ_{2}, λ_{2})$ which minimizes $φ(λ_{1}) = φ_{1}$. This is an exercise in the calculus of variations and the minimizing condition is given by the Beltrami identity,
 * $$L - \varphi' \frac{\partial L}{\partial \varphi'} = \text{const.}$$

Substituting for $φ(λ_{2}) = φ_{2}$ and using Eqs. $$ gives
 * $$R\sin\alpha = \text{const.}$$

found this relation, using a geometrical construction; a similar derivation is presented by. Differentiating this relation gives
 * $$d\alpha=\sin\varphi\,d\lambda.$$

This, together with Eqs. $$, leads to a system of ordinary differential equations for a geodesic

\frac{d\varphi}{ds} = \frac{\cos\alpha}{\rho};\quad \frac{d\lambda}{ds} = \frac{\sin\alpha}{\nu\cos\varphi};\quad \frac{d\alpha}{ds} = \frac{\tan\varphi\sin\alpha}{\nu}.$$ We can express $φ(λ)$ in terms of the parametric latitude, $β$, using
 * $$R = a\cos\beta,$$

and Clairaut's relation then becomes
 * $$\sin\alpha_1\cos\beta_1 = \sin\alpha_2\cos\beta_2.$$

This is the sine rule of spherical trigonometry relating two sides of the triangle $s_{12}$ (see Fig. 4), $L$, and $R$ and their opposite angles $NAB$ and $NA = 1/2π &minus; β_{1}$.

In order to find the relation for the third side $NB = 1/2π &minus; β_{2}$, the spherical arc length, and included angle $B = π &minus; &alpha;_{2}$, the spherical longitude, it is useful to consider the triangle $A = &alpha;_{1}$ representing a geodesic starting at the equator; see Fig. 5. In this figure, the variables referred to the auxiliary sphere are shown with the corresponding quantities for the ellipsoid shown in parentheses. Quantities without subscripts refer to the arbitrary point $AB = σ_{12}$; $N = &omega;_{12}$, the point at which the geodesic crosses the equator in the northward direction, is used as the origin for $σ$, $s$ and $ω$.

If the side $NEP$ is extended by moving $P$ infinitesimally (see Fig. 6), we obtain

\cos\alpha\,d\sigma = d\beta, \quad \sin\alpha\,d\sigma = \cos\beta\,d\omega.$$ $$ Combining Eqs. $$ and $$ gives differential equations for $E$ and $λ$
 * $$\frac 1 a \frac{ds}{d\sigma}

= \frac{d\lambda}{d\omega} = \frac{\sin\beta}{\sin\varphi}.$$

The relation between $β$ and $φ$ is
 * $$\tan\beta = \sqrt{1-e^2} \tan\varphi = (1-f) \tan\varphi,$$

which gives
 * $$\frac{\sin\beta}{\sin\varphi} = \sqrt{1-e^2\cos^2\beta},$$

so that the differential equations for the geodesic become
 * $$\frac1a\frac{ds}{d\sigma} = \frac{d\lambda}{d\omega} = \sqrt{1-e^2\cos^2\beta}.$$

The last step is to use $σ$ as the independent parameter in both of these differential equations and thereby to express $s$ and $λ$ as integrals. Applying the sine rule to the vertices $EP$ and $P$ in the spherical triangle $s$ in Fig. 5 gives
 * $$\sin\beta = \sin\beta(\sigma;\alpha_0) = \cos\alpha_0 \sin\sigma,$$

where $E$ is the azimuth at $G$. Substituting this into the equation for $EGP$ and integrating the result gives

\frac sb = \int_0^\sigma \sqrt{1 + k^2 \sin^2\sigma'}\,d\sigma', $$ $$ where
 * $$k = e'\cos\alpha_0,$$

and the limits on the integral are chosen so that $&alpha;_{0}$. pointed out that the equation for $s$ is the same as the equation for the arc on an ellipse with semi-axes $E$ and $ds/d σ$. In order to express the equation for $λ$ in terms of $σ$, we write
 * $$d\omega = \frac{\sin\alpha_0}{\cos^2\beta}\,d\sigma,$$

which follows from $$ and Clairaut's relation. This yields

\lambda - \lambda_0 = \omega - f\sin\alpha_0 \int_0^\sigma \frac{2-f}{1 + (1-f)\sqrt{1 + k^2\sin^2\sigma'}} \,d\sigma', $$ $$ and the limits on the integrals are chosen so that $s(σ = 0) = 0$ at the equator crossing, $b\sqrt{1 + e&prime;^{2} cos^{2}&alpha;_{0}}|undefined$.

This completes the solution of the path of a geodesic using the auxiliary sphere. By this device a great circle can be mapped exactly to a geodesic on an ellipsoid of revolution.

There are also several ways of approximating geodesics on a terrestrial ellipsoid (with small flattening) ; some of these are described in the article on geographical distance. However, these are typically comparable in complexity to the method for the exact solution.

Behavior of geodesics


Fig. 7 shows the simple closed geodesics which consist of the meridians (green) and the equator (red). (Here the qualification "simple" means that the geodesic closes on itself without an intervening self-intersection.) This follows from the equations for the geodesics given in the previous section.

All other geodesics are typified by Figs. 8 and 9 which show a geodesic starting on the equator with $b$. The geodesic oscillates about the equator. The equatorial crossings are called nodes and the points of maximum or minimum latitude are called vertices; the parametric latitudes of the vertices are given by $λ = λ_{0}$. The geodesic completes one full oscillation in latitude before the longitude has increased by $360 deg$. Thus, on each successive northward crossing of the equator (see Fig. 8), $λ$ falls short of a full circuit of the equator by approximately $σ = 0$ (for a prolate ellipsoid, this quantity is negative and $λ$ completes more that a full circuit; see Fig. 10). For nearly all values of $f = 1/undefined$, the geodesic will fill that portion of the ellipsoid between the two vertex latitudes (see Fig. 9).

If the ellipsoid is sufficiently oblate, i.e., $&alpha;_{0} = 45 deg$, another class of simple closed geodesics is possible. Two such geodesics are illustrated in Figs. 11 and 12. Here $f = &minus;1/undefined$ and the equatorial azimuth, $&alpha;_{0} = 45 deg$, for the green (resp. blue) geodesic is chosen to be $53.175 deg$ (resp. $75.192 deg$), so that the geodesic completes 2 (resp. 3) complete oscillations about the equator on one circuit of the ellipsoid.

Fig. 13 shows geodesics (in blue) emanating $&alpha;_{0} = 45°$ with $β = &plusmn;(1/2π &minus; |&alpha;_{0}|)$ a multiple of $15 deg$ up to the point at which they cease to be shortest paths. (The flattening has been increased to $1/undefined$ in order to accentuate the ellipsoidal effects.) Also shown (in green) are curves of constant $2π f sin&alpha;_{0}$, which are the geodesic circles centered $&alpha;_{0}$. showed that, on any surface, geodesics and geodesic circle intersect at right angles. The red line is the cut locus, the locus of points which have multiple (two in this case) shortest geodesics from $b/a = 2/7$. On a sphere, the cut locus is a point. On an oblate ellipsoid (shown here), it is a segment of the circle of latitude centered on the point antipodal to $b/a &lt; 1/2$, $b/a = 2/7$. The longitudinal extent of cut locus is approximately $&alpha;_{0}$. If $f = 1/undefined$ lies on the equator, $φ_{1} = -30 deg$, this relation is exact and as a consequence the equator is only a shortest geodesic if $A$. For a prolate ellipsoid, the cut locus is a segment of the anti-meridian centered on the point antipodal to $&alpha;_{1}$, $s_{12}$, and this means that meridional geodesics stop being shortest paths before the antipodal point is reached.

Differential properties of geodesics
Various problems involving geodesics require knowing their behavior when they are perturbed. This is useful in trigonometric adjustments, determining the physical properties of signals which follow geodesics, etc. Consider a reference geodesic, parameterized by $A$, and a second geodesic a small distance $A$ away from it. showed that $A$ obeys the Gauss-Jacobi equation
 * $$\frac{d^2t(s)}{ds^2} + K(s) t(s) = 0, $$

where $φ = &minus;φ_{1}$ is the Gaussian curvature at $λ_{12} &isin; [π &minus; f π cosφ_{1}, π + f π cosφ_{1}]$. As a second order, linear, homogeneous differential equation, its solution may be expressed as the sum of two independent solutions
 * $$ t(s_2) = C m(s_1,s_2) + D M(s_1,s_2) $$

where

\begin{align} m(s_1, s_1) &= 0, \quad \left.\frac{dm(s_1,s_2)}{ds_2}\right|_{s_2 = s_1} = 1, \\ M(s_1, s_1) &= 1, \quad \left.\frac{dM(s_1,s_2)}{ds_2}\right|_{s_2 = s_1} = 0. \end{align} $$ The quantity $A$ is the so-called reduced length, and $φ_{1} = 0$ is the geodesic scale. Their basic definitions are illustrated in Fig. 14.

The Gaussian curvature for an ellipsoid of revolution is

K = \frac1{\rho\nu} = \frac{\bigl(1-e^2\sin^2\varphi\bigr)^2}{b^2} = \frac{b^2}{a^4\bigl(1-e^2\cos^2\beta\bigr)^2}. $$ solved the Gauss-Jacobi equation for this case enabling $|λ_{12}| &le; (1 &minus; f)π$ and $A$ to be expressed as integrals.

As we see from Fig. 14 (top sub-figure), the separation of two geodesics starting at the same point with azimuths differing by $λ_{12} = π$ is $s$. On a closed surface such as an ellipsoid, $t(s)$ oscillates about zero. The point at which $t(s)$ becomes zero is the point conjugate to the starting point. In order for a geodesic between $K(s)$ and $s$, of length $m(s_{1}, s_{2}) = m_{12}$, to be a shortest path it must satisfy the Jacobi condition  , that there is no point conjugate to $M(s_{1}, s_{2}) = M_{12}$ between $m_{12}$ and $M_{12}$. If this condition is not satisfied, then there is a nearby path (not necessarily a geodesic) which is shorter. Thus, the Jacobi condition is a local property of the geodesic and is only a necessary condition for the geodesic being a global shortest path. Necessary and sufficient conditions for a geodesic being the shortest path are:
 * for an oblate ellipsoid, $d&alpha;_{1}$;
 * for a prolate ellipsoid, $m_{12} d&alpha;_{1}$, if $m_{12}$; if $m_{12}$, the supplemental condition $A$ is required if $B$.

Envelope of geodesics
The geodesics from a particular point $s_{12}$ if continued past the cut locus form an envelope illustrated in Fig. 15. Here the geodesics for which $A$ is a multiple of $3 deg$ are shown in light blue. (The geodesics are only shown for their first passage close to the antipodal point, not for subsequent ones.) Some geodesic circles are shown in green; these form cusps on the envelope. The cut locus is shown in red. The envelope is the locus of points which are conjugate to $A$; points on the envelope may be computed by finding the point at which $B$ on a geodesic. calls this star-like figure produced by the envelope an astroid.

Outside the astroid two geodesics intersect at each point; thus there are two geodesics (with a length approximately half the circumference of the ellipsoid) between $|σ_{12}| &le; π$ and these points. This corresponds to the situation on the sphere where there are "short" and "long" routes on a great circle between two points. Inside the astroid four geodesics intersect at each point. Four such geodesics are shown in Fig. 16 where the geodesics are numbered in order of increasing length. (This figure uses the same position for $|λ_{12}| &le; π$ as Fig. 13 and is drawn in the same projection.) The two shorter geodesics are stable, i.e., $&alpha;_{0} &ne; 0$, so that there is no nearby path connecting the two points which is shorter; the other two are unstable. Only the shortest line (the first one) has $&alpha;_{0} = 0$. All the geodesics are tangent to the envelope which is shown in green in the figure.

The astroid is the (exterior) evolute of the geodesic circles centered at $m_{12} &ge; 0$. Likewise, the geodesic circles are involutes of the astroid.

Area of a geodesic polygon
A geodesic polygon is a polygon whose sides are geodesics. It is analogous to a spherical polygon, whose sides are great circles. The area of such a polygon may be found by first computing the area between a geodesic segment and the equator, i.e., the area of the quadrilateral $|λ_{12}| = π$ in Fig. 1. Once this area is known, the area of a polygon may be computed by summing the contributions from all the edges of the polygon.

Here an expression for the area $A$ of $φ_{1} = -30 deg$ is developed following. The area of any closed region of the ellipsoid is
 * $$ T = \int dT = \int \frac 1 K \cos\varphi\,d\varphi\,d\lambda,

$$ where $A$ is an element of surface area and $B$ is the Gaussian curvature. Now the Gauss–Bonnet theorem applied to a geodesic polygon states

\Gamma = \int K \,dT = \int \cos\varphi\,d\varphi\,d\lambda, $$ where

\Gamma = 2\pi - \sum_j \theta_j $$ is the geodesic excess and $φ_{2} = 26 deg$ is the exterior angle at vertex $λ_{12} = 175 deg$. Multiplying the equation for $f = 1/undefined$ by $φ_{1} = -30 deg$, where $A$ is the authalic radius, and subtracting this from the equation for $&alpha;_{1}$ gives

\begin{align} T &= R_2^2 \,\Gamma + \int \left(\frac 1 K - R_2^2\right)\cos\varphi\,d\varphi\,d\lambda \\ &=R_2^2 \,\Gamma + \int \left( \frac{b^2}{\bigl(1 - e^2\sin^2\varphi\bigr)^2} - R_2^2 \right)\cos\varphi\,d\varphi\,d\lambda, \end{align} $$ where the value of $A$ for an ellipsoid has been substituted. Applying this formula to the quadrilateral $m_{12} = 0$, noting that $A$, and performing the integral over $φ$ gives

S_{12}=R_2^2 (\alpha_2-\alpha_1) + b^2 \int_{\lambda_1}^{\lambda_2} \left( \frac1{2\bigl(1 - e^2\sin^2\varphi\bigr)}+ \frac{\tanh^{-1}(e \sin\varphi)}{2e \sin\varphi} - \frac{R_2^2}{b^2}\right)\sin\varphi \,d\lambda, $$ where the integral is over the geodesic line (so that $φ$ is implicitly a function of $λ$). The integral can be expressed as a series valid for small $A$.

The area of a geodesic polygon is given by summing $m_{12} &gt; 0$ over its edges. This result holds provided that the polygon does not include a pole; if it does, $σ_{12} &le; π$ must be added to the sum. If the edges are specified by their vertices, then a convenient expression for the geodesic excess $A$ is

\tan\frac{E_{12}}2 = \frac{\sin\tfrac12 (\beta_2 + \beta_1)} {\cos\tfrac12 (\beta_2 - \beta_1)} \tan\frac{\omega_{12}}2. $$

Solution of the direct and inverse problems
Solving the geodesic problems entails mapping the geodesic onto the auxiliary sphere and solving the corresponding problem in great-circle navigation. When solving the "elementary" spherical triangle for $AFHB$ in Fig. 5, Napier's rules for quadrantal triangles can be employed,

\begin{align} \sin\alpha_0 &= \sin\alpha \cos\beta = \tan\omega \cot\sigma, \\ \cos\sigma &= \cos\beta \cos\omega = \tan\alpha_0 \cot\alpha, \\ \cos\alpha &= \cos\omega \cos\alpha_0 = \cot\sigma \tan\beta, \\ \sin\beta &= \cos\alpha_0 \sin\sigma = \cot\alpha \tan\omega, \\ \sin\omega &= \sin\sigma \sin\alpha = \tan\beta \tan\alpha_0. \end{align} $$ The mapping of the geodesic involves evaluating the integrals for the distance, $S_{12}$, and the longitude, $λ$, Eqs. $$ and $$ and these depend on the parameter $AFHB$.

Handling the direct problem is straightforward, because $dT$ can be determined directly from the given quantities $K$ and $&theta;_{j}$; for a sample calculation, see.

In the case of the inverse problem, $j$ is given; this cannot be easily related to the equivalent spherical angle $Γ$ because $R_{2}^{2}$ is unknown. Thus, the solution of the problem requires that $R_{2}$ be found iteratively (root finding); see for details.

In geodetic applications, where $T$ is small, the integrals are typically evaluated as a series. For arbitrary $K$, the integrals (3) and (4) can be found by numerical quadrature or by expressing them in terms of elliptic integrals.

provides solutions for the direct and inverse problems; these are based on a series expansion carried out to third order in the flattening and provide an accuracy of about $0.1 mm$ for the WGS84 ellipsoid; however the inverse method fails to converge for nearly antipodal points.

continues the expansions to sixth order which suffices to provide full double precision accuracy for $AFHB$ and improves the solution of the inverse problem so that it converges in all cases. extends the method to use elliptic integrals which can be applied to ellipsoids with arbitrary flattening.

Geodesics on a triaxial ellipsoid
Solving the geodesic problem for an ellipsoid of revolution is mathematically straightforward: because of symmetry, geodesics have a constant of motion, given by Clairaut's relation allowing the problem to be reduced to quadrature. By the early 19th century (with the work of Legendre, Oriani, Bessel, et al.), there was a complete understanding of the properties of geodesics on an ellipsoid of revolution.

On the other hand, geodesics on a triaxial ellipsoid (with three unequal axes) have no obvious constant of the motion and thus represented a challenging unsolved problem in the first half of the 19th century. In a remarkable paper, discovered a constant of the motion allowing this problem to be reduced to quadrature also.

Triaxial ellipsoid coordinate system


Consider the ellipsoid defined by

h = \frac{X^2}{a^2} + \frac{Y^2}{b^2} + \frac{Z^2}{c^2} = 1, $$ where $Γ = &alpha;_{2} &minus; &alpha;_{1}$ are Cartesian coordinates centered on the ellipsoid and, without loss of generality, $f$.

employed the (triaxial) ellipsoidal coordinates (with triaxial ellipsoidal latitude and triaxial ellipsoidal longitude, $S_{12}$) defined by

\begin{align} X &= a \cos\omega \frac{\sqrt{a^2 - b^2\sin^2\beta - c^2\cos^2\beta}} {\sqrt{a^2 - c^2}}, \\ Y &= b \cos\beta \sin\omega, \\ Z &= c \sin\beta \frac{\sqrt{a^2\sin^2\omega + b^2\cos^2\omega - c^2}} {\sqrt{a^2 - c^2}}. \end{align} $$ In the limit $2π R_{2}^{2}$, $β$ becomes the parametric latitude for an oblate ellipsoid, so the use of the symbol $β$ is consistent with the previous sections. However, $&omega;$ is different from the spherical longitude defined above.

Grid lines of constant $&omega;$ (in blue) and $β$ (in green) are given in Fig. 17. These constitute an orthogonal coordinate system: the grid lines intersect at right angles. The principal sections of the ellipsoid, defined by $E_{12} = &alpha;_{2} &minus; &alpha;_{1}$ and $NEP$ are shown in red. The third principal section, $s$, is covered by the lines $&alpha;_{0}$ and $&alpha;_{0}$ or $φ_{1}$. These lines meet at four umbilical points (two of which are visible in this figure) where the principal radii of curvature are equal. Here and in the other figures in this section the parameters of the ellipsoid are $&alpha;_{1}$, and it is viewed in an orthographic projection from a point above $λ_{12}$, $&omega;_{12}$.

The grid lines of the ellipsoidal coordinates may be interpreted in three different ways:
 * 1) They are "lines of curvature" on the ellipsoid: they are parallel to the directions of principal curvature.
 * 2) They are also intersections of the ellipsoid with confocal systems of hyperboloids of one and two sheets.
 * 3) Finally they are geodesic ellipses and hyperbolas defined using two adjacent umbilical points .  For example, the lines of constant $&omega;$ in Fig. 17 can be generated with the familiar string construction for ellipses with the ends of the string pinned to the two umbilical points.

Jacobi's solution
Jacobi showed that the geodesic equations, expressed in ellipsoidal coordinates, are separable. Here is how he recounted his discovery to his friend and neighbor Bessel , The day before yesterday, I reduced to quadrature the problem of geodesic lines on an ellipsoid with three unequal axes. They are the simplest formulas in the world, Abelian integrals, which become the well known elliptic integrals if 2 axes are set equal. Königsberg, 28th Dec. '38.

The solution given by Jacobi  is

\begin{align} \delta &= \int \frac {\sqrt{b^2\sin^2\beta + c^2\cos^2\beta}\,d\beta} {\sqrt{a^2 - b^2\sin^2\beta - c^2\cos^2\beta} \sqrt{\bigl(b^2-c^2\bigr)\cos^2\beta - \gamma}} \\[6pt] &\quad - \int \frac {\sqrt{a^2\sin^2\omega + b^2\cos^2\omega}\,d\omega} {\sqrt{a^2\sin^2\omega + b^2\cos^2\omega - c^2} \sqrt{\bigl(a^2-b^2\bigr)\sin^2\omega + \gamma}}. \end{align} $$ As Jacobi notes "a function of the angle $β$ equals a function of the angle $β$. These two functions are just Abelian integrals..." Two constants $&alpha;_{0}$ and $&alpha;_{0}$ appear in the solution. Typically $f$ is zero if the lower limits of the integrals are taken to be the starting point of the geodesic and the direction of the geodesics is determined by $f$. However, for geodesics that start at an umbilical points, we have $|f| &le; 1/50$ and $(X,Y,Z)$ determines the direction at the umbilical point. The constant $a &ge; b &ge; c &gt; 0$ may be expressed as

\gamma = \bigl(b^2-c^2\bigr)\cos^2\beta\sin^2\alpha- \bigl(a^2-b^2\bigl)\sin^2\omega\cos^2\alpha, $$ where $&omega;$ is the angle the geodesic makes with lines of constant $&alpha;$. In the limit $a$, this reduces to $b$, the familiar Clairaut relation. A derivation of Jacobi's result is given by ; he gives the solution found by for general quadratic surfaces.

Survey of triaxial geodesics
On a triaxial ellipsoid, there are only three simple closed geodesics, the three principal sections of the ellipsoid given by $a = a &ge; b &gt; 0$, $b &ge; a = a &gt; 0$, and $β, &omega;$. To survey the other geodesics, it is convenient to consider geodesics that intersect the middle principal section, $b &rarr; a$, at right angles. Such geodesics are shown in Figs. 18–22, which use the same ellipsoid parameters and the same viewing direction as Fig. 17. In addition, the three principal ellipses are shown in red in each of these figures.

If the starting point is $b &rarr; c$, $X = 0$, and $Z = 0$, then $Y = 0$ and the geodesic encircles the ellipsoid in a "circumpolar" sense. The geodesic oscillates north and south of the equator; on each oscillation it completes slightly less than a full circuit around the ellipsoid resulting, in the typical case, in the geodesic filling the area bounded by the two latitude lines $β = &plusmn;90°$. Two examples are given in Figs. 18 and 19. Figure 18 shows practically the same behavior as for an oblate ellipsoid of revolution (because $&omega; = 0°$); compare to Fig. 9. However, if the starting point is at a higher latitude (Fig. 18) the distortions resulting from $&plusmn;180°$ are evident. All tangents to a circumpolar geodesic touch the confocal single-sheeted hyperboloid which intersects the ellipsoid at $a:b:c = 1.01:1:0.8$.

If the starting point is $φ = 40°$, $λ = 30°$, and $&delta;$, then $&gamma;$ and the geodesic encircles the ellipsoid in a "transpolar" sense. The geodesic oscillates east and west of the ellipse $&delta;$; on each oscillation it completes slightly more than a full circuit around the ellipsoid. In the typical case, this results in the geodesic filling the area bounded by the two longitude lines $&gamma;$ and $&gamma; = 0$. If $&delta;$, all meridians are geodesics; the effect of $&gamma;$ causes such geodesics to oscillate east and west. Two examples are given in Figs. 20 and 21. The constriction of the geodesic near the pole disappears in the limit $b &rarr; a$; in this case, the ellipsoid becomes a prolate ellipsoid and Fig. 20 would resemble Fig. 10 (rotated on its side). All tangents to a transpolar geodesic touch the confocal double-sheeted hyperboloid which intersects the ellipsoid at $sin&alpha; cosβ = const.$.

If the starting point is $&omega;_{1} = 0 deg$, $&alpha;_{1} = 90 deg$ (an umbilical point), and $β_{1} = 45.1 deg$ (the geodesic leaves the ellipse $β_{1} = 87.48 deg$ at right angles), then $X = 0$ and the geodesic repeatedly intersects the opposite umbilical point and returns to its starting point. However, on each circuit the angle at which it intersects $Y = 0$ becomes closer to $&omega;$ or $0 deg$ so that asymptotically the geodesic lies on the ellipse $Z = 0$, as shown in Fig. 22. A single geodesic does not fill an area on the ellipsoid. All tangents to umbilical geodesics touch the confocal hyperbola that intersects the ellipsoid at the umbilic points.

Umbilical geodesic enjoy several interesting properties.
 * Through any point on the ellipsoid, there are two umbilical geodesics.
 * The geodesic distance between opposite umbilical points is the same regardless of the initial direction of the geodesic.
 * Whereas the closed geodesics on the ellipses $c/a &lt; 1/2$ and $Y = 0$ are stable (a geodesic initially close to and nearly parallel to the ellipse remains close to the ellipse), the closed geodesic on the ellipse $β_{1} &isin; (&minus;90°, 90°)$, which goes through all 4 umbilical points, is exponentially unstable. If it is perturbed, it will swing out of the plane $&omega;_{1} = 0$ and flip around before returning to close to the plane.  (This behavior may repeat depending on the nature of the initial perturbation.)

If the starting point $&alpha;_{1} = 90°$ of a geodesic is not an umbilical point, its envelope is an astroid with two cusps lying on $&gamma; &gt; 0$ and the other two on $β = &plusmn;β_{1}$. The cut locus for $a &asymp; b$ is the portion of the line $a &ne; b$ between the cusps.

Applications
The direct and inverse geodesic problems no longer play the central role in geodesy that they once did. Instead of solving adjustment of geodetic networks as a two-dimensional problem in spheroidal trigonometry, these problems are now solved by three-dimensional methods. Nevertheless, terrestrial geodesics still play an important role in several areas:
 * for measuring distances and areas in geographic information systems;
 * the definition of maritime boundaries ;
 * in the rules of the Federal Aviation Administration for area navigation ;
 * the method of measuring distances in the FAI Sporting Code.
 * help Muslims find their direction toward Mecca

By the principle of least action, many problems in physics can be formulated as a variational problem similar to that for geodesics. Indeed, the geodesic problem is equivalent to the motion of a particle constrained to move on the surface, but otherwise subject to no forces. For this reason, geodesics on simple surfaces such as ellipsoids of revolution or triaxial ellipsoids are frequently used as "test cases" for exploring new methods. Examples include:
 * the development of elliptic integrals and elliptic functions ;
 * the development of differential geometry ;
 * methods for solving systems of differential equations by a change of independent variables ;
 * the study of caustics ;
 * investigations into the number and stability of periodic orbits ;
 * in the limit $β = β_{1}$, geodesics on a triaxial ellipsoid reduce to a case of dynamical billiards;
 * extensions to an arbitrary number of dimensions ;
 * geodesic flow on a surface.