How to Integrate the geodesic equations numerically?

Click For Summary

Discussion Overview

The discussion revolves around the numerical integration of the geodesic equations of motion for a test particle in Schwarzschild geometry. Participants explore methods for simulating the trajectory of such particles, the relationship between coordinate time and proper time, and the potential for using analytical solutions based on conserved quantities.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses interest in numerically integrating the geodesic equations but admits to lacking knowledge on how to proceed.
  • Another participant suggests that the geodesic equations can be solved analytically by utilizing conserved quantities associated with the Schwarzschild metric, referencing Sean Carroll's lecture notes on general relativity.
  • It is noted that the effective potential method could be beneficial for understanding the motion of particles in a gravitational field, drawing parallels to Newtonian mechanics.
  • Some participants mention technical challenges associated with numerical integration, particularly when dealing with the geodesic equations and crossing horizons.
  • A participant highlights the lack of discussion in literature regarding numerical methods for geodesics, suggesting that this could be an area of interest for further exploration.
  • Another participant introduces the concept of Symplectic Integrators as a potentially more stable alternative to Runge-Kutta methods for long-term simulations.
  • One participant outlines the equations governing motion in an equatorial orbital plane, providing specific relationships and equations derived from the Schwarzschild metric.

Areas of Agreement / Disagreement

Participants generally agree on the potential for analytical solutions using conserved quantities, but there is no consensus on the best numerical methods to employ or the extent of their applicability. Multiple competing views and approaches remain present in the discussion.

Contextual Notes

Some participants reference specific assumptions made in their discussions, such as considering equatorial orbits or simplifying the Schwarzschild metric. There are also mentions of unresolved mathematical steps and the need for further clarification on certain technical aspects.

Who May Find This Useful

This discussion may be useful for those interested in general relativity, numerical methods in physics, and the study of geodesics in curved spacetime, particularly students and researchers exploring advanced topics in gravitational physics.

Matter_Matters
Messages
35
Reaction score
2
Hello there, I've been considering the geodesic equations of motion for a test particle in Schwarzschild geometry for some time now. Similar to what we can do with the Kepler problem I would like to be able to numerically integrate the equations of motion. I'm quite interested to see how coordinate time and proper time change over a simulation and also the trajectory itself. But the problem is.. I have no idea how to do that. Any suggestions?
 
Physics news on Phys.org
Matter_Matters said:
Hello there, I've been considering the geodesic equations of motion for a test particle in Schwarzschild geometry for some time now. Similar to what we can do with the Kepler problem I would like to be able to numerically integrate the equations of motion. I'm quite interested to see how coordinate time and proper time change over a simulation and also the trajectory itself. But the problem is.. I have no idea how to do that. Any suggestions?

The Schwarzschild geodesic has a couple of conserved quantites that mean you don't have to numerically integrate the equations, you can solve them analytically by taking advantage of the existence of these constants of motion.

Sean Caroll discusses this in his lecture notes on GR, though it's not an easy read. The applicable concept is called "Killing Vectors", a quote from the relevant section (found at https://www.preposterousuniverse.com/grnotes/) is:

There does not seem to be much hope for simply solving this set of coupled equations by inspection. Fortunately our task is greatly simplified by the high degree of symmetry of the Schwarzschild metric. We know that there are four Killing vectors: three for the spherical symmetry, and one for time translations. Each of these will lead to a constant of the motion

For another online reference, http://www.fourmilab.ch/gravitation/orbits/ might or might not be easier to follow - it is taken pretty much from MTW's treatment in "Gravitation", which would be a better source than the above (being more detailed and of better provenance) - if you can get a hold of it. This approach is a bit more physical, they give the conserved quantites names, like "energy at infinity" and "angular momentum". The resulting equations are rather similar to how we might solve for motion in the Newtonian case by taking advantage of energy and angular momentum conservation.

It might help to review the "effective potential" method for the discussion in the second link. Orbits occur in a plane, so they're basically two dimensional. So one can introduce unit vectors ##\hat{r}## and ##\hat{\phi}## in the Newtonian case to describe the orbital plane, the former being in the radial direction, the other being at right angles to the radial vector in the orbital plane.

By the conservation of angular momentum, one can write a relationship between the the rate of change of ##\phi## and the radial distance r. This gives the non-radial component of the velocity. Knowing the radial and transverse-to-radial components of the velocity, we can get the total kinetic energy, and using the fact that energy is conserved, we can solve for the radial and transverse components of the velocity at any point.

The "effective potential" method is basically a matter of interpreting this solution as the motion of a 1 dimensional particle in a force field that gives the proper solution for the radial component of the motion. Many texts should discuss the effective potential method, including Goldstein's "Classical Mechanics".
 
  • Like
Likes   Reactions: Matter_Matters and m4r35n357
[To the OP]
Yes, this is most definitely the way to go. There are some, er, "fascinating" technical issues you will need to deal with, but it's far better than just blasting away at the second order ODEs in the geodesic equation (particularly if you like to cross horizons!).

Oh, couldn't resist. Here is my take on the fourmilab animations, with a spinning black hole (it has one solar mass, and is orbited by a test particle similar to Mercury). Also does Newtonian orbit for "comparison".
 
  • Like
Likes   Reactions: Matter_Matters
Absolutely fantastic responses both very helpful and also a lot I didn't think about. Being a "trained mathematician" I was always satisfied to leave the geodesic equations as they are and have no other concerns i.e. I was completely content with just having a set of DE's and that was that. However, now that my needs require more involvement I find myself almost lost in the technicalities of things. Still though, absolutely fascinating to study. I do find it interesting that such topics are not heavily discussed in the literature, after all, nearly every student would know a member of the Runge-Kutta family. So extending this should be a topic of interest. Don't you agree?
 
Matter_Matters said:
Absolutely fantastic responses both very helpful and also a lot I didn't think about. Being a "trained mathematician" I was always satisfied to leave the geodesic equations as they are and have no other concerns i.e. I was completely content with just having a set of DE's and that was that. However, now that my needs require more involvement I find myself almost lost in the technicalities of things. Still though, absolutely fascinating to study. I do find it interesting that such topics are not heavily discussed in the literature, after all, nearly every student would know a member of the Runge-Kutta family. So extending this should be a topic of interest. Don't you agree?

Since you are a trained mathematician (I most definitely am NOT), I will try to be brief ;) The seminal paper on geodesics IMO is this one by Wilkins. The first order equations for the Kerr metric are all there in plain sight in section II.

One other topic I would bring up is the Symplectic Integrator, which is frequently used over RK4 for long term stability.

And finally, a plug for my proudest "contribution" to the field, in case you like to mess with working code.
 
  • Like
Likes   Reactions: Matter_Matters and Ibix
The end result is that if you consider the motion in an equatorial orbital plane (t,r, ##\phi##), the solution for writing the geodesic equation is three functions ##t(\tau), r(\tau), \phi(\tau)##.

We can define ## E = (1-2m/r) dt / d\tau## and ##L = r^2 (d\phi/d\tau)## and re-write two of these equations as ##dE/d\tau=0, dL/d\tau=0##, using the chain rule to expand them. The last equation comes from the Schwarzschild metric itself, which has various forms. One is:

$$c^2 \,{d \tau}^{2} = \left(1 - 2m/r \right) c^2 \,dt^2 - \left(1- 2m/r \right)^{-1} \,dr^2 - r^2 \left(d\theta^2 + \sin^2\theta \, d\phi^2\right)$$

but the fourmilab reference assumes c=1, for instance, and by assuming an equatorial orbit we have previously set ##\theta=0##. Making these assumptions and dividing both sides by ##d\tau^2## should basically give the last equation.

I think I posted something more detailed along these lines a long time ago, but I'm not finding it in search.
 
  • Like
Likes   Reactions: Matter_Matters

Similar threads

  • · Replies 76 ·
3
Replies
76
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
2K