- Home
- Library
- Mathematical Methods for Quantum Field Theory
- Variations, Constraints, and Quantization
- Variations, Functional Derivatives, and Boundaries
Variations, Functional Derivatives, and Boundaries
A field can satisfy its bulk equation and still fail to make the action stationary. At a movable endpoint, a boundary force remains. The mathematical question is therefore more precise than “differentiate the action”: on which space of fields is the action defined, which directions are allowed, and in which space should its derivative live?
We answer these questions for a scalar field fixed at one end of an interval and attached to a spring and an external drive at the other. The same calculation identifies the domain of its spatial operator and the boundary conditions on its linearized solutions. Those conditions will make the symplectic flux vanish in covariant phase space and Peierls brackets.
Preparation: boundary terms and variational principles supplies the elementary boundary-force interpretation; self-adjoint operators and domains explains why a differential expression alone is not an operator. We use the mostly-minus scalar convention.
A derivative needs a space of variations
For a functional on a normed space , its directional derivative at in direction is
A Fréchet derivative is a bounded linear functional satisfying the stronger remainder estimate
A directional derivative by itself need not have this uniform control. In the quadratic examples below the remainder is explicitly quadratic, so the distinction can be checked rather than assumed.
The notation often denotes a density representing after integration against . Such a density depends on the pairing and on the allowed variations. A derivative may be continuous on while having no representative. Boundary evaluation is the simplest example.
Let , , and . At a fixed time set
and define the quadratic form and potential energy
The endpoint trace is continuous on : the fundamental theorem of calculus and Cauchy–Schwarz give
Consequently is an element of for every , with
Its remainder is , bounded by a constant times . Thus this is a Fréchet derivative on even before any natural boundary equation is imposed.
For , integration by parts rewrites it as
The last term cannot be represented by an function unless its coefficient vanishes. It is a boundary trace functional. Writing only the bulk density loses part of the derivative whenever the right endpoint is free to vary.
The mixed boundary action
On a time slab , use
The prescribed drive is not varied. Impose the essential boundary condition . Initially take smooth histories and variations satisfying ; to derive stationary equations, also set at the initial and final times. The right endpoint value of is arbitrary. In particular, we do not impose a Robin condition on these off-shell variations before varying the action.
Differentiation before integrating by parts gives
Write . Keeping the time caps visible, the same derivative is
The signs follow directly from the negative spatial-gradient term. Interior variations imply the field equation; independently varying the right boundary then gives
Thus the boundary action supplies exactly the spring force and drive needed for the selected problem. If the right endpoint were also fixed, its variation would vanish and stationarity would not imply this Robin equation. Essential boundary data and natural boundary equations play different roles.
For the local bulk Lagrangian the corresponding spacetime identity is
The distinction between a bulk variation, boundary action and time-cap term is developed systematically in Harlow and Wu, §2.2, Eqs. (25)–(31). Their metric signature is opposite to ours; translating their scalar kinetic term gives the action above. Their general boundary analysis also permits corner contributions. Our simple boundary potential has no tangential derivatives and requires no such extra term.
From the energy form to an operator domain
For fluctuations at fixed , define the homogeneous spatial operator
The form domain is larger than this operator domain. To see how the latter arises, ask for those for which there exists such that
Testing first with compactly supported gives weakly, hence in one dimension. The remaining boundary term gives . This recovers precisely and .
For real smooth the Green identity is
Both endpoint terms vanish on the stated domain. This proves symmetry; self-adjointness needs the converse domain statement as well. If lies in the adjoint domain, interior test functions again imply . In the boundary form, and can be chosen independently among . Their coefficients force and . Thus the adjoint has the same domain. For complex functions, insert the complex conjugate on the first entry of the pairing.
The form is positive and closed. For example, gives
These inequalities make the form norm equivalent to the norm on and exclude a zero mode even at . The compact embedding of into then gives a discrete complete spatial eigenbasis. This positive spatial operator determines the wave evolution.
To see what the boundary term stores, return to the energy of an endpoint spring. There both ends carry springs. The outward derivatives have opposite signs at the two ends, and the energy in the springs accounts for the change in the bulk energy of a standing wave.
Second variation and linearized boundary data
Because the scalar model is quadratic, its Hessian is independent of the background. For variations with the essential and time-cap conditions,
This is a symmetric bilinear form on the allowed form directions. Integration by parts in the second argument gives
The differential expression representing the bulk Hessian is , not . The homogeneous Robin condition removes its right boundary term when passing to the corresponding operator domain.
A tangent vector to the space of solutions obeys more conditions than an arbitrary off-shell variation: differentiating both the field equation and the boundary equation at fixed yields
Such solution tangents need not vanish at initial and final times. Fixing those caps was useful for the stationary-action argument; it is not part of the covariant phase space. This distinction prevents us from accidentally discarding the initial-data degrees of freedom.
Worked example: a static drive and a normal mode
Set and let be constant. The stationary solution is linear:
For a fluctuation , the linear term in its shifted energy vanishes because satisfies the boundary equation. Explicitly,
The static configuration is therefore the unique minimum of this driven potential energy. Its negative value records the work convention implicit in the term ; the positive fluctuation form determines stability.
For any mass, write a separated fluctuation as , with proportional to . Its spatial boundary equation and time equation are
The first displayed equation has a spurious zero at if one forgets that itself then vanishes. The nonzero limiting solution is , and its boundary equation is , excluded here. Equivalently use the regular determinant
An explicit normalized mode is available at and :
Since , the Robin equation holds. This mode will turn the Peierls calculation into a completely specified forced oscillator. The companion examples/mathematical-methods/symplectic-methods/boundary-peierls.py checks the boundary variation, Hessian, energy completion and mode normalization symbolically.
Total derivatives and the chosen problem
Adding a total spatial derivative changes no interior Euler–Lagrange equation. It can nevertheless change the natural boundary equation. For constant , add
where the left contribution vanishes by the essential condition. Its variation is . Without a compensating boundary term, the Robin coefficient becomes .
If we instead subtract the same endpoint functional from the boundary action, the total action and variational problem are unchanged. If both endpoint values were fixed, the added functional would have zero variation on that restricted class, even though its numerical value need not vanish. These are different reasons for retaining the same stationary equations. The accounting of bulk and boundary terms in Harlow and Wu, §2.2, Eqs. (25)–(30) makes this distinction explicit.
Summary
A functional derivative belongs to the dual of a specified variation space. Integration by parts exposes whether it also has a bulk representative. In the mixed scalar problem, the endpoint potential produces the driven Robin equation; the homogeneous Robin condition then appears in the spatial operator domain and in solution tangents. The form Hessian is symmetric before imposing that operator domain, while its bulk differential expression carries the Lorentzian sign . These distinctions are exactly what the subsequent symplectic and Green-function constructions need.
Exercises
1. Why a boundary derivative is not an density. Construct with but . Use this to show that the functional has no representative.
Solution
For , take the piecewise linear function that vanishes on and equals on the remaining interval. It belongs to , has the required endpoint value, and
If for some , Cauchy–Schwarz would give
a contradiction as . There is no contradiction with continuity on : the derivatives of these functions have norm , so their norms do not tend to zero.
2. Energy supplied by the drive. For a smooth solution with time-dependent , differentiate the bulk-plus-spring energy. Compare it with the Hamiltonian that includes the source term .
Solution
Define
Use and integrate the spatial derivative once. The left contribution vanishes since . The right contribution is
Thus the endpoint drive supplies force times velocity. For ,
At constant , this source-inclusive Hamiltonian is conserved. A time-dependent prescribed drive can change energy while the solution tangents still obey homogeneous Robin data, because those tangents keep fixed.
3. The boundary can create an instability. Now allow negative , set , and keep the left Dirichlet condition. Locate the value where a zero mode appears. Show that gives a negative spatial eigenvalue and explain the corresponding time dependence.
Solution
A zero mode solves and , so . The right condition becomes . A nonzero mode therefore appears at .
For , use as a form-domain trial function:
The Robin form on a bounded interval remains closed and bounded below for each fixed real : the trace estimate absorbs any fixed negative boundary coefficient. Its self-adjoint operator has compact resolvent. The variational principle therefore gives at least one eigenvalue . The associated wave amplitude satisfies and contains a growing solution . Here the trial function proves a genuine negative mode; merely losing a convenient positive bound would not have sufficed.
References
- D. Harlow and J.-Q. Wu, Covariant phase space with boundaries, JHEP 10 (2020) 146, arXiv:1906.08616v4. See §2.2, Eqs. (25)–(37), for bulk, boundary and corner variations, and §3.2, Eqs. (73)–(83), for the scalar example. Their spacetime signature and symplectic-form sign are translated explicitly in this article and its Peierls continuation.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.