Lagrangian and Hamiltonian Field Theory
The preliminaries introduce classical fields, the Lagrangian density, and the Euler–Lagrange equations in compact form. This page develops that material in full: the action principle for fields, the passage to the canonical (Hamiltonian) formulation, functional derivatives, and the counting of degrees of freedom. It is the classical groundwork on which canonical quantization is built, and its symmetry content is developed on the companion page Symmetries, Noether's Theorem and Currents.
Conventions follow the rest of the QFT section: natural units and the mostly-minus metric .
From particles to fields
Classical mechanics describes a finite set of generalized coordinates evolving in time. A classical field theory is the continuum limit: the discrete index is replaced by a continuous spatial label , and the dynamical variable becomes a field defined at every point of spacetime.
| Mechanics | Field theory |
|---|---|
| Discrete index | Continuous label |
| Coordinate | Field value |
| Velocity | (all four derivatives) |
| Lagrangian | Lagrangian |
| Action | Action |
The crucial feature of the relativistic case is that space and time must enter on an equal footing. The Lagrangian of mechanics singles out the time derivative; a Lorentz-invariant field theory instead builds everything from the Lagrangian density , a local Lorentz scalar depending on the field and all its spacetime derivatives symmetrically.
The action principle for fields (Postulate — specializes QFT Postulate 9)
A field theory is specified by a Lagrangian density , a local function of the fields and their first derivatives (the label runs over all fields and their internal/Lorentz components):
The action is its spacetime integral over a region :
That the action is the integral of a local Lagrangian density built from fields and their first derivatives at a single spacetime point is exactly the content of QFT Postulate 9. Restricting to first derivatives keeps the field equations second-order (Ostrogradsky's theorem shows higher-derivative Lagrangians generically carry ghost instabilities); locality and Lorentz invariance of are what deliver microcausality and Poincaré covariance in the quantum theory.
Hamilton's principle. The physical field configuration is a stationary point of under variations that vanish on the boundary :
The Euler–Lagrange equations
Vary the action and expand to first order:
Since variation commutes with differentiation, . Integrate the second term by parts:
The total-derivative term integrates to a boundary contribution over , which vanishes because there. What remains is
For to vanish for arbitrary interior variations , the bracket must vanish pointwise. This gives the Euler–Lagrange equations of motion, one for each field component:
These are the field-theory analogue of , with the single time derivative promoted to the four-divergence .
Worked example: the free scalar field
For the free real scalar Lagrangian (derived and motivated in preliminaries § Worked example),
the two pieces of the Euler–Lagrange equation are
so that , the Klein–Gordon equation . This is the classical field equation that the free scalar field will be quantized around.
Functional derivatives
It is often cleaner to phrase the variation in terms of the functional derivative , defined by
Comparing with the variation above, the Euler–Lagrange equation is simply the statement that the functional derivative of the action vanishes:
The basic functional-derivative identity, which recurs throughout the path-integral formulation, is
The Dirac delta here is the continuum analogue of the Kronecker that would appear in in mechanics.
The Hamiltonian (canonical) formulation
Passing to the Hamiltonian picture is the essential preparatory step for canonical quantization, where equal-time (anti)commutation relations are imposed on a field and its conjugate momentum.
Conjugate momentum
The momentum density conjugate to singles out the time derivative (this is the step that breaks manifest Lorentz covariance — the price of the Hamiltonian formulation):
This matches the definition quoted in preliminaries § Canonical Structure.
Hamiltonian density
The Hamiltonian density is the Legendre transform of with respect to :
with expressed in terms of . The total Hamiltonian is , and it is (for a theory with no explicit time dependence) the conserved energy — the component of the energy–momentum tensor derived on the Noether page.
Worked example: scalar field Hamiltonian
For (expanding in the mostly-minus metric), the conjugate momentum is
and the Hamiltonian density is
Every term is manifestly non-negative — the classical energy is bounded below, which is exactly the property that the quantum spectrum condition will promote to positivity of .
Poisson brackets
The classical Poisson bracket of two functionals of the fields and momenta is
The fundamental equal-time brackets are
and Hamilton's equations take the form , . Canonical quantization is the rule (Dirac's prescription), turning the first bracket into the equal-time commutator that opens the scalar-field construction. For half-integer spin the bracket is instead replaced by an anticommutator, as forced by spin–statistics; see the Dirac field.
Counting degrees of freedom
A recurring bookkeeping question is how many independent field degrees of freedom (dof) a Lagrangian carries — this controls the number of physical particle polarizations after quantization.
| Field | Components | Constraints / gauge | Physical dof (massive) | Physical dof (massless) |
|---|---|---|---|---|
| Real scalar | 1 | — | 1 | 1 |
| Complex scalar | 2 | — | 2 | 2 |
| Dirac spinor | 4 (complex) | Dirac eq. (1st order) halves them | 4 | 4 (2 particle + 2 antiparticle) |
| Vector | 4 | / gauge | 3 | 2 |
The mismatch between the number of Lagrangian components and the number of physical polarizations is what forces the careful treatment of constraints in the vector field — and, in the non-abelian case, the Faddeev–Popov machinery.
Where this leads
- Symmetries of the action → conserved currents and charges, and the energy–momentum tensor: Symmetries, Noether's Theorem and Currents.
- Canonical quantization of the fields built here: the free scalar field, the Dirac field, the vector field.
- The alternative, path-integral route that takes the same action as input without passing through the Hamiltonian: the generating functional.
References
- Peskin & Schroeder, An Introduction to Quantum Field Theory, Ch. 2.1–2.2.
- Weinberg, The Quantum Theory of Fields, Vol. 1, Ch. 7.
- Goldstein, Poole & Safko, Classical Mechanics, Ch. 13 (classical field theory).