>
|
|
Example 1.
In this example we create a 5-dimensional Lie algebra from a list of 3 x 3 matrices. First we define the matrices.
>
|
|
Before continuing we note that it is not difficult to directly check that the span of the matrices M is closed under matrix commutators. For example, the matrix commutator of and is . (The matrices P and Q computed below are equal.)
>
|
|
| (2.1) |
The program LieAlgebraData will calculate all the required matrix commutators of the matrices in M as linear combinations in M and return the result as a Lie algebra data structure.
>
|
|
| (2.2) |
Here represent the matrices respectively. Thus the structure equation coincides with that explicitly computed above.
Finally, we remark that this Lie algebra is decomposable.
Ex1 >
|
|
A decomposition of this Lie algebra can be found using the program Decompose.
Example 2.
The set of trace-free complex matrices define a real 6-dimensional Lie algebra. Here is a basis for this matrix algebra.
Ex1 >
|
|
Because these matrices are linearly dependent (over the complex numbers), we must use the keyword argument coefficienttype = "real" to calculate the real structure equations.
>
|
|
| (2.4) |