A geodesic can be defined as an extremal path between two points on a manifold in the sense that it minimises or maximises some criterion of interest (e.g., minimises distance travelled, maximises proper time, etc). Such a path will satisfy some geodesic equations equivalent to the Euler-Lagrange equations of the calculus of variations. A geodesic can also be defined in a conceptually different way as the straightest possible path between two points on a manifold. In this case the path will satisfy geodesic equations derived by requiring parallel transport of a tangent vector along the path. Although these are conceptually different ways of defining geodesics, they are mathematically equivalent. In the present note I want to explore the derivation of geodesic equations in these two different ways and prove their mathematical equivalence.
Now, in the calculus of variations we typically define a system’s action to be the time-integral of a Lagrangian
:
where says that the Lagrangian is a function of position coordinates
and velocities
(and
ranges over however many coordinates there are). We find the trajectory that yields a desired extremal value of the action
as the one that satisfies the Euler-Lagrange equations

Let us now suppose that we are facing an exactly analogous situation in which there are two points on the manifold, and
, and we are considering possible paths between them to try to find the extremal one. We can describe any path between
and
by specifying the coordinates of the points along it as functions of a parameter
that goes from a value of
at
to a value of
at
, i.e., by specifying the functions
. Noting that the line element can be written as
we can write the length of a particular path as
Note that the metric is a function of the coordinates of points along the path, which in turn are functions of the parameter , i.e.,
. This situation is exactly analogous to the usual calculus of variations scenario because, writing
, we see that we have a Lagrangian function
and we hope to find the path that makes the integral of the Lagrangian extreme. This will be the path that satisfies the Euler-Lagrange equations
This corresponds to separate differential equations in an
-dimensional manifold, one equation for each value of the index
.
We can manipulate the Euler-Lagrange equations to get geodesic equations which are easier to use in particular contexts. First, note that
because, for example, . Also note that the metric is treated as a constant as it depends on
not on
. Doing the sums over the Kronecker deltas we get
But notice that since
we have
so
and we can write
Next, we have
Putting these results into the Euler-Lagrange equations we get
Finally, multiplying through by we get
where I have also renamed in the first term to make it clearer that the Einstein summations in the first and second terms are independent. This is the first version of the geodesic equations, derived by requiring that the path between the points
and
should be extremal in the sense of satisfying the Euler-Lagrange equations of the calculus of variations.
We will now derive a second version of the geodesic equations by requiring the geodesic to be a path that is locally straight. In differential geometry a path is defined as straight if it parallel transports its own tangent vector, i.e., if the tangent vector does not change as we move an infinitesimal step along the path. If we take an arbitrary point on the path to be and we take
to be an infinitesimal displacement along the path, then a tangent vector to the path is
and we want
Multiplying through by this gives
But
Putting this into the equation gives
To enable us to factor out the basis vector we can rename the indices in the second term as and
to get
This is the second version of the geodesic equations, derived by assuming that the path between the two points on the manifold is locally straight.
We now have two seemingly different versions of the geodesic equations, namely
and
We will next show that they are in fact mathematically equivalent. Starting from the first version, we can expand out the brackets to get
Now we rename the indices as follows: in the first term;
in the second term;
and
in the third term; and
,
,
in the fourth term. We get
We can write this as
Finally, multiplying through by and using the facts that
and
we get
which is the second version of the geodesic equation. Thus, the two versions are equivalent as claimed.
