Differential Geometry - 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 : System : Information : Updates : Maple 17 : Differential Geometry

Differential Geometry

 

For Maple 17, the DifferentialGeometry package contains over 40 new commands or commands with enhanced functionality or improved efficiency.

 

Updates to the DifferentialGeometry package:

• 

DGsetup has a new keyword argument for declaring certain coordinates to be complex.

• 

The new command DGconjugate calculates the complex conjugate of a vector, tensor or differential form, quaternion or octonion.

• 

The new commands DGRe and DGIm calculate the real and imaginary parts of a vector, tensor, differential form, quaternion or octonion.

• 

The new commands DGsolve, DGNullSpace and DGImageSpace provide useful utilities for solving equations whose unknowns are tensors or differential forms.

• 

The new command `&algmult` computes non-commutative multiplication in general algebras.

• 

A new geometric type, "multivector", has been created. This significantly improves computational efficiency when working with contravariant skew-symmetric tensors. The commands convert, Hook, RaiseLowerIndices, and LieDerivative have been extended to accept multi-vector arguments.

 

ExteriorDifferentialSystems

• 

This is a new package for the study of differential systems.

• 

The first release of this package contains 5 commands. These commands calculate the Cauchy characteristics, derived flags, first integrals, integral manifolds, and infinitesimal symmetries of Pfaffian differential systems.

 

Library

• 

Over 100 new metrics have been added to the database of solutions to the Einstein equations.

• 

A command line version of the MetricSearch maplet is now available.

 

LieAlgebras

• 

 The Lie algebra package is being extended to work with more general algebras. The new AlgebraData and AlgebraLibraryData commands creates the multiplication structures for quaternions, octonions, Jordan algebras and Clifford algebras.The commands AlgebraNorm and AlgebraInverse calculate the norms and inverses of quaternions and octonions.

• 

The command LieAlgebraData has been re-written to give massive improvements in efficiency for calculating the structure equations for matrix algebras. The command also has a new calling sequence for working with graded Lie algebras.

• 

The functionality of the SimpleLieAlgebraData command has been extended to include the exceptional Lie algebras g2 and f4.

• 

A command for finding the split and compact forms of a complex semi-simple Lie algebra is now available.

• 

The functionality of the CartanDecomposition and CartanInvolution commands has been extended to abstract semi-simple Lie algebras.

• 

The new commandChevalleyBasis calculates the Chevalley basis of a semi-simple Lie algebra.

• 

The Derivations command has been rewritten to give significant improvements in efficiency. The command can now also compute the derivations of a general algebra.

• 

New functionality has been added for creating representations of Lie algebras. The commands Adjoint and StandardRepresentation now accept a new keyword argument "representationspace", which can be used to create representations.  The new command RestrictedRepresentation calculates the restriction of a representation to a subalgebra. The names of the two commands ChangeBasis and TensorProduct have been changed to ChangeRepresentationBasis and TensorProductOfRepresentations.

• 

 The Codifferential command has been added to calculate the codifferential of a multi-vector in a Lie algebra.

• 

 The KostantCodifferential and KostantLaplacian commands have been created to give significant improvements in the calculation of cohomology.

• 

 Deformations of Lie algebras can be performed using the new commands Deformation and MasseyProduct.

• 

 The SymbolAlgebra command computes the graded nilpotent Lie algebra associated to any distribution of vector fields.

• 

 The TanakaProlongation command calculates the Tanaka prolongation of any graded nilpotent Lie algebra. This command gives a powerful new tool for finding differential systems with maximal symmetry algebras.

• 

The new command ChangeGradedComponent allows one to modify components of a given graded Lie algebra.

• 

The new command Rank1Elements calculates the rank 1 matrices in the span of given list of matrices.

 

Tensor

• 

 New commands are available for computing the Bach tensor and Schouten tensor. The Cotton tensor can now be calculated in any dimension.

• 

 The index structure for connections has been changed to conform with the most common usage.

• 

 The projective curvature tensor for any metric or connection can be calculated.

• 

 The new command FormInnerProduct provides for fast evaluation of the inner products of differential forms.

• 

 A powerful new command has been developed for calculating the infinitesimal holonomy of an affine connection.

• 

 The new command InvariantTensorsAtAPoint provides a new fast way to calculate covariantly constant tensors and invariant geometric object fields.

 

Example 1:

Early in the theoretical development of simple Lie algebras, it was conjectured by Killing that there exists a certain small number of exceptional Lie algebras not belonging to the families of simple Lie algebras, which were well-known at the time. It was an important problem to explicitly construct these exceptional algebras.  In 1908, E. Cartan proved that the smallest of these exceptional Lie algebras, the 14-dimensional Lie algebra denoted by g2, is the algebra of derivations of the 8-dimensional algebra of octonions 𝕆.  With Maple 17, it is easy to verify Cartan's computations.

 

First, use the new AlgebraLibraryData command to retrieve the structure equations for the octonions:

withDifferentialGeometry:withLieAlgebras:withTensor:

StrEq:=AlgebraLibraryDataOctonions,Oct

StrEq:=e12=e1,e1.e2=e2,e1.e3=e3,e1.e4=e4,e1.e5=e5,e1.e6=e6,e1.e7=e7,e1.e8=e8,e2.e1=e2,e22=e1,e2.e3=e4,e2.e4=e3,e2.e5=e6,e2.e6=e5,e2.e7=e8,e2.e8=e7,e3.e1=e3,e3.e2=e4,e32=e1,e3.e4=e2,e3.e5=e7,e3.e6=e8,e3.e7=e5,e3.e8=e6,e4.e1=e4,e4.e2=e3,e4.e3=e2,e42=e1,e4.e5=e8,e4.e6=e7,e4.e7=e6,e4.e8=e5,e5.e1=e5,e5.e2=e6,e5.e3=e7,e5.e4=e8,e52=e1,e5.e6=e2,e5.e7=e3,e5.e8=e4,e6.e1=e6,e6.e2=e5,e6.e3=e8,e6.e4=e7,e6.e5=e2,e62=e1,e6.e7=e4,e6.e8=e3,e7.e1=e7,e7.e2=e8,e7.e3=e5,e7.e4=e6,e7.e5=e3,e7.e6=e4,e72=e1,e7.e8=e2,e8.e1=e8,e8.e2=e7,e8.e3=e6,e8.e4=e5,e8.e5=e4,e8.e6=e3,e8.e7=e2,e82=e1

(1)

 

Initialize this algebra: 

DGsetupStrEq:

 

A derivation of the octonions is a linear transformation L : 𝕆 𝕆  such that Lxy = Lxy + xLy for all x,y  𝕆.  The command Derivations will compute a list of matrices which define a basis for the Lie algebra of derivations of the any given algebra. (In prior releases of Maple, the derivation command only applied to Lie algebras and not more general algebras like the octonions). 

Der:=DerivationsOct

 

You can see that the dimension of the space of derivations is 14. 

nopsDer

14

(2)

 

It remains then to verify that this 14 dimensional Lie algebra is in fact the exceptional Lie algebra g2, as claimed by Cartan. To do this, one needs to apply the general structure theory for the classification of Lie algebras. This can be easily done with commands from the LieAlgebras package.

First, calculate the structure equations for the Lie algebra defined by the above 14 matrices using LieAlgebraData: 

StrEq2:=LieAlgebraDataDer,alg

StrEq2:=e1,e2=e7,e1,e3=e8,e1,e4=e9e5,e1,e5=e10+e4,e1,e6=e11,e1,e7=e2,e1,e8=e3,e1,e9=e10+e4,e1,e10=e9+e5,e1,e11=e6,e1,e12=e13,e1,e13=e12,e2,e3=e5,e2,e4=2e6,e2,e5=e3,e2,e6=2e4,e2,e7=e1,e2,e8=e4,e2,e9=e11e3,e2,e10=e6,e2,e11=e9+e5,e2,e12=e14,e2,e14=e12,e3,e4=e12,e3,e5=2e132e2,e3,e6=e14,e3,e7=e10,e3,e8=e1,e3,e9=e13+e2,e3,e10=e7,e3,e12=e4,e3,e13=e5,e3,e14=e6,e4,e5=e14,e4,e6=2e2,e4,e7=e11,e4,e8=e2,e4,e9=e14e1,e4,e11=e7,e4,e12=e3,e4,e13=e6,e4,e14=e5,e5,e6=e12,e5,e7=e8+e6,e5,e8=e12+e7,e5,e10=e14e1,e5,e11=e13e2,e5,e12=e6,e5,e13=e3,e5,e14=e4,e6,e7=e9e5,e6,e9=e12+e7,e6,e10=e2,e6,e11=e1,e6,e12=e5,e6,e13=e4,e6,e14=e3,e7,e8=e9,e7,e9=e8,e7,e10=2e11,e7,e11=2e10,e7,e13=e14,e7,e14=e13,e8,e9=2e12+2e7,e8,e10=e13,e8,e11=e14,e8,e12=e9,e8,e13=e10,e8,e14=e11,e9,e10=e14,e9,e11=e13,e9,e12=e8,e9,e13=e11,e9,e14=e10,e10,e11=2e7,e10,e12=e11,e10,e13=e8,e10,e14=e9,e11,e12=e10,e11,e13=e9,e11,e14=e8,e12,e13=2e14,e12,e14=2e13,e13,e14=2e12

(3)

 

Initialize this Lie algebra: 

DGsetupStrEq2

Lie algebra: alg

(4)

 

Use Query to check that you have a semi-simple Lie algebra: 

QuerySemisimple

true

(5)

 

To check that our algebra is g2 use the commands CartanSubalgebra, RootSpaceDecomposition, SimpleRoots, CartanMatrix and CartanMatrixToStandardForm to find the Cartan matrix. This matrix uniquely identifies the Lie algebra as g2 . 

CSA:=CartanSubalgebra

CSA:=e1,e4+e10

(6)

RSD:=RootSpaceDecompositionCSA

RSD:=tableI,3I=e2+Ie6+Ie7e11,0,2I=e1Ie5+Ie92e14,I,3I=e2+Ie6Ie7+e11,I,3I=e2Ie6+Ie7+e11,I,3I=e2Ie6Ie7e11,I,I=e22e3Ie6Ie7+2Ie8e11+2Ie12+2e13,I,I=e2+2e3Ie6+Ie7+2Ie8+e112Ie12+2e13,0,2I=e1+Ie5Ie92e14,I,I=e2+2e3+Ie6Ie72Ie8+e11+2Ie12+2e13,I,I=e22e3+Ie6+Ie72Ie8e112Ie12+2e13,2I,0=e4Ie5Ie9e10,2I,0=e4+Ie5+Ie9e10

(7)

SR:=SimpleRootsRSD,I,0,0,I

CM:=CartanMatrixSR,RSD

CartanMatrixToStandardFormCM

 

In this way you have proven that the algebra of derivations of the octonions is the exceptional Lie algebra g2.

 

Example 2:

The second illustration of the new functionality in the DifferentialGeometry package for Maple 17 also involves the exceptional Lie algebra g2, but now in the context of infinitesimal holonomy.

Let M be an n-dimensional Riemannian manifold with metric g.

Let p M  be a fixed point.

Then the holonomy group Holp of the Riemannian manifold M, g is the group of linear transformations L: TpM  TpM  defined by the parallel transport of vectors around closed loops starting at p.  The Lie algebra of the holonomy group is called the infinitesimal holonomy . According to the Ambrose-Singer Theorem, the infinitesimal holonomy can be computed in terms of the curvature tensor of the metric g and the covariant derivatives of the curvature tensor.  For many years it was an open problem in differential geometry as to whether or not there was a metric whose infinitesimal holonomy was the exceptional Lie algebra g2 . This question was answered in the affirmative by R. Bryant in 1987.

 

In this example, use the new command InfinitesimalHolonomy to verify an example of a metric with infinitesimal holonomy g2 (due to S. Salamon).

 

First, define coordinates for a 7-dimensional manifold M: 

DGsetupx1,x2,x3,x4,x5,x6,u,M

frame name: M

(8)

 

The computations for this example are much more easily performed in an anholonomic frame. Set: 

o1:=dx1;o2:=dx2;o3:=dx3;o4:=dx4;o5:=evalDGdx5+x1dx3+x4dx2;o6:=evalDGdx6+x1dx4+x2dx3;o7:=du

o1:=dx1

o2:=dx2

o3:=dx3

o4:=dx4

o5:=x4dx2+x1dx3+dx5

o6:=x2dx3+x1dx4+dx6

o7:=du

(9)

 

Calculate the structure equations for this co-frame and initialize:

FD:=FrameDatao1,o2,o3,o4,o5,o6,o7,P

FD:=dΘ1=0,dΘ2=0,dΘ3=0,dΘ4=0,dΘ5=Θ1Θ3Θ2Θ4,dΘ6=Θ1Θ4+Θ2Θ3,dΘ7=0

(10)

DGsetupFD

frame name: P

(11)

The metric you will study is: 

g:=evalDGu23Θ1 &t Θ1+Θ2 &t Θ2+Θ3 &t Θ3+Θ4 &t Θ4+u23Θ5 &t Θ5+Θ6 &t Θ6+1Θ7 &t Θ79

g:=u23Θ1Θ1+u23Θ2Θ2+u23Θ3Θ3+u23Θ4Θ4+1u23Θ5Θ5+1u23Θ6Θ6+19Θ7Θ7

(12)

 

This metric is Ricci flat. 

RicciTensorg

0Θ1Θ1

(13)

 

The infinitesimal holonomy is 14-dimensional.

Hol:=InfinitesimalHolonomyg,u=1,x1=0,x2=0,x3=0,x4=0,x5=0,x6=0:

nopsHol

14

(14)

 

The holonomy algebra is easier to display if you first use the command CanonicalBasis to transform the output to standard form and then make the change of variables u = t^3.

Hol1:=simplifysubsu&equals;t3&comma;Tools:-CanonicalBasisHolassuming0<t

 

LD:=simplifyLieAlgebraDataHol1

LD:=e1&comma;e2&equals;e7&comma;e1&comma;e3&equals;e8&comma;e1&comma;e4&equals;e9e5&comma;e1&comma;e5&equals;e10&plus;e4&comma;e1&comma;e6&equals;e11&comma;e1&comma;e7&equals;e2&comma;e1&comma;e8&equals;e3&comma;e1&comma;e9&equals;e10&plus;e4&comma;e1&comma;e10&equals;e9&plus;e5&comma;e1&comma;e11&equals;e6&comma;e1&comma;e13&equals;e14&comma;e1&comma;e14&equals;e13&comma;e2&comma;e3&equals;e12&comma;e2&comma;e4&equals;2e1323te6&comma;e2&comma;e5&equals;e14&comma;e2&comma;e6&equals;3e4t&comma;e2&comma;e7&equals;e1&comma;e2&comma;e9&equals;13te11&comma;e2&comma;e10&equals;e1313te6&comma;e2&comma;e11&equals;3e9t&comma;e2&comma;e12&equals;e3&comma;e2&comma;e13&equals;e4&comma;e2&comma;e14&equals;e5&comma;e3&comma;e4&equals;e14&comma;e3&comma;e5&equals;23te6&comma;e3&comma;e6&equals;6e5t&comma;e3&comma;e8&equals;e1&comma;e3&comma;e9&equals;13te6&comma;e3&comma;e10&equals;e1413te11&comma;e3&comma;e11&equals;3e10t3e4t&comma;e3&comma;e12&equals;e2&comma;e3&comma;e13&equals;e5&comma;e3&comma;e14&equals;e4&comma;e4&comma;e5&equals;t4e12&comma;e4&comma;e6&equals;3t3e2&comma;e4&comma;e7&equals;e14&plus;13te11&comma;e4&comma;e8&equals;e1313te6&comma;e4&comma;e9&equals;e1t4&plus;e12t4&comma;e4&comma;e11&equals;3e3t33e7t3&comma;e4&comma;e12&equals;e5&comma;e4&comma;e13&equals;t4e2&comma;e4&comma;e14&equals;t4e3&comma;e5&comma;e6&equals;6t3e3&comma;e5&comma;e7&equals;13te6&comma;e5&comma;e8&equals;13te11&comma;e5&comma;e10&equals;e1t4&plus;e12t4&comma;e5&comma;e11&equals;3t3e8&comma;e5&comma;e12&equals;e4&comma;e5&comma;e13&equals;t4e3&comma;e5&comma;e14&equals;t4e2&comma;e6&comma;e7&equals;3e5t&comma;e6&comma;e8&equals;3e10t&plus;3e4t&comma;e6&comma;e9&equals;3t3e3&comma;e6&comma;e10&equals;3e2t3&plus;3e8t3&comma;e6&comma;e11&equals;9t2e1&comma;e6&comma;e12&equals;3e14t&comma;e6&comma;e14&equals;3t3e12&comma;e7&comma;e8&equals;e12&comma;e7&comma;e9&equals;e13&comma;e7&comma;e10&equals;2e1423te11&comma;e7&comma;e11&equals;3e10t&comma;e7&comma;e12&equals;e8&comma;e7&comma;e13&equals;e9&comma;e7&comma;e14&equals;e10&comma;e8&comma;e9&equals;23te11&comma;e8&comma;e10&equals;e13&comma;e8&comma;e11&equals;6e9t&comma;e8&comma;e12&equals;e7&comma;e8&comma;e13&equals;e10&comma;e8&comma;e14&equals;e9&comma;e9&comma;e10&equals;t4e12&comma;e9&comma;e11&equals;6t3e8&comma;e9&comma;e12&equals;e10&comma;e9&comma;e13&equals;t4e7&comma;e9&comma;e14&equals;t4e8&comma;e10&comma;e11&equals;3t3e7&comma;e10&comma;e12&equals;e9&comma;e10&comma;e13&equals;t4e8&comma;e10&comma;e14&equals;t4e7&comma;e11&comma;e12&equals;3e13t&comma;e11&comma;e13&equals;3t3e12&comma;e12&comma;e13&equals;2e14&comma;e12&comma;e14&equals;2e13&comma;e13&comma;e14&equals;2t4e12

(15)

 

You can now proceed as in Example 1 to show that this Lie algebra is also the exceptional Lie algebra g2.

 

Finally, you can use CovariantlyConstantTensors and the new command InvariantTensorsAtAPoint to show that the metric above admits a covariantly constant (parallel) 3-form. Any covariantly constant 3-form must be pointwise invariant with respect to the infinitesimal holonomy algebra. First find these invariant 3-forms.

&Omega;:=Tools:-GenerateForms&Theta;1&comma;&Theta;2&comma;&Theta;3&comma;&Theta;4&comma;&Theta;5&comma;&Theta;6&comma;&Theta;7&comma;3

&Omega;:=&Theta;1&Theta;2&Theta;3&comma;&Theta;1&Theta;2&Theta;4&comma;&Theta;1&Theta;2&Theta;5&comma;&Theta;1&Theta;2&Theta;6&comma;&Theta;1&Theta;2&Theta;7&comma;&Theta;1&Theta;3&Theta;4&comma;&Theta;1&Theta;3&Theta;5&comma;&Theta;1&Theta;3&Theta;6&comma;&Theta;1&Theta;3&Theta;7&comma;&Theta;1&Theta;4&Theta;5&comma;&Theta;1&Theta;4&Theta;6&comma;&Theta;1&Theta;4&Theta;7&comma;&Theta;1&Theta;5&Theta;6&comma;&Theta;1&Theta;5&Theta;7&comma;&Theta;1&Theta;6&Theta;7&comma;&Theta;2&Theta;3&Theta;4&comma;&Theta;2&Theta;3&Theta;5&comma;&Theta;2&Theta;3&Theta;6&comma;&Theta;2&Theta;3&Theta;7&comma;&Theta;2&Theta;4&Theta;5&comma;&Theta;2&Theta;4&Theta;6&comma;&Theta;2&Theta;4&Theta;7&comma;&Theta;2&Theta;5&Theta;6&comma;&Theta;2&Theta;5&Theta;7&comma;&Theta;2&Theta;6&Theta;7&comma;&Theta;3&Theta;4&Theta;5&comma;&Theta;3&Theta;4&Theta;6&comma;&Theta;3&Theta;4&Theta;7&comma;&Theta;3&Theta;5&Theta;6&comma;&Theta;3&Theta;5&Theta;7&comma;&Theta;3&Theta;6&Theta;7&comma;&Theta;4&Theta;5&Theta;6&comma;&Theta;4&Theta;5&Theta;7&comma;&Theta;4&Theta;6&Theta;7&comma;&Theta;5&Theta;6&Theta;7

(16)
P > 

HolInv3Forms:=InvariantTensorsAtAPointHol1&comma;&Omega;

HolInv3Forms:=t4&Theta;1&Theta;2&Theta;7&plus;3t3&Theta;1&Theta;3&Theta;63t3&Theta;1&Theta;4&Theta;53t3&Theta;2&Theta;3&Theta;53t3&Theta;2&Theta;4&Theta;6t4&Theta;3&Theta;4&Theta;7&plus;&Theta;5&Theta;6&Theta;7

(17)

 

In terms of the original coordinate u this becomes:

&alpha;0:=subst&equals;u13&comma;HolInv3Forms1

&alpha;0:=u43&Theta;1&Theta;2&Theta;7&plus;3u&Theta;1&Theta;3&Theta;63u&Theta;1&Theta;4&Theta;53u&Theta;2&Theta;3&Theta;53u&Theta;2&Theta;4&Theta;6u43&Theta;3&Theta;4&Theta;7&plus;&Theta;5&Theta;6&Theta;7

(18)

 

Every covariantly constant 3-form must be a multiply of this form so  use this as the ansatz which you pass to the command CovariantlyConstantTensors.

C:=Christoffelg&colon;

&alpha;:=CovariantlyConstantTensorsg&comma;ansatz&equals;evalDGfu&alpha;0&comma;unknowns&equals;fu

&alpha;:=u23&Theta;1&Theta;2&Theta;7&plus;3u13&Theta;1&Theta;3&Theta;63u13&Theta;1&Theta;4&Theta;53u13&Theta;2&Theta;3&Theta;53u13&Theta;2&Theta;4&Theta;6u23&Theta;3&Theta;4&Theta;7&plus;1u23&Theta;5&Theta;6&Theta;7

(19)

CovariantDerivative&alpha;1&comma;C

0&Theta;1&Theta;1&Theta;1&Theta;1

(20)

 

See Also

Differential Geometry Package