Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/sage/SageManifolds/SM_Kerr.sagews
Views: 1042
Kerr spacetime
This worksheet demonstrates a few capabilities of SageManifolds (version 0.8) in computations regarding Kerr spacetime.
It is released under the GNU General Public License version 3.
(c) Eric Gourgoulhon, Michal Bejger (2015)
The corresponding worksheet file can be downloaded from here.
Spacetime manifold
We can then declare the Kerr spacetime as a 4-dimensional diffentiable manifold:
Let us use the standard Boyer-Lindquist coordinates on it, by first introducing the part covered by these coordinates
Metric tensor
The 2 parameters and of the Kerr spacetime are declared as symbolic variables:
Let us introduce the spacetime metric:
The metric is set by its components in the coordinate frame associated with Boyer-Lindquist coordinates, which is the current manifold's default frame:
Levi-Civita Connection
The Levi-Civita connection associated with :
Let us verify that the covariant derivative of with respect to vanishes identically:
The nonzero Christoffel symbols (skipping those that can be deduced by symmetry of the last two indices):
Killing vectors
The default vector frame on the spacetime manifold is the coordinate basis associated with Boyer-Lindquist coordinates:
Let us consider the first vector field of this frame:
The 1-form associated to it by metric duality is
Its covariant derivative is
Let us check that the Killing equation is satisfied:
Similarly, let us check that is a Killing vector:
Curvature
The Ricci tensor associated with :
Let us check that Kerr metric is a solution of the vacuum Einstein equation:
The Riemann curvature tensor associated with :
Contrary to the Ricci tensor, the Riemann tensor does not vanish; for instance, the component is
Bianchi identity
Let us check the Bianchi identity :
If the last sign in the Bianchi identity is changed to minus, the identity does no longer hold:
Kretschmann scalar
The tensor , of components :
The tensor , of components :
The Kretschmann scalar :
A variant of this expression can be obtained by invoking the factor() method:
As a check, we can compare Kr to the formula given by R. Conn Henry, Astrophys. J. 535, 350 (2000):
The Schwarzschild value of the Kretschmann scalar is recovered by setting :