# Path of light in curved spacetime with metric

• I
Suppose we have a curved spacetime with metric g, how can we find out the path of light throughout that space?

## Answers and Replies

stevendaryl
Staff Emeritus
Science Advisor
Suppose we have a curved spacetime with metric g, how can we find out the path of light throughout that space?

Light follows geodesics, so the path of a light pulse can be found by solving the geodesic equation:

$\frac{d^2 x^\mu}{ds^2} + \Gamma^\mu_{\nu \lambda} \frac{dx^\nu}{ds} \frac{dx^\lambda}{ds} = 0$

If you haven't studied a little General Relativity, then this equation is going to be pretty opaque. But here are a few pointers that might help understand it a little better:
1. $s$ is the path parameter, which is just a way of specifying the path. In classical physics, you always use time as the parameter, but in GR, time is one of the coordinates, so it's actually inconvenient to use it as a path parameter.
2. $x^\mu(s)$ is the 4-D "position" of the light pulse as a function of $s$. As $s$ increases, so does the time coordinate (often $x^0$. The index $\mu$ ranges over the 4 dimensions of spacetime.
3. $\Gamma^\mu_{\nu \lambda}$ is a quantity constructed from derivatives of the metric tensor, $g$. The indices $\mu, \nu, \lambda$ again range over the 4 dimensions of spacetime, and the meaning of that equation is that the repeated indices, $\lambda$ and $\nu$, are summed over. In the absence of gravity, if you use inertial Cartesian coordinates, then $\Gamma^\mu_{\nu \lambda} = 0$.
4. In the special case of a pulse of light, the 4-velocity $\frac{dx^\mu}{ds}$ is what's called a "null vector". What this means is that if you take the scalar product---$\frac{dx}{ds} \cdot \frac{dx}{ds} \equiv \sum_{\mu \nu} \frac{dx^\mu}{ds} \frac{dx^\nu}{ds}$--the result is always zero. This means that out of the 4 components of the "4-velocity", you can solve for one of them in terms of the other 3.
In the absence of gravity, using inertial Cartesian coordinates, and assuming only one spatial dimension, this all becomes extremely simple: $\Gamma^\mu_{\nu \lambda} = 0$, so the geodesic equation is just the pair of equations:

$\frac{dx^0}{ds} = 0$
$\frac{dx^1}{ds} = 0$

which has the extremely simple solution: $x^0 = a + bs$, $x^1 = d + es$, where $a, b, d, e$ are constants of the motion. The additional constraint that it is a null vector implies that $(\frac{dx^0}{ds})^2 - (\frac{dx^1}{ds})^2 = 0$ (the minus sign is from the metric tensor). This implies that $e = \pm a$. So writing $x^1 \equiv x$ and $x^0 \equiv ct$, we can eliminate $s$ in terms of $t$ to get:

$x = \pm ct + d'$

where $d'$ is a constant computed from the original constants $a, b, d$.

Last edited by a moderator:
• Tahmeed
Ibix
Science Advisor
2020 Award
I did this recently for the Schwarzschild metric (a nice simple case). A few examples are here: https://www.physicsforums.com/threads/null-geodesics-in-schwarzschild-spacetime.895174/

Note that the pictures don't really represent the paths. Spacetime is curved and can't be drawn on a plane without distortion. So these are like the paths of airlines drawn on a Mercator projection map: sensible representations but not wholly accurate.

Edit: @m4r35n357 has written some simulations as well.

Edit: @m4r35n357 has written some simulations as well.
Thanks for reminding me ;) They are here for what it is worth.

The quality is not great, I never got round to sorting out the issue with the video encoding (which worked fine for my twin paradox videos). So anyway you get to see the program running and displaying to visual python with me panning a zooming like an idiot.

The results do fit with scientific papers on the subject, though, and the spherical light orbits in particular still fascinate me.

• Tahmeed