About a year ago, I took a course on general relativity. It isn't until now that I realize that, given a metric, I am unsure how to find a particle's dynamics. What I mean by that is, normally I would set up either a Lagrangian and Hamiltonian and try to find dynamics the usual ways from these methods. But how do these methods change when I am in curved space time? During the relativity course, we spent a very large amount of time studying tensor analysis, covariant derivatives, geodesics, etc, but not finding the dynamics of a physical system. I am sure we learned this somewhere, maybe I just forgot.
I thought to myself that maybe I could use the geodesic equation, but I don't think this equation would be valid in the presence of a potential. Can I just use the normal methods but just replace the normal derivative with the covariant derivative?
EDIT:
Thanks for all the answers and the bounty put up. I will wait a couple more days to pick the best answer. I thought I would add this for future readers of this question (and possibly for more discussion).
I found a section in my relativity book (Spacetime and Geometry by Sean Carroll) in the beginning of Chapter 4, he says in order to do the "physics of space time" do the following:
- Take a law of physics, valid in inertial coordinates in flat spacetime
- Write it in a coordinate invariant (tensorial) form.
- Assert that the resulting law remains true in curved spacetime.
His example is then to do these steps with a free particle to obtain the geodesic equation, so according to this, these steps could be followed for any dynamical theory. The second step being the most complicated part as (for example) second derivatives need modifications to be considered a tensorial object (which he covers in the book).
As in classical mechanics, there are several approaches to determining the dynamics of a particle in general relativity. Crucially we should observe that, in general relativity, the effect of a gravitational field is entirely captured by the behaviour of the metric. Providing the particle in question experiences no other external influences, we can determine its motion using the geodesic equation as you suppose. This is one of the central axioms of general relativity:
A particle moving only under the influence of gravity follows geodesics in curved spacetime. These geodesics are timelike if the particle is massive and null if the particle is massless.
Knowing the above, we can directly write down the equation governing particle motion. In Riemannian geometry, it is natural to define a geodesic as a path that extremises the length between two fixed points. For us, this definition comes with some subtleties, due to the fact that two distinct points can be zero distance apart. For our purposes, there is a better definition:
A geodesic is a path whose tangent vector is parallel transported along it. In wordier terms, if you take the tangent vector at one point, and then carry it along the path without changing the direction it points in, the vector remains tangent to the path at the destination.
In less wordy terms, geodesics are straight lines.
Mathematically this is expressed as
$$ \nabla_U U = 0 \qquad \mathrm{where} \qquad U^\mu = \frac{\mathrm{d}x^\mu}{\mathrm{d}\lambda}\,.$$ Here $\lambda$ is a parameter along the curve and $U$ is tangent to it. If we expand out this equation using the definition of the covariant derivative, we arrive at the famous geodesic equation: $$ \frac{\mathrm{d}^2 x^\mu}{\mathrm{d}\lambda^2} + \Gamma^\mu{}_{\nu \rho}\frac{\mathrm{d}x^\nu}{\mathrm{d}\lambda}\frac{\mathrm{d}x^\rho}{\mathrm{d}\lambda} = 0 \,.$$ This equation is the analogue of Newton's first law: particles under the influence of no external force move in straight lines at constant speed. It is nothing other than
$$\vec{a} = 0\,.$$
This comparison informs us how to modify the geodesic equation when external forces are present. For definiteness, suppose that the particle is moving under the influence of an electromagnetic field, in addition to gravity. We simply take geodesic equation and replace the right hand side with force over mass. Writing the Lorentz force in the covariant form used in special relativity, and choosing $\lambda$ to be proper time $\tau$, we find that a charged particle obeys the equation: $$ \frac{\mathrm{d}^2 x^\mu}{\mathrm{d}\tau^2} + \Gamma^\mu{}_{\nu \rho}\frac{\mathrm{d}x^\nu}{\mathrm{d}\tau}\frac{\mathrm{d}x^\rho}{\mathrm{d}\tau} = \frac{q}{m} F^\mu{}_\nu \frac{\mathrm{d}x^\nu}{\mathrm{d}\tau} \,.$$ Note that if we turn off the gravitational field by setting the connection components to zero, we recover the special relativistic form of Newton's second law for a particle moving in an electromagnetic field, as we must do.
One of the advantages of Lagrangian over Newtonian mechanics is that it's often easier to write down some scalar 'energy' that characterises our system than it is to specify the vectorial forces acting on it. With no external influences present, we want an action that, when extremised, gives us geodesics. For massive particles, we can employ the definition of geodesic familiar from Riemannian geometry – action equals length:
$$S = m\int\mathrm{d}\tau = m\int \mathrm{d}\lambda \sqrt{-g_{\mu \nu}\frac{\mathrm{d}x^\mu}{\mathrm{d}\lambda}\frac{\mathrm{d}x^\nu}{\mathrm{d}\lambda}} \,.$$
It's a worthwhile exercise to check that this indeed yields the geodesic equation when extremised (note that one should be careful about the limits on the integral when performing the variation!).
With this free-particle action in place, it's a simple matter to add extra terms that capture the effect of interactions of the particle with external fields or other particles. If an electromagnetic field is present, the action becomes
$$ S = m\int \mathrm{d} \tau - q \int \mathrm{d} \tau A_\mu \frac{\mathrm{d}x^\mu}{\mathrm{d}\tau} \,. $$
For massless particles this picture is complicated by the fact that every null path has zero length. To talk about the Lagrangian mechanics of massless particles, we need to introduce a new action which contains a Lagrange multiplier $e(\lambda)$ defined along the worldline. The following action is valid for particles of any mass:
$$ S = \frac{1}{2} \int \mathrm{d} \lambda \left(\frac{1}{e(\lambda)} g_{\mu \nu}\frac{\mathrm{d}x^\mu}{\mathrm{d}\lambda}\frac{\mathrm{d}x^\nu}{\mathrm{d}\lambda} - m^2 e(\lambda)\right)\,.$$
This is a technical point – more information can be found in this and this stackexchange post. At the end of the day, we're defining these actions so that they return the geodesic equation when extremised. Adding extra terms to the action to account for interactions is then often easier than adding extra terms directly to the geodesic equation.
Perhaps some other time; this answer is already long enough. Let me just note here that it is entirely possible to formulate a Hamiltonian approach to particle dynamics in a curved spacetime, but a little tricky. There are additional subtleties associated with the fact that the conjugate momenta are not independent – they satisfy a mass-shell constraint – which compels us to include a Lagrange multiplier as above. For more information see these lecture notes by Paul Townsend.