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. The form of the contravariant Dirac matrices in a Minkowski spacetime in each of these three representations, shown below, does not change with the signature, that 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. When using the signatures (+ + + -) or (- + + +), the right-hand side of the anticommutator satisfied by the Dirac matrices, shown in the first paragraph, has an additional factor -1.
Since Maple 2019, when the Physics package is loaded, the standard representation for Dirac's matrices is automatically set. The conventions for the standard representation are uniform in the literature: in a Minkowski spacetime, with signature (- - - +), the contravariant Dirac matrices are:
where σ0 is the 2 x 2 identity matrix and σk, with 1≤ k ≤3 are the three Pauli matrices. All of σ0 and σk are represented in the Physics package with Psigma and, as is the case for all spacetime tensors, the value 0 of a spacetime index can also be represented by the number d, the spacetime dimension.
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 ,  and , 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 I is the imaginary unit (to represent it with a lowercase i, see interface).
In all of these three representations, the Dirac matrices satisfy γμ=−γμ†, they are anti-Hermitian and, 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, being a pseudo-scalar, there is no distinction between a covariant or contravariant character for its index, so γ⁢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:
where in these formulas, Trace is the Physics command to compute traces, g_ is the metric, epsilon is the Levi-Civita totally antisymmetric symbol, and I is the imaginary unit.
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
e0 ≔ Dgammaμ2
e1 ≔ Dgammaμ⁢Dgamma`~nu`⁢Dgammaμ
e2 ≔ Dgammaμ⁢Dgamma`~lambda`⁢Dgamma`~nu`⁢Dgammaμ
e3 ≔ Dgammaμ⁢Dgamma`~lambda`⁢Dgamma`~nu`⁢Dgamma`~rho`⁢Dgammaμ
e4 ≔ Dgammaμ⁢Dgamma`~lambda`⁢Dgamma`~nu`⁢Dgamma`~rho`⁢Dgamma`~sigma`⁢Dgammaμ
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 ν)
T ≔ TensorArray⁡
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
The dimension and signature of the tensor space are set to 3,- - +
dimension=3,signature=- - +
The dimension and signature of the tensor space are set to 2,- +
Reset the dimension to 4 and check the metric
The dimension and signature of the tensor space are set to 4,- - - +
The form of the four contravariant Dirac matrices in each of the three representations, all the matrices are anti-Hermitian but for Dgamma which is Hermitian
The definition of Dgamma is the independent of the representation
The matrix form of the first of these equations
In the Majorana representation, all the components of the Dirac matrices are imaginary
The Euclidean form of the four contravariant Dirac matrices in each of the three representations: all of them are Hermitian