Given a real valued function , its graph defines a surface which inherits an intrinsic geometry from the ambient . In this note, we compute the geodesic equations for this surface.
(Geodesics on a Graph)If is a geodesic on the graph of a function , then
In this note we approach the calculation intrinsically, by expanding out the defining equation in coordinates. This involves some preliminary calculation of Christoffel symbols, which are recorded in generality in the note ‘2D Geometry Cheatsheet’. Here we focus on specializing this generality to the case of a surface in .
The Metric & Christoffel Symbols
From general calculations for a 2D Riemannian metric, we have the following form for the Christoffel symbols.
(General Christoffel Symbols in 2 Dimensions)The Christoffel symbols of a general metric are
For
The Metric Components
Specializing to a surface parametrized by the function , the metric is computed in coordinates by pullback. Specifically, let and be the - and partial derivatives of the parameterization
Then the components of the metric are the pairwise dot-products of these
Below we compute these, and their derivatives (which show up in the Christoffel formulas referenced above).
With these in hand, we compute the three independent Christoffel symbols with upper index . Under the symmetry exchanging variables and (and thus simultaneously exchanging and ) these determine all Christoffel symbols, which then determine the geodesic equations. All Christoffel symbols have the same denominator , so its helpful to compute this quickly here:
Computing
The numerator of this Christoffel symbol is . Simplifying with what we know,
This gives the full Christoffel symbol upon division by :
Computing
The numerator of this Christoffel symbol is . Simplifying with what we know,
This gives the full Christoffel symbol upon division by :
Computing
The numerator of this Christoffel symbol is . Simplifying with what we know,
This gives the full Christoffel symbol upon division by :
The Geodesic Equations
We again reference the 2D geometry ‘cheatsheet’ where the geodesics of a general metric are calculated to satisfy the following ODEs:
(Geodesics)A curve is a geodesic if it satisfies the following ODEs:
With our calculation of the Christoffel symbols and , we have everything to write down the first equation. Noting that all share the same denominator we combine fractions to
Each term of the fraction contains a multiple of , so factoring this out and moving to the other side gives
This entire situation is symmetric under the exchanges of and , and performing this swap gives the second equation. Of interest is that the entire fraction is itself invariant under this interchange, so the only changes are to the second derivative and the single-partial-derivative prefactor.