Now that we have some basic understanding of FeynCalc objects, let us
do something with them. Contractions of Lorentz indices are one of the
most essential operations in symbolic QFT calculations. In FeynCalc the
corresponding function is called Contract
[p, \[Mu]] MT[\[Mu], \[Nu]]
FV[%] Contract
\overline{p}^{\mu } \bar{g}^{\mu \nu }
\overline{p}^{\nu }
[p, \[Alpha]] FV[q, \[Alpha]]
FV[%] Contract
\overline{p}^{\alpha } \overline{q}^{\alpha }
\overline{p}\cdot \overline{q}
Notice that when we enter noncommutative objects, such as Dirac
matrices, we use Dot
(.
) and not
Times
(*
)
[p, \[Alpha]] MT[\[Beta], \[Gamma]] GA[\[Alpha]] . GA[\[Beta]] . GA[\[Gamma]]
FV[%] Contract
\overline{p}^{\alpha } \bar{\gamma }^{\alpha }.\bar{\gamma }^{\beta }.\bar{\gamma }^{\gamma } \bar{g}^{\beta \gamma }
\left(\bar{\gamma }\cdot \overline{p}\right).\bar{\gamma }^{\gamma }.\bar{\gamma }^{\gamma }
This is because Times
is commutative, so writing
something like
[\[Delta]] GA[\[Beta]] GA[\[Alpha]] GA
\bar{\gamma }^{\alpha } \bar{\gamma }^{\beta } \bar{\gamma }^{\delta }
will give you completely wrong results. It is also a very common beginner’s mistake!