DiracConjugate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Physics : DiracConjugate

Physics[DiracConjugate] - compute the Dirac conjugate a given mathematical expression

Calling Sequence

DiracConjugate(psi)

Parameters

psi

-

any mathematical expression, possibly involving spinors or matrices

Description

• 

The DiracConjugate command represents and computes the Dirac conjugate of its argument; the returned result is built as follows:

  

- If ψ=z is a scalar, return its conjugate, z&conjugate0;.

  

- If ψ is a spinor, so defined with one spinor index using the Define command, or ψ is an anticommutative quantum operator (see Setup) with a spinor index, then return unevaluated, as DiracConjugate(psi), displayed as ψ¯, representing ψ¯=ψ†·γ0, where ψ† is the Hermitian conjugate Dagger(psi) and γ0 is the contravariant 0th Dirac matrix Dgamma[~0].

  

- If ψ=A¯ is the Dirac conjugate of - say -  A, then return A.

  

- If ψ=γμ is a Dirac matrix (represented by the Dgamma command), then return the matrix γμ itself, also when μ=5.

  

- If ψ=M is a Matrix - say M - return the matrix product γ0·M†·γ0, where M† is the Dagger(M), the Hermitian conjugate of M.

  

- If ψ is a sum of terms, return the sum of the DiracConjugate of each term.

  

- If ψ=A⁢...⁢B is a product, return B¯⁢...⁢A¯, that is the product of the DiracConjugate of each of the factors with the ordering reversed.

  

- If ψ is one of the d_ or dAlembertian operators, return the operator applied to the DiracConjugate of the first operand of ψ.

  

- Otherwise, return the operation unevaluated, DiracConjugate(A).

• 

The %DiracConjugate command is the inert form of DiracConjugate; that is, it represents the same mathematical operation while displaying the operation unevaluated. To evaluate the operation, use the value command.

About Spinors

• 

After loading Physics, you indicate the letter to represent a spinor index using the Setup command, for example: Setup(spinorindices = lowercaselatin). A spinor is then any symbol indexed with one spinor index, and defined as a tensor using Define. If the symbol is anticommutative, and has one spinor index, and was defined as a tensor using Define or alternatively was set as a quantum operator using Setup, then it represents a DiracSpinor,

• 

You can check whether say ψj is a spinor using the Library:-PhysicsType:-Spinor, as in type(psi[j], Library:-PhysicsType:-Spinor). Likewise, you can check if the object is a DiracSpinor using the Library:-PhysicsType:-DiracSpinor. Note that the object can have more than one index, but to be a spinor (Dirac or not), only one of them must be a spinor index. The related types Library:-PhysicsType:-SpinorWithoutIndices and Library:-PhysicsType:-DiracSpinorWithoutIndices return true when the argument passed to them, say ψ, has no indices but would be a Spinor if it had a spinor index.

• 

Any tensor with more than one spinor index, is not "a spinor" but it is spinorial, for the example the Dirac matrices (γ μ μ)j,k. You can check whether an object is spinorial using the Library:-IsSpinorial command, say as in Library:-IsSpinorial(Dgamma[mu][j,k]), which will returns true in this case, and false when the object is not spinorial. Likewise, a sum of spinorial objects, or a product of them with at least one free spinor index, is considered spinorial, for which Library:-IsSpinorial returns true.

Examples

> 

with⁡Physics:

The Dirac conjugate of a scalar is the standard conjugate

> 

DiracConjugate⁡z

z&conjugate0;

(1)

In general, the Dirac conjugate of the Dirac conjugate of an object is the object itself

> 

DiracConjugate⁡

z

(2)

The Dirac conjugate of a Dirac matrix is the Dirac matrix itself

> 

%DiracConjugate=DiracConjugate⁡Dgammaμ

γμ¯=γμ

(3)

Note the display is different from the display of conjugate: the above has the bar in black and bold, instead of blue and thin as in (1)

The Dirac conjugate of γ5 is also equal to itself

> 

%DiracConjugate=DiracConjugate⁡Dgamma5

γ5¯=γ5

(4)

Set coordinates, a quantum operator, an anticommutative prefix and a kind of letter to represent spinor indices

> 

Setup⁡coordinates=cartesian,quantumoperator=A,anticommutativeprefix=B,spinorindices=lowercaselatin

* Partial match of 'quantumoperator' against keyword 'quantumoperators'

⁢Systems of spacetime coordinates are:⁢X=x,y,z,t

_______________________________________________________

anticommutativeprefix=B,coordinatesystems=X,quantumoperators=A,spinorindices=lowercaselatin

(5)

Define then one spinor using the B anticommutative prefix and also a generic noncommutative spinor Aj

> 

Define⁡Aj,Bj

Defined objects with tensor properties

Aj,Bj,γμ,σμ,∂μ,gμ,ν,εα,β,μ,ν,Xμ

(6)

Take their product

> 

Aj⁢Bj

Aj⁢Bj

(7)

Sum over the repeated indices, then take the Dirac conjugate of the sum

> 

SumOverRepeatedIndices⁡

A1⁢B1+A2⁢B2+A3⁢B3+A4⁢B4

(8)
> 

DiracConjugate⁡

B1&conjugate0;⁢A1&conjugate0;+B2&conjugate0;⁢A2&conjugate0;+B3&conjugate0;⁢A3&conjugate0;+B4&conjugate0;⁢A4&conjugate0;

(9)

This result is expressed in terms of the conjugate of the spinor components of A and B. Reversing the order of operations results in the same: take first the Dirac conjugate of the product Aj⁢Bj, then sum over the repeated indices

> 

DiracConjugate⁡

B¯j⁢A¯j

(10)
> 

SumOverRepeatedIndices⁡

B1&conjugate0;⁢A1&conjugate0;+B2&conjugate0;⁢A2&conjugate0;+B3&conjugate0;⁢A3&conjugate0;+B4&conjugate0;⁢A4&conjugate0;

(11)

Unlike conjugate, DiracConjugate allows for constructing true scalars using contracted products of spinors

> 

DiracConjugate⁡B⁢B

B¯⁢B

(12)
> 

DiracConjugate⁡

B¯⁢B

(13)
> 

DiracConjugate⁡Bj⁢Bj

B¯j⁢Bj

(14)
> 

DiracConjugate⁡

B¯j⁢Bj

(15)

The Dirac conjugate of a Matrix

> 

M≔Matrix⁡4,symbol=m

M≔m1,1m1,2m1,3m1,4m2,1m2,2m2,3m2,4m3,1m3,2m3,3m3,4m4,1m4,2m4,3m4,4

(16)

The output involves the conjugates of the components of the transpose of M multiplied at both sides by the Dirac matrix γ0

> 

DiracConjugate⁡M

m1,1&conjugate0;m2,1&conjugate0;−m3,1&conjugate0;−m4,1&conjugate0;m1,2&conjugate0;m2,2&conjugate0;−m3,2&conjugate0;−m4,2&conjugate0;−m1,3&conjugate0;−m2,3&conjugate0;m3,3&conjugate0;m4,3&conjugate0;−m1,4&conjugate0;−m2,4&conjugate0;m3,4&conjugate0;m4,4&conjugate0;

(17)

If the matrix components are real,

> 

DiracConjugate⁡Massumingreal

m1,1m2,1−m3,1−m4,1m1,2m2,2−m3,2−m4,2−m1,3−m2,3m3,3m4,3−m1,4−m2,4m3,4m4,4

(18)
> 

M≔Matrix⁡4,i,j↦Ai⋅Bj

M≔A1⁢B1A1⁢B2A1⁢B3A1⁢B4A2⁢B1A2⁢B2A2⁢B3A2⁢B4A3⁢B1A3⁢B2A3⁢B3A3⁢B4A4⁢B1A4⁢B2A4⁢B3A4⁢B4

(19)
> 

DiracConjugate⁡M

B1&conjugate0;⁢A1&conjugate0;B1&conjugate0;⁢A2&conjugate0;−B1&conjugate0;⁢A3&conjugate0;−B1&conjugate0;⁢A4&conjugate0;B2&conjugate0;⁢A1&conjugate0;B2&conjugate0;⁢A2&conjugate0;−B2&conjugate0;⁢A3&conjugate0;−B2&conjugate0;⁢A4&conjugate0;−B3&conjugate0;⁢A1&conjugate0;−B3&conjugate0;⁢A2&conjugate0;B3&conjugate0;⁢A3&conjugate0;B3&conjugate0;⁢A4&conjugate0;−B4&conjugate0;⁢A1&conjugate0;−B4&conjugate0;⁢A2&conjugate0;B4&conjugate0;⁢A3&conjugate0;B4&conjugate0;⁢A4&conjugate0;

(20)

The Lagrangian of QED: to load the StandardModel package, clear first the letters used to represent spinor indices

> 

Setup⁡spinorindices=none:

> 

with⁡StandardModel

⁢_______________________________________________________

Setting lowercaselatin_is letters to represent Dirac spinor indices

Setting lowercaselatin_ah letters to represent SU(3) adjoint representation, (1..8) indices

Setting uppercaselatin_ah letters to represent SU(3) fundamental representation, (1..3) indices

Setting uppercaselatin_is letters to represent SU(2) adjoint representation, (1..3) indices

Setting uppercasegreek letters to represent SU(2) fundamental representation, (1..2) indices

⁢_______________________________________________________

Defined as the electron, muon and tau leptons and corresponding neutrinos: ei , μi , τi , νei , νμi , ντi

Defined as the up, charm, top, down, strange and bottom quarks: uA,i , cA,i , tA,i , dA,i , sA,i , bA,i

Defined as gauge tensors: Bμ , 𝔹μ,ν , Aμ , 𝔽μ,ν , Wμ,J , 𝕎μ,ν,J , W+μ , 𝕎+μ,ν , W−μ , 𝕎−μ,ν , Zμ , ℤμ,ν , Gμ,a , 𝔾μ,ν,a

Defined as Gell-Mann (Glambda), Pauli (Psigma) and Dirac (Dgamma) matrices: λa , σJ , γμ

Defined as the electric, weak and strong coupling constants: g__e, g__w, g__s

Defined as the charge in units of |g__e| for 1) the electron, muon and tauon, 2) the up, charm and top, and 3) the down, strange and bottom: q__e = −1, q__u = 23, q__d = −13

Defined as the weak isospin for 1) the electron, muon and tauon, 2) the up, charm and top, 3) the down, strange and bottom, and 4) all the neutrinos: I__e = −12, I__u = 12, I__d = −12, I__n = 12

You can use the active form without the % prefix, or the 'value' command to give the corresponding value to any of the inert representations q__e, q__u, q__d, I__e, I__u, I__d, I__n

⁢_______________________________________________________

⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=x,y,z,t

Minkowski spacetime with signatre - - - +

⁢_______________________________________________________

I__d,I__e,I__n,I__u,q__d,q__e,q__u,BField,BFieldStrength,Bottom,CKM,Charm,Down,ElectromagneticField,ElectromagneticFieldStrength,Electron,ElectronNeutrino,FSU3,Glambda,GluonField,GluonFieldStrength,HiggsBoson,Lagrangian,Muon,MuonNeutrino,Strange,Tauon,TauonNeutrino,Top,Up,WField,WFieldStrength,WMinusField,WMinusFieldStrength,WPlusField,WPlusFieldStrength,WeinbergAngle,ZField,ZFieldStrength,g__e,g__s,g__w

(21)
> 

CompactDisplay⁡Electron⁡X

e⁡x,y,z,t⁢will now be displayed as⁢e

(22)
> 

Lagrangian⁡QED

e¯i⁢I⁢γ⁢μ⁢μi,j⁢▿μ−me⁢δi,j⁢ej−𝔽μ,ν⁢𝔽⁢μ,ν⁢μ,ν4

(23)

This Lagrangian is a scalar, constructed as a sum of products, where each term and each product involves noncommutative objects; the first term includes the contracted spinor product of the DiracConjugate of the electron field ej. Computing the Dirac conjugate of this Lagrangian is thus expected to result in several intermediate computations such that, at the end, the result is the same Lagrangian

> 

DiracConjugate⁡

ej¯⁢−I⁢γ⁢μ⁢μj,i⁢▿μ&conjugate0;−δi,j¯⁢me⁢ei−𝔽⁢μ,ν⁢μ,ν⁢𝔽μ,ν4

(24)

For Annihilation and Creation operators, DiracConjugate returns the same as the Dagger command, that is the dual, respectively.

> 

am≔Annihilation⁡A,1

am≔a−

(25)
> 

ap≔Creation⁡A,1

ap≔a+

(26)
> 

DiracConjugate⁡am

a+

(27)
> 

DiracConjugate⁡ap

a−

(28)

DiracConjugate understands Commutator and AntiCommutator

> 

Setup⁡noncommutativeprefix=Z

noncommutativeprefix=Z

(29)
> 

Commutator⁡Z1,Z2

Z1,Z2−

(30)
> 

=expand⁡

Z1,Z2−=Z1⁢Z2−Z2⁢Z1

(31)
> 

DiracConjugate⁡

Z2†,Z1†−=Z2†⁢Z1†−Z1†⁢Z2†

(32)

Thus, the DiracConjugate of an AntiCommutator of Hermitian operators is equal to itself (however, the product of two Hermitian operators is Hermitian only if they commute).

> 

AntiCommutator⁡Z1,Z2

Z1,Z2+

(33)
> 

=expand⁡

Z1,Z2+=Z1⁢Z2+Z2⁢Z1

(34)
> 

DiracConjugate⁡assumingHermitian

Z1,Z2+=Z1⁢Z2+Z2⁢Z1

(35)

In the generic, non-Hermitian case:

> 

DiracConjugate⁡

Z1†,Z2†+=Z1†⁢Z2†+Z2†⁢Z1†

(36)

For linear operators, differential and others, DiracConjugate is applied to the first operand.

> 

Setup⁡diff=X

⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=x,y,z,t

_______________________________________________________

differentiationvariables=X

(37)
> 

d_μ⁡Z1⁡X⁢d_ν⁡Z2⁡X+g_μ,ν⁢dAlembertian⁡F⁡X

∂μ⁡Z1⁡X⁢∂ν⁡Z2⁡X+gμ,ν⁢□⁡F⁡X

(38)
> 

DiracConjugate⁡

∂ν⁡Z2⁡X†⁢∂μ⁡Z1⁡X†+□⁡F⁡X&conjugate0;⁢gμ,ν

(39)
> 

See Also

Annihilation, AntiCommutator, Bra, Bracket, Commutator, Creation, d_, Dagger, dAlembertian, g_, Ket, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup, value