In mathematics, a geodesic is a generalization of the notion of a "staight line" to curved spaces. It takes its name from the science of geodesy of measuring the size and shape of the earth, and was originally the shortest route between two points on the surface of the earth. For example the great circle path between points on the Earth, idealised as a sphere, is a geodesic. A small circle path is not. In intuitive terms, an elastic band stretched along a path that is not geodesic would contract its length for energy reasons to a nearby shorter path — this though only serves to explain that a geodesic is a local minimum for length.
In metric geometry, a geodesic is a curve which is everywhere locally a distance minimizer. More precisely, if M is a metric space, a curve is a geodesic if there is a constant such that for any there is a neighborhood J of t in I such that for any we have
- d(γ(t1),γ(t2)) = v | t1 - t2 | .
This notion generalizes notion of geodesic for Riemannian manifolds. However, in metric geometry the geodesic considered almost always equipped with natural parametrization, i.e. in the above identity v=1 and
- d(γ(t1),γ(t2)) = | t1 - t2 | .
If the last equality is satisfied on all I, the geodesic is called a minimizing geodesic or shortest path.
In general, a metric space may have no geodesics, except constant curves.
where ∇ stands for Levi-Civita connection on M.
where xi(t) are the coordinates of the curve γ(t) and are the Christoffel symbols.
Equivalently, geodesics can be defined as extremal curves for the following energy functional
where g is Riemannian (or pseudo-Riemannian) metric. (In fact, this "energy functional" should be called action, but nobody in mathematics does so.)
The most familiar examples are the straight lines in Euclidean geometry. On a sphere, the geodesics are the great circles. The shortest path from point A to point B on a sphere is given by the shorter piece of the great circle passing through A and B. Note that if A and B are antipodal points (like the North pole and the South pole), then there are many shortest paths between them.
There is a local existence and uniqueness theorem for geodesics which follows from the theory of ordinary differential equations. This theorem states that for any point p in M and for any vector V in TpM (the tangent space to M at p) there exists a unique geodesic γ : I → M such that γ(0) = p and . Here I is a maximal open interval in R containing 0. Note that I may not be all of R since the geodesic may terminate somewhere on the manifold.
The differential geometry of curves provides definitions and methods for analyzing smooth curves in Riemannian manifolds using the tools of calculus.
Geodesics in general relativity
Geodesics are important in the theory of general relativity where they represent the paths of particles in free fall, that is, particles moving under the influence of no forces except gravity. For example, the orbit of a planet around a star follows a geodesic path.
Recall that spacetime in general relativity is a Lorentzian manifold with signature (− + + +). Geodesics on a Lorentzian manifold fall into three classes according to the sign of the norm of their tangent vector:
- timelike geodesics have a tangent vector whose norm is negative,
- null geodesics have a tangent vector whose norm is zero, and
- spacelike geodesics have a tangent vector whose norm is positive.
Note that a geodesic cannot be spacelike at one point and timelike at another since parallel transport preserves the norm of the vector (since the metric is parallel transported along any curve).
Massive particles and objects will always follow timelike geodesics, while massless particles like the photon will follow null geodesics. Spacelike geodesics exist, but do not correspond to the path of any physical particle.