CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual use to large groups and classes! Also, H100 GPUs starting at $2/hour.
CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual use to large groups and classes! Also, H100 GPUs starting at $2/hour.
Path: blob/main/22Manifold_Riemann.ipynb
Views: 222
22. Riemannian and pseudo-Riemannian manifolds
This notebook is part of the Introduction to manifolds in SageMath by Andrzej Chrzeszczyk (Jan Kochanowski University of Kielce, Poland).
Let be a smooth manifold and a covariant tensor field of rank two: We call symmetric if
We call positive definite if and
The tensor field is non-singular if for all
Note that the positive-definiteness implies the non-singularity:
if then and consequently .
A pseudo-Riemannian manifold is a smooth manifold with a non-singular, symmetric, smooth tensor field , called metric of .
If the metric is positive definite we use the name Riemannian manifold.
Example 22.1
Metric method in SageMath:
In a Riemannian manifold, , with a metric , the bilinear form is an inner product on . The norm or length of a tangent vector is defined by
and the length of a curve is defined by
If is a Riemannian manifold and are local coordinates, then the metric is given by
where (this is a special case of (13.7) ).
The standard metric on with Cartesian coordinates is defined by
Example 22.2
Let us start from the standard metric in 2-dimensional Euclidean space
and use (22.2) to compute the length of the curve c defined in Cartesian coordinates by
(in simple cases the exact integral can be computed in SageMath, but not in the present case).
If the curve is simple, for example
then we don't need numerical tools:
Example 22.3
The standard metric in 4-dimensional Euclidean space is predefined.
If we need upper indices and more general manifolds, then we can use the commands:
Determinant of of
If in the implication
we put , then we obtain
which means that the homogeneous system of linear equations for the unknowns admits only the zero solutions i.e.,
for all in the the coordinate domain.
Pullback of a metric
If is a Riemannian manifold with a positive definite metric tensor and is a smooth map such that for all has maximal rank, that is,
then the pullback is a positive definite metric tensor in .
In fact since , and is symmetric then is symmetric. Furthermore, if for all , from the definition of , we have for all , In particular taking and using the fact that is positive definite we see that , and therefore .
Immersions and embeddings
A smooth mapping with maximal rank is called an immersion (in other words, is an immersion if for all , the rank of the linear mapping is equal to the dimension of ).
The smooth map is an embedding if it is one-to one immersion and the image with the subspace topology is homeomorphic to under .
Example 22.4 The metric on the standard sphere :
It is easy to check that is of maximal rank:
Example 22.5
The metric on the paraboloid:
Example 22.6
The metric on the hyperboloid:
Levi-Civita connection
If is a Riemannian manifold, then there exists a unique connection with vanishing torsion and such that for all . Connections with this properties are called Riemannian or Levi-Civita connections.
From the definition (21.13) of torsion () it follows that the torsion vanishes iff
Recall that connections satisfying (22.5) are called torsion free or symmetric.
From the rule of covariant differentiation of covariant tensor fields (21.14) it follows that
so vanishes iff
A connection in a Riemannian manifold is said to be compatible with the metric if (22.6) is true for all .
One can prove that:
On any Riemannian manifold there exists a unique connection for which (22.5),(22.6) hold for
Let us assume that (22.5),(22.6) hold true. We have
The obtained equality implies the following Koszul formula
Since is non-singular if such a exists, it defines the connection in an unique manner.
Now let us assume that is defined by (22.7). We have
thus (22.5) is fulfilled.
To check (22.6) let us note that
Levi-Civita connection in components
Let . Recall from the notebook 12 that
If we put in (22.7) . then
Using the formula we obtain
and finally
where is the matrix inverse to .
Note that from (22.8) it follows that .
Note that a symmetric matrix has independent elements and defines such matrices, so the Riemannian manifolds have independent Christoffel symbols.
Geodesics in Riemannian manifolds
In the case of Riemannian connections SageMath offers integrated_geodesic
, a numerical method of finding geodesics
Example 22.7
Use integrated_geodesic
method to find the geodesics on Poincaré half-plane passing through the point with coordinates .
Let us start from the geodesic with tangent vector at parallel to -axis.
Now let us show how the other geodesics through the same point may look.
First we repeat the six commands defining the Poincaré half-plane.
Next we plot 6 geodesics facing right, 6 geodesics facing left, one geodesic facing up and one geodesic pointing down.
As we can see (one can suspect that) geodesics in Poincare half-plane are semicircles or vertical half-lines.
Example 22.8
Show (numerically) that one of the geodesics on the sphere is the "equator".
The geodesic is computed, but to show a 3-dimensional picture we need the embedding .
What's next?
Take a look at the notebook Curvature.