Skip to content

Euler-Lagrange Forms and Boundary Decomposition

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.

The first variation of a local action has two geometrically different parts. One multiplies arbitrary interior variations and therefore gives the Euler–Lagrange equations; the other is an exact spacetime form and records what reaches the boundary. Keeping both parts is essential: the same bulk equation can belong to inequivalent variational problems, while the boundary term later becomes the seed of the covariant presymplectic structure.

Required background. Exterior Algebra and Differential Forms supplies forms and graded products; the Exterior Derivative and Poincaré Lemma supplies exact forms, and the generalized Stokes theorem turns them into boundary terms. Tensor Fields and Natural Operations supplies smooth tensor fields and coordinate-independent tensor operations; this page defines their field-space variations.

Helpful background. Calculus and Linear Algebra supplies integration by parts and linearization; Variational Mechanics and Symmetries supplies endpoint variations and ordinary Euler–Lagrange equations.

For a curve qi(t)q^i(t) with Lagrangian L(q,q˙,t)L(q,\dot q,t), vary qiq^i by δqi\delta q^i. Before imposing endpoint conditions,

δL=∂L∂qiδqi+∂L∂q˙iddtδqi.\delta L =\frac{\partial L}{\partial q^i}\delta q^i +\frac{\partial L}{\partial\dot q^i}\frac{d}{dt}\delta q^i.

Writing pi=∂L/∂q˙ip_i=\partial L/\partial\dot q^i and integrating the second term by parts gives the local identity

δ(L dt)=(∂L∂qi−p˙i)δqi dt+d(piδqi).\delta(L\,dt) =\left(\frac{\partial L}{\partial q^i}-\dot p_i\right) \delta q^i\,dt+d(p_i\delta q^i).

The coefficient of δqi\delta q^i is the Euler–Lagrange expression; the endpoint form is Θ=piδqi\Theta=p_i\delta q^i. After integration over [t1,t2][t_1,t_2], fixed endpoints remove [piδqi]t1t2[p_i\delta q^i]_{t_1}^{t_2} and arbitrary interior variations imply p˙i=∂L/∂qi\dot p_i=\partial L/\partial q^i. If endpoints are not fixed, stationarity instead requires boundary conditions or an added boundary action. The bulk equation alone does not decide which choice is intended.

For a local Lagrangian nn-form L\mathbf L depending on fields ϕA\phi^A and finitely many derivatives, repeated integration by parts yields

δL=EA(ϕ) δϕA+dΘ(ϕ;δϕ).\boldsymbol\delta\mathbf L =\mathbf E_A(\phi)\,\boldsymbol\delta\phi^A+d\boldsymbol\Theta(\phi;\boldsymbol\delta\phi).

Here dd is the spacetime exterior derivative, while δ\boldsymbol\delta is the field-space exterior derivative. The nn-forms EAδϕA\mathbf E_A\boldsymbol\delta\phi^A define the equations of motion EA=0\mathbf E_A=0; Θ\boldsymbol\Theta is a spacetime (n−1)(n-1)-form and a field-space one-form. This standard covariant decomposition is stated, with degrees and ambiguities, in Iyer and Wald 1994, §3, Eq. (20), p. 6 of the preprint, PDF.

Take a real scalar on a fixed oriented Lorentzian spacetime with Lagrangian form

L=−12dϕ∧⋆dϕ−V(ϕ) ε,\mathbf L=-\frac12 d\phi\wedge\star d\phi-V(\phi)\,\varepsilon,

where ε\varepsilon is the metric volume form and the metric is not varied. Because the Hodge operator is fixed,

δL=−d(δϕ)∧⋆dϕ−V′(ϕ)δϕ ε.\boldsymbol\delta\mathbf L =-d(\boldsymbol\delta\phi)\wedge\star d\phi -V'(\phi)\boldsymbol\delta\phi\,\varepsilon.

The product rule

d(δϕ ⋆dϕ)=d(δϕ)∧⋆dϕ+δϕ d⋆dϕd(\boldsymbol\delta\phi\,\star d\phi) =d(\boldsymbol\delta\phi)\wedge\star d\phi +\boldsymbol\delta\phi\,d\star d\phi

then gives

δL=δϕ [d⋆dϕ−V′(ϕ)ε]+d[−δϕ ⋆dϕ].\boldsymbol\delta\mathbf L =\boldsymbol\delta\phi\,[d\star d\phi-V'(\phi)\varepsilon] +d[-\boldsymbol\delta\phi\,\star d\phi].

Thus E=d⋆dϕ−V′(ϕ)ε\mathbf E=d\star d\phi-V'(\phi)\varepsilon and one valid potential is Θ=−δϕ ⋆dϕ\boldsymbol\Theta=-\boldsymbol\delta\phi\,\star d\phi. With the site signature, d⋆dϕ=(□ϕ)εd\star d\phi=(\Box\phi)\varepsilon, so the bulk equation is □ϕ−V′(ϕ)=0\Box\phi-V'(\phi)=0. The result has also passed a component check: varying −−g gμν∂μϕ∂νϕ/2-\sqrt{-g}\,g^{\mu\nu}\partial_\mu\phi\partial_\nu\phi/2 and integrating the ordinary divergence reproduces the same sign.

On a region MM with boundary, Stokes’ theorem gives

δS=∫MEAδϕA+∫∂MΘ.\boldsymbol\delta S =\int_M\mathbf E_A\boldsymbol\delta\phi^A +\int_{\partial M}\boldsymbol\Theta.

For the scalar example, Dirichlet conditions set δϕ=0\boldsymbol\delta\phi=0 on the boundary. Neumann or mixed conditions require a different admissible variation space, often together with a boundary term chosen so that the remaining boundary variation vanishes. Which data may vary must be stated before declaring the action differentiable. Harlow and Wu emphasize this boundary-first formulation in Harlow and Wu 2020, §2.2, Eqs. (2.15)–(2.20), pp. 11–13.

Integration by parts is local, so corners require care: applying Stokes on adjacent boundary pieces can leave codimension-two contributions. Moving boundaries also contribute variations of the embedding, not merely of the fields. Neither issue changes the interior Euler–Lagrange form, but both can change the admissible boundary data and the potential.

The decomposition is not unique. If L↦L+dμ\mathbf L\mapsto\mathbf L+d\boldsymbol\mu, then

Θ↦Θ+δμ+dY\boldsymbol\Theta\mapsto \boldsymbol\Theta+\boldsymbol\delta\boldsymbol\mu+d\mathbf Y

is allowed, where Y\mathbf Y is linear in the variation and has spacetime degree n−2n-2. These terms do not alter the bulk Euler–Lagrange equations, but they can alter corner terms and later surface structures. One must therefore carry them rather than dismissing every exact term as physically irrelevant.

This page assumes local finite-order Lagrangians and smooth fields. Nonlocal actions, distributional configurations, and theories with unresolved functional domains need additional analysis. It also establishes only the geometric decomposition; it does not introduce the Einstein–Hilbert action, gravitational charges, or quantization.

For L=mq˙2/2−mω2q2/2L=m\dot q^2/2-m\omega^2q^2/2, derive the bulk and endpoint pieces of δS\delta S. State two different ways to make the endpoint contribution vanish.

Solution

Direct variation and one integration by parts give

δS=∫t1t2[−mq¨−mω2q]δq dt+[mq˙ δq]t1t2.\delta S=\int_{t_1}^{t_2}[-m\ddot q-m\omega^2q]\delta q\,dt +[m\dot q\,\delta q]_{t_1}^{t_2}.

The bulk equation is q¨+ω2q=0\ddot q+\omega^2q=0. Dirichlet endpoint data impose δq(t1)=δq(t2)=0\delta q(t_1)=\delta q(t_2)=0. Alternatively, allowing free endpoint positions makes stationarity require the natural condition p=mq˙=0p=m\dot q=0 at each free endpoint. These are different variational problems with the same interior equation.

  • Harlow, Daniel, and Jie-qiang Wu. “Covariant Phase Space with Boundaries.” Journal of High Energy Physics 10 (2020), 146. DOI; Open PDF.
  • Iyer, Vivek, and Robert M. Wald. “Some Properties of Noether Charge and a Proposal for Dynamical Black Hole Entropy.” Physical Review D 50 (1994): 846–864. DOI.