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