The motion of a test particle around a black hole can be modeled using the $Schwarzschild$ metric.
The equations governing the orbit are derived from the effective potential:
$$
V_{\text{eff}}(r) = -\frac{GM}{r} + \frac{L^2}{2r^2} - \frac{GM L^2}{c^2 r^3}
$$
- $( G )$: Gravitational constant
- $( M )$: Mass of the black hole
- $( c )$: Speed of light
- $( L )$: Angular momentum of the test particle
- $( r )$: Radial distance from the black hole
We’ll calculate and visualize the effective potential and simulate the orbit of a particle in the $Schwarzschild$ spacetime.
Python Code and Explanation
1 | import numpy as np |
Explanation
Effective Potential:
- The plot shows how the effective potential depends on radial distance $( r )$.
This determines stable and unstable orbits. - The $Schwarzschild$ radius $( r_s = 2GM/c^2 )$ acts as a boundary; inside it, no stable orbits exist.
- The plot shows how the effective potential depends on radial distance $( r )$.
Orbit Simulation:
- We solve the equations of motion using the $Schwarzschild$ metric.
- The orbit is plotted in Cartesian coordinates, showing the trajectory of the test particle.
Let’s execute the code to visualize the results.
Graphs Interpretation


Effective Potential:
- The first graph shows the effective potential $( V_{\text{eff}} )$ as a function of the radial distance $( r )$.
- At smaller $( r )$, the potential increases rapidly due to the $Schwarzschild$ radius, showing the unstable nature of orbits near the black hole.
Orbit of a Test Particle:
- The second graph illustrates the path of a test particle orbiting a black hole.
- The black hole is at the origin, and the particle’s trajectory demonstrates its curved path due to the strong gravitational field.
- This orbit represents a bound system where the angular momentum and gravitational forces balance.
These visualizations help us understand the dynamics of particles in the curved spacetime around a $Schwarzschild$ black hole.









