Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Physics[Trace] - calculate the trace of noncommutative or anticommutative objects, including products of Dirac and Pauli matrices
Calling Sequence
Trace(f)
Parameters
f
-
any algebraic expression
Description
The Trace command represents the generalized "Trace" of an object. Here the * product operator refers to the * operator of the Physics package, used to construct products involving commutative, anticommutative, or noncommutative expressions.
The %Trace command is the inert form of Trace; that is, it represents the same mathematical operation, while displaying the operation unevaluated. To evaluate the operation, use the value command.
The result returned by Trace is built as follows:
If is a constant, then return .
If is a single matrix, then return the trace of .
If is a (noncommutative) product, then
If the operands are Dirac matrices or Pauli matrices, then use standard related formulas (see below).
If all of the operands are anticommutative, then
If the number of operands is even, then return 0.
Otherwise, return the Trace after normalizing the product.
If there are constants in the operands, then return the constants times the Trace of the rest.
If is a (commutative) product, then return the constants times the Trace of the rest.
If is a sum, not just of noncommutative objects, distribute Trace according to:.
For all other cases, return the unevaluated expression, .
The Trace of a product of Dirac matrices is based on their anticommutation relation , where g_ is the metric, and the formula is valid in 2, 3, and 4 dimensions. Thus, traces of products of an odd number of Dirac matrices are always equal to zero, while traces of an even number ( ) of them can be expressed as a sum of terms of the form , , with the sign of each term being determined by whether the permutation of indices, from to , is odd or even.
Examples
First, set prefixes identifying anticommutative and noncommutative variables.
Compute some traces of expressions involving constants and commutative, anticommutative, and noncommutative variables.
The Trace of the product of an even number of anticommutative elements is zero.
Products of Dirac matrices and Pauli matrices:
Mixed products involving constants, variables, Dirac matrices, or Pauli matrices:
See Also
Dgamma, Physics, Physics conventions, Physics examples, Physics/*, Psigma, Setup
Download Help Document