SageMath notebooks associated to the Black Hole Lectures (https://luth.obspm.fr/~luthier/gourgoulhon/bh16)
From Boyer-Lindquist to Kerr coordinates in Kerr spacetime
This Jupyter/SageMath notebook is relative to the lectures Geometry and physics of black holes.
The involved computations are based on tools developed through the SageManifolds project.
NB: a version of SageMath at least equal to 8.2 is required to run this notebook:
First we set up the notebook to display mathematical objects using LaTeX rendering:
To speed up the computations, we ask for running them in parallel on 8 threads:
Spacetime manifold
We declare the Kerr spacetime (or more precisely the Boyer-Lindquist domain of Kerr spacetime) as a 4-dimensional Lorentzian manifold:
Let us declare the Boyer-Lindquist coordinates via the method chart()
, the argument of which is a string expressing the coordinates names, their ranges (the default is ) and their LaTeX symbols:
Metric tensor
The 2 parameters and of the Kerr spacetime are declared as symbolic variables:
We get the (yet undefined) spacetime metric by
The metric is set by its components in the coordinate frame associated with Boyer-Lindquist coordinates, which is the current manifold's default frame:
A matrix view of the components with respect to the manifold's default vector frame:
The list of the non-vanishing components:
Levi-Civita Connection
The Levi-Civita connection associated with :
Let us verify that the covariant derivative of with respect to vanishes identically:
3+1 Kerr coordinates
The transition from Boyer-Lindquist to 3+1 Kerr coordinates:
Components of the metric tensor w.r.t. 3+1 Kerr coordinates
can simplified further:
We then set (using add_comp()
to keep the components with respect to BL coordinates):
Similarly can simplified:
We then set (using add_comp()
to keep the components with respect to BL coordinates):
Principal null vectors
Let be the null vector tangent to the ingoing principal null geodesics associated with their affine parameter ; the expression of in term of the 3+1 ingoing Kerr coordinates is The expression of in terms of the Boyer-Lindquist coordinates is
Regarding the null vector tangent to the outgoing principal null geodesics, we select one associated with a (non-affine) parameter that is regular accross the two Killing horizons:
Let us check that and are null vectors:
Their scalar product is :