>
|
|
Example 1. Use the first calling sequence to set up up a coordinate system on a manifold.
In this first example, we create a 2-dimensional manifold M with coordinates [x, y].
>
|
|
| (1) |
The coordinates are now protected names which cannot be assigned values.
The standard coordinate vectors D_x, D_y and dual 1 forms dx, dy have been defined and protected. We display the internal representation of these vectors just to show that they have been assigned values. (Knowledge of this internal representation of various objects used in the DifferentialGeometry package is not required of the user).
>
|
|
_DG([["vector", M, []], [[[1], 1]]])
| |
>
|
|
_DG([["form", M, 1], [[[1], 1]]])
| |
Without the option 'verbose', the information concerning the definition and protection of variable is suppressed. This behavior of the DGsetup command can be controlled globally with the Preferences command.
>
|
|
| (2) |
Example 2. Use the second calling sequence to set up coordinates on a vector or fiber bundle.
In many situations in differential geometry, one deals with vector bundles or fiber bundles pi: E -> M. For these applications, use the second calling sequence to DGsetup. The
first argument varlist1 should be coordinates for the basis manifold M and the second argument should be the list of coordinates for the fiber of the bundle E. Here is the command
for creating a rank-2 bundle over a 3-dimensional space. The base coordinates are [x, y, z] and the fiber coordinates are [u, v].
>
|
|
| (3) |
This particular use of DGsetup could be used, for example, to study a 3-dimensional manifold imbedded in a 5-dimensional Riemannian manifold, where the vectors D_u and D_v define a local basis for the normal bundle.
Example 3. Use the third calling sequence to set up coordinates on a jet bundle. The JetCalculus subpackage of the DifferentialGeometry package contains an extensive set of commands for symbolic computations on jet spaces. These spaces provide the natural mathematical setting for the geometric approach to the calculus of variations and to differential equations. The third calling sequence for the DGsetup command will create a jet space over a bundle pi: E -> M with prescribed lists of independent variables (coordinates on M) and dependent variables (fiber coordinates on E). In addition to the coordinate vectors and coordinate differential forms on jet space, DGsetup also defines and protects the contact forms on jet space. See the JetCalculus overview page for additional information regarding these differential forms. The user may specify which of two notational conventions are to be used to denote the jet coordinates. See the Preferences command for details.
First we initialize the 3rd order jet space for 1 independent and 2 dependent variables.
>
|
|
| (4) |
Here is the initialization of the 3rd order jet space for 2 independent and 1 dependent variable.
>
|
|
| (5) |
Example 4. Use the fourth calling sequence to set up an anholonomic frame on a manifold.
It is extremely important, for many calculations in DifferentialGeometry, to work with frames and co-frames other than the coordinate frame (e.g. D_x, D_y, ...) and the coordinate co-frame (e.g. dx, dy ...). For example, curvature tensor calculations are often greatly simplified by working in an orthonormal frame. To set up a frame for subsequent computations with the DifferentialGeometry package, first use the FrameData command to calculate the structure equations for the frame or co-frame. Then pass the output of the FrameData command to DGsetup.
>
|
|
| (6) |
The three vectors in the list F are the vectors that will be used as a frame.
>
|
|
| (7) |
The command FrameData calculates the structure equations for this frame. These structure equations are displayed with the convention that the first element of the frame is E1, the second element is E2, and so on. The name of the manifold with coordinates [x, y, z] and anholonomic frame F is M1.
>
|
|
| (8) |
Pass the output of FrameData to the command DGsetup. Now in place of the coordinate vectors D_x, D_y, D_z and coordinate form dx, dy, dz, we shall use the vectors F[1], F[2], F[3] and the dual 1 forms. The default labels for the frame elements are E1, E2, E3 and the default labels for the co-frame elements are Theta1, Theta2, Theta3.
>
|
|
| (9) |
As sample calculations on the manifold M1 we have:
>
|
|
| (10) |
>
|
|
| (11) |
We can specify the labels for the frame and the co-frame as optional arguments to DGsetup. The second argument is a list of names for the frame elements and the third argument is a list of names for the co-frame elements. If a list with just one name is given, then that name is used as the kernel name for the list of frame or co-frame elements. For example:
>
|
|
| (12) |
Example 5. Use the fourth calling sequence to set up an anholonomic co-frame on a manifold.
The same commands used in the previous example can be used to create an anholonomic co-frame on a manifold.
>
|
|
| (13) |
The three 1-foms in the list Omega are the 1-forms that will be used as a co-frame.
>
|
|
| (14) |
The command FrameData calculates the structure equations for this co-frame. These structure equations are displayed with the convention that the first element of the frame is 1, the second element is 2, and so on. The name of the manifold with coordinates [x, y, z] and anholonomic frame Omega is M1.
>
|
|
| (15) |
Pass the output of FrameData to the command DGsetup. Now in place of the coordinate vectors D_x, D_y, D_z and coordinate form dx, dy, dz, we shall use the 1-forms Omega[1], Omega[2], Omega[3] and the dual vector fields. The default labels for the frame elements are E1, E2, E3 and the default labels for the co-frame elements are Theta1, Theta2, Theta3.
>
|
|
| (16) |
Example 6. Use the fifth calling sequence to initialize a Lie algebra, defined by a set of matrices
The DGsetup command can also be used to initialize a Lie algebra the same way that DGsetup is used to initialize an anholonomic frame on a manifold. Typically, one first obtains the structure equations for the Lie algebra using the LieAlgebraData command and then passes these structure equations to DGsetup. Structure equations for a large number of Lie algebras can also be retrieved from the database of Lie algebras found in the Library package.
>
|
|
| (17) |
Calculate the structure equations for the matrix Lie algebra defined by the matrices M. Here e1 refers to the first matrix in M, e2 the second matrix, ....
>
|
|
| (18) |
The default names for the basis elements for the Lie algebra are e1, e2, e3.... The default names for the basis elements for the dual elements of the Lie algebra are theta1, theta2, ....
>
|
|
| (19) |
Again it is a simple matter to override this default labeling.
>
|
|
| (20) |
Example 7. Use the fifth calling sequence to initialize a Lie algebra, defined by a set of vector fields
The same sequence of commands as illustrated in the previous example can be used to initialize a Lie algebra from a set of vector fields.
>
|
|
| (21) |
Here are the vector fields we shall use.
>
|
|
| (22) |
>
|
|
| (23) |
>
|
|
| (24) |
>
|
|
| (25) |
Example 8. Use the fifth calling sequence to initialize a simple Lie algebra, defined by structure equations
The LieAlgebraData command, in conjunction with DGsetup, can be used to initialize a Lie algebra from a set of structure equations. First specify the basis elements. These must be unassigned names.
>
|
|
| (26) |
Define a list of structure equations for a Lie algebra.
>
|
|
| (27) |
>
|
|
| (28) |
>
|
|
| (29) |
Example 9. Use the fifth calling sequence to initialize a simple Lie algebra, constructed from the command SimpleLieAlgebraData
The LieAlgebra package contains tables of structures equations for the classical simple and semi-simple matrix algebras. These can be accessed with the command SimpleLieAlgebraData. In this example we initialize , the Lie algebra of trace-free matrices.
>
|
|
| (30) |
>
|
|
| (31) |
Example 10. Use the sixth calling sequence to initialize a Lie algebra with coefficients in a representation
Exterior forms on Lie algebras can be generalized to allow for coefficients in a representation. In this example we use the 3-dimensional Lie algebra defined in Example 7 and its adjoint representation. First, define a 3-dimensional space to serve as the representation space.
>
|
|
| (32) |
Now use the Adjoint and Representation commands to create the adjoint representation for .
>
|
|
| (33) |
>
|
|
| (34) |
Invoke the sixth calling sequence for DGsetup.
>
|
|
| (35) |
At this point one can calculate, for example, the exterior derivative of a 1-form on alg7 with coefficients in V.
>
|
|
| (36) |
Example 11. Use the seventh calling sequence to initialize a list of abstract differential forms
In this example we use DGsetup to define a computational environment defined by a single scalar , a 1-form and a 2-form . The exterior derivative of is specified as .
>
|
|
| (37) |
>
|
|
| (38) |
>
|
|
| (39) |
We use DGsetup to add forms or structure equations.
>
|
|
| (40) |
>
|
|
| (41) |
Example 12. Use the seventh calling sequence to initialize a co-frame and a list of abstract differential forms
This is essentially the same as Example 11 except that the first list, used to specify the list of abstract forms, now contains a sublist defining a co-frame. In this example, we would like to label the co-frame as but these names were assigned to the 1-forms for the Lie algebra . Therefore, we should first remove this frame.
>
|
|
| (42) |
>
|
|
| (43) |
>
|
|
| (44) |
In this setting interior products and Lie derivatives can be computed.
>
|
|
| (45) |
>
|
|
| (46) |
M12 >
|
|
For more information on abstract differential forms in DifferentialGeometry, see WorkingWithAbstractForms.