Geodesics as Variational Problems

The oldest question in the calculus of variations is also the most concrete: among all the smooth curves joining two fixed points, which is shortest? On a flat table the answer is the straight line every child knows. But stretch the same question over the surface of the Earth, a saddle, or the curved spacetime around a black hole, and "straight line" loses its meaning — none lies in the surface. What survives is the curve that is as straight as possible, the one that extremizes the arc-length functional L[γ]=∫gab x˙ax˙b dtL[\gamma]=\int\sqrt{g_{ab}\,\dot x^a\dot x^b}\,\mathrm{d}t. These extremals are the geodesics, and finding them is the prototype problem the whole machinery of variations — the Euler–Lagrange equation, the fundamental lemma, first integrals — was built to solve. This article takes the variational route from the length functional to the geodesic equation x¨a+Γbcax˙bx˙c=0\ddot x^a+\Gamma^a_{bc}\dot x^b\dot x^c=0 and shows why the naive route is booby-trapped. Because arc length does not care how you parametrize the curve, its Lagrangian is degenerate — it fixes the shape of the geodesic but not the clock along it. The remedy is to vary the energy functional instead, a clean quadratic that delivers the same curves with a built-in affine parameter and a conserved speed. From that single equation flow great circles on the sphere, helices on the cylinder, Clairaut's turning law on surfaces of revolution, and the free-fall trajectories of general relativity. One subtlety runs underneath: stationary is not the same as shortest. A geodesic is always locally the shortest path, but past a conjugate point — antipodes on a sphere — it stops minimizing while still solving the equation.

Key takeaways
  • A geodesic is a curve that makes the arc-length functional L[γ]=∫dsL[\gamma]=\int\mathrm{d}s stationary between fixed endpoints on a surface or Riemannian manifold — the "straightest possible" path.
  • Applying the Euler–Lagrange equation gives the geodesic equation x¨a+Γbcax˙bx˙c=0\ddot x^a+\Gamma^a_{bc}\dot x^b\dot x^c=0, with Christoffel symbols Γbca\Gamma^a_{bc} built from first derivatives of the metric.
  • The arc-length integrand is reparametrization invariant, hence a degenerate Lagrangian; the equivalent energy functional E[γ]=12∫gabx˙ax˙b dtE[\gamma]=\tfrac12\int g_{ab}\dot x^a\dot x^b\,\mathrm{d}t gives the same geodesics but pins an affine parameter and a conserved speed.
  • Geometrically the equation says the velocity is parallel-transported: the intrinsic (tangential) acceleration vanishes, so a geodesic has zero turning as felt inside the surface.
  • On a sphere geodesics are great circles (cot⁡θ=Acos⁡(ϕ−ϕ0)\cot\theta=A\cos(\phi-\phi_0)); on a cylinder they are helices; on any surface of revolution Clairaut's relation rsin⁡ψ=constr\sin\psi=\text{const} holds.
  • Geodesics are only stationary and locally minimizing — the second variation loses positivity past conjugate points, so the "long way round" a sphere is a geodesic that is not shortest.
  • Key idea: geodesics are the Euler–Lagrange solutions of the arc-length functional; because arc length is reparametrization invariant one varies the equivalent non-degenerate energy functional, which yields the affinely parametrized geodesic equation x¨a+Γbcax˙bx˙c=0\ddot x^a+\Gamma^a_{bc}\dot x^b\dot x^c=0.
The core insight

Geodesics are the Euler–Lagrange solutions of the arc-length functional; because arc length is reparametrization invariant the variation is best done on the equivalent energy functional, which delivers the affinely parametrized geodesic equation x¨a+Γbcax˙bx˙c=0\ddot x^a+\Gamma^a_{bc}\dot x^b\dot x^c=0.

Where this lives today

The geodesic equation is the working equation of motion for the century's most dramatic observations. When the Event Horizon Telescope resolved the bright ring around M87 in 2019 and Sagittarius A in 2022, it imaged a bundle of null geodesics — photon paths bent by the Schwarzschild-like metric so severely that light skims a photon sphere at r=3GM/c2r=3GM/c^2 before escaping, producing a dark shadow whose measured angular diameter (about 4242 microarcseconds for M87*) matches general relativity. The GRAVITY instrument tracked the star S2 around the Galactic-centre black hole and detected the Schwarzschild precession of its orbit — roughly 1212 arcminutes per revolution — a timelike geodesic bending exactly as the variational equation demands. The same mathematics keeps GPS honest, correcting the satellites' clocks and orbits for spacetime curvature. Far from gravity, geodesics are now a staple of data science — in information geometry the distance between probability distributions is a geodesic length in the Fisher metric, and graphics engines compute geodesics on meshes to lay textures and plan paths — each the calculus-of-variations problem of this article on a different metric.

The physical picture

Stretch an ideal elastic band between two pins on a curved surface, forcing it to stay on the surface. It settles into a geodesic, because a taut band minimizes its length. Feel along it: the band pulls you nowhere sideways. Its only acceleration points straight out of the surface — the normal reaction that keeps it there — with no component in the surface, and that vanishing of the in-surface acceleration is the whole content of the geodesic equation. A bug walking the band would swear it was going dead straight, never turning left or right relative to the surface. Equivalently: hold a car's steering wheel rigidly centred and drive across a hill; you make no intrinsic turn, yet the tyre tracks bend when viewed from outside. That "no intrinsic turning" is parallel transport of the velocity vector, and its track is a geodesic.

Figure
A geodesic is as straight as possible. Left: on a sphere the geodesic through two points is a great circle, and its short arc obeys cot θ = A cos(φ − φ₀). Right: along a geodesic the acceleration is purely normal to the surface, so the intrinsic tangential acceleration a∥ is zero — the curve never turns as felt inside the surface
A geodesic is as straight as possible — great circle and zero intrinsic acceleration A B short arc minimizing great circle (dashed = far side) cot θ = A cos(φ − φ₀) curved surface v a⊥ a∥ = 0 acceleration is purely normal — no in-surface turning

Length and energy tell the same story on-shell but disagree off it. By Cauchy–Schwarz L2≤2(t2−t1)EL^2\le 2(t_2-t_1)E, with equality precisely for constant-speed curves, so a constant-speed minimizer of the energy automatically minimizes the length — and energy, carrying no square root, has non-degenerate equations and a uniform clock built in. The picture must also carry one warning: "stationary" is weaker than "shortest". Between two nearby points on a sphere both the short great-circle arc and the long way round satisfy the geodesic equation, yet only the short arc is genuinely shortest; the changeover is policed by conjugate points, where neighbouring geodesics refocus. The next figure makes the two paths concrete with the numbers a navigator actually uses.

Figure
Great-circle route (geodesic) versus rhumb line for New York to London on a Mercator chart. The geodesic bows poleward and measures 5570 km; the constant-heading rhumb line looks straight here but runs 5794 km — 224 km (4 percent) longer
The punchline: the geodesic is the short route — New York → London, 5570 km vs 5794 km 60°N 40°N New York 40.7°N 74.0°W London 51.5°N 0.1°W great circle 5570 km rhumb line 5794 km central angle 50.1°, R⊕ = 6371 km, geodesic saves 224 km (4%)

The core equations

The starting object is the arc-length functional: it returns a curve's length measured with the metric gabg_{ab}, and geodesics are the curves at which that length is stationary. On a general parameter the integrand is the local speed gabx˙ax˙b\sqrt{g_{ab}\dot x^a\dot x^b}.

L[γ]=∫t1t2gab(x) x˙ax˙b  dt(1)L[\gamma]=\int_{t_1}^{t_2}\sqrt{g_{ab}(x)\,\dot x^a\dot x^b}\;\mathrm{d}t \qquad (1)

where: γ\gamma — a smooth curve t↦xa(t)t\mapsto x^a(t) with fixed endpoints; gab(x)g_{ab}(x) — components of the Riemannian metric at xx; x˙a=dxa/dt\dot x^a=\mathrm{d}x^a/\mathrm{d}t — the coordinate velocity; tt — an arbitrary parameter, not necessarily arc length. Reading: LL is unchanged if you re-clock the curve, t↦τ(t)t\mapsto\tau(t) — this reparametrization invariance is the source of both the geometry's elegance and the Lagrangian's degeneracy. To sidestep the square root one varies the energy (or action) functional instead — the quadratic form of the same velocities, and the natural free-particle Lagrangian, kinetic energy with the metric as a position-dependent mass matrix.

E[γ]=12∫t1t2gab(x) x˙ax˙b  dt(2)E[\gamma]=\tfrac12\int_{t_1}^{t_2} g_{ab}(x)\,\dot x^a\dot x^b\;\mathrm{d}t \qquad (2)

where: EE — the energy functional, quadratic in velocities and non-degenerate; 12\tfrac12 — conventional normalization matching free-particle kinetic energy. Reading: minimizing EE over constant-speed curves is equivalent to minimizing LL, and the minimizer arrives with an affine parameter for free. Both functionals are made stationary by the same master tool, the Euler–Lagrange equation — one equation per coordinate, from demanding the first variation vanish for every endpoint-fixing perturbation (where the fundamental lemma does its work).

ddt ⁣(∂F∂x˙a)−∂F∂xa=0(3)\frac{\mathrm{d}}{\mathrm{d}t}\!\left(\frac{\partial F}{\partial \dot x^a}\right)-\frac{\partial F}{\partial x^a}=0 \qquad (3)

where: FF — the integrand, either gabx˙ax˙b\sqrt{g_{ab}\dot x^a\dot x^b} (length) or 12gabx˙ax˙b\tfrac12 g_{ab}\dot x^a\dot x^b (energy); aa — the coordinate index. Reading: the "momentum" ∂F/∂x˙a\partial F/\partial\dot x^a evolves under the "force" ∂F/∂xa\partial F/\partial x^a, which for the metric comes entirely from how gabg_{ab} varies from point to point. Feeding the energy integrand into Euler–Lagrange and cleaning up produces the geodesic equation, the central result — a second-order system for the coordinates in an affine parameter.

x¨a+Γbca x˙bx˙c=0(4)\ddot x^a + \Gamma^a_{bc}\,\dot x^b\dot x^c = 0 \qquad (4)

where: x¨a=d2xa/dt2\ddot x^a=\mathrm{d}^2x^a/\mathrm{d}t^2 — coordinate acceleration; Γbca\Gamma^a_{bc} — Christoffel symbols of the Levi-Civita connection. Reading: the connection term Γbcax˙bx˙c\Gamma^a_{bc}\dot x^b\dot x^c exactly cancels the ordinary acceleration, so the covariant acceleration is zero — the velocity is parallel-transported. The Christoffel symbols are not new data; they are assembled algebraically from first derivatives of the metric, encoding how the coordinate basis twists from point to point.

Γbca=12 gad(∂bgdc+∂cgdb−∂dgbc)(5)\Gamma^a_{bc}=\tfrac12\,g^{ad}\left(\partial_b g_{dc}+\partial_c g_{db}-\partial_d g_{bc}\right) \qquad (5)

where: gadg^{ad} — the inverse metric, gadgdb=δbag^{ad}g_{db}=\delta^a_b; ∂b=∂/∂xb\partial_b=\partial/\partial x^b. Reading: symmetric in the lower pair, Γbca=Γcba\Gamma^a_{bc}=\Gamma^a_{cb}; they vanish wherever the metric components are constant, which is why flat space in Cartesian coordinates has no connection term. Because the energy Lagrangian has no explicit parameter dependence, the geodesic conserves its speed — the payoff that makes the affine parameter automatic and distinguishes energy from length.

gab x˙ax˙b=const(6)g_{ab}\,\dot x^a\dot x^b=\text{const} \qquad (6)

where: const — the squared speed, 11 for the unit-speed (arc-length) parametrization. Reading: a geodesic is traced at uniform pace — you cannot speed up and slow down along it and still solve equation (4). Finally, whether a geodesic actually minimizes is decided one order higher, by the second variation of the energy — its index form built from the covariant derivative of a transverse field and the curvature.

δ2E=∫t1t2 ⁣(∣Dηdt∣2−R(γ˙,η,γ˙,η)) dt(7)\delta^2 E=\int_{t_1}^{t_2}\!\Big(\big|\tfrac{\mathrm{D}\eta}{\mathrm{d}t}\big|^2-R(\dot\gamma,\eta,\dot\gamma,\eta)\Big)\,\mathrm{d}t \qquad (7)

where: η\eta — a transverse Jacobi field vanishing at both endpoints; D/dt\mathrm{D}/\mathrm{d}t — covariant derivative along the curve; RR — the Riemann curvature tensor. Reading: positive curvature feeds a negative term that can overpower the gradient term past a conjugate point, tipping δ2E\delta^2E below zero — where a geodesic stops minimizing.

Derivation AThe geodesic equation from the energy functional

The goal is to turn the compact statement "geodesics are stationary points of the energy" into the explicit system x¨a+Γbcax˙bx˙c=0\ddot x^a+\Gamma^a_{bc}\dot x^b\dot x^c=0, and in doing so to manufacture the Christoffel symbols rather than postulate them. We compute the two pieces of the Euler–Lagrange equation and reorganize the metric derivatives by a symmetrization trick — the secret behind the Christoffel formula — on a route that never touches a square root and so never meets the degeneracy that plagues the length functional.

Step 1. Write the energy Lagrangian F=12gbc(x) x˙bx˙cF=\tfrac12 g_{bc}(x)\,\dot x^b\dot x^c, which depends on the velocities through the factors x˙bx˙c\dot x^b\dot x^c and on position only through the metric gbc(x)g_{bc}(x). Why: separating velocity from position dependence shows in advance which term produces the acceleration and which the connection.

Step 2. Differentiate with respect to velocity for the momentum, ∂F/∂x˙a=gabx˙b\partial F/\partial\dot x^a=g_{ab}\dot x^b, then take its total time derivative, ddt(gabx˙b)=gabx¨b+∂cgab x˙cx˙b\frac{\mathrm{d}}{\mathrm{d}t}\big(g_{ab}\dot x^b\big)=g_{ab}\ddot x^b+\partial_c g_{ab}\,\dot x^c\dot x^b. Why: the chain rule forces a metric-derivative term ∂cgab\partial_c g_{ab} to appear, the germ of the connection.

Step 3. Differentiate with respect to position for the "force", ∂F/∂xa=12 ∂agbc x˙bx˙c\partial F/\partial x^a=\tfrac12\,\partial_a g_{bc}\,\dot x^b\dot x^c, since only the metric carries xx-dependence. Why: the factor of one-half is exactly what the next step's symmetrization balances against.

Step 4. Assemble the equation and symmetrize the mixed term, ∂cgab x˙cx˙b=12(∂cgab+∂bgac)x˙bx˙c\partial_c g_{ab}\,\dot x^c\dot x^b=\tfrac12(\partial_c g_{ab}+\partial_b g_{ac})\dot x^b\dot x^c (since x˙bx˙c\dot x^b\dot x^c is symmetric). Subtracting the force term gives gabx¨b+12(∂cgab+∂bgac−∂agbc)x˙bx˙c=0g_{ab}\ddot x^b+\tfrac12(\partial_c g_{ab}+\partial_b g_{ac}-\partial_a g_{bc})\dot x^b\dot x^c=0. Why: that combination of three metric derivatives is precisely the lowered Christoffel symbol Γa,bc\Gamma_{a,bc}, emerging only once the summed indices are symmetrized.

Step 5. Contract with the inverse metric gdag^{da} to raise the free index, using gdagab=δbdg^{da}g_{ab}=\delta^d_b, and obtain x¨d+Γbcdx˙bx˙c=0\ddot x^d+\Gamma^d_{bc}\dot x^b\dot x^c=0 with Γbcd=12gda(∂bgac+∂cgab−∂agbc)\Gamma^d_{bc}=\tfrac12 g^{da}(\partial_b g_{ac}+\partial_c g_{ab}-\partial_a g_{bc}). Why: raising the index isolates the pure acceleration x¨d\ddot x^d and packages every metric derivative into the standard Christoffel object, completing the equation. *As a check: for gab=δabg_{ab}=\delta_{ab} all metric derivatives vanish, Γ=0\Gamma=0, and the equation reduces to x¨d=0\ddot x^d=0, as expected for a free particle in flat space; the symmetrized three-derivative combination is precisely equation (5).*

Go deeper · Derivation B · 1 minWhy the arc-length functional is degenerate
Derivation BWhy the arc-length functional is degenerate

The purpose is to show by direct computation what goes wrong if you vary the raw arc-length integrand gabx˙ax˙b\sqrt{g_{ab}\dot x^a\dot x^b} instead of the energy, and to extract the correction term reparametrization invariance leaves behind. The punchline: the length functional does give the geodesic equation, but only up to a term proportional to the velocity that vanishes exactly when the parameter is affine — the rigorous justification for the whole energy-functional detour.

Step 1. Set F=gbcx˙bx˙cF=\sqrt{g_{bc}\dot x^b\dot x^c} and abbreviate the speed as v≡gbcx˙bx˙cv\equiv\sqrt{g_{bc}\dot x^b\dot x^c}, so F=vF=v. Compute the momentum ∂F/∂x˙a=gabx˙b/v\partial F/\partial\dot x^a=g_{ab}\dot x^b/v. Why: the square root plants a factor of 1/v1/v in front of everything, and it is that factor whose time-derivative will generate the unwanted term.

Step 2. Compute the position gradient ∂F/∂xa=∂agbc x˙bx˙c/(2v)\partial F/\partial x^a=\partial_a g_{bc}\,\dot x^b\dot x^c/(2v), again carrying the 1/v1/v. Why: both Euler–Lagrange pieces now share the 1/v1/v weighting, so it can be factored out and compared with the energy calculation.

Step 3. Form the Euler–Lagrange equation ddt(gabx˙b/v)−∂agbcx˙bx˙c/(2v)=0\frac{\mathrm{d}}{\mathrm{d}t}\big(g_{ab}\dot x^b/v\big)-\partial_a g_{bc}\dot x^b\dot x^c/(2v)=0 and expand the total derivative, keeping the term where ddt(1/v)=−v˙/v2\frac{\mathrm{d}}{\mathrm{d}t}(1/v)=-\dot v/v^2. Why: that single piece, −gabx˙b v˙/v2-g_{ab}\dot x^b\,\dot v/v^2, is the fingerprint of the degeneracy — absent only if vv is constant.

Step 4. Multiply through by vv and raise the index with gdag^{da}; the metric derivatives reassemble into the Christoffel symbols as before, leaving x¨d+Γbcdx˙bx˙c=(v˙/v) x˙d\ddot x^d+\Gamma^d_{bc}\dot x^b\dot x^c=(\dot v/v)\,\dot x^d. Why: the right-hand side is the price of a non-affine clock, and being directed along the velocity it only rescales the parameter, never bends the curve.

Step 5. Impose t=st=s, so v=1v=1, v˙=0\dot v=0, the right-hand side vanishes, and the affine geodesic equation is recovered. Why: length and energy give the same geodesic curves — they differ only by the clock, and unit speed erases the difference. *As a check: the right-hand side (v˙/v)x˙d( \dot v/v)\dot x^d vanishes if and only if the speed is constant; for a flat metric the equation reduces to x¨d=0\ddot x^d=0 up to reparametrization. The velocity-Hessian is singular because it annihilates x˙a\dot x^a — a direct consequence of Euler's theorem applied to the degree-one homogeneous integrand.*

Go deeper · Derivation C · 1 minGreat circles as geodesics on the sphere
Derivation CGreat circles as geodesics on the sphere

This derivation runs the geodesic machinery on the round sphere and integrates in closed form to prove the geodesics are exactly the great circles. Rather than grind through both Euler–Lagrange equations, we exploit a symmetry: the azimuthal angle is cyclic, so its equation hands us a conserved quantity and the conserved speed supplies a second first integral. Two first integrals reduce the system to a single quadrature that u=cot⁡θu=\cot\theta linearizes, and the Cartesian rewrite reveals the answer as the sphere cut by a plane through its centre.

Step 1. Adopt the unit-sphere metric ds2=dθ2+sin⁡2θ dϕ2\mathrm{d}s^2=\mathrm{d}\theta^2+\sin^2\theta\,\mathrm{d}\phi^2 and energy F=12(θ˙2+sin⁡2θ ϕ˙2)F=\tfrac12(\dot\theta^2+\sin^2\theta\,\dot\phi^2). Since ∂F/∂ϕ=0\partial F/\partial\phi=0, the ϕ\phi Euler–Lagrange equation gives ddt(sin⁡2θ ϕ˙)=0\frac{\mathrm{d}}{\mathrm{d}t}(\sin^2\theta\,\dot\phi)=0, so sin⁡2θ ϕ˙=h\sin^2\theta\,\dot\phi=h is conserved. Why: a cyclic coordinate always yields a Noether first integral; here hh is the azimuthal "angular momentum" that plays the same role Clairaut's constant plays on any surface of revolution.

Step 2. Use the conserved unit speed θ˙2+sin⁡2θ ϕ˙2=1\dot\theta^2+\sin^2\theta\,\dot\phi^2=1 from equation (6) and substitute ϕ˙=h/sin⁡2θ\dot\phi=h/\sin^2\theta. Why: combining the two first integrals removes the parameter, turning "solve two ODEs in tt" into "find the orbit θ(ϕ)\theta(\phi)".

Step 3. Divide θ˙2\dot\theta^2 by ϕ˙2=h2/sin⁡4θ\dot\phi^2=h^2/\sin^4\theta to obtain the orbit equation (dθ/dϕ)2=sin⁡4θ/h2−sin⁡2θ\big(\mathrm{d}\theta/\mathrm{d}\phi\big)^2=\sin^4\theta/h^2-\sin^2\theta. Why: eliminating dt\mathrm{d}t is the standard trick that turns a conserved-momentum problem into a separable relation between the coordinates.

Step 4. Substitute u=cot⁡θu=\cot\theta, so du=−csc⁡2θ dθ\mathrm{d}u=-\csc^2\theta\,\mathrm{d}\theta, and the orbit equation collapses to the harmonic form (du/dϕ)2=(h−2−1)−u2\big(\mathrm{d}u/\mathrm{d}\phi\big)^2=(h^{-2}-1)-u^2. Why: this substitution linearizes the equation into that of a simple oscillator, whose solutions are sinusoids in ϕ\phi.

Step 5. Integrate to u=cot⁡θ=Acos⁡(ϕ−ϕ0)u=\cot\theta=A\cos(\phi-\phi_0) with A=h−2−1A=\sqrt{h^{-2}-1}. Rewriting with x=sin⁡θcos⁡ϕx=\sin\theta\cos\phi, y=sin⁡θsin⁡ϕy=\sin\theta\sin\phi, z=cos⁡θz=\cos\theta gives z=A(xcos⁡ϕ0+ysin⁡ϕ0)z=A(x\cos\phi_0+y\sin\phi_0), a plane through the origin. Why: a plane through the centre cuts the sphere in a great circle, so the solution is precisely the great-circle family — the equator and meridians are the special cases A=0A=0 and A→∞A\to\infty. *As a check: substituting u=Acos⁡(ϕ−ϕ0)u=A\cos(\phi-\phi_0) back into the orbit equation of Step 4 gives an identity. The solution is a central plane section, hence a great circle; the equator θ=π/2\theta=\pi/2 and all meridians are recovered as limiting cases.*

Limiting cases

The one equation specializes cleanly to every standard geometry, each a check on the general formula.

CaseResultMeaning
Flat Euclidean spacegab=δab⇒Γbca=0⇒x¨a=0g_{ab}=\delta_{ab}\Rightarrow\Gamma^a_{bc}=0\Rightarrow\ddot x^a=0Geodesics are straight lines xa=pa+t vax^a=p^a+t\,v^a; the equation is Newton's first law.
Sphere of radius RRds2=R2(dθ2+sin⁡2θ dϕ2)\mathrm{d}s^2=R^2(\mathrm{d}\theta^2+\sin^2\theta\,\mathrm{d}\phi^2)Geodesics are great circles; the short arc between non-antipodal points minimizes, the complementary arc is stationary but longer.
Cylinderds2=dz2+R2 dϕ2\mathrm{d}s^2=\mathrm{d}z^2+R^2\,\mathrm{d}\phi^2Geodesics are helices (vertical lines and circles as limits): intrinsically flat, so unrolling turns geodesics into straight lines.
Surface of revolutionrsin⁡ψ=constr\sin\psi=\text{const} (Clairaut)Azimuth-independent metric gives r2ϕ˙=constr^2\dot\phi=\text{const}, tying the axis-distance rr to the meridian angle ψ\psi and forbidding r<constr<\text{const}.
Curved spacetimex¨μ+Γαβμx˙αx˙β=0\ddot x^\mu+\Gamma^\mu_{\alpha\beta}\dot x^\alpha\dot x^\beta=0Free-fall worldlines: timelike geodesics extremize proper time, null geodesics carry light.

Worked examples

1 · Great-circle distance, New York to London (fully worked)

The geodesics of the sphere are great circles. Treat the Earth as a sphere of mean radius R=6371R=6371 km and find the shortest surface distance between New York (latitude 40.71°40.71°N, longitude 74.01°74.01°W) and London (51.51°51.51°N, 0.13°0.13°W). Compare it to the rhumb-line (constant-heading) route.

Step 1. The great-circle arc is the geodesic, so the distance is RR times the central angle dd at the Earth's centre. The spherical law of cosines gives that angle from the latitudes φ1,φ2\varphi_1,\varphi_2 and longitude difference Δλ\Delta\lambda: cos⁡d=sin⁡φ1sin⁡φ2+cos⁡φ1cos⁡φ2cos⁡Δλ\cos d=\sin\varphi_1\sin\varphi_2+\cos\varphi_1\cos\varphi_2\cos\Delta\lambda — the great-circle first integral in disguise, the cot⁡θ=Acos⁡(ϕ−ϕ0)\cot\theta=A\cos(\phi-\phi_0) solution written as a dot product of unit position vectors.

Step 2. Insert the numbers with Δλ=74.01°−0.13°=73.88°\Delta\lambda=74.01°-0.13°=73.88°: cos⁡d=(0.6522)(0.7827)+(0.7580)(0.6224)(0.2776)=0.5105+0.1310=0.6415\cos d=(0.6522)(0.7827)+(0.7580)(0.6224)(0.2776)=0.5105+0.1310=\mathbf{0.6415}. Hence d=arccos⁡(0.6415)=50.10°=0.8743d=\arccos(0.6415)=\mathbf{50.10°}=0.8743 rad.

Step 3. Multiply by the radius: R d=6371×0.8743=5570 kmR\,d=6371\times0.8743=\mathbf{5570\ km}, the length no route can beat.

Step 4. For contrast, a rhumb line holds a single compass bearing (78.0°78.0° here) and runs R ∣Δφ∣/cos⁡(bearing)=6371×0.1885/0.208=5794 kmR\,|\Delta\varphi|/\cos(\text{bearing})=6371\times0.1885/0.208=\mathbf{5794\ km} — longer by 224 km\mathbf{224\ km}, about 4%\mathbf{4\%}. The gap is modest here because the cities sit at similar latitudes, but it is why transatlantic flights visibly arc north over Greenland. Great circle 5570 km; rhumb line 5794 km; the geodesic saves 224 km (4%).

2 · Clairaut's relation: how far north does a great circle climb?

A great-circle route crosses the equator on a heading of 060°060° (that is, 60°60° east of due north). Using Clairaut's relation, find the highest latitude it reaches.

Step 1. On a sphere of radius RR the distance from the polar axis is r=Rcos⁡λr=R\cos\lambda (λ\lambda = latitude), and Clairaut's relation reads rsin⁡ψ=constr\sin\psi=\text{const} with ψ\psi the angle between geodesic and meridian. The bearing from north is that angle ψ\psi, so at the equatorial crossing ψ0=60°\psi_0=60° and λ=0\lambda=0.

Step 2. Evaluate the constant at the crossing: C=Rcos⁡(0°)sin⁡(60°)=0.8660 RC=R\cos(0°)\sin(60°)=0.8660\,R. The geodesic can never reach a point where r<Cr<C, i.e. where Rcos⁡λ<0.8660 RR\cos\lambda<0.8660\,R.

Step 3. At the northernmost point the geodesic runs due east, so ψ=90°\psi=90° and r=Cr=C gives Rcos⁡λmax⁡=0.8660 RR\cos\lambda_{\max}=0.8660\,R, hence cos⁡λmax⁡=0.8660\cos\lambda_{\max}=0.8660 and λmax⁡=arccos⁡(0.866)=30°\lambda_{\max}=\arccos(0.866)=\mathbf{30°}N. The route peaks at 30°N, then turns back south — the geometric reason a great circle has a single "vertex" and cannot spiral to the pole.

Physics of the portrait

The idea that a surface has a geometry of its own — its own straight lines, triangles, curvature — belongs to one man above all, who arrived at it by surveying the hills of Hanover with a theodolite.

Origins · 1 minCarl Friedrich Gauss and how this was discovered
CF
Carl Friedrich Gauss
1777–1855 · intrinsic differential geometry and geodesy

Gauss came to geodesics through the most practical of tasks: between 1818 and 1832 he directed the triangulation survey of the Kingdom of Hanover, hauling instruments across the countryside and inventing the heliotrope — a mirror that flashed sunlight between stations — to sight lines tens of kilometres long. He is said to have measured the vast triangle joining Hohenhagen, Brocken and Inselsberg partly to test whether its angle sum departed from 180°180°, whether space itself was curved. Out of that fieldwork he distilled, in the 1827 Disquisitiones generales circa superficies curvas, the science of surfaces measured from within. Its crown is the Theorema Egregium: the Gaussian curvature of a surface can be computed entirely from measurements made inside it, with no reference to how it sits in space — which is why a flat sheet rolls into a cylinder (both have zero curvature) but never wraps smoothly onto a sphere. In this intrinsic geometry geodesics play the role straight lines play in the plane: curves of zero geodesic curvature, stationary paths of arc length, sides of the triangles whose angle excess measures curvature through Gauss–Bonnet. Riemann carried the programme to manifolds of any dimension in 1854, and from there it became the language in which Einstein wrote gravity — free fall as geodesic motion in a curved spacetime.

History
1697
— Johann Bernoulli poses and solves the problem of the shortest line on a convex surface
1827
— Gauss's Disquisitiones generales founds intrinsic geometry and the Theorema Egregium
1854
— Riemann's habilitation lecture extends geodesics to n-dimensional curved manifolds
1869
— Christoffel introduces the symbols Γ that encode the connection
1917
— Levi-Civita defines parallel transport, recasting a geodesic as zero covariant acceleration

Going further

Texts. Stone & Goldbart, Mathematics for Physics, Ch. 1 · Arfken & Weber, Mathematical Methods for Physicists, on the calculus of variations · Hassani, Mathematical Physics, on variational problems and Riemannian geometry · Nakahara, Geometry, Topology and Physics, Ch. 7 · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 2 · Riley, Hobson & Bence, Mathematical Methods, Ch. 22 · do Carmo, Riemannian Geometry, Ch. 3–4 · Lovelock & Rund, Tensors, Differential Forms and Variational Principles. Key results to keep in mind: the non-affine correction term is (v˙/v)x˙a( \dot v/v)\dot x^a; the spherical geodesic integrates to cot⁡θ=Acos⁡(ϕ−ϕ0)\cot\theta=A\cos(\phi-\phi_0). Numerical benchmarks: New York→London central angle 50.10°50.10° giving 55705570 km at R=6371R=6371 km, rhumb-line 57945794 km; Clairaut vertex latitude 30°30° for a 060°060° equatorial heading.

Prerequisites. Functionals and Function Spaces · First Variation and Stationarity · Euler-Lagrange Equation · Fundamental Lemma of the Calculus of Variations. Leads to. Beltrami Identity and First Integrals · Hamilton's Principle of Stationary Action · Lagrangian Mechanics · Constrained Variation and Lagrange Multipliers.

Ask the tutor: ask me to derive the geodesic equation for any metric you name — the sphere, a cone, the Poincaré disc, or the Schwarzschild spacetime — and watch the Christoffel symbols and first integrals fall out step by step.

What is the difference between a geodesic and a shortest path?

Every shortest path is a geodesic, but not every geodesic is a shortest path. The Euler–Lagrange equation only locates stationary points of the length functional, and a stationary point can be a minimum, a saddle, or neither. On a sphere both the short great-circle arc and the long way round satisfy the geodesic equation, yet only the short arc minimizes. A geodesic is guaranteed shortest only locally, on segments short enough to avoid a conjugate point; to certify a genuine minimum you check that the second variation, equation (7), stays positive along the whole curve.

Why do physicists vary the energy instead of the length?

Because the length integrand hides a square root that makes the Lagrangian reparametrization invariant — you can re-clock the curve without changing its length. That invariance makes the Euler–Lagrange system degenerate: the velocity-Hessian is singular, and the equations fix the shape of the geodesic but not the clock along it, leaving an awkward term proportional to the velocity. The energy functional 12∫gabx˙ax˙b dt\tfrac12\int g_{ab}\dot x^a\dot x^b\,\mathrm{d}t has no square root, is a clean quadratic, and its equations are non-degenerate; as a bonus it conserves the speed, so its parameter is automatically affine. Same geodesics, far cleaner equations.

What exactly are the Christoffel symbols?

They are the bookkeeping that tells you how the coordinate basis vectors twist from point to point. In a curved space — or even flat space in polar coordinates — the basis vector "along x1x^1" at one point is not parallel to the one next door, and Γbca\Gamma^a_{bc} measures that change. Concretely Γbca=12gad(∂bgdc+∂cgdb−∂dgbc)\Gamma^a_{bc}=\tfrac12 g^{ad}(\partial_b g_{dc}+\partial_c g_{db}-\partial_d g_{bc}), built purely from first derivatives of the metric. They are not the components of a tensor — they vanish where the metric is constant and reappear under a change of coordinates — but the combination x¨a+Γbcax˙bx˙c\ddot x^a+\Gamma^a_{bc}\dot x^b\dot x^c is a genuine geometric object, the covariant acceleration.

What is a conjugate point, and why does it matter?

A conjugate point is where a family of geodesics leaving one point refocuses at another. On a sphere, every great circle leaving the north pole reconverges at the south pole, so the south pole is conjugate to the north. Conjugate points are exactly where a geodesic stops being a length-minimizer: up to the first one the second variation of the energy is positive and the geodesic is a genuine local minimum, but past it a transverse variation exists that shortens the curve, and the geodesic becomes only a saddle. Curvature drives this — positive curvature focuses neighbouring geodesics and creates conjugate points, whereas negatively curved spaces have none, so their geodesics minimize forever.

How does the geodesic equation relate to Newton's laws?

For a free particle they are literally the same statement. Newton's first law says a force-free particle moves in a straight line at constant speed — in Cartesian coordinates that is x¨a=0\ddot x^a=0, precisely the geodesic equation with Γ=0\Gamma=0. Write the same physics in curved coordinates and the connection terms Γbcax˙bx˙c\Gamma^a_{bc}\dot x^b\dot x^c reappear as the "fictitious" centrifugal and Coriolis accelerations. General relativity finishes the thought: a particle in free fall feels no force, so its worldline is a geodesic of the spacetime metric, and Newton's gravity becomes the connection term Γαβμx˙αx˙β\Gamma^\mu_{\alpha\beta}\dot x^\alpha\dot x^\beta. Gravity becomes geometry.

Why are great circles the shortest routes for aircraft?

Because a great circle is the geodesic of a sphere, and the Earth is nearly a sphere. The shortest surface path between two points is the arc of the circle whose plane passes through both points and the Earth's centre. On a Mercator chart this route looks curved — it bows toward the nearer pole — which fools the eye into thinking the straight-looking rhumb line (constant compass bearing) is shorter, when it is in fact longer, dramatically so for high-latitude routes. For New York to London the great circle is about 224 km shorter. Real flight paths also bend for winds and airspace, but the geodesic is the ideal they track.

Before this

Where this leads