Example 1.
We find the recurrent 2 forms for a metric , defined on a 3-dimensional manifold.
We use the command GenerateForms to generate a basis for the space of degree 2 forms.
There are 2 recurrent 2-forms.
We can check these answers by back-substituting into the recurrent tensor equation. To this end, we need the Christoffel connection for the metric .
The first 2-form in the list is recurrent.
The second 2-form in the list is recurrent.
Example 2.
We find the recurrent rank 2 symmetric tensors for the metric from Example 1.
First we use the command GenerateSymmetricTensors to generate a basis for the space of rank 2 symmetric tensors.
There are 4 recurrent tensors.
There are two additional recurrent tensors which correspond to covariantly constant tensors and hence have a closed eigenform. We can see this with the option output = "all".
Note that the 1st and last entries in are closed 1-forms. This implies that there are 2 covariantly constant tensors. We can check this directly using the CovariantlyConstantTensors command.
Example 3.
In this example we consider a metric which depends upon arbitrary parameters . We find that there are additional recurrent vectors when or
We compute recurrent vector fields with respect to . We use the keyword argument parameters .
Example 4.
We define a connection on a rank 2 vector bundle over a 3-dimensional base manifold.
We calculate the recurrent tensors on . The command GenerateTensors is used to generate a basis for the tensors.
The most general tensor on is given by a linear combination of the elements of the list , using coefficients which are functions of the base variables alone. We specify this dependency with the keyword argument coefficientvariables.
We explicitly check this result.