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.
The boundary decomposition in mechanics
Section titled “The boundary decomposition in mechanics”For a curve with Lagrangian , vary by . Before imposing endpoint conditions,
Writing and integrating the second term by parts gives the local identity
The coefficient of is the Euler–Lagrange expression; the endpoint form is . After integration over , fixed endpoints remove and arbitrary interior variations imply . 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 -form depending on fields and finitely many derivatives, repeated integration by parts yields
Here is the spacetime exterior derivative, while is the field-space exterior derivative. The -forms define the equations of motion ; is a spacetime -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.
Scalar-field calculation
Section titled “Scalar-field calculation”Take a real scalar on a fixed oriented Lorentzian spacetime with Lagrangian form
where is the metric volume form and the metric is not varied. Because the Hodge operator is fixed,
The product rule
then gives
Thus and one valid potential is . With the site signature, , so the bulk equation is . The result has also passed a component check: varying and integrating the ordinary divergence reproduces the same sign.
What boundary stationarity requires
Section titled “What boundary stationarity requires”On a region with boundary, Stokes’ theorem gives
For the scalar example, Dirichlet conditions set 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.
Nonuniqueness and limits
Section titled “Nonuniqueness and limits”The decomposition is not unique. If , then
is allowed, where is linear in the variation and has spacetime degree . 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.
Exercise: oscillator endpoints
Section titled “Exercise: oscillator endpoints”For , derive the bulk and endpoint pieces of . State two different ways to make the endpoint contribution vanish.
Solution
Direct variation and one integration by parts give
The bulk equation is . Dirichlet endpoint data impose . Alternatively, allowing free endpoint positions makes stationarity require the natural condition at each free endpoint. These are different variational problems with the same interior equation.