Skip to content

Classical Fields and Their Actions

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

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

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

An action principle produces two pieces at once: a differential equation in the interior and a term on the boundary. The interior equation is universal for a chosen Lagrangian density; the boundary term tells us which variations define the physical problem. An action therefore organizes the dynamics, but it does not silently choose initial values, wall data, or asymptotic behavior for us.

Required background. Special Relativity supplies Minkowski tensors and invariant contractions; Calculus and Linear Algebra supplies multivariable differentiation and integration by parts. Helpful background. Ordinary Differential Equations supplies initial- and boundary-value reasoning; Differential Forms and Integration supplies orientations and Stokes’s theorem.

Let ϕa(x)\phi^a(x) denote one or more real fields on a fixed spacetime region Ω\Omega. The label aa distinguishes field components; it is not a spacetime index. For a first-derivative local theory,

S[ϕ]=∫Ωd4x L ⁣(ϕa,∂μϕa,x).S[\phi] =\int_\Omega d^4x\, \mathcal L\!\left(\phi^a,\partial_\mu\phi^a,x\right).

An allowed variation is a one-parameter family ϕsa=ϕa+s δϕa\phi^a_s=\phi^a+s\,\delta\phi^a that obeys the chosen boundary restrictions. Differentiating at s=0s=0 gives

δS=∫Ωd4x[∂L∂ϕa δϕa+∂L∂(∂μϕa)∂μδϕa].\delta S =\int_\Omega d^4x\left[ \frac{\partial\mathcal L}{\partial\phi^a}\,\delta\phi^a +\frac{\partial\mathcal L}{\partial(\partial_\mu\phi^a)} \partial_\mu\delta\phi^a \right].

Define the field momentum density

πaμ≡∂L∂(∂μϕa).\pi_a{}^\mu \equiv \frac{\partial\mathcal L}{\partial(\partial_\mu\phi^a)}.

The product rule isolates the derivative of the variation:

πaμ∂μδϕa=∂μ ⁣(πaμδϕa)−(∂μπaμ)δϕa.\pi_a{}^\mu\partial_\mu\delta\phi^a =\partial_\mu\!\left(\pi_a{}^\mu\delta\phi^a\right) -\left(\partial_\mu\pi_a{}^\mu\right)\delta\phi^a.

Applying the divergence theorem only now—not before the surface term is visible—yields

δS=∫Ωd4x Ea δϕa+∫∂ΩdΣμ πaμδϕa,\boxed{ \delta S =\int_\Omega d^4x\, \mathcal E_a\,\delta\phi^a +\int_{\partial\Omega}d\Sigma_\mu\, \pi_a{}^\mu\delta\phi^a,}

where

Ea≡∂L∂ϕa−∂μπaμ.\mathcal E_a \equiv \frac{\partial\mathcal L}{\partial\phi^a} -\partial_\mu\pi_a{}^\mu.

Choose variations with compact support inside Ω\Omega. They vanish near the boundary, so stationarity for every such variation requires

∂μ[∂L∂(∂μϕa)]−∂L∂ϕa=0.\boxed{ \partial_\mu\left[ \frac{\partial\mathcal L}{\partial(\partial_\mu\phi^a)} \right] -\frac{\partial\mathcal L}{\partial\phi^a}=0.}

These are the Euler–Lagrange field equations. The same integration-by-parts calculation, with boundary variations set to zero from the outset, appears in Tong 2006–2007, §1.1, printed p. 8, PDF. Retaining the surface term makes the boundary choice explicit.

On a smooth non-null boundary, let nμn^\mu be the outward-directed unit normal and define ε=nμnμ=±1\varepsilon=n^\mu n_\mu=\pm1. With outward-normal-first boundary orientation,

dΣμ=εnμ dΣ.d\Sigma_\mu=\varepsilon n_\mu\,d\Sigma.

The pointwise boundary contribution is therefore

εnμπaμ δϕa.\varepsilon n_\mu\pi_a{}^\mu\,\delta\phi^a.

Three common variational problems are distinct:

Allowed boundary variationWhat makes the variation stationary?Usual name
Fix ϕa\phi^a on the boundary, so δϕa=0\delta\phi^a=0No extra condition on εnμπaμ\varepsilon n_\mu\pi_a{}^\mu followsDirichlet
Allow δϕa\delta\phi^a freely and add no boundary actionRequire εnμπaμ=0\varepsilon n_\mu\pi_a{}^\mu=0Natural or homogeneous Neumann
Allow δϕa\delta\phi^a and add a boundary functionalCombine its variation with εnμπaμδϕa\varepsilon n_\mu\pi_a{}^\mu\delta\phi^aMixed or Robin

For example, adding a quadratic boundary functional can turn a zero-normal-momentum condition into a linear relation between the field and its normal derivative. The relation is derived from the total action; it is not an extra equation appended afterward.

On a timelike wall ε=+1\varepsilon=+1; on a spacelike cap ε=−1\varepsilon=-1. For example, the future cap with future-directed unit normal has dΣ0=+d3xd\Sigma_0=+d^3x, as required by the divergence theorem. The table does not say that every geometric boundary should be treated alike. Initial and final spacelike slices encode a hyperbolic initial-value problem; a timelike wall controls what enters or leaves the region. A null boundary has a directed surface element but no unit normal. The causal character of each boundary component and the well-posedness of the differential equation must be checked separately.

On a timelike wall, or in an elliptic boundary-value problem, freely prescribing both ϕ\phi and its normal derivative on the same boundary component generally overdetermines the solution. A spacelike Cauchy surface is different: for a hyperbolic equation, the field and its normal derivative form initial data, subject to any constraints.

For a real scalar field, take

L=−12∂μϕ ∂μϕ−12m2ϕ2.\mathcal L =-\frac12\partial_\mu\phi\,\partial^\mu\phi -\frac12m^2\phi^2.

The inherited metric convention turns the kinetic term into

−12∂μϕ ∂μϕ=12(∂tϕ)2−12∣∇ϕ∣2,-\frac12\partial_\mu\phi\,\partial^\mu\phi =\frac12(\partial_t\phi)^2-\frac12\lvert\boldsymbol\nabla\phi\rvert^2,

so the time derivative has the sign needed for positive canonical energy. Here

πμ=−∂μϕ,∂L∂ϕ=−m2ϕ.\pi^\mu=-\partial^\mu\phi, \qquad \frac{\partial\mathcal L}{\partial\phi}=-m^2\phi.

Substitution into the general variation gives

δS=∫Ωd4x (□ϕ−m2ϕ)δϕ−∫∂ΩdΣμ ∂μϕ δϕ,\delta S =\int_\Omega d^4x\,(\Box\phi-m^2\phi)\delta\phi -\int_{\partial\Omega}d\Sigma_\mu\, \partial^\mu\phi\,\delta\phi,

with □=∂μ∂μ=−∂t2+∇2\Box=\partial_\mu\partial^\mu=-\partial_t^2+\nabla^2. Thus

(□−m2)ϕ=0(\Box-m^2)\phi=0

is equivalent to

∂t2ϕ−∇2ϕ+m2ϕ=0.\partial_t^2\phi-\nabla^2\phi+m^2\phi=0.

This component form is a useful sign check: a spatially uniform mode obeys ϕ¨+m2ϕ=0\ddot\phi+m^2\phi=0, not an exponentially unstable equation. On a timelike spatial wall, free boundary variations and no boundary action give nμ∂μϕ=0n^\mu\partial_\mu\phi=0; fixed boundary values instead give no such Neumann condition.

Electromagnetism follows the same variational logic, with an important complication: A0A_0 has no independent time-derivative kinetic term. Its equation is a constraint, and gauge-related potential variations do not label distinct physical configurations.

What an action does—and does not—determine

Section titled “What an action does—and does not—determine”

The action packages bulk dynamics, boundary response, symmetries, conserved currents, and metric response. It does not by itself select a unique solution. A solution also needs compatible initial, boundary, or asymptotic data.

Adding a total divergence leaves the interior Euler–Lagrange equation unchanged, but it can change the surface term and the canonical variables. “The Lagrangians differ by a total derivative” is therefore enough for the same local bulk equation, not automatically for the same boundary-value problem.

An equality obtained after imposing Ea=0\mathcal E_a=0 is on shell. The first-variation identity above is off shell: it holds for arbitrary sufficiently regular field configurations and variations. Keeping that distinction prevents equations of motion from being used circularly inside their own derivation.

Dropping the boundary term too early. Integration by parts does not erase a term; it moves it to ∂Ω\partial\Omega. State which variations or boundary functional make it vanish.

Varying ∂μϕ\partial_\mu\phi independently of ϕ\phi. For an ordinary field variation, δ(∂μϕ)=∂μδϕ\delta(\partial_\mu\phi)=\partial_\mu\delta\phi. Treating the two as unrelated changes the problem.

Confusing a boundary with initial data. A timelike wall, an initial spacelike slice, and a null hypersurface have different causal roles. A compact table of “Dirichlet versus Neumann” does not replace a well-posedness analysis.

For a static scalar field on 0≤x≤L0\leq x\leq L, let

S[ϕ]=12∫0L(ϕ′)2 dx.S[\phi]=\frac12\int_0^L(\phi')^2\,dx.

Fix ϕ(0)=0\phi(0)=0 but leave ϕ(L)\phi(L) free. Find the stationary field and its natural boundary condition.

Solution

Variation gives

δS=−∫0Lϕ′′δϕ dx+[ϕ′δϕ]0L.\delta S =-\int_0^L\phi''\delta\phi\,dx +\left[\phi'\delta\phi\right]_0^L.

Because δϕ(0)=0\delta\phi(0)=0 and δϕ(L)\delta\phi(L) is arbitrary, stationarity requires

ϕ′′=0,ϕ′(L)=0.\phi''=0, \qquad \phi'(L)=0.

The bulk solution is ϕ=ax+b\phi=ax+b. The fixed value gives b=0b=0, and the natural condition gives a=0a=0, so ϕ=0\phi=0. If ϕ(L)\phi(L) were fixed instead, δϕ(L)\delta\phi(L) would vanish and no Neumann condition would follow.

Keep ϕ(0)=0\phi(0)=0 and let

S[ϕ]=12∫0L(ϕ′)2 dx+κ2ϕ(L)2−hϕ(L),S[\phi] =\frac12\int_0^L(\phi')^2\,dx +\frac{\kappa}{2}\phi(L)^2-h\phi(L),

with ϕ(L)\phi(L) free. Derive the boundary condition and solve the stationary problem when 1+κL≠01+\kappa L\ne0.

Solution

The bulk variation is unchanged, while the endpoint coefficient becomes

[ϕ′(L)+κϕ(L)−h]δϕ(L).\left[\phi'(L)+\kappa\phi(L)-h\right]\delta\phi(L).

Therefore

ϕ′′=0,ϕ′(L)+κϕ(L)=h.\phi''=0, \qquad \phi'(L)+\kappa\phi(L)=h.

Writing ϕ=ax\phi=ax and applying the Robin condition gives

a(1+κL)=h,ϕ(x)=h1+κL x.a(1+\kappa L)=h, \qquad \boxed{\phi(x)=\frac{h}{1+\kappa L}\,x.}

The extra boundary functional changed the natural data without changing the bulk equation.

Next, Maxwell’s Equations in Covariant Form applies this structure to a gauge potential and separates evolution equations from constraints.

  • David Tong, Quantum Field Theory (PDF), §1.1 “The Dynamics of Fields,” printed p. 8, University of Cambridge Part III Mathematical Tripos lecture notes, Michaelmas Terms 2006 and 2007.