##### Straight Lines

When we think of a straight line, we usually think of a line in the Euclidean sense; that is, , where is a point contained in the line, is a real number, and is a vector that points parallel to the line. If we consider Euclidean space as a manifold, we would say that is in the *tangent space* , because . One important observation to make is that all along , never changes; i.e., we never accelerate. That is, if we move along the curve, we never speed up or slow down, and we never turn.

In the language of my post on covariant derivatives, this is easy to express:

The geometric interpretation is simple here: in the direction of the velocity vector, the velocity vector doesn’t change. You can probably see the punchline coming by now. If we generalize to a curve on a manifold , is a *geodesic* if .

Now, you may notice that we can trace out the same curve if we tweak the parameter so that we could accelerate on the curve (we wouldn’t turn, but we could speed up or slow down). That is, we could have an alternate parametrization. But in order to have a geodesic, we need , so , and therefore is a constant along the curve. This gives us a unique parametrization of the curve, up to a constant scaling factor on the parameter. In fact, if we consider such a scaling factor, we get that , so a geodesic with a constant scaling factor on its parameter is still a geodesic (and obviously has the same image). This motivates the following definition: if then the geodesic is called a *normal* geodesic.

##### The Exponential Map

Say that some curve is a geodesic. Then is a second-order differential equation in . If we assume that , and , then we have the required conditions for existence and uniqueness of a solution to the differential equation. That is, given a point and tangent vector , there is a unique geodesic that passes through with velocity .

The *exponential map* is defined as , assuming that 1 is in the domain of . The exponential map is fairly important when talking about Riemannian manifolds, and it turns out that it is smooth and a local diffeomorphism. The latter means that there is a neighborhood around where its unique inverse exists. This inverse is the *logarithmic map*, or .

The exponential map is so important, in fact, that it appears in many of the important theorems in Riemannian geometry, like the *Hopf-Rinow Theorem* and the *Cartan-Hadamard Theorem*. It’s also essential to understanding the effects of curvature on a Riemannian manifold.

##### Arc Length

At this point we can ask about the relationship between arc length and geodesics. Assume that we have some smooth function . We can compute the change in arc length over the family of curves :

The variables that we substitute here are fields of tangent vectors corresponding to the differential of with respect to the variables . The rest is just calculus. Since are independent of each other, we know that their derivatives commute and so we can say that . This means that we can make the switch :

If we consider the curve , and consider that we can always reparametrize a curve without loss of generality so that is a constant,

This is called the *first variation formula*. The function is called a *variation*. If we assume that all the are curves that join two points in , then we know that vanishes at the endpoints. If we further assume that is a geodesic, then the integral vanishes (because ). What this means is that geodesics are critical points of the arc length function for curves that join two points.

We can’t claim that a geodesic segment minimizes the distance between two points (though there is a unique minimizing geodesic segment; for that we need the *second variation formula*, which I won’t get into in this post). To see this, consider the case when is a sphere, with the usual angular metric. If we consider any two distinct points, there is a great circle path that joins them that is of length the angular distance between them, . However, there is also a path of length that goes around “the long way” that joins the points as well. This path happens to be the longest one that you can take, and it’s also a geodesic segment. Obviously this would be a maximum of the first variation formula.

It’s easy to see that the first variation formula gives us a lot of power in talking about the geometry of a Riemannian manifold. The source that I use actually motivates the definition of a geodesic from an effort to minimize the first variation formula. I prefer to motivate it from the “straight line” perspective.

##### Sources

Much of this material comes from Comparison Theorems in Riemannian Geometry by Jeff Cheeger and David G. Ebin.