In general relativity, a geodesic generalizes the notion of a "straight line" to curved spacetime. Importantly, the world line of a particle free from all external, non-gravitational force, is a particular type of geodesic. In other words, a freely moving or falling particle always moves along a geodesic.

In general relativity, gravity can be regarded as not a force but a consequence of a curved spacetime geometry where the source of curvature is the stress–energy tensor (representing matter, for instance). Thus, for example, the path of a planet orbiting around a star is the projection of a geodesic of the curved 4-D spacetime geometry around the star onto 3-D space.

Mathematical expression

The full geodesic equation is this:

{d^2 x^\mu \over ds^2} =- \Gamma^\mu {}_{\alpha \beta}{d x^\alpha \over ds}{d x^\beta \over ds}\ .

where s is a scalar parameter of motion (e.g. the proper time), and \Gamma^\mu {}_{\alpha \beta}\ are Christoffel symbols (sometimes called the affine connection or Levi-Civita connection) which is symmetric in the two lower indices. Greek indices take the values [0,1,2,3]. The quantity on the left-hand-side of this equation is the acceleration of a particle, and so this equation is analogous to Newton's laws of motion which likewise provide formulae for the acceleration of a particle. This equation of motion employs the Einstein notation, meaning that repeated indices are summed (i.e. from zero to three). The Christoffel symbols are functions of the four space-time coordinates, and so are independent of the velocity or acceleration or other characteristics of a test particle whose motion is described by the geodesic equation.

Equivalent mathematical expression using coordinate time as parameter

So far the geodesic equation of motion has been written in terms of a scalar parameter s. It can alternatively be written in terms of the time coordinate, t \equiv x^0 (here we have used the triple bar to signify a definition). The geodesic equation of motion then becomes:

{d^2 x^\mu \over dt^2} =- \Gamma^\mu {}_{\alpha \beta}{d x^\alpha \over dt}{d x^\beta \over dt}+ \Gamma^0 {}_{\alpha \beta}{d x^\alpha \over dt}{d x^\beta \over dt}{d x^\mu \over dt}\ .

This formulation of the geodesic equation of motion can be useful for computer calculations and to compare General Relativity with Newtonian Gravity.[1] It is straightforward to derive this form of the geodesic equation of motion from the form which uses proper time as a parameter, using the chain rule. Notice that both sides of this last equation vanish when the mu index is set to zero. If the particle's velocity is small enough, then the geodesic equation reduces to this:

{d^2 x^n \over dt^2} =- \Gamma^n {}_{00}.

Here the Latin index n takes the values [1,2,3]. This equation simply means that all test particles at a particular place and time will have the same acceleration, which is a well-known feature of Newtonian gravity. For example, everything floating around in the international space station will undergo roughly the same acceleration due to gravity.

Derivation directly from the equivalence principle

Physicist Steven Weinberg has presented a derivation of the geodesic equation of motion directly from the equivalence principle.[2] The first step in such a derivation is to suppose that no particles are accelerating in the neighborhood of a point-event with respect to a freely falling coordinate system (X^\mu). Setting T \equiv X^0, we have the following equation that is locally applicable in free fall:

{d^2 X^\mu \over dT^2} = 0 .

The next step is to employ the chain rule. We have:

{d X^\mu \over dT}={d x^\nu \over dT} {\partial X^\mu \over \partial x^\nu}

Differentiating once more with respect to the time, we have:

{d^2 X^\mu \over dT^2}={d^2 x^\nu \over dT^2} {\partial X^\mu \over \partial x^\nu} + {d x^\nu \over dT} {d x^\alpha \over dT} {\partial^2 X^\mu \over \partial x^\nu\partial x^\alpha}


{d^2 x^\nu \over dT^2} {\partial X^\mu \over \partial x^\nu} =- {d x^\nu \over dT} {d x^\alpha \over dT} {\partial^2 X^\mu \over \partial x^\nu\partial x^\alpha}

Multiply both sides of this last equation by the following quantity:

{\partial x^\lambda \over \partial X^\mu}

Consequently, we have this:

{d^2 x^\lambda \over dT^2} =- {d x^\nu \over dT} {d x^\alpha \over dT} \left is the line element. To get the geodesic equation we must vary this action. To do this lets parameterize this action with respect a parameter \lambda. Doing this we get:


We can now go ahead and vary this action with respect to the curve x^{\mu}. By the principle of least action we get:

0=\delta S=\int\delta\left(\sqrt{-g_{\mu\nu}\frac{dx^{\mu}}{d\lambda}\frac{dx^{\nu}}{d\lambda}}\right)d\lambda =\int\frac{\delta\left(-g_{\mu\nu}\frac{dx^{\mu}}{d\lambda}\frac{dx^{\nu}}{d\lambda}\right)}{2\sqrt{-g_{\mu\nu}\frac{dx^{\mu}}{d\lambda}\frac{dx^{\nu}}{d\lambda}}}d\lambda

For concreteness lets parameterize this action w.r.t. the proper time, \tau. Since the four-velocity is normalized to -1 (for time-like paths) we can say that the above is equivalent to the action:


Using the product rule we get:

0=\int\left(\frac{dx^{\mu}}{d\tau}\frac{dx^{\nu}}{d\tau}\delta g_{\mu\nu}+g_{\mu\nu}\frac{d\delta x^{\mu}}{d\tau}\frac{dx^{\nu}}{d\tau}+g_{\mu\nu}\frac{dx^{\mu}}{d\tau}\frac{d\delta x^{\nu}}{d\tau}\right)d\tau =\int\left(\frac{dx^{\mu}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\alpha}g_{\mu\nu}\delta x^{\alpha}+2g_{\mu\nu}\frac{d\delta x^{\mu}}{d\tau}\frac{dx^{\nu}}{d\tau}\right)d\tau

Integrating by-parts the last term and dropping the total derivative (which equals to zero at the boundaries) we get that:

0=\int d\tau\left(\frac{dx^{\mu}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\alpha}g_{\mu\nu}\delta x^{\alpha}-2\delta x^{\mu}\frac{d}{d\tau}\left(g_{\mu\nu}\frac{dx^{\nu}}{d\tau}\right)\right)=\int d\tau\left(\frac{dx^{\mu}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\alpha}g_{\mu\nu}\delta x^{\alpha}-2\delta x^{\mu}\partial_{\alpha}g_{\mu\nu}\frac{dx^{\alpha}}{d\tau}\frac{dx^{\nu}}{d\tau}-2\delta x^{\mu}g_{\mu\nu}\frac{d^{2}x^{\nu}}{d\tau^{2}}\right)

Simplifying a bit we see that:

0=\int d\tau\delta x^{\mu}\left(-2g_{\mu\nu}\frac{d^{2}x^{\nu}}{d\tau^{2}}+\frac{dx^{\alpha}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\mu}g_{\alpha\nu}-2\frac{dx^{\alpha}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\alpha}g_{\mu\nu}\right)


0=\int d\tau\delta x^{\mu}\left(-2g_{\mu\nu}\frac{d^{2}x^{\nu}}{d\tau^{2}}+\frac{dx^{\alpha}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\mu}g_{\alpha\nu}-\frac{dx^{\alpha}}{d\tau}\frac{dx^{\nu}}{d\tau}\partial_{\alpha}g_{\mu\nu}-\frac{dx^{\nu}}{d\tau}\frac{dx^{\alpha}}{d\tau}\partial_{\nu}g_{\mu\alpha}\right)

multiplying this equation by -\frac{1}{2} we get:

0=\int d\tau\delta x^{\mu}\left(g_{\mu\nu}\frac{d^{2}x^{\nu}}{d\tau^{2}}+\frac{1}{2}\frac{dx^{\alpha}}{d\tau}\frac{dx^{\nu}}{d\tau}\left(\partial_{\alpha}g_{\mu\nu}+\partial_{\nu}g_{\mu\alpha}-\partial_{\mu}g_{\alpha\nu}\right)\right)

So by Hamilton's principle we find that the Euler–Lagrange equation is


Multiplying by the inverse metric tensor g^{\mu\beta} we get that


Thus we get the geodesic equation:


with the christoffel symbol defined in terms of the metric tensor as


(NOTE: This derivation works for light-like and space-like paths too.)

Equation of motion may follow from the field equations for empty space

Albert Einstein believed that the geodesic equation of motion can be derived from the field equations for empty space, i.e. from the fact that the Ricci curvature vanishes. He wrote:[4]

It has been shown that this law of motion — generalized to the case of arbitrarily large gravitating masses — can be derived from the field equations of empty space alone. According to this derivation the law of motion is implied by the condition that the field be singular nowhere outside its generating mass points.

Both physicists and philosophers have often repeated the assertion that the geodesic equation can be obtained from the field equations to describe the motion of a gravitational singularity, but this claim remains disputed.[5] Less controversial is the notion that the field equations determine the motion of a fluid or dust, as distinguished from the motion of a point-singularity.[6]

Extension to the case of a charged particle

In deriving the geodesic equation from the equivalence principle, it was assumed that particles in a local inertial coordinate system are not accelerating. However, in real life, the particles may be charged, and therefore may be accelerating locally in accordance with the Lorentz force. That is:

{d^2 X^\mu \over ds^2} = {q \over m} {F^{\mu \beta}} {d X^\alpha \over ds}{\eta_{\alpha \beta}}.


{\eta_{\alpha \beta}}{d X^\alpha \over ds}{d X^\beta \over ds}=-1.

The Minkowski tensor η is given by:

\eta = \begin{pmatrix}-1&0&0&0\\0&1&0&0\\0&0&1&0\\0&0&0&1\end{pmatrix}

These last three equations can be used as the starting point for the derivation of an equation of motion in General Relativity, instead of assuming that acceleration is zero in free fall.[2] Because the Minkowski tensor is involved here, it becomes necessary to introduce something called the metric tensor in General Relativity. The metric tensor g is symmetric, and locally reduces to the Minkowski tensor in free fall. The resulting equation of motion is as follows:

{d^2 x^\mu \over ds^2} =- \Gamma^\mu {}_{\alpha \beta}{d x^\alpha \over ds}{d x^\beta \over ds}\ +{q \over m} {F^{\mu \beta}} {d x^\alpha \over ds}{g_{\alpha \beta}}.


{g_{\alpha \beta}}{d x^\alpha \over ds}{d x^\beta \over ds}=-1.

This last equation signifies that the particle is moving along a timelike geodesic; massless particles like the photon instead follow null geodesics (replace −1 with zero on the right-hand side of the last equation). It is important that the last two equations are consistent with each other, when the latter is differentiated with respect to proper time, and the following formula for the Christoffel symbols ensures that consistency:

\Gamma^{\lambda}{}_{\alpha\beta}=\frac{1}{2}g^{\lambda \tau} \left(\frac{\partial g_{\tau\alpha}}{\partial x^\beta} + \frac{\partial g_{\tau\beta}}{\partial x^{\alpha}} - \frac{\partial g_{\alpha\beta}}{\partial x^{\tau}} \right)

This last equation does not involve the electromagnetic fields, and it is applicable even in the limit as the electromagnetic fields vanish. The letter g with superscripts refers to the inverse of the metric tensor. In General Relativity, indices of tensors are lowered and raised by contraction with the metric tensor or its inverse, respectively.

Geodesics as curves of stationary interval

A geodesic between two events can also be described as the curve joining those two events which has a stationary interval (4-dimensional "length"). Stationary here is used in the sense in which that term is used in the calculus of variations, namely, that the interval along the curve varies minimally among curves that are nearby to the geodesic.

In Minkowski space there is only one time-like geodesic that connects any given pair of time-like separated events, and that geodesic is the curve with the longest proper time between the two events. But in curved spacetime, it's possible for a pair of widely-separated events to have more than one time-like geodesic that connects them. In such instances, the proper times along the various geodesics will not in general be the same. And for some geodesics in such instances, it's possible for a curve that connects the two events and is nearby to the geodesic to have either a longer or a shorter proper time than the geodesic.[7]

For a space-like geodesic through two events, there are always nearby curves which go through the two events that have either a longer or a shorter proper length than the geodesic, even in Minkowski space. In Minkowski space, in an inertial frame of reference in which the two events are simultaneous, the geodesic will be the straight line between the two events at the time at which the events occur. Any curve that differs from the geodesic purely spatially in that frame of reference will have a longer proper length than the geodesic, but a curve that differs from the geodesic purely temporally in that frame of reference will have a shorter proper length.

The interval of a curve in spacetime is

l = \int \sqrt{\left|g_{\mu \nu} \dot x^\mu \dot x^\nu \right|} \, ds\ .

Then, the Euler–Lagrange equation,

{d \over ds} {\partial \over \partial \dot x^\alpha} \sqrt{\left| g_{\mu \nu} \dot x^\mu \dot x^\nu \right|} = {\partial \over \partial x^\alpha} \sqrt{\left| g_{\mu \nu} \dot x^\mu \dot x^\nu \right|} \ ,

becomes, after some calculation,

2(\Gamma^\lambda {}_{\mu \nu} \dot x^\mu \dot x^\nu + \ddot x^\lambda) = U^\lambda {d \over ds} \ln |U_\nu U^\nu| \ ,

where U^\mu = \dot x^\mu .

If the parameter s is chosen to be affine, then the right side the above equation vanishes (because U_\nu U^\nu is constant). Finally, we have the geodesic equation

\Gamma^\lambda {}_{\mu \nu} \dot x^\mu \dot x^\nu + \ddot x^\lambda = 0\ .

See also


  • Steven Weinberg, Gravitation and Cosmology: Principles and Applications of the General Theory of Relativity, (1972) John Wiley & Sons, New York ISBN 0-471-92567-5 See chapter 3.
  • Lev D. Landau and Evgenii M. Lifschitz, The Classical Theory of Fields, (1973) Pergammon Press, Oxford ISBN 0-08-018176-7 See section 87.
  • Charles W. Misner, Kip S. Thorne, John Archibald Wheeler, Gravitation, (1970) W.H. Freeman, New York; ISBN 0-7167-0344-0.
  • Bernard F. Schutz, A first course in general relativity, (1985; 2002) Cambridge University Press: Cambridge, UK; ISBN 0-521-27703-5. See chapter 6.
  • Robert M. Wald, General Relativity, (1984) The University of Chicago Press, Chicago. See Section 3.3.


  1. ^ Will, Clifford. Theory and Experiment in Gravitational Physics, p. 143 (Cambridge University Press 1993).
  2. ^ a b Weinberg, Steven. Gravitation and Cosmology: Principles and Applications of the General Theory of Relativity (Wiley 1972).
  3. ^ Plebanski, Jerzy and Krazinski, Adrzej. An Introduction to General Relativity and Cosmology, p. 34 (Cambridge University Press, 2006).
  4. ^ Einstein, Albert. The Meaning of Relativity, p. 113 (Psychology Press 2003).
  5. ^ Tamir, M. "Proving the principle: Taking geodesic dynamics too seriously in Einstein’s theory", Studies In History and Philosophy of Modern Physics 43(2), 137–154 (2012).
  6. ^ Plebanski, Jerzy and Krazinski, Adrzej. An Introduction to General Relativity and Cosmology, p. 143 (Cambridge University Press, 2006).
  7. ^