Tensor[CovariantlyConstantTensors] - calculate the covariantly constant tensors with respect to a given metric or connection
Calling Sequences
CovariantlyConstantTensors(g, T, options)
CovariantlyConstantTensors( Γ, T, options )
Parameters
g - a metric tensor on a manifold M
Γ - a connection, either an affine connection on M or a connection on a vector bundle E over M
T - a list of vector fields, differential forms or tensors (all of the same type)
options - any of the following keywords arguments: ansatz, auxiliaryequations, coefficientvariables, unknowns, parameters, output
Description
Examples
Let ▿ denote covariant differentiation with respect to the given connection Γ, or with respect to the Christoffel connection defined by the metric g. A tensor field T is covariantly constant if ▿T = 0.
Let T=T1, T2, .... , Tp be a list of p tensor fields, all of the same of the same covariant-contravariant type and let T = f1T1 + f2 T2 + ⋅⋅⋅ + fpTp, where the coefficients fi are functions on the underlying manifold. The command CovariantlyConstantTensors generates the system of first order PDE in the unknowns fi from the tensor equation ▿T = 0 and uses pdsolve to find the solutions to these PDE.
The coefficient functions fi are taken to be functions of all the coordinate variables. The keyword argument coefficientvariables = x1 , x2, ... , xk allows the user to specify the coefficient functions fi as functions of the variables x1 , x2, ... , xk .
The exact form of the tensor T can be specified with the keyword argument ansatz = T . For example, if the coordinates on the underlying manifold are x, y, z and T1,T2, T3 are given tensor fields, then one may solve for covariantly constant tensor fields of the form T = x⋅fy,zT1 + x2 T2+ gy,z⋅T3 . In this situation the unknown functions must be explicitly specified with the keyword argument unknowns, for example, unknowns = fy,z, gy,z.
When using the keyword argument ansatz, additional algebraic or differential conditions may be imposed upon the unknowns using the keyword argument auxiliaryequations = EqList,where EqList is a list of the auxiliary equations to be added to the equations obtained from ▿T = 0 .
If the metric g or connection Γ depends upon a number of unspecified parameters (either constants or functions), then the keyword argument parameters= ParList, where ParList is the list of parameters, will invoke case-splitting with respect to these parameters. Special values of the parameters, where either the number or the explicit form of the covariantly constant tensors changes, are calculated.
With keyword argument output = pde, the defining partial differential equations for the covariantly constant tensors are returned. The option output = general returns the general solution in terms of a number of arbitrary constants _C1, _C2 ... while the option output = list returns a list of tensors which form a basis for the solution space. The default value of this keyword argument is output = list.
This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form CovariantlyConstantTensors(...) only after executing the commands with(DifferentialGeometry), with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-CovariantlyConstantTensors.
with⁡DifferentialGeometry:with⁡Tensor:
Example 1.
We find the covariantly constant 2 forms and covariantly constant rank 2 symmetric tensors for a metric g, defined on a 3 dimensional manifold.
DGsetup⁡x,y,z,M
frame name: M
g≔evalDG⁡z2⁢dx&tdx+dy&tdy+x4⁢dz&tdz
g:=z2⁢dx⁢dx+dy⁢dy+x4⁢dz⁢dz
We use the command GenerateForms to generate a basis Ω for the space of 2 forms.
Ω≔Tools:-GenerateForms⁡dx,dy,dz,2
Ω:=dx⁢⋀⁢dy,dx⁢⋀⁢dz,dy⁢⋀⁢dz
The space of covariantly constant 2 forms is 1-dimensional.
CovariantlyConstantTensors⁡g,Ω
x2⁢z⁢dx⁢⋀⁢dz
We use the command GenerateSymmetricTensors to generate a basis S for the space of rank 2 symmetric tensors.
S≔GenerateSymmetricTensors⁡dx,dy,dz,2
S:=dx⁢dx,12⁢dx⁢dy+12⁢dy⁢dx,12⁢dx⁢dz+12⁢dz⁢dx,dy⁢dy,12⁢dy⁢dz+12⁢dz⁢dy,dz⁢dz
The space of covariantly constant, rank 2 symmetric tensors is two-dimensional. We obtain the output as a single tensor T depending upon two arbitrary constants _C1 and _C2.
T≔CovariantlyConstantTensors⁡g,S,output=general
T:=_C1⁢z2⁢dx⁢dx+_C2⁢dy⁢dy+_C1⁢x4⁢dz⁢dz
We can check this result using the CovariantDerivative command. For this we need the Christoffel connection for the metric.
C≔Christoffel⁡g
C:=1z⁢D_x⁢dx⁢dz+1z⁢D_x⁢dz⁢dx−2⁢x3z2⁢D_x⁢dz⁢dz−zx4⁢D_z⁢dx⁢dx+2x⁢D_z⁢dx⁢dz+2x⁢D_z⁢dz⁢dx
CovariantDerivative⁡T,C
0⁢dx⁢dx⁢dx
Example 2.
We find the trace-free, covariantly constant, rank 2 symmetric tensors for the metric g from Example 1. First construct the general rank 2 symmetric tensor.
Vars≔a1,a2,a3,a4,a5,a6⁡x,y,z
Vars:=a1⁡x,y,z,a2⁡x,y,z,a3⁡x,y,z,a4⁡x,y,z,a5⁡x,y,z,a6⁡x,y,z
T≔DGzip⁡Vars,S,plus
T:=a1⁡x,y,z⁢dx⁢dx+a2⁡x,y,z2⁢dx⁢dy+a3⁡x,y,z2⁢dx⁢dz+a2⁡x,y,z2⁢dy⁢dx+a4⁡x,y,z⁢dy⁢dy+a5⁡x,y,z2⁢dy⁢dz+a3⁡x,y,z2⁢dz⁢dx+a5⁡x,y,z2⁢dz⁢dy+a6⁡x,y,z⁢dz⁢dz
The trace of T is given by
TraceT≔TensorInnerProduct⁡g,g,T
TraceT:=a4⁡x,y,z⁢z2⁢x4+a1⁡x,y,z⁢x4+a6⁡x,y,z⁢z2z2⁢x4
We now invoke the keyword arguments ansatz, auxiliaryequations, and unknowns.
CovariantlyConstantTensors⁡g,ansatz=T,auxiliaryequations=TraceT=0,unknowns=Vars
z2⁢dx⁢dx−2⁢dy⁢dy+x4⁢dz⁢dz
Example 3.
In this example we consider a metric g which depends upon an arbitrary function fz. We find that generically there are no covariantly constant vector fields, but when the function is constant there are 2.
g2≔evalDG⁡f⁡z⁢dx&tdx+dy&tdy+y2⁢dz&tdz
g2:=f⁡z⁢dx⁢dx+dy⁢dy+y2⁢dz⁢dz
T2≔D_x,D_y,D_z
T2:=D_x,D_y,D_z
We use the keyword argument parameters to invoke case-splitting with respect to the function fz.
CovariantlyConstantTensors⁡g2,T2,parameters=f⁡z
−cos⁡z⁢D_y+sin⁡zy⁢D_z,sin⁡z⁢D_y+cos⁡zy⁢D_z,D_x,,f⁡z=_C1,f⁡z=f⁡z
Example 4.
We define a connection on a rank 2 vector bundle E over a 3-dimensional base manifold.
DGsetup⁡x,y,z,u,v,E
frame name: E
C≔Connection⁡D_v&tdu&tdx+y⁢D_v&tdv&tdz
C:=D_v⁢du⁢dx+y⁢D_v⁢dv⁢dz
We calculate the covariantly constant type 1,1 tensors on E. The command GenerateTensors is used to generate a basis for the 1,1 tensors.
T≔GenerateTensors⁡du,dv,D_u,D_v
T:=du⁢D_u,du⁢D_v,dv⁢D_u,dv⁢D_v
The most general 1,1 tensor on E is given by a linear combination of the elements of the list T, using coefficients which are functions of the base variables x, y,z alone. We specify this dependency with the keyword argument coefficientvariables .
CovariantlyConstantTensors⁡C,T,coefficientvariables=x,y,z
du⁢D_u+dv⁢D_v
See Also
DifferentialGeometry
LieAlgebras
Tensor
Decompose
KillingVectors
LieAlgebraData
LieDerivative
MultiplicationTable
Query
Download Help Document