SYM Paclet Symbol
SYM Package and Lie algebras
Tutorials »
|
SYM Overview
SYM Package
More About »
Commutator
Commutator[
op
1
, op
2
]
gives the commutation between the two operators.
MORE INFORMATION
To use
Commutator
, you first need to load the
SYM Package
using
Needs
["SYM`"].
op
i
can be expressed either by matrices or with differential operators.
Depending on the input,
Commutator
will return either a matrix or a differential operator.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
In[1]:=
Let the differential operators
x
,
y
that commute. We expect their commutator to give us 0. Indeed,
In[2]:=
Out[2]=
In[1]:=
For the set of operators
x
, x
x
we get:
In[2]:=
Out[2]=
In[1]:=
The commutato between two matrices:
In[2]:=
Out[2]=
TUTORIALS
SYM Package and Lie algebras
MORE ABOUT
SYM Overview
SYM Package