Essential Mathematics for QFT
Mathematical foundations required for quantum field theory
Prefer it worked at the blackboard? XylyXylyX: QED Prerequisites
Seventy-eight lessons over the same ground and further — the Dirac formalism, Pauli matrices derived from scratch, Lorentz transformations and Thomas precession, least action, scattering, and Maxwell's equations rebuilt three times over in vector calculus, differential forms and geometric algebra.
Watch the seriesOverview
Quantum Field Theory is one of the most mathematically demanding subjects in physics. It combines special relativity, quantum mechanics, and advanced mathematics into a unified framework. This chapter provides a comprehensive review of the essential mathematical tools you'll need throughout this course.
⚠️ Important: Don't skip this section! Many students struggle with QFT not because of the physics, but because of gaps in the mathematical prerequisites. Take your time to master these foundations.
What You Should Know Before Starting
- Linear algebra: vectors, matrices, eigenvalues, diagonalization, inner products
- Calculus: multivariable calculus, vector calculus, Fourier analysis
- Complex analysis: analytic functions, contour integration, residues
- Differential equations: ODEs, PDEs, Green's functions
- Classical mechanics: Lagrangian and Hamiltonian formulations, Noether's theorem
- Quantum mechanics: Hilbert spaces, operators, commutators, path integrals
- Special relativity: 4-vectors, Lorentz transformations, invariants
What This Chapter Covers
- Special Relativity & Lorentz Covariance
- Tensor Analysis & Index Notation
- Calculus of Variations
- Complex Analysis for QFT
- Group Theory & Lie Algebras
- Clifford Algebra & Gamma Matrices
- Spinors & Their Properties
- Distributions & Delta Functions
📺 Recommended Introduction Videos
Mathematics of Quantum Field Theory (Physics with Elliot)
Video Lecture
Math of QFT - Physics with Elliot
💡 Tip: Watch at 1.25x or 1.5x speed for efficient learning. Use YouTube's subtitle feature if available.
Overview of the mathematical structures underlying QFT, including groups, representations, and spinors.
1. Special Relativity & Lorentz Covariance
Minkowski Spacetime
Spacetime is a 4-dimensional manifold with metric signature (+,-,-,-):
4-Vectors
Contravariant 4-vector: xμ = (t, x, y, z) or (x0, x1, x2, x3)
Covariant 4-vector: xμ = gμνxν = (t, -x, -y, -z)
Index Notation
- Greek indices (μ, ν, ...) run from 0 to 3 (spacetime)
- Latin indices (i, j, k) run from 1 to 3 (space only)
- Einstein summation: repeated indices are summed
- Raising/lowering: Aμ = gμνAν
Important 4-Vectors
Position:
4-Momentum:
4-Derivative:
Lorentz Invariants
Quantities unchanged under Lorentz transformations:
Lorentz Transformations
The Lorentz group consists of rotations and boosts. A boost along the x-axis with velocity v:
where $\beta = v/c$ and $\gamma = 1/\sqrt{1-\beta^2}$.
📺 Video Lectures: Special Relativity
4-Vectors & Index Notation (eigenchris)
Clear explanation of 4-vectors, contravariant/covariant indices, and the metric tensor.
Lorentz Transformations Visualized (ScienceClic)
Video Lecture
Lorentz Transformations - ScienceClic
💡 Tip: Watch at 1.25x or 1.5x speed for efficient learning. Use YouTube's subtitle feature if available.
Beautiful visualization of how Lorentz transformations work in spacetime diagrams.
2. Tensor Analysis
Tensor Basics
A tensor is a multilinear map. In component notation:
- Scalar (rank 0): φ
- Vector (rank 1): Vμ
- Rank 2: Tμν, Tμν, Tμν
- Rank n: Tμ₁...μₙ
Tensor Operations
Contraction:
Outer Product:
Symmetrization:
Antisymmetrization:
Important Tensors in QFT
- Metric tensor: gμν
- Field strength: Fμν = ∂μAν - ∂νAμ
- Energy-momentum tensor: Tμν
- Levi-Civita symbol: εμνρσ
3. Calculus of Variations
Action Principle
The dynamics of a system is determined by extremizing the action:
Euler-Lagrange Equations
For discrete systems (particles):
For continuous systems (fields):
Functional Derivatives
The functional derivative measures how a functional changes with variations of a function:
Key property:
4. Complex Analysis & Contour Integration
This section is longer than the others on purpose. Contour integration is the one piece of machinery that both this course and the 2026 Physics Nobel course lean on directly — propagators here, the Frank–Tamm formula there — and it is usually met once, quickly, and never properly. Everything below is derived. It is deliberately selective: three techniques, chosen because they are the three these courses actually use. For the subject in its own right the site has fuller treatments, listed at the end of this section.
4.1 Analytic functions
Write $z = x + iy$ and $f(z) = u(x,y) + i\,v(x,y)$. The derivative is defined as usual, but with a far stronger requirement: the limit must come out the same from every direction in the plane.
Approaching along the real axis ($\Delta z = \Delta x$) gives $f' = \partial_x u + i\,\partial_x v$; approaching along the imaginary axis ($\Delta z = i\Delta y$) gives $f' = -i\,\partial_y u + \partial_y v$. Equating real and imaginary parts gives the Cauchy–Riemann equations:
A function differentiable throughout a neighbourhood is called analyticthere. The condition is so restrictive that analytic functions are automatically infinitely differentiable, and are determined everywhere by their values on any small patch — the fact that makes analytic continuation possible at all.
4.2 Cauchy's theorem
If $f$ is analytic everywhere inside and on a closed contour $C$, then
The quickest route is Green's theorem. Writing $f\,dz = (u+iv)(dx + i\,dy)$ and separating,
Both integrands vanish identically by Cauchy–Riemann. The practical consequence is the one used constantly below: a contour may be deformed freely through any region where the function is analytic, without changing the integral. Only singularities pin it down.
4.3 Laurent series and residues
Near an isolated singularity $z_0$ a function has a Laurent expansion, a Taylor series extended to negative powers:
The coefficient $a_{-1}$ is the residue. It earns a name because of a single elementary integral: on a small circle about $z_0$, substituting $z - z_0 = \rho e^{i\theta}$ gives
Every term integrates to zero except one. For a simple pole the residue is $\mathrm{Res} = \lim_{z\to z_0}(z-z_0)f(z)$; for a pole of order $m$,
4.4 The residue theorem
Now the two previous subsections combine, and the derivation is three sentences. Deform $C$ into small circles around each enclosed singularity — legal by 4.2, since the function is analytic in between. On each circle expand in a Laurent series and integrate term by term. Only the $a_{-1}$ term survives:
That is the whole theorem. An integral around a closed loop does not care about the loop, only about which singularities it encircles — which is why it converts hard real integrals into arithmetic.
4.5 Worked example: a real integral by closing the contour
Take $\int_{-\infty}^{\infty} dx/(1+x^2)$, whose answer you already know from $\arctan$. Regard it as a complex integral and close the path with a large semicircle in the upper half-plane. On the arc of radius $R$ the integrand falls as $R^{-2}$ while the arc length grows as $R$, so that contribution vanishes as $R\to\infty$. The closed contour encircles only the pole at $z = i$, with residue $1/(2i)$:
The pattern generalises: choose a contour that contains the integral you want, make the rest vanish, and read off the residues. Which contour to choose is the only real skill.
4.6 A pole on the path — and what iε actually means
The case that matters most in physics is the awkward one: a pole sitting on the integration path itself, so the integral is not even defined. The cure is to indent the contour with a small semicircle of radius $\varepsilon$ and take $\varepsilon\to 0$. The straight parts give the Cauchy principal value; the semicircle gives half a residue, with a sign set by which way you go round:
This is the Sokhotski–Plemelj formula, and it is the entire content of the $i\epsilon$ prescription. Displacing a pole off the real axis is just a compact way of saying which side to indent — that is, which boundary condition you are imposing. In a propagator,
the choice of sign selects causal propagation: positive-energy solutions forward in time, negative-energy ones backward. It is not a regularisation trick, and nothing is being swept away — the two terms above are the principal value and a genuine delta function, and both have physical consequences.
Where this reappears. Exactly this indentation is the step the Frank–Tamm derivation needs. Cherenkov radiation comes from a pole in the photon propagator of a dielectric, and the causal prescription — giving the permittivity a small positive imaginary part, because a medium absorbs rather than amplifies — is what picks the contour and turns the pole into radiated energy.
4.7 Worked example: rotating the contour (the Fresnel integral)
Not every use involves a pole. Consider $\int_{-\infty}^{\infty} e^{iax^2}dx$ with $a>0$, which does not converge absolutely and cannot be done by any real substitution. The integrand is entire — no singularities at all — so by 4.2 the contour can be rotated freely. Put $z = e^{i\pi/4}u$, so that $iaz^2 = i a\, e^{i\pi/2} u^2 = -au^2$:
An oscillatory integral has become an ordinary Gaussian by turning the path through 45°. This single result is the origin of the factor $2\pi$ in the Landau–Zener formula, and of the phase conventions in every stationary-phase and path-integral calculation later in this course.
4.8 Analytic continuation and Wick rotation
Because an analytic function is fixed by its values on any patch, a function defined in one region has at most one analytic extension to a larger one. QFT exploits this constantly: rotating $t \to -i\tau$ turns the Minkowski metric into a Euclidean one, oscillatory path integrals into convergent ones, and $e^{iS}$ into $e^{-S_E}$.
The rotation is legitimate precisely when no singularity is crossed as the contour turns — which is the same deformation argument as 4.2, and the same one used in 4.7. The $i\epsilon$ prescription is what guarantees the poles sit in the two quadrants the rotation avoids.
Going further
- Complex analysis (Mathematics) — the subject on its own terms: holomorphy, Cauchy's integral formula, the maximum modulus principle
- Complex analysis (Mathematical Methods) — the same material aimed at physics, with Laurent series and the classification of singularities
- Contour integration — Cauchy proved from Green's theorem, plus semicircular, rectangular, sector and keyhole contours
- The residue theorem — higher-order poles, Jordan's lemma, and the Bromwich inversion integral
- Special functions — including the parabolic cylinder functions that solve the Landau–Zener problem exactly
📺 Video Lectures: Complex Analysis
Contour Integration & Residues (3Blue1Brown style)
Video Lecture
Contour Integration
💡 Tip: Watch at 1.25x or 1.5x speed for efficient learning. Use YouTube's subtitle feature if available.
Visual explanation of contour integration and the residue theorem.
Wick Rotation Explained (Physics with Elliot)
Why we rotate to imaginary time in QFT and what it means physically.
5. Group Theory & Lie Algebras
Groups
A group (G, ·) satisfies:
- Closure: g₁, g₂ ∈ G ⇒ g₁ · g₂ ∈ G
- Associativity: (g₁ · g₂) · g₃ = g₁ · (g₂ · g₃)
- Identity: ∃ e ∈ G such that e · g = g · e = g
- Inverse: ∀g ∈ G, ∃ g⁻¹ such that g · g⁻¹ = e
Important Groups in QFT
U(1): Electromagnetic gauge group
Phase transformations: ψ → eiαψ
SU(2): Weak isospin
2×2 unitary matrices with det = 1
SU(3): Color gauge group (QCD)
3×3 unitary matrices with det = 1
Lorentz group SO(1,3)
Spacetime symmetries
Poincaré group
Lorentz + translations
Lie Algebras
Infinitesimal generators Ta satisfy commutation relations:
where fabc are the structure constants.
Representations
A representation assigns matrices to group elements while preserving the group structure:
Key representations in QFT:
- Fundamental: Smallest non-trivial representation (quarks in SU(3))
- Adjoint: Dimension equals number of generators (gluons in SU(3))
- Spinor: Double cover representations (fermions under Lorentz)
📺 Video Lectures: Group Theory
Lie Groups & Lie Algebras (Michael Penn)
Video Lecture
Lie Groups - Michael Penn
💡 Tip: Watch at 1.25x or 1.5x speed for efficient learning. Use YouTube's subtitle feature if available.
Mathematical introduction to Lie groups and their associated Lie algebras.
SU(2) and SU(3) in Physics (Physics with Elliot)
How SU(2) and SU(3) appear in the Standard Model for weak and strong interactions.
6. Clifford Algebra & Gamma Matrices
Why This Matters: Clifford algebras are essential for describing fermions (electrons, quarks) in QFT. The gamma matrices generate the Clifford algebra and appear in the Dirac equation—the foundation of relativistic quantum mechanics for spin-1/2 particles.
Clifford Algebra Definition
A Clifford algebra $\text{Cl}(p,q)$ is generated by elements $\gamma^a$ satisfying the anticommutation relation:
For Minkowski spacetime with metric $g^{\mu\nu} = \text{diag}(+1,-1,-1,-1)$, this gives:
The Gamma Matrices
In 4D spacetime, the gamma matrices are 4×4 matrices. The most common representation is the Dirac (standard) representation:
$\gamma^0$ (timelike):
$\gamma^i$ (spacelike):
where $\sigma^i$ are the Pauli matrices:
The Fifth Gamma Matrix $\gamma^5$
Defined as the product of all four gamma matrices:
Key properties:
- $(\gamma^5)^2 = \mathbb{I}$
- $\{\gamma^5, \gamma^\mu\} = 0$ (anticommutes with all gamma matrices)
- $(\gamma^5)^\dagger = \gamma^5$ (Hermitian)
- Used to define chirality: left-handed $P_L = \frac{1-\gamma^5}{2}$, right-handed $P_R = \frac{1+\gamma^5}{2}$
Feynman Slash Notation
Contraction of a 4-vector with gamma matrices:
Common examples:
Important Identities
Trace identities:
Contraction identities:
The Dirac Equation
The gamma matrices appear in the Dirac equation for spin-1/2 particles:
📺 Video Lectures: Clifford Algebra & Spinors
Spinors for Beginners (eigenchris)
Excellent visual introduction to spinors, explaining what they are geometrically and why they arise in physics.
Dirac Equation & Gamma Matrices (Physics with Elliot)
Video Lecture
Dirac Equation - Physics with Elliot
💡 Tip: Watch at 1.25x or 1.5x speed for efficient learning. Use YouTube's subtitle feature if available.
Clear derivation of the Dirac equation and explanation of gamma matrix properties.
Clifford Algebras & Spin Groups (Michael Penn)
Mathematical introduction to Clifford algebras and their connection to spin groups.
7. Spinors
Why This Matters: Spinors are the mathematical objects that describe fermions. Unlike vectors, spinors transform under a double cover of the rotation group—they pick up a minus sign under 360° rotation, returning to themselves only after 720°.
What is a Spinor?
A spinor is a mathematical object that transforms under the spin group Spin(n), the double cover of SO(n). In QFT, we primarily encounter:
- Weyl spinors: 2-component spinors (massless fermions, definite chirality)
- Dirac spinors: 4-component spinors (massive fermions)
- Majorana spinors: Self-conjugate spinors (neutrinos?)
Dirac Spinor Structure
A Dirac spinor $\psi$ is a 4-component object that can be decomposed into two Weyl spinors:
where $\psi_L$ and $\psi_R$ are 2-component left-handed and right-handed Weyl spinors.
Dirac Adjoint
The Dirac adjoint is defined as:
This ensures Lorentz-invariant bilinears like $\bar{\psi}\psi$ (scalar) and $\bar{\psi}\gamma^\mu\psi$ (vector current).
Spinor Bilinears
The 16 independent bilinears formed from Dirac spinors:
Lorentz Transformation of Spinors
Under a Lorentz transformation $\Lambda$, a Dirac spinor transforms as:
where $S[\Lambda]$ is a 4×4 matrix representation of the Lorentz group. For infinitesimal transformations:
8. Distributions & Delta Functions
Dirac Delta Function
The Dirac delta δ(x) is a distribution satisfying:
Properties
- δ(x) = 0 for x ≠ 0
- ∫ δ(x) dx = 1
- δ(-x) = δ(x)
- δ(ax) = δ(x)/|a|
- xδ(x) = 0
4D Delta Function
Fourier Representation
Crucial for defining propagators and Green's functions in QFT.
Fourier Transforms in QFT
The Fourier transform converts between position and momentum space:
Green's Functions
A Green's function $G(x,y)$ satisfies:
where $\mathcal{D}$ is a differential operator. In QFT, the propagator is the Green's function of the equations of motion.
📺 Video Lectures: Fourier Analysis & Distributions
Fourier Transform Intuition (3Blue1Brown)
Video Lecture
Fourier Transform - 3Blue1Brown
💡 Tip: Watch at 1.25x or 1.5x speed for efficient learning. Use YouTube's subtitle feature if available.
Beautiful visual explanation of what the Fourier transform really does.
Green's Functions in Physics
How Green's functions are used to solve differential equations and their role in QFT.
Mathematical Toolkit Summary
- ✓ Special Relativity: 4-vectors, Lorentz invariance, Minkowski metric, boosts
- ✓ Tensor Analysis: Index notation, contraction, symmetrization, Levi-Civita
- ✓ Variational Calculus: Action principles, Euler-Lagrange equations, functional derivatives
- ✓ Complex Analysis: Contour integration, residues, analytic continuation, Wick rotation
- ✓ Group Theory: U(1), SU(N), Lorentz group, Poincaré group, Lie algebras
- ✓ Clifford Algebra: Gamma matrices, anticommutators, trace identities, slash notation
- ✓ Spinors: Dirac spinors, Weyl spinors, bilinears, Lorentz transformation
- ✓ Distributions: Delta functions, Fourier transforms, Green's functions
For deeper exploration of these topics, visit theMathematics sectionor thePrerequisite Videos.
📚 Recommended Textbooks
Mathematics
- • Arfken & Weber - Mathematical Methods for Physicists
- • Nakahara - Geometry, Topology and Physics
- • Gilmore - Lie Groups, Physics, and Geometry
QFT Prerequisites
- • Ryder - Quantum Field Theory (Ch. 1-2)
- • Peskin & Schroeder - QFT (Appendices)
- • Srednicki - QFT (Ch. 1-3)