Note: Graph Geodesics Intrinsic

Steve Trettel

|

Given a real valued function f(x,y), its graph defines a surface which inherits an intrinsic geometry from the ambient E3. In this note, we compute the geodesic equations for this surface.

(Geodesics on a Graph)

If γ(t)=(x(t),y(t)) is a geodesic on the graph (x,y,f(x,y)) of a function f:R2R, then

x¨=fxfxxx˙2+2fxyx˙y˙+fyyy˙21+fx2+fy2y¨=fyfxxx˙2+2fxyx˙y˙+fyyy˙21+fx2+fy2

In this note we approach the calculation intrinsically, by expanding out the defining equation γ˙γ˙=0 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 (x,y,f(x,y)) in R3.

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 g=(EF FG) are

Γxxx=GExF(2FxEy)2DΓxxy=E(2FxEy)FEx2DΓyyx=G(2FyGx)FGy2DΓyyy=EGyF(2FyGx)2DΓxyx=Γyxx=GEyFGx2DΓxyy=Γyxy=EGxFEy2D

For D=detg=EGF2

The Metric Components

Specializing to a surface parametrized by the function F:(x,y)(x,y,f(x,y)), the metric is computed in coordinates (x,y) by pullback. Specifically, let Tx and Ty be the x- and y partial derivatives of the parameterization

Tx=1,0,fxTy=0,1,fy

Then the components of the metric g=(EF FG) are the pairwise dot-products of these

E=TxTxF=TxTyG=TyTy

Below we compute these, and their derivatives (which show up in the Christoffel formulas referenced above).

E=1+fx2F=fxfyG=1+fy2Ex=2fxfxxFx=fxxfy+fxfxyGx=2fyfxyEy=2fxfxyFy=fxyfy+fxfyyGy=2fyfyy

With these in hand, we compute the three independent Christoffel symbols with upper index x. Under the symmetry exchanging variables x and y (and thus simultaneously exchanging E and G) these determine all Christoffel symbols, which then determine the geodesic equations. All Christoffel symbols have the same denominator 2D, so its helpful to compute this quickly here:

D=EGF2=(1+fx2)(1+fy2)(fxfy)2=1+fx2+fy2+fx2fy2fx2fy2=1+fx2+fy2

Computing Γxxx

The numerator of this Christoffel symbol is GExF(2FxEy). Simplifying with what we know,

GExF(2FxEy)=(1+fy2)2fxfxxfxfy(2fxxfy+2fxfxy2fxfxy)=(1+fy2)2fxfxxfxfy(2fxxfy)=2fxfxx+2fxfy2fxx2fxfy2fxx=2fxfxx

This gives the full Christoffel symbol upon division by 2D:

Γxxx=2fxfxx2D=fxfxx1+fx2+fy2

Computing Γxyx

The numerator of this Christoffel symbol is GEyFGx. Simplifying with what we know,

GEyFGx=(1+fy2)2fxfxyfxfy2fyfxy=2fxfxy+2fxfy2fxy2fxfy2fxy=2fxfxy

This gives the full Christoffel symbol upon division by 2D:

Γxyx=2fxfxy2D=fxfxy1+fx2+fy2

Computing Γxxy

The numerator of this Christoffel symbol is G(2FyGx)FGy. Simplifying with what we know,

G(2FyGx)FGy=(1+fy2)(2fxyfy+2fxfyy2fyfxy)fxfy2fyfyy=(1+fy2)(2fxfyy)2fxfy2fyy=2fxfyy+2fxfy2fyy2fxfy2fyy=2fxfyy

This gives the full Christoffel symbol upon division by 2D:

Γyyx=2fxfyy2D=fxfyy1+fx2+fy2

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 γ(t)=(x(t),y(t)) is a geodesic if it satisfies the following ODEs:

{x¨+x˙2Γxxx+2x˙y˙Γxyx+y˙2Γyyx=0y¨+x˙2Γxxy+2x˙y˙Γxyy+y˙2Γyyy=0}

With our calculation of the Christoffel symbols Γxxx,Γxyx and Γyyx, we have everything to write down the first equation. Noting that all share the same denominator 1+fx2+fy2 we combine fractions to

x¨+x˙2(fxfxx)+2x˙y˙(fxfxy)+y˙2(fxfyy)1+fx2+fy2=0

Each term of the fraction contains a multiple of fx, so factoring this out and moving to the other side gives

x¨=fxfxxx˙2+2fxyx˙y˙+fyyy˙21+fx2+fy2

This entire situation is symmetric under the exchanges of x and y, 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.

y¨=fyfxxx˙2+2fxyx˙y˙+fyyy˙21+fx2+fy2