- #1
aspidistra
- 5
- 0
software to calculate simple commutator relation ??
Dear All:
I have hundred terms of commutators needs to be calculate. Each one looks like
[itex]
[{\epsilon_{i m}}^n\eta^m\frac{\partial}{\partial\eta^n},C\eta_j\eta^l\frac{\partial}{\partial\theta^l}]
[/itex] ,where C is function of [itex]\theta^i[/itex] and [itex]\eta^i[/itex].
The result of this commutator is
[itex]
{\epsilon_{im}}^n\eta_j\eta^m\frac{\partial C}{\partial\eta^n}\eta^l\frac{\partial}{\partial\theta^l}-C\epsilon_{ijm}\eta^m\eta^l\frac{\partial}{\partial\theta^l}+
C{\epsilon_{im}}^n\eta_j\eta^m\frac{\partial}{\partial\theta^n}
[/itex]
Is there any software can deal with this calculation and preserve the Einstein summation convention?
I have try to use a mathematica note book from http://www.commeare.net/2008/05/03/commutator-relations-in-mathematica/
to calculate the component of the commutator ie. take i=1 j=2 for example, but mathematica 's simplification rule make the result hardly to read.
Any help will be appreciated. Thanks.
Dear All:
I have hundred terms of commutators needs to be calculate. Each one looks like
[itex]
[{\epsilon_{i m}}^n\eta^m\frac{\partial}{\partial\eta^n},C\eta_j\eta^l\frac{\partial}{\partial\theta^l}]
[/itex] ,where C is function of [itex]\theta^i[/itex] and [itex]\eta^i[/itex].
The result of this commutator is
[itex]
{\epsilon_{im}}^n\eta_j\eta^m\frac{\partial C}{\partial\eta^n}\eta^l\frac{\partial}{\partial\theta^l}-C\epsilon_{ijm}\eta^m\eta^l\frac{\partial}{\partial\theta^l}+
C{\epsilon_{im}}^n\eta_j\eta^m\frac{\partial}{\partial\theta^n}
[/itex]
Is there any software can deal with this calculation and preserve the Einstein summation convention?
I have try to use a mathematica note book from http://www.commeare.net/2008/05/03/commutator-relations-in-mathematica/
to calculate the component of the commutator ie. take i=1 j=2 for example, but mathematica 's simplification rule make the result hardly to read.
Any help will be appreciated. Thanks.
Last edited by a moderator: