InvariantTensorsAtAPoint - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : DifferentialGeometry : Tensor : InvariantTensorsAtAPoint

Tensor[InvariantTensorsAtAPoint] - find tensors or differential forms which are invariant under the infinitesimal action of a set of matrices

Calling Sequences

      InvariantTensorsAtAPoint(A, S, options)

Parameters

     A        - a list of square matrices, with dimension equal to the dimension of the space on which the tensors S are defined

     S        - a list of tensors or differential forms, each of the same index type

     options  - the keyword argument output

 

Description

Examples

Description

• 

This command calculates the tensors in the span of the tensors in the list S which are invariant with respect to the infinitesimal action generated by the matrices in the list A. This is a pointwise calculation.

• 

 Let x1, x2, ... xn  be the coordinates in terms of which the tensors in the list S are defined. If P = pji and X= Xi i , then PX=  pj i Xj i  . If  α = ai dx i , then Pα= pj i aj dxi .  If  T1 and T2 are tensors, then PT1  T2 = PT1  T2 + T1 P T2. Thus, the action of P on a tensor T  defined at a point coincides with the Lie derivative of  T  (as a tensor with constant coefficients) with respect to the linear vector field ZP =  pj i xj i ,that is, P T = LZPT. See Example 6 for examples of this action of matrices on tensors.

• 

 If A = P1 , P2 , ... , Pn and S = T1 , T2 , ... , Tm, then InvariantTensorsAtAPoint(A, S) returns a basis for the vector space of all tensors T = t1T1  + t2T2  + .. . + tmTm (ti  constant) such that  P1T = P2T =. . .= PmT = 0.

• 

If no invariant tensors exist, an empty list is returned.

• 

With output = "list", a list of invariant tensors is returned. This is the default. With output = "general", a single tensor with arbitrary coefficients _C1 , _C2 , ... is returned. If the number of matrices in the list A is 1 and output = "action", then the action of the matrix in A on the tensors in S is returned.

• 

 In many cases, the list of tensors S to be used by InvariantTensorsAtAPoint can be created with the commands GenerateTensors, GenerateSymmetricTensors, GenerateForms.

Examples

withDifferentialGeometry:withTensor:withLieAlgebras:withGroupActions:

 

Example 1.

Define a list of matrices for the first argument of InvariantTensorsAtAPoint .

 

AMatrix1,0,0,1,Matrix0,1,0,0

 

Define a 2-dimensional space on which the tensors S for the second argument of InvariantTensorsAtAPoint will be defined.

DGsetupx,y,M

frame name: M

(2.1)

 

We take for S the space of all rank 2 covariant tensors on M.

M > 

SevalDGdx&tdx,dx&tdy,dy&tdx,dy&tdy

S:=dxdx,dxdy,dydx,dydy

(2.2)
M > 

InvariantTensorsAtAPointA,S

dxdy+dxdy

(2.3)

 

Example 2.

 

Here we consider a simple example where the matrices A depend upon the coordinates of the manifold on which the tensors S are defined.

M > 

DGsetupx,y,z,M

frame name: M

(2.4)

AMatrix0,1,0,1,0,0,0,0,0,Matrix0,0,1,0,0,0,1y2,0,0,Matrix0,0,0,0,0,1,0,1y2,0

 

We take for S the space of all symmetric rank-2 covariant tensors on M.

M > 

SevalDGdx&tdx,dx&sdy,dx&tdz,dy&tdy,dy&sdz,dz&tdz

S:=dxdx,12dxdy+12dydx,dxdz,dydy,12dydz+12dzdy,dzdz

(2.5)

 

We find that the A-invariant tensors vary with the coordinate y.

M > 

InvariantTensorsAtAPointA,S

dxdxy2+dydyy2+dzdz

(2.6)

 

Example 3.

The classical simple Lie algebras can be defined as matrix algebras which leave a tensor or a collection of tensors invariant. In this example we check that the 4 ×4 matrices defining the real sympletic algebra leave invariant a non-degenerate 2-form.

We first use the commands SimpleLieAlgebraData and StandardRepresentation to obtain the matrices defining sp4, R.

 

LDSimpleLieAlgebraDatasp(4, R),sp4R

LD:=e1,e2=e2,e1,e3=e3,e1,e5=2e5,e1,e6=e6,e1,e8=2e8,e1,e9=e9,e2,e3=e1e4,e2,e4=e2,e2,e6=2e5,e2,e7=e6,e2,e8=e9,e2,e9=2e10,e3,e4=e3,e3,e5=e6,e3,e6=2e7,e3,e9=2e8,e3,e10=e9,e4,e6=e6,e4,e7=2e7,e4,e9=e9,e4,e10=2e10,e5,e8=e1,e5,e9=e2,e6,e8=e3,e6,e9=e1+e4,e6,e10=e2,e7,e9=e3,e7,e10=e4

(2.7)

DGsetupLD

Lie algebra: sp4R

(2.8)

 

Here are the 10 matrices for sp4, R.

sp4R > 

AStandardRepresentationsp4R

 

Let us find the 2-forms which are invariant with respect to these matrices. First define a 4-dimensional space.

sp4R > 

DGsetupx1,x2,x3,x4,V:

 

Generate a basis of 2-forms on V. 

V > 

ΩTools:-GenerateFormsdx1,dx2,dx3,dx4,2

Ω:=dx1dx2,dx1dx3,dx1dx4,dx2dx3,dx2dx4,dx3dx4

(2.9)

 

The InvariantTensorsAtAPoint command shows that all 2-forms which are invariant with respect to the matrices A are multiples of a single non-degenerate 2-form.

V > 

InvariantTensorsAtAPointA,Ω

dx1dx3+dx2dx4

(2.10)

 

Example 4.

The calculations of invariant tensors can be done in an anholonomic frame. (See FrameData.)

 

V > 

DGsetupx,y,z,M

frame name: M

(2.11)
M > 

FDFrameDatadx+ydz,dy,dz,N

FD:=dΘ1=Θ2Θ3,dΘ2=0,dΘ3=0

(2.12)
M > 

DGsetupFD,X1,X2,X3,ω1,ω2,ω3

frame name: N

(2.13)
N > 

AMatrix0,1,0,0,0,1,0,0,0

 

Here is a basis for the A-invariant vectors.

N > 

BX1,X2,X3

_DGvector,N,,1,1,_DGvector,N,,2,1,_DGvector,N,,3,1

(2.14)
N > 

InvariantTensorsAtAPointA,B

_DGvector,N,,1,1

(2.15)

 

Here is a basis for the A-invariant 1-forms.

 

N > 

Ω1ω1,ω2,ω3

_DGform,N,1,1,1,_DGform,N,1,2,1,_DGform,N,1,3,1

(2.16)
N > 

InvariantTensorsAtAPointA,Ω1

_DGform,N,1,3,1

(2.17)

 

Here is a basis for the A-invariant 2-forms.

N > 

Ω2evalDGω1&wω2,ω1&wω3,ω2&wω3

Ω2:=ω1ω2,ω1ω3,ω2ω3

(2.18)
N > 

InvariantTensorsAtAPointA,Ω2

ω2ω3

(2.19)

 

 

Example 5.

One can use the command InvariantTensorsAtAPoint to calculate invariant tensors on the fiber of a bundle.

 

DGsetupx,y,z,u,v,E

frame name: E

(2.20)
E > 

AMatrix1,0,0,1

 

Let S be a basis for the space of symmetric rank 2 covariant tensors on the fiber of E.

E > 

SevalDGD_u&tD_u,D_u&tD_v+D_v&tD_u,D_v&tD_v

S:=D_uD_u,D_uD_v+D_uD_v,D_vD_v

(2.21)
E > 

InvariantTensorsAtAPointA,S

D_uD_v+D_uD_v

(2.22)

 

Example 6.

With the keyword argument output = "action", we can obtain the action of a given matrix on a list of tensors.

 

N > 

DGsetupx,y,z,M

frame name: M

(2.23)

 

M > 

AMatrixa,b,c,0,r,s,0,0,t

M > 

InvariantTensorsAtAPointA,D_x,D_y,D_z,output=action

aD_x,D_xbD_yr,D_xcD_ysD_zt

(2.24)
M > 

InvariantTensorsAtAPointA,dx,dy,dz,output=action

adx+bdy+cdz,dyr+dzs,tdz

(2.25)
M > 

InvariantTensorsAtAPointA,dx&tD_y,output=action

bdxD_x+ardxD_y+bdyD_y+cdzD_y

(2.26)

 

Example 7.

In this example we demonstrate how the command InvariantTensorsAtAPoint can be used in conjunction with InvariantGeometricObjectFields and IsotropySubalgebra to calculate tensors which are invariant with respect to a given infinitesimal group action.

 

The theory behind this example is as follows. If Γ = X1 , X2, ... , Xn is a Lie algebra of vector fields on a manifold M,and S = T1 , T2 ... , Tm is a list of tensor fields on M, then the command InvariantGeometricObjectFields(Gamma, S) returns a basis for the tensor fields T satisfying LXi T = 0, where T = f1T1  + f2T2  + .. . + fmTm and the fi are functions on M. In situations where the vector fields in Γ are algebraically complicated and/or the number of tensors in the listS is large, it may take a very long time to calculate the invariant tensor fields. The command InvariantTensorsAtAPoint can be used to reduce the computation time by reducing the number of tensors in the list S. Let Γx be the isotropy of Γ at a point x of M. Then for any matrix Px defining the linear isotropy representation of a vector in Γx , one has that PxTx = 0. Consequently, one can replace the original list of tensor S by the list of tensors which are invariant under the matrices defining the infinitesimal isotropy represention at a generic point. The infinitesimal isotropy representation of Γ can be computed with the command IsotropySubalgebra in the GroupActions package.

 

M > 

DGsetupt,x,y,z,M

frame name: M

(2.27)

 

We consider the following 6-dimensional infinitesimal group action, depending on a parameter λ.

M > 

GammazcossqrtλtD_tsqrt1+λz2+sqrt1+λz2sinsqrtλtD_zsqrtλ,zsinsqrtλtD_tsqrt1+λz2+sqrt1+λz2cossqrtλtD_zsqrtλ,ycossqrtλxD_xsqrt1λy2+sqrt1λy2sinsqrtλxD_ysqrtλ,ysinsqrtλxD_xsqrt1λy2+sqrt1λy2cossqrtλxD_ysqrtλ,D_xsqrtλ,D_tsqrtλ

Γ:=zcosλtD_tz2λ+1+z2λ+1sinλtD_zλ,zsinλtD_tz2λ+1+z2λ+1cosλtD_zλ,ycosλxD_xy2λ+1+y2λ+1sinλxD_yλ,ysinλxD_xy2λ+1+y2λ+1cosλxD_yλ,D_xλ,D_tλ

(2.28)

 

Calculate the isotropy matrices at a generic point.

M > 

A0IsotropySubalgebraGamma,t=t0,x=x0,y=y0,z=z0,output=Representation

 

Since we are only interested in the span of these matrices, we can try to simplify the result using the command CanonicalBasis. We replace the fixed coordinates by their general values.

M > 

Asubsz0=z,y0=y,Tools:-CanonicalBasisA0

 

Now we look for the Ainvariant symmetric rank 2-tensors.

M > 

SGenerateSymmetricTensorsdt,dx,dy,dz,2

S:=dtdt,12dtdx+12dxdt,12dtdy+12dydt,12dtdz+12dzdt,dxdx,12dxdy+12dydx,12dxdz+12dzdx,dydy,12dydz+12dzdy,dzdz

(2.29)

 

Here is a basis for the isotropy invariant tensors.

M > 

InvTptInvariantTensorsAtAPointA,S

InvTpt:=z4λ2+2z2λ+1dtdt+dzdz,y4λ22y2λ+1dxdx+dydy

(2.30)

 

These tensors are not individually Γ-invariant, but their span is Γ-invariant, that is, the Lie derivative of these tensors with respect to each vector field in Γ is a linear combination of the tensors InvTpt. For example:

M > 

LieTLieDerivativeGamma1,InvTpt

LieT:=2zsinλtλz4λ2+2z2λ+1dtdtz2λ+1+2zsinλtλdzdzz2λ+1,0dtdt

(2.31)
M > 

GetComponentsLieT,InvTpt

2zsinλtλz2λ+1,0,0,0

(2.32)

 

Finally, we use the output of the InvariantTensorsAtAPoint command to calculate the Γ-invariant tensors.

M > 

invTInvariantGeometricObjectFieldsGamma,InvTpt,output=list

invT:=y2λ1dxdx+dydyy2λ1,z2λ+1dtdt+dzdzz2λ+1

(2.33)

 

Note that the Γ-invariant tensors are simply multiples of the isotropy invariant tensors. We check our final result.

M > 

LieDerivativeGamma,invT

0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt,0dtdt

(2.34)

 

Example 8.

In this example we demonstrate how the command InvariantTensorsAtAPoint can be used in conjunction with CovariantlyConstantTensors and IsotropySubalgebra to calculate tensors which are covariantly constant.

 

The theory underlying this example is as follows. If   is an affine connection  and S = T1 , T2 ... ,Tm a list of tensor fields on M,then the command CovariantlyConstantTensors(, S) returns a basis for the tensor fields T satisfying T  = 0, where T = f1T1  + f2T2  + + fmTm and the fi are functions on M.  If  Hx is a list of matrices defining the infinitesimal holonomy of the connection  at a point x  in M, then the covariantly constant tensor T satisfies PxTx = 0 for every matrix Px   Hx . Consequently, one can replace the original list of tensors S by the list of tensors which are invariant under the matrices defining the infinitesimal holonomy at a generic point. The infinitesimal holonomy of the connection  can be computed with the command InfinitesimalHolonomy in the Tensor package.

 

We use the split signature Fubini-Study metric in four-dimensions. (The complex change of variables z1 = x1 +Iy1, z2= x2 + y2, w1 = x1 Iy1, w2= x2  Iy2 gives the usual Riemannian metric):

P > 

DGsetupz1,z2,w1,w2,M

frame name: M

(2.35)

 

Introduce a symmetric tensor and two 1-forms which will be used to define the metric.

P > 

nz1w1+z2w2

n:=w1z1+w2z2

(2.36)
P > 

o1evalDGdz1&sdw1+dz2&sdw2

o1:=12dz1dw1+12dz2dw2+12dw1dz1+12dw2dz2

(2.37)
P > 

o2evalDGz1dw1+z2dw2

o2:=dw1z1+dw2z2

(2.38)
P > 

o3evalDGw1dz1+w2dz2

o3:=dz1w1+dz2w2

(2.39)

 

Here is the metric we shall use.

P > 

gevalDG11+n21+no1o2&to3o3&to2

g:=12w1z1w2z21dz1dw1w1z1+w2z2+12z2w1dz1dw2w1z1+w2z2+12z1w2dz2dw1w1z1+w2z2+12+12w1z1w2z2+1dz2dw2w1z1+w2z2+1212w1z1w2z21dw1dz1w1z1+w2z2+12z1w2dw1dz2w1z1+w2z2+12z2w1dw2dz1w1z1+w2z2+12+12w1z1w2z2+1dw2dz2w1z1+w2z2+12

(2.40)

 

We calculate the infinitesimal holonomy for the metric g at a generic point. We simplify the result with the CanonicalBasis command.

P > 

H0InfinitesimalHolonomyg,:

P > 

ATools:-CanonicalBasis%

 

First we find the symmetric rank 2 tensors which are invariant with respect to the infinitesimal holonomy.

P > 

SGenerateSymmetricTensorsdz1,dz2,dw1,dw2,2

S:=dz1dz1,12dz1dz2+12dz2dz1,12dz1dw1+12dw1dz1,12dz1dw2+12dw2dz1,dz2dz2,12dz2dw1+12dw1dz2,12dz2dw2+12dw2dz2,dw1dw1,12dw1dw2+12dw2dw1,dw2dw2

(2.41)

 

We find the only symmetric rank-2 tensor which is covariantly constant is a constant multiple of the metric.

P > 

InvariantSInvariantTensorsAtAPointA,S

InvariantS:=12w1z1w2z21dz1dw1w1z1w2z2+1w1z2dz1dw2w1z1w2z2+1w2z1dz2dw1w1z1w2z2+1+12dz2dw212w1z1w2z21dw1dz1w1z1w2z2+1w2z1dw1dz2w1z1w2z2+1w1z2dw2dz1w1z1w2z2+1+12dw2dz2

(2.42)
M > 

CovariantlyConstantTensorsg,InvariantS

12w1z1w2z21dz1dw1w1z1+w2z2+12z2w1dz1dw2w1z1+w2z2+12z1w2dz2dw1w1z1+w2z2+12+12w1z1w2z2+1dz2dw2w1z1+w2z2+1212w1z1w2z21dw1dz1w1z1+w2z2+12z1w2dw1dz2w1z1+w2z2+12z2w1dw2dz1w1z1+w2z2+12+12w1z1w2z2+1dw2dz2w1z1+w2z2+12

(2.43)

 

Next we look for the (1,1) tensors which are invariant with respect to the infinitesimal holonomy.

P > 

JGenerateTensorsD_z1,D_z2,D_w1,D_w2,dz1,dz2,dw1,dw2

J:=D_z1dz1,D_z1dz2,D_z1dw1,D_z1dw2,D_z2dz1,D_z2dz2,D_z2dw1,D_z2dw2,D_w1dz1,D_w1dz2,D_w1dw1,D_w1dw2,D_w2dz1,D_w2dz2,D_w2dw1,D_w2dw2

(2.44)
P > 

InvariantJInvariantTensorsAtAPointA,J

InvariantJ:=dw1D_w1+dw2D_w2+dz1D_z1+dz2D_z2

(2.45)

 

There are two type (1,1) tensors which are invariant with respect to the infinitesimal holonomy and both of these are actually covariantly constant.

P > 

CovariantlyConstantTensorsg,InvariantJ

dw1D_w1+dw2D_w2+dz1D_z1+dz2D_z2

(2.46)

See Also

DifferentialGeometry

GroupActions

LieAlgebras

Tensor

CanonicalBasis

Connection

CovariantlyConstantTensors

GenerateSymmetricTensors

GenerateTensors

InvariantGeometricObjectFields

IsotropySubalgebra

LieDerivative