Geodesics on graphs from the condition that acceleration is normal.
This note continues our story of deriving the geodesic equation for surfaces in R3 described as the graph of a function z=f(x,y). This second derivation represents a substantial simplification by taking the extrinsic viewpoint, where we work entirely in Euclidean 3-space and describe geodesics as curves whose acceleration is at all times normal to the surface. It is by far the shortest of the three derivations in this series.
To set some notation: if f:R2→R is a twice differentiable function we parameterize its graph S by the embedding F:R2→R3,
F(x,y)=(x,y,f(x,y))
TheoremGraph Geodesics
The curve (x(t),y(t)) in the plane represents a geodesic on the graph of f if
x¨=−fx1+fx2+fy2fxxx˙2+2fxyx˙y˙+fyyy˙2y¨=−fy1+fx2+fy2fxxx˙2+2fxyx˙y˙+fyyy˙2
Acceleration & Surface Normal
Exactly as in a multivariable calculus course, we can find the normal N to the surface S by finding two tangents to the parameterization and taking their cross product:
Tx=⟨1,0,fx⟩Ty=⟨0,1,fy⟩
N=Tx×Ty=i^10j^01k^fxfy=⟨−fx,−fy,1⟩
The second quantity we need is the acceleration α of a particle traveling along the surface. Such a particle can be specified by giving x,y as a function of time, as its trajectory is
t↦(x(t),y(t),f(x(t),y(t)))
The velocity vel is the first time derivative
vel(t)=⟨x˙,y˙,dtdf⟩=⟨x˙,y˙,fxx˙+fyy˙⟩
The acceleration is then the second time derivative
This last quantity is a bit of a mouthful so we will often denote it α, and write
acc=⟨x¨,y¨,α⟩
It is worth pausing on what α actually is. The third coordinate of the curve is f itself, so the third component of its acceleration can only be f¨: the vertical acceleration of the particle. The mouthful above is just the chain rule applied twice to f(x(t),y(t)), and nothing was really abbreviated at all.
The Geodesic Condition
A curve on the surface S is a geodesic only if it does not turn relative to the surface. Of course, it must bend (and thus accelerate) in R3 as it is constrained to the surface! What’s constrained to be zero is its intrinsic acceleration: the projection of this Euclidean acceleration onto the tangent plane of the surface. Thus for a geodesic, the Euclidean acceleration must be perpendicular to the surface: it must be parallel to the surface normal at each point. To get an equation out of this we take advantage of the cross product, and note the geodesic condition implies
acc×N=0
Before turning the crank, it is worth seeing the claim. Below, a geodesic runs across the surface, and at the moving point sit the velocity T, the normal N^, and the acceleration — which lies along N^ and nowhere else.
The translucent panel is the plane spanned by T and N^, and the dark curve is where it cuts the surface. This is the right plane to flatten out, and the only one: T⋅N^=0 identically for a graph, since the velocity’s vertical component is fxx˙+fyy˙ and the normal is ⟨−fx,−fy,1⟩, so the dot product cancels term by term. The two are perpendicular unit vectors, and the panel can be drawn flat with no distortion at all.
(The plane one first reaches for — the vertical plane through the velocity — is the wrong one. It contains N^ only when the velocity runs straight up or down the fall line, and otherwise the acceleration points out of it. That special case is exactly the one-dimensional picture of ‘Gravity Along a Curve’, which is why a vertical slice served there and will not serve here.)
Aim the acceleration anywhere but along N^ and it acquires a component along T, which speeds the particle up or slows it down. That is one of the two ways to fail, and it is the one this flat picture settles. The other — turning sideways within the surface — points out of the page, and is easiest to see from directly above:
Looking down, the acceleration casts a shadow ⟨x¨,y¨⟩ on the coordinate plane, and it stays pinned to the line through ∇f no matter how the path turns. That is the content of the two equations we are about to extract.
We can expand this out into three equations (one for each component) since we know these vectors explicitly:
All that remains is some algebraic simplification: we would like equations directly giving x¨ and y¨, but at the moment both of these terms also appear inside of α so are mixed up in the two equations. To simplify, it is useful to remember the third equation (which we know to be satisfied):
fyx¨=fxy¨
This proves useful as it will let us replace terms containing y¨ with x¨ and vice versa. Indeed, focusing on the equation for x¨ we can write