Dgamma - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Physics[Dgamma] - the Dirac gamma matrices

Calling Sequence

Dgamma[mu]

Parameters

mu

-

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)

Description

• 

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

γμγν+γνγμ=2gμ,ν

  

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:

γ0=𝕀00𝕀, γk=0σkσk0

  

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

γ0=0𝕀𝕀0

  

The convention implemented for the Majorana representation, that is, a representation where all the nonzero components of the Dirac matrices are imaginary, is

γ0=0σ2σ20,γ1=σ300σ3,γ2=0σ2σ20,γ3=σ100σ1

  

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 (- + + +). Correspondingly, for the signatures (+ + + -) or (- + + +) there is an extra minus sign in the right-hand side of the defining algebra rule, that becomes γμγν+γνγμ=2gμ,ν 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

γμγ5+γ5γμ=0,γ5γ5=1

  

is given by:

γ5=γ0γ1γ2γ3

  

Note the minus sign on the right-hand side of this definition, according to [1], [2] and [3], but not Wikipedia and not uniform in the literature. This definition of γ5 can also be written as

γ5=4!εα,β,μ,νγμγνγαγβ

  

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

γ5=γ1γ2γ3γ0

  

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:

γμγμ=d

γμγνγμ=2dγν

γμγαγβγμ=4gα,β+d4γαγβ

γμγαγβγργμ=2γργβγαd4γαγβγρ

• 

Some representation-free identities for the traces of products of Dirac matrices in four dimensions are:

Traceγμ=0

Traceγμγν=4gμ,ν

Traceγμγνγργσ=4gμ,νgρ,σ4gμ,ρgν,σ+4gμ,σgν,ρ

Traceγ5=Traceγμγνγ5=0

Traceγμγνγργσγ5=4εμ,ν,ρ,σ

  

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 ε.

Examples

withPhysics:

Setupmathematicalnotation=true

mathematicalnotation=true

(1)

Represent the imaginary unit with the lowercase i to distinguish it clearly from the number 1.

interfaceimaginaryunit=i

I

(2)

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

Dgamma

γμ=

(3)

Dgamma`~`

γμμ=

(4)

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

Library:-RewriteInMatrixFormDgamma`~`

γμμ=

(5)

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

Dgammadefinition

γμμ,γνν+=2gμ,νμ,ν

(6)

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)

Setupsignature

signature=- - - +

(7)

Library:-PositionOfTimelikeComponent

4

(8)

So with the current signature you can use Dgamma[0] to represent Dgamma[4]

Dgamma0

γ4

(9)

You can access the current matrix representation of each component of γμ in several ways, the simplest being

Dgamma0,matrix

γ4=

(10)

Dgamma~1,matrix

γ11=

(11)

The γ5 matrix in the standard representation

Dgamma5,matrix

γ5=

(12)

Dgamma5,definition

γ5=γ55,γ55=−ⅈγ00γ11γ22γ33,γ55γ55=1,γμμ,γ55+=0,γμμ,γνν+=2gμ,νμ,ν

(13)

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

valueTensorArray1..3,performmatrixoperations

=,=,=

(14)

valueTensorArray4,performmatrixoperations

(15)

You can compute with the tensor components and later represent them in matrix form, or perform the corresponding matrix operations

Dgamma1Dgamma2+Dgamma0

γ1γ2+γ4

(16)

Library:-RewriteInMatrixForm

·+

(17)

Library:-PerformMatrixOperations

(18)

The Dirac matrices have representation-free properties; for example, for the trace of the product of two of them,

DgammaμDgammaν

γμγν

(19)

Trace

4gμ,ν

(20)

Dgamma1Dgamma2+Dgamma2Dgamma1

γ1γ2+γ2γ1

(21)

Trace

0

(22)

Consider the following five products of Dirac matrices and their simplification using Simplify

e0Dgammaμ2

e0γμγμμ

(23)

Simplifye0

4

(24)

e1DgammaμDgamma~nuDgammaμ

e1γμγννγμμ

(25)

Simplifye1

2γνν

(26)

e2DgammaμDgamma~lambdaDgamma~nuDgammaμ

e2γμγλλγννγμμ

(27)

Simplifye2

4gλ,νλ,ν

(28)

e3DgammaμDgamma~lambdaDgamma~nuDgamma~rhoDgammaμ

e3γμγλλγννγρργμμ

(29)

Simplifye3

2γρργννγλλ

(30)

e4DgammaμDgamma~lambdaDgamma~nuDgamma~rhoDgamma~sigmaDgammaμ

e4γμγλλγννγρργσσγμμ

(31)

Simplifye4

2γσσγλλγννγρρ+2γρργννγλλγσσ

(32)

Verify the simplification of e1.

e1=

γμγννγμμ=2γνν

(33)

SumOverRepeatedIndices

γ1γννγ11+γ2γννγ22+γ3γννγ33+γ4γννγ44=2γνν

(34)

Rewrite this equation as an array with 4 tensorial equations as components (for each of the values o the contravariant spacetime index ν)

TTensorArray

T

(35)

Perform all the matrix operations in each of the components of this array.

Library:-PerformMatrixOperationsT

(36)

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

Setupdimension=3,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=- - +

(37)

Dgamma~1,matrix

γ11=

(38)

Setupdimension=2

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

The dimension and signature of the tensor space are set to 2&comma;- +

dimension=2

(39)

Dgamma~1,matrix

γ11=

(40)

Reset the dimension to 4 and check the metric

Setupdimension=4

Defined Pauli sigma matrices (Psigma): σ1 , σ2 , σ3 , σ0

__________________________________________________

The dimension and signature of the tensor space are set to 4&comma;- - - +

dimension=4

(41)

g_

gμ,ν=

(42)

The form of the four contravariant Dirac matrices in each of the three representations, all the matrices are anti-Hermitian but for Dgamma[5] which is Hermitian

SetupDgamma=standard&comma;quiet

Dgammarepresentation=standard

(43)

TensorArray%Dgamma~mu=Dgamma~mu&comma;performmatrixoperations

(44)

SetupDgamma=chiral&comma;quiet

Dgammarepresentation=chiral

(45)

TensorArray%Dgamma~mu=Dgamma~mu&comma;performmatrixoperations

(46)

The definition of Dgamma[5] is the independent of the representation

Dgamma~5,definition

γ55=−ⅈγ00γ11γ22γ33,γ55γ55=1,γμμ,γ55+=0,γμμ,γνν+=2gμ,νμ,ν

(47)

The matrix form of the first of these equations

TensorArray1&comma;performmatrixoperations

=

(48)

In the Majorana representation, all the components of the Dirac matrices are imaginary

SetupDgamma=Majorana&comma;quiet

Dgammarepresentation=Majorana

(49)

TensorArray%Dgamma~mu=Dgamma~mu&comma;performmatrixoperations

(50)

The Euclidean form of the four contravariant Dirac matrices in each of the three representations: all of them are Hermitian

Setupmetric=Euclidean&comma;Dgamma=standard&comma;quiet

Dgammarepresentation=standard&comma;metric=1&comma;1=1&comma;2&comma;2=1&comma;3&comma;3=1&comma;4&comma;4=1

(51)

g_

gμ,ν=

(52)

TensorArray%Dgammaμ=Dgammaμ&comma;performmatrixoperations

(53)

SetupDgamma=chiral&comma;quiet

Dgammarepresentation=chiral

(54)

TensorArray%Dgammaμ=Dgammaμ&comma;performmatrixoperations

(55)

In the Majorana representation, the spatial Euclidean Dirac matrices are all real

SetupDgamma=Majorana&comma;quiet

Dgammarepresentation=Majorana

(56)

TensorArray%Dgammaμ=Dgammaμ&comma;performmatrixoperations

(57)

The first equation of the definition of γ5 in an Euclidean space has a factor &ImaginaryI; if compared with the definition in a Minkowski space; the other defining equations are the same:

Dgamma5,definition

γ5=γ55,γ55=γ11γ22γ33γ00,γ55γ55=1,γμμ,γ55+=0,γμμ,γνν+=2gμ,νμ,ν

(58)

See Also

Library, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Physics[`*`], Psigma, Setup, SumOverRepeatedIndices, TensorArray, Trace

References

Textbooks

  

[1] Landau, L.D., and Lifshitz, E.M., Berestetskii, V.B, Quantum Electrodynamics, Course of Theoretical Physics Volume 4, second edition. Pergamon Press, 1982.

  

[2] Bogoliubov, N.N., and Shirkov, D.V. Quantum Fields. Benjamin Cummings, 1982.

  

[3] Tong, D., Quantum Field Theory, University of Cambridge Part III Mathematical Tripos, 2007 (http://www.damtp.cam.ac.uk/user/tong/qft/qft.pdf).

Compatibility

• 

The Physics[Dgamma] command was updated in Maple 2020.