Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Boundary Terms in Field Theory

    A wave can reflect from a fixed end or a free end. The bulk wave equation is the same, yet the reflected field and the allowed standing waves differ. The distinction is already present in the surface term of the action.

    We will vary a scalar field on a finite interval, compare fixed-value and fixed-normal-derivative problems, and then attach an endpoint spring. The spring gives a Robin condition and a boundary contribution to the conserved energy.

    Preparation

    Use the real scalar variation from Actions and Euler–Lagrange Equations. Work in 1+11+1 dimensions on ti≤t≤tft_i\le t\le t_f, 0≤x≤L0\le x\le L, with the mostly-minus metric. The field and variations are smooth. Variations vanish on the two time caps; their spatial endpoint behavior will be specified separately.

    The signs at the two ends

    Take

    S=∫titfdt∫0Ldx [12ϕ˙2−12ϕx2−V(ϕ)],S=\int_{t_i}^{t_f}\mathrm dt\int_0^L\mathrm dx\, \left[\frac12\dot\phi^2-\frac12\phi_x^2-V(\phi)\right],

    where ϕx=∂xϕ\phi_x=\partial_x\phi. Integrating the time and space terms by parts gives

    δS=−∫dt dx (ϕ¨−ϕxx+V′)δϕ+[∫0Ldx ϕ˙ δϕ]titf−∫titfdt [ϕx δϕ]0L.\begin{aligned} \delta S ={}&-\int\mathrm dt\,\mathrm dx\, (\ddot\phi-\phi_{xx}+V')\delta\phi\\ &+\left[\int_0^L\mathrm dx\,\dot\phi\,\delta\phi\right]_{t_i}^{t_f} -\int_{t_i}^{t_f}\mathrm dt\, \left[\phi_x\,\delta\phi\right]_0^L . \end{aligned}

    The time-cap term vanishes by assumption. Define the outward spatial derivative by

    ∂nϕ(0)=−ϕx(0),∂nϕ(L)=+ϕx(L).\partial_n\phi(0)=-\phi_x(0),\qquad \partial_n\phi(L)=+\phi_x(L).

    Thus the wall variation is

    δS∣wall=−∫dt∑b=0,L∂nϕ(b) δϕ(b).\boxed{\delta S\big|_{\rm wall} =-\int\mathrm dt\sum_{b=0,L} \partial_n\phi(b)\,\delta\phi(b).}

    The minus sign comes from the spatial kinetic term. The sum over the two ends includes their opposite outward normals; inserting a second orientation sign would be a mistake.

    Worked comparison: Dirichlet and Neumann

    Dirichlet data prescribe ϕ(t,0)=f0(t)\phi(t,0)=f_0(t) and ϕ(t,L)=fL(t)\phi(t,L)=f_L(t). The functions fbf_b are held fixed, so δϕ(t,b)=0\delta\phi(t,b)=0. The original action is stationary on solutions under these allowed variations.

    For natural homogeneous Neumann conditions, leave the endpoint values free and add no boundary action. The independent coefficients of δϕ(t,0)\delta\phi(t,0) and δϕ(t,L)\delta\phi(t,L) must vanish:

    ∂nϕ(t,0)=∂nϕ(t,L)=0.\partial_n\phi(t,0)=\partial_n\phi(t,L)=0.

    This is an equation obtained from free boundary variations, rather than a fixed-value restriction.

    Now suppose instead that the normal derivative is a prescribed, possibly nonzero function hb(t)h_b(t), and allowed configurations obey ∂nϕ(t,b)=hb(t)\partial_n\phi(t,b)=h_b(t). Then δ(∂nϕ)=0\delta(\partial_n\phi)=0 at the wall but δϕ\delta\phi need not vanish. The original action's wall variation generally survives. Use the boundary Legendre transform

    SN=S+∫dt∑b=0,Lϕ(b)∂nϕ(b).S_N=S+\int\mathrm dt\sum_{b=0,L}\phi(b)\partial_n\phi(b).

    Varying the entire expression gives

    δSN∣wall=∫dt∑b[−∂nϕ δϕ+∂nϕ δϕ+ϕ δ(∂nϕ)]=∫dt∑bϕ δ(∂nϕ)=0.\begin{aligned} \delta S_N\big|_{\rm wall} &=\int\mathrm dt\sum_b \left[-\partial_n\phi\,\delta\phi +\partial_n\phi\,\delta\phi +\phi\,\delta(\partial_n\phi)\right]\\ &=\int\mathrm dt\sum_b\phi\,\delta(\partial_n\phi)=0. \end{aligned}

    This fixed-flux action is therefore adapted to the prescribed Neumann data. It does not force hb=0h_b=0. An equivalent way to obtain the boundary equation, while allowing arbitrary endpoint variations, is to add ∫dt∑bhbϕ(b)\int\mathrm dt\sum_b h_b\phi(b) with fixed hbh_b; the coefficient is then hb−∂nϕh_b-\partial_n\phi. These are two descriptions of the specified boundary problem, with different off-shell spaces of allowed fields.

    The central distinction between Dirichlet and Neumann scalar systems is discussed in Harlow and Wu, §3.2. Their signature differs; the wall signs here follow from the displayed interval calculation.

    The boundary choice changes the modes

    For V=m2ϕ2/2V=m^2\phi^2/2, write ϕ(t,x)=q(t)u(x)\phi(t,x)=q(t)u(x) with −u′′=k2u-u''=k^2u. Then

    q¨+(k2+m2)q=0.\ddot q+(k^2+m^2)q=0.

    Homogeneous Dirichlet conditions give

    un(x)=sin⁡nπxL,ωn2=m2+n2π2L2,n=1,2,….u_n(x)=\sin\frac{n\pi x}{L},\qquad \omega_n^2=m^2+\frac{n^2\pi^2}{L^2}, \qquad n=1,2,\ldots .

    Homogeneous Neumann conditions give the same positive-nn frequencies but different shapes, un(x)=cos⁡(nπx/L)u_n(x)=\cos(n\pi x/L), and additionally the constant mode u0=1u_0=1, with ω0=m\omega_0=m. When m=0m=0, that mode obeys q¨0=0\ddot q_0=0 and can drift linearly in time; it is not an oscillator of positive frequency. Dirichlet data exclude it. The differential equation alone would not reveal this difference.

    Robin conditions and the energy of an endpoint spring

    Attach a quadratic boundary potential with fixed constants κ0,κL≥0\kappa_0,\kappa_L\ge0:

    SR=S−12∫dt∑bκbϕ(b)2.S_R=S-\frac12\int\mathrm dt\sum_b\kappa_b\phi(b)^2.

    The wall variation becomes

    δSR∣wall=−∫dt∑b(∂nϕ+κbϕ)δϕ.\delta S_R\big|_{\rm wall} =-\int\mathrm dt\sum_b \bigl(\partial_n\phi+\kappa_b\phi\bigr)\delta\phi .

    Free endpoint variations now give

    ∂nϕ+κbϕ=0.\boxed{\partial_n\phi+\kappa_b\phi=0.}

    This is the homogeneous Robin condition. For example, at x=0x=0 it is −ϕx(0)+κ0ϕ(0)=0-\phi_x(0)+\kappa_0\phi(0)=0, whereas at x=Lx=L it is ϕx(L)+κLϕ(L)=0\phi_x(L)+\kappa_L\phi(L)=0. The mass dimension [κb]=1[\kappa_b]=1 follows by comparing its term with ∂nϕ\partial_n\phi.

    The boundary potential can store energy. Define

    Ebulk=∫0Ldx [12ϕ˙2+12ϕx2+V(ϕ)].E_{\rm bulk}=\int_0^L\mathrm dx\, \left[\frac12\dot\phi^2+\frac12\phi_x^2+V(\phi)\right].

    For a time-independent VV, differentiate and use the bulk equation:

    dEbulkdt=∫0Ldx (ϕ˙ ϕxx+ϕxϕ˙x)=[ϕ˙ ϕx]0L=∑bϕ˙(b)∂nϕ(b)=−ddt[12∑bκbϕ(b)2].\begin{aligned} \frac{\mathrm dE_{\rm bulk}}{\mathrm dt} &=\int_0^L\mathrm dx\,(\dot\phi\,\phi_{xx}+\phi_x\dot\phi_x)\\ &=[\dot\phi\,\phi_x]_0^L =\sum_b\dot\phi(b)\partial_n\phi(b)\\ &=-\frac{\mathrm d}{\mathrm dt} \left[\frac12\sum_b\kappa_b\phi(b)^2\right]. \end{aligned}

    Therefore the conserved quantity is

    Etotal=Ebulk+12∑bκbϕ(b)2.E_{\rm total}=E_{\rm bulk} +\frac12\sum_b\kappa_b\phi(b)^2.

    The bulk energy alone can vary even though the total system is isolated. For a massless field with L=1L=1 and κ0=κL=π/2\kappa_0=\kappa_L=\pi/2, an exact example is

    ϕ(t,x)=Acos⁡ ⁣[π2(x−12)]cos⁡πt2.\phi(t,x)=A\cos\!\left[\frac{\pi}{2}\left(x-\frac12\right)\right] \cos\frac{\pi t}{2}.

    At either endpoint ∂nϕ=−κbϕ\partial_n\phi=-\kappa_b\phi. Integrating −u′′=k2u-u''=k^2u against uu gives

    ∫0L(u′)2 dx+∑bκbu(b)2=k2∫0Lu2 dx.\int_0^L(u')^2\,\mathrm dx+\sum_b\kappa_bu(b)^2 =k^2\int_0^L u^2\,\mathrm dx.

    Hence Etotal=12A2k2∫u2 dxE_{\rm total}=\tfrac12A^2k^2\int u^2\,\mathrm dx is constant for k=π/2k=\pi/2, while the endpoint energy oscillates. This directly checks the Robin sign.

    The operator domain selected by a boundary energy gives the mathematical continuation of this spring calculation.

    What the variational calculation establishes

    A differentiable action has a surface variation compatible with its stated boundary data. This is not a proof that the associated evolution problem has a unique, stable solution. In particular, fixing both ϕ\phi and ∂nϕ\partial_n\phi arbitrarily at each wall can overdetermine a second-order spatial problem. Initial data must also satisfy the boundary conditions and their compatibility requirements.

    Time-dependent prescribed endpoints can do work on the field.

    Summary

    Boundary data decide which variations are allowed; a boundary action can change the variable held fixed or the natural boundary equation. On the interval, retaining both endpoint signs distinguishes fixed values, fixed normal derivatives and endpoint springs. Hamiltonian Field Theory uses the same boundary control to define functional derivatives.

    Exercises

    1. Drive the wall. Add ∫dt∑bjb(t)ϕ(b)\int\mathrm dt\sum_b j_b(t)\phi(b) to SRS_R. Find the boundary equation and the energy balance for constant κb\kappa_b.

    Solution

    The boundary coefficient is −∂nϕ−κbϕ+jb-\partial_n\phi-\kappa_b\phi+j_b, giving ∂nϕ+κbϕ=jb\partial_n\phi+\kappa_b\phi=j_b. Repeating the energy calculation gives E˙total=∑bjbϕ˙(b)\dot E_{\rm total}=\sum_b j_b\dot\phi(b). The prescribed source does work; no conserved bulk-plus-spring energy is implied when this power is nonzero.

    2. One fixed and one free end. For the free scalar, impose u(0)=0u(0)=0 and u′(L)=0u'(L)=0. Find the positive wave numbers.

    Solution

    The first condition gives u=Asin⁡kxu=A\sin kx. The second requires Akcos⁡kL=0Ak\cos kL=0, hence k=(n+12)π/Lk=(n+\tfrac12)\pi/L for n=0,1,…n=0,1,\ldots. The k=0k=0 solution is u=a+bxu=a+bx; the two boundary conditions set both coefficients to zero. There is no nontrivial zero mode.

    3. Fixed does not mean energetically closed. If Dirichlet data are time independent, show that the wall energy flux vanishes. What changes when they depend on time?

    Solution

    Time-independent endpoint values imply ϕ˙(b)=0\dot\phi(b)=0, so E˙bulk=∑bϕ˙ ∂nϕ=0\dot E_{\rm bulk}=\sum_b\dot\phi\,\partial_n\phi=0. For prescribed fb(t)f_b(t) the variation still obeys δϕ(b)=0\delta\phi(b)=0, but the solution obeys ϕ˙(b)=f˙b(t)\dot\phi(b)=\dot f_b(t), which need not vanish. The bulk can exchange energy with the apparatus enforcing the boundary data.

    References

    • Harlow, Daniel, and Jie-qiang Wu. “Covariant Phase Space with Boundaries.” JHEP 2020 (10), 146. §§1, 2.2 and 3.2; DOI. The variational framework is broader than the elementary fixed-wall calculation used here.

    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.