Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    A scattering amplitude can contain two quite different kinds of matrix multiplication: gamma matrices act on spin, while gauge generators act on color. A computer may move a color matrix past a gamma matrix because they act on different tensor factors. It may not arbitrarily reorder either chain. The practical question is how to reduce these expressions while preserving the information needed for spin averages, interference, and dimensional regularization.

    We will calculate a massive fermion scattering numerator in three ways, then reduce the color factor for the corresponding exchange between distinct quark flavors. The calculation uses the mostly-minus metric and spinor normalization of the conventions. Familiarity with tensor and index algebra and fermion signs is useful; no particular computer-algebra package is required.

    An ordered algebra, not a bag of symbols

    In four spacetime dimensions,

    {γμ,γν}=2ημν1,η=diag⁡(1,−1,−1,−1),tr⁡1=4.(1)\{\gamma^\mu,\gamma^\nu\}=2\eta^{\mu\nu}\mathbf1, \qquad \eta=\operatorname{diag}(1,-1,-1,-1), \qquad \operatorname{tr}\mathbf1=4. \tag{1}

    The slash is p̸=γμpμ\not p=\gamma^\mu p_\mu. The anticommutator allows an adjacent exchange only with its compensating metric term:

    γμγν=2ημν1−γνγμ.(2)\gamma^\mu\gamma^\nu=2\eta^{\mu\nu}\mathbf1-\gamma^\nu\gamma^\mu. \tag{2}

    For example, γ0γ1γ0=−γ1\gamma^0\gamma^1\gamma^0=-\gamma^1. Sorting its symbols as though they commuted would instead give +γ1+\gamma^1. A useful internal representation therefore stores a gamma chain as an ordered tuple, alongside commuting scalar coefficients and separately typed Lorentz and color indices. Dummy-index renaming may change labels; it must preserve their contraction pattern and the order of the matrices.

    Complex conjugation also has structure. Define the Dirac adjoint of a matrix by A‾=γ0A†γ0\overline A=\gamma^0 A^\dagger\gamma^0. Then

    (uˉAv)∗=vˉ A‾ u,AB‾=B‾ A‾,γμ‾=γμ.(3)(\bar u A v)^*=\bar v\,\overline A\,u, \qquad \overline{AB}=\overline B\,\overline A, \qquad \overline{\gamma^\mu}=\gamma^\mu. \tag{3}

    The reversed order follows from the ordinary Hermitian adjoint. It is essential in interference terms involving several vertices. Cyclicity permits rotation of a closed trace, not arbitrary permutation of an open fermion line.

    Traces as a terminating recursion

    Without a γ5\gamma^5 insertion, an odd trace vanishes in four dimensions. For an even chain, repeatedly move its first gamma matrix to the right using (2), and use cyclicity on the last term. The resulting recursion for slashed vectors is

    T(v1,…,v2n)=∑j=22n(−1)j(v1 ⁣⋅vj)T(v2,…,v^j,…,v2n),T(∅)=4.(4)T(v_1,\ldots,v_{2n})= \sum_{j=2}^{2n}(-1)^j(v_1\!\cdot v_j) T(v_2,\ldots,\widehat v_j,\ldots,v_{2n}), \qquad T(\varnothing)=4. \tag{4}

    The hat means omission. Each term has two fewer matrices, so the recursion terminates. Its first nontrivial outputs are

    tr⁡(a̸b̸)=4a ⁣⋅b,tr⁡(a̸b̸c̸d̸)=4[(a ⁣⋅b)(c ⁣⋅d)−(a ⁣⋅c)(b ⁣⋅d)+(a ⁣⋅d)(b ⁣⋅c)].(5)\begin{aligned} \operatorname{tr}(\not a\not b)&=4a\!\cdot b,\\ \operatorname{tr}(\not a\not b\not c\not d) &=4[(a\!\cdot b)(c\!\cdot d)-(a\!\cdot c)(b\!\cdot d) +(a\!\cdot d)(b\!\cdot c)]. \end{aligned} \tag{5}

    The Lorentz product here is bilinear, including for complex vectors. Complex conjugation belongs to the conjugated amplitude; replacing every dot product by a Hermitian inner product changes the algebra.

    A compact implementation mirrors the derivation:

    def trace_slashes(v):
        if len(v) % 2:
            return 0
        if not v:
            return 4
        return sum((-1)**(j+1) * dot(v[0], v[j])
                   * trace_slashes(v[1:j] + v[j+1:])
                   for j in range(1, len(v)))
    

    This direct recursion is transparent for short chains. Its number of terms grows rapidly; caching repeated subchains and reducing contracted indices before full expansion can matter in larger calculations. The implementation in the companion is deliberately small, so its output can be compared with direct 4×44\times4 matrix multiplication. SymPy offers separate gamma-trace and contracted-chain routines, but its predefined GammaMatrix and kahane_simplify are explicitly four-dimensional. A package name does not remove that assumption. SymPy 1.14 documentation, “Gamma matrices,” gamma_trace and kahane_simplify.

    Four-dimensional chirality and regulated contractions

    For the four-dimensional algebra used above,

    γ5=iγ0γ1γ2γ3,PL=1−γ52,PR=1+γ52.(6)\gamma^5=i\gamma^0\gamma^1\gamma^2\gamma^3, \qquad P_L=\frac{1-\gamma^5}{2}, \qquad P_R=\frac{1+\gamma^5}{2}. \tag{6}

    The relations (γ5)2=1(\gamma^5)^2=1 and {γ5,γμ}=0\{\gamma^5,\gamma^\mu\}=0 imply PL2=PLP_L^2=P_L, PR2=PRP_R^2=P_R, PLPR=0P_LP_R=0, and PLγμ=γμPRP_L\gamma^\mu=\gamma^\mu P_R. Thus a chiral projector moves through a gamma matrix by changing chirality, not by commuting unchanged. With ϵ0123=+1\epsilon^{0123}=+1, our orientation gives

    tr⁡(γμγνγργσγ5)=−4iϵμνρσ.(7)\operatorname{tr}(\gamma^\mu\gamma^\nu\gamma^\rho\gamma^\sigma\gamma^5) =-4i\epsilon^{\mu\nu\rho\sigma}. \tag{7}

    This sign can be checked directly at (μ,ν,ρ,σ)=(0,1,2,3)(\mu,\nu,\rho,\sigma)=(0,1,2,3) before simplifying an axial amplitude.

    A loop calculation in Dreg=4−2ϵD_{\rm reg}=4-2\epsilon uses a different algebraic setting. For chains without γ5\gamma^5, one may formally continue the Clifford relation with gμμ=Dregg^\mu{}_{\mu}=D_{\rm reg} and declare tr⁡1=4\operatorname{tr}\mathbf1=4. The same anticommutation manipulations then give

    γμγαγμ=(2−Dreg)γα,γμγαγβγμ=4gαβ1+(Dreg−4)γαγβ.(8)\begin{aligned} \gamma^\mu\gamma^\alpha\gamma_\mu &=(2-D_{\rm reg})\gamma^\alpha,\\ \gamma^\mu\gamma^\alpha\gamma^\beta\gamma_\mu &=4g^{\alpha\beta}\mathbf1 +(D_{\rm reg}-4)\gamma^\alpha\gamma^\beta. \end{aligned} \tag{8}

    For the first identity, anticommute the leftmost gamma once and use γμγμ=Dreg1\gamma^\mu\gamma_\mu=D_{\rm reg}\mathbf1. For the second, anticommute through the first internal gamma and use the first identity on the remaining three-matrix contraction. No finite matrix representation at noninteger dimension has been assumed.

    The term proportional to Dreg−4D_{\rm reg}-4 is evanescent, but multiplying it by a 1/ϵ1/\epsilon ultraviolet pole leaves a finite contribution. Setting Dreg=4D_{\rm reg}=4 before the pole is combined with its numerator can therefore change the renormalized answer. A four-dimensional matrix calculation is a useful external-state or finite-algebra check, not a substitute for the regulated numerator.

    There is a further choice when axial currents occur. The four-dimensional definition of γ5\gamma^5, its anticommutation rules, and cyclic traces cannot simply be carried over without a prescription. Larin's discussion explicitly distinguishes the four-dimensional epsilon tensor from regulated gamma indices and explains the loss of naive anticommutation in the prescription he uses. We do not implement a dimensional γ5\gamma^5 algorithm here. Larin, §1, Eqs. (2)–(3), preprint p. 2 (PDF). See also dimensional regularization for the role of the regulator in a complete amplitude.

    A spin average with an independent spin-state calculation

    Consider distinguishable fermions a(p1)+b(p2)→a(p3)+b(p4)a(p_1)+b(p_2)\to a(p_3)+b(p_4), with masses ma,mbm_a,m_b and charges qa,qbq_a,q_b. All four physical momenta are future directed. Define

    s=(p1+p2)2,t=(p1−p3)2,u=(p1−p4)2,s+t+u=2(ma2+mb2).(9)s=(p_1+p_2)^2,\qquad t=(p_1-p_3)^2,\qquad u=(p_1-p_4)^2,\qquad s+t+u=2(m_a^2+m_b^2). \tag{9}

    With Dμ=∂μ−iqAμD_\mu=\partial_\mu-iqA_\mu, a fermion vertex is +iqγμ+iq\gamma^\mu. Combining two such vertices with the Feynman-gauge photon propagator gives

    M=qaqbt+i0[uˉa(p3)γμua(p1)][uˉb(p4)γμub(p2)].(10)\mathcal M=\frac{q_aq_b}{t+i0} [\bar u_a(p_3)\gamma^\mu u_a(p_1)] [\bar u_b(p_4)\gamma_\mu u_b(p_2)]. \tag{10}

    There is no identical-particle exchange graph for different species. The unpolarized result sums both outgoing spins and averages the four incoming spin states. The completeness relations are

    ∑sus(p)uˉs(p)=p̸+m,∑svs(p)vˉs(p)=p̸−m.(11)\sum_s u_s(p)\bar u_s(p)=\not p+m, \qquad \sum_s v_s(p)\bar v_s(p)=\not p-m. \tag{11}

    They follow by summing an orthonormal two-component spin basis in the plane-wave solutions; the normalization is uˉrus=2mδrs\bar u_r u_s=2m\delta_{rs}. Tong, Quantum Field Theory, §4.7.3.

    Using (3) and (11), define the spin numerator N\mathcal N by

    ∣M∣2‾=(qaqb)2t2N,N=14tr⁡[(̸p3+ma)γμ(̸p1+ma)γν]tr⁡[(̸p4+mb)γμ(̸p2+mb)γν].(12)\begin{aligned} \overline{|\mathcal M|^2}&=\frac{(q_aq_b)^2}{t^2}\mathcal N,\\ \mathcal N&=\frac14 \operatorname{tr}[(\not p_3+m_a)\gamma^\mu (\not p_1+m_a)\gamma^\nu] \operatorname{tr}[(\not p_4+m_b)\gamma_\mu (\not p_2+m_b)\gamma_\nu]. \end{aligned} \tag{12}

    The odd traces vanish. The first trace becomes

    4[p3μp1ν+p3νp1μ+(ma2−p3 ⁣⋅p1)ημν],(13)4[p_3^\mu p_1^\nu+p_3^\nu p_1^\mu +(m_a^2-p_3\!\cdot p_1)\eta^{\mu\nu}], \tag{13}

    with the analogous expression for the other line. Contracting the two tensors yields

    N=8[(p3 ⁣⋅p4)(p1 ⁣⋅p2)+(p3 ⁣⋅p2)(p1 ⁣⋅p4)−mb2(p3 ⁣⋅p1)−ma2(p4 ⁣⋅p2)+2ma2mb2].(14)\begin{aligned} \mathcal N=8\big[&(p_3\!\cdot p_4)(p_1\!\cdot p_2) +(p_3\!\cdot p_2)(p_1\!\cdot p_4)\\ &-m_b^2(p_3\!\cdot p_1)-m_a^2(p_4\!\cdot p_2) +2m_a^2m_b^2\big]. \end{aligned} \tag{14}

    For Δ=ma2+mb2\Delta=m_a^2+m_b^2, the required substitutions include p1 ⁣⋅p2=(s−Δ)/2p_1\!\cdot p_2=(s-\Delta)/2, p1 ⁣⋅p4=(Δ−u)/2p_1\!\cdot p_4=(\Delta-u)/2, and p1 ⁣⋅p3=ma2−t/2p_1\!\cdot p_3=m_a^2-t/2. Hence

    N=2[(s−Δ)2+(u−Δ)2+2tΔ].(15)\boxed{\mathcal N=2[(s-\Delta)^2+(u-\Delta)^2+2t\Delta].} \tag{15}

    The massless limit is 2(s2+u2)2(s^2+u^2). The numerator has mass dimension four, as needed to cancel the t2t^2 denominator. These are useful structural checks, but neither alone verifies the spin average.

    For an independent calculation, choose the Dirac representation and construct the two positive-energy spinors explicitly:

    us(p)=(E+m ξsσ ⁣⋅pE+mξs),ξ1=(10),ξ2=(01).(16)u_s(p)= \begin{pmatrix} \sqrt{E+m}\,\xi_s\\ \dfrac{\boldsymbol\sigma\!\cdot\mathbf p}{\sqrt{E+m}}\xi_s \end{pmatrix}, \qquad \xi_1=\begin{pmatrix}1\\0\end{pmatrix}, \quad \xi_2=\begin{pmatrix}0\\1\end{pmatrix}. \tag{16}

    Evaluating (10) for all sixteen incoming/outgoing spin assignments and averaging its absolute square gives the same N\mathcal N as (12) and (15). At ma=0.4m_a=0.4, mb=0.7m_b=0.7, center-of-mass momentum 0.90.9, and scattering cosine 0.20.2, the retained value is N=39.7291547412\mathcal N=39.7291547412 in the chosen mass units. The companion repeats the comparison at two massive angles and a massless point, both in the center-of-mass frame and after a boost with velocity (0.19,−0.23,0.11)(0.19,-0.23,0.11). The largest scaled discrepancy between explicit spin sums and matrix traces is below 9×10−169\times10^{-16}. These finite tests check the implementation; the algebraic derivation establishes (15) for general on-shell kinematics.

    Color completeness and a scattering factor

    Let TaT^a be the Hermitian generators of the defining representation of SU(N)SU(N):

    tr⁡Ta=0,tr⁡(TaTb)=12δab.(17)\operatorname{tr}T^a=0, \qquad \operatorname{tr}(T^aT^b)=\frac12\delta^{ab}. \tag{17}

    Spin and color indices live in different vector spaces. A vertex contains γμ⊗Ta\gamma^\mu\otimes T^a; an ordered sequence of generators remains ordered even after its spin trace has been simplified.

    The identity matrix together with the N2−1N^2-1 generators is a complete basis of complex N×NN\times N matrices. For any XX,

    X=tr⁡XN1+2∑atr⁡(TaX)Ta.(18)X=\frac{\operatorname{tr}X}{N}\mathbf1 +2\sum_a\operatorname{tr}(T^aX)T^a. \tag{18}

    Equating its matrix elements for arbitrary XX gives the fundamental Fierz identity,

    ∑aTijaTkla=12(δilδjk−1Nδijδkl).(19)\sum_a T^a_{ij}T^a_{kl} =\frac12\left(\delta_{il}\delta_{jk} -\frac1N\delta_{ij}\delta_{kl}\right). \tag{19}

    The subtraction removes the color-singlet identity matrix from the full matrix basis. This completeness derivation and normalization are given in Haber, §2, Eqs. (3)–(12), pp. 2–3 (PDF). In particular,

    ∑aTaTa=CF1,CF=N2−12N.(20)\sum_a T^aT^a=C_F\mathbf1, \qquad C_F=\frac{N^2-1}{2N}. \tag{20}

    One can obtain CFC_F by contracting (19), or by taking the trace of the Casimir relation. It is not interchangeable with the adjoint Casimir CA=NC_A=N or the trace normalization TF=1/2T_F=1/2.

    For one-gluon exchange between distinct quark flavors, let i,ji,j label incoming colors and k,lk,l outgoing colors. The color tensor is

    Ckl;ij=∑aTkiaTlja.(21)C_{kl;ij}=\sum_a T^a_{ki}T^a_{lj}. \tag{21}

    Averaging over the N2N^2 incoming colors and summing the final colors gives

    1N2∑i,j,k,l∣Ckl;ij∣2=1N2∑a,btr⁡(TaTb)2=N2−14N2.(22)\frac1{N^2}\sum_{i,j,k,l}|C_{kl;ij}|^2 =\frac1{N^2}\sum_{a,b}\operatorname{tr}(T^aT^b)^2 =\frac{N^2-1}{4N^2}. \tag{22}

    Thus the color- and spin-averaged distinct-flavor exchange result is (15) multiplied by gs4/t2g_s^4/t^2 and the factor (22). For N=3N=3, that factor is 2/92/9; including the factor two in (15) gives the familiar massless coefficient 4/94/9. Different color flows must be contracted before discarding their interference, as developed in color decomposition.

    Explicit generalized Gell-Mann matrices provide a separate finite-NN check. The companion constructs off-diagonal symmetric and antisymmetric matrices with entries 1/21/2, and normalized traceless diagonal matrices. It verifies every component of (19) for N=2,3,4N=2,3,4 and sums (21) directly:

    NNExact color averageOmitting the singlet subtraction
    20.1875000.250000
    30.2222220.250000
    40.2343750.250000

    The final column is a deliberate wrong calculation, retaining only δkjδli/2\delta_{kj}\delta_{li}/2 in (21). It overestimates the average by 1/(4N2)1/(4N^2). Agreement only at leading large NN would not establish the exact color factor.

    Reproducible reduction and its limits

    The companion directory examples/computational-qft/symbolic-computation/ contains dirac_color.py and dirac_color_checks.py; running the latter with --write regenerates dirac-color-results.json. It retains the spin-state comparisons, ordered slash traces, chiral projector and epsilon-sign checks, color sums, and deliberate wrong-order and missing-singlet controls. The explicit matrix kernel is four-dimensional. Its symbolic evanescent example does not extend that kernel to dimensional γ5\gamma^5 or prove a complete renormalization prescription.

    A useful calculation keeps assumptions attached to each stage: spacetime dimension when reducing gamma chains, the external-state normalization when taking spin sums, the representation when reducing color, and the regulator prescription when combining numerator algebra with divergent integrals. Only the final scalar coefficients can safely enter an ordinary commutative simplifier without this matrix structure.

    Summary

    Clifford reduction preserves order, while completeness turns spin sums into traces. The resulting invariant numerator can be checked against explicit spin states in several frames. Color reduction is a separate completeness problem whose singlet subtraction controls finite-NN effects. Four-dimensional matrix tests and regulated gamma identities answer different questions; an evanescent term can matter when it multiplies a pole.

    Exercises

    1. An evanescent numerator with a finite remainder

    Assume a formal Clifford algebra with Dreg=4−2ϵD_{\rm reg}=4-2\epsilon, without γ5\gamma^5. Evaluate

    Eαβ=1ϵ[γμγαγβγμ−4gαβ1].\mathcal E^{\alpha\beta}=\frac1\epsilon \left[\gamma^\mu\gamma^\alpha\gamma^\beta\gamma_\mu -4g^{\alpha\beta}\mathbf1\right].

    Then compute tr⁡(Eαβγβγα)\operatorname{tr}(\mathcal E^{\alpha\beta}\gamma_\beta\gamma_\alpha), with repeated indices regulated, through its finite limit. Explain the error from imposing a four-dimensional contraction at the beginning.

    Solution

    Equation (8) gives

    Eαβ=Dreg−4ϵγαγβ=−2γαγβ.\mathcal E^{\alpha\beta} =\frac{D_{\rm reg}-4}{\epsilon}\gamma^\alpha\gamma^\beta =-2\gamma^\alpha\gamma^\beta.

    The repeated adjacent pair γβγβ=Dreg1\gamma^\beta\gamma_\beta=D_{\rm reg}\mathbf1 then leaves

    tr⁡(Eαβγβγα)=−2Dregtr⁡(γαγα)=−8Dreg2⟶−128.\operatorname{tr}(\mathcal E^{\alpha\beta}\gamma_\beta\gamma_\alpha) =-2D_{\rm reg}\operatorname{tr}(\gamma^\alpha\gamma_\alpha) =-8D_{\rm reg}^2 \longrightarrow -128.

    Imposing the four-dimensional identity on the bracket first would set it to zero. That discards its order-ϵ\epsilon part before multiplication by the pole. This example illustrates a numerator mechanism; an actual loop amplitude must still specify its regularization, counterterms, and external-state scheme.

    2. Interference of two color flows

    For Ckl;ijC_{kl;ij} in (21), define the exchanged tensor C~kl;ij=Clk;ij\widetilde C_{kl;ij}=C_{lk;ij}. Find the normalized interference contraction

    IN=1N2∑i,j,k,lCkl;ijC~kl;ij ∗.\mathcal I_N=\frac1{N^2}\sum_{i,j,k,l}C_{kl;ij}\widetilde C_{kl;ij}^{\,*}.

    Use the result to compute the color sum of AC+BC~A C+B\widetilde C for arbitrary complex scalar coefficients A,BA,B. Does a negative IN\mathcal I_N mean the total probability can be negative?

    Solution

    Put Xkl;ij=δkjδliX_{kl;ij}=\delta_{kj}\delta_{li} and Ykl;ij=δkiδljY_{kl;ij}=\delta_{ki}\delta_{lj}. Fierz reduction gives C=(X−Y/N)/2C=(X-Y/N)/2 and C~=(Y−X/N)/2\widetilde C=(Y-X/N)/2. The unnormalized contractions are X ⁣⋅X=Y ⁣⋅Y=N2X\!\cdot X=Y\!\cdot Y=N^2 and X ⁣⋅Y=NX\!\cdot Y=N. Therefore

    IN=14N2[N−2N+1N]=−N2−14N3.\mathcal I_N=\frac1{4N^2}\left[N-2N+\frac1N\right] =-\frac{N^2-1}{4N^3}.

    Combining it with (22),

    1N2∑∣AC+BC~∣2=N2−14N2[∣A∣2+∣B∣2−2NRe⁡(AB∗)].\frac1{N^2}\sum|AC+B\widetilde C|^2 =\frac{N^2-1}{4N^2} \left[|A|^2+|B|^2-\frac2N\operatorname{Re}(AB^*)\right].

    The bracket is nonnegative: its two eigenvalues as a quadratic form are 1±1/N1\pm1/N. Interference can therefore lower the probability while preserving its nonnegativity. Relative fermion signs, if relevant to a specific process, belong in A,BA,B and must be included in addition to this color contraction.

    References

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.