>
|

|
Example 1.
First we initialize a Lie algebra and display the multiplication table.
>
|
|
| (2.1) |
>
|
|
Find the minimal subalgebra containing [e1, e3].
Alg1 >
|
|
Alg1 >
|
|
| (2.2) |
Find the minimal subalgebra containing [e2, e3].
Alg1 >
|
|
Alg1 >
|
|
| (2.3) |
Alg1 >
|
|
| (2.4) |
Alg1 >
|
|
| (2.5) |
Find the minimal subalgebra containing [e2, e5].
Alg1 >
|
|
Alg1 >
|
|
| (2.6) |
Example 2.
The command MinimalSubalgebra also works with matrices.
Alg1 >
|
|
| (2.7) |
Alg1 >
|
|
| (2.8) |
We can use the LieAlgebraData command to verify that the set of matrices N defines a 4-dimensional Lie algebra and to determine the commutator relationships.
Alg1 >
|
|
| (2.9) |
Alg1 >
|
|
Here e1, e2, e3, e4 denote the four matrices N[1], N[2], N[3], N[4].