Riemannian metric for an autonomous second-order ODE

Given an autonomous second-order ODE

u″=ϕ(u,u1),

with u1=u′, we define a Riemannian metric on an open subset of the first-order jet bundle J1(R,R):

M={(x,u,u1)∈U:u1≠0},

with

g=(1+u12)dx2−2u1dxdu+(1+ϕ2u12)du2−2ϕu1dudu1+du12.

The associated vector field A=∂x+u1∂u+ϕ∂u1 has unit length and is a geodesic vector field. The orthonormal frame is

e1=A,e2=∂u+ϕu1∂u1,e3=∂u1,

with dual coframe

ω1=dx,ω2=−u1dx+du,ω3=−ϕu1du+du1.

Geodesics of (M,g) correspond to prolonged solutions: if f solves the ODE, then j1f is a geodesic. The converse holds when (ϕ/u1)u1≠0.

Related notes: energy foliation, Riemannian metric for a first-order ODE, surface deformation of ODEs

Reference: @panalvarez2024autonomous