Physics[Dgamma] - the Dirac gamma matrices
an integer between 1 and the dimension, or any algebraic expression generically representing it (when the dimension is equal to 4, mu = 5 is also allowed)
The Dgamma[mu] command is used to represent the Dirac γμ matrices, where μ ranges from 1 to the dimension d of spacetime; these are noncommutative objects satisfying
where the products in the above are noncommutative, constructed by using the `*` operator of the Physics package, and gμ,ν is the metric tensor. The properties of the Dirac matrices are derived from this defining relation (anticommutator algebra) above. The Simplify command simplifies products of Dirac matrices and the Trace command computes traces of these products, taking this defining relation into account.
This defining anticommutator algebra satisfied by the Dirac matrices is invariant under a unitary transformation. Thus these matrices are determined up to a transformation of that kind, and conventions are necessary to construct their representations. The most common representations are the standard (also known as Dirac), the chiral (also known as Weyl or spinor), and the Majorana representations.
When the Physics package is loaded, the default spacetime is of Minkowski type with signature (- - - +). With that signature, the standard representation for Dirac's matrices, uniform in the literature, is:
where 𝕀 is the 2 x 2 identity matrix, k runs from 1 to 3, σk=−σ__k (due to the signature (---+)), and σ__k are the three Pauli matrices. (All of σ0=σ__0≡ 𝕀 and σ__k are represented by Psigma, and together form the four vector Psigma[mu], displayed as σ__μ.) As is the case for all spacetime tensors, when the position of the timelike component is the last one (the case when the signature is (---+)), the value d of a spacetime index in d dimensions is also represented by the number 0.
The conventions for the chiral and Majorana representations are not uniform in the literature. The conventions adopted here are the same ones shown in Wikipedia and in ref.[1-3], so that in the chiral representation, the γk are the same as in the standard representation, while γ0 changes to
The convention implemented for the Majorana representation, that is, a representation where all the nonzero components of the Dirac matrices are imaginary, is
where ⅈ is the imaginary unit (to represent it with a lowercase letter as in the above, see interface imaginaryunit).
The form of the contravariant Dirac matrices shown above for the three representations does not change with the signature, which could be (- - - +) (default when you load Physics), (+ - - -), (+ + + -) or (- + + +). To query about the signature, enter Setup(signature). To change the value of the signature see Setup.
In all of these three representations, the timelike component of the Dirac matrices is Hermitian: γ0=γ0†, and the spacelike components are anti-Hermitian: γk=−γk†. In a four dimensional Minkowski spacetime, an Hermitian matrix γ5=γ5† satisfying
is given by:
Note the minus sign on the right-hand side of this definition, according to ,  and , but not Wikipedia and not uniform in the literature. This definition of γ5 can also be written as
from where there is no distinction between a covariant or contravariant character for its index, γ⁢5=γ⁢5.
The form of the Dirac matrices implemented in the case of an Euclidean spacetime, for the standard, chiral, and Majorana representations, is obtained from the formulas above for the contravariant Dirac matrices by performing a Wick rotation, equivalent to multiplying the γk by −ⅈ, while γ0 remains unchanged, and γ5 is given by
These Euclidean Dirac matrices are all Hermitian, γμ=γμ†, including γ5, and they all satisfy the same defining equations and anticommutation algebra rules stated in the previous paragraphs for a Minkowski spacetime.
The following are some representation-free frequently used identities for the Dirac matrices, valid provided the dimension, d, is greater than 1, expressed by using the sum rule for repeated indices:
Some representation-free identities for the traces of products of Dirac matrices in four dimensions are:
and the Trace of any product of an odd number of γμ is zero. Note the sign +, not -, in the right-hand side of the last formula, related to the convention used for γ5. To compute using these formulas, you can use the Physics commands Trace, g_ for the metric and LeviCivita for the totally antisymmetric symbol ε.
Represent the imaginary unit with the lowercase i to distinguish it clearly from the number 1.
The Dgamma command is implemented as a tensor, which means you can compute with Dgamma[mu] entering tensorial expressions and have all the properties of tensors taken into account (see Physics,Tensors). For instance, the covariant and components are given by
Note that (since Maple 2019) when Physics is loaded the standard representation for the Dirac matrices is automatically set. For the default signature, (- - - +), the traditional standard matrix representation is that of the contravariant components
To change that representation to the chiral or Majorana representations see Setup. As is conventional in the Physics package, you can get the definition of a tensor indexing it with the keyword definition
The value 0 of a spacetime index of a tensor is always mapped into the value of the position of the time-like component (the different sign in the signature)
signature=- - - +
So with the current signature you can use Dgamma to represent Dgamma
You can access the current matrix representation of each component of γμ in several ways, the simplest being
The γ5 matrix in the standard representation
This definition includes several equations, two of which have AntiCommutators on the left-hand sides. A quick way of verifying tensorial equations including their matricial form is to use valueTensorArray%,performmatrixoperations. One can apply this command selectively, for example for the first three of these defining equations, then to only the fourth one
You can compute with the tensor components and later represent them in matrix form, or perform the corresponding matrix operations
The Dirac matrices have representation-free properties; for example, for the trace of the product of two of them,
Consider the following five products of Dirac matrices and their simplification using Simplify
Verify the simplification of e1.
Rewrite this equation as an array with 4 tensorial equations as components (for each of the values o the contravariant spacetime index ν)
Perform all the matrix operations in each of the components of this array.
With the conventions used, among γμ, only γ0 (consequently, when d=4,γ5 too) changes in form between the chiral and standard representations.
The standard representation is also defined in lower dimensions. For example, if you change the dimension to 3 and check the signature
Warning, unable to define the Pauli sigma matrices (Psigma) as a tensor in a spacetime with dimension = ⁢3⁢ where the metric is not Euclidean. You can still refer to the Pauli matrices using ⁢Psigmax⁢, ⁢Psigmay⁢ and ⁢Psigmaz
The dimension and signature of the tensor space are set to ⁢3,⁢⁡- - +
dimension=3,signature=- - +
Warning, unable to define the Pauli sigma matrices (Psigma) as a tensor in a space with dimension = ⁢2⁢ < 3. You can still refer to the Pauli matrices using ⁢Psigmax⁢, ⁢Psigmay⁢ and ⁢Psigmaz
Warning, unable to set the algebra of Pauli matrices (Psigma) in tensorial form in a space with dimension = ⁢2⁢ < 3
The dimension and signature of the tensor space are set to ⁢2,⁢⁡- +
Reset the dimension to 4 and check the metric
Defined Pauli sigma matrices (Psigma): ⁢σ1⁢, ⁢σ2⁢, ⁢σ3⁢, ⁢σ0
The dimension and signature of the tensor space are set to ⁢4,⁢⁡- - - +