Manifolds: metric tensor, geodesic equations

The length of a curve on an n-dimensional manifold is

ds2=gijdξidξj

where 𝐠=(gij)1i,jn is the metric tensor. Whereas in flat space the scalar product of vectors 𝐮=(ui),𝐯=(vi), is 𝐮𝐯=uivi, on a manifold the scalar product becomes 𝐮𝐯=gijuivi.

The connection coefficients can also be written in terms of the metric tensor

Γijk=12gkl(gli,j+glj,i-gij,l).

The geodesic equation on a manifold is

ξ¨k+Γijkξ˙iξ˙j=0