Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    At one instant, a wave is specified by its displacement and velocity at every point. Hamiltonian field theory replaces the velocity by a momentum density and turns the second-order wave equation into two first-order equations. The resulting Hamiltonian must reproduce both the field equation and the energy balance.

    We will do this for a scalar field, calculate the energy of a standing mode, and identify the assumption that fails in gauge theory.

    Preparation

    Use the scalar action from Actions and Euler–Lagrange Equations and the endpoint calculation in Boundary Terms in Field Theory. The fields are classical, smooth and real. Unless stated otherwise, space is periodic or the fields decay sufficiently rapidly that all displayed spatial surface terms vanish. The metric is mostly minus.

    Exchange the velocity for momentum

    For a density L(ϕ,ϕ˙,∇ϕ)\mathcal L(\phi,\dot\phi,\boldsymbol\nabla\phi), define

    π(t,x)=∂L∂ϕ˙(t,x).\pi(t,\mathbf x)=\frac{\partial\mathcal L}{\partial\dot\phi(t,\mathbf x)}.

    This is a density: the mechanical momentum associated with a small spatial cell is approximately its volume times π\pi. The action's time-cap variation is [∫dd−1x π δϕ]titf\left[\int\mathrm d^{d-1}x\,\pi\,\delta\phi\right]_{t_i}^{t_f}, identifying the conjugate pair.

    If the relation can be inverted for ϕ˙\dot\phi, the Legendre transform is

    H=πϕ˙−L,H[ϕ,π]=∫dd−1x H.\mathcal H=\pi\dot\phi-\mathcal L,\qquad H[\phi,\pi]=\int\mathrm d^{d-1}x\,\mathcal H.

    For several components, local invertibility requires a nonsingular velocity Hessian WAB=∂2L/∂ϕ˙A∂ϕ˙BW_{AB}=\partial^2\mathcal L/\partial\dot\phi^A\partial\dot\phi^B. It is a local condition, not a guarantee of global invertibility.

    Our scalar has

    L=12ϕ˙2−12∣∇ϕ∣2−V(ϕ).\mathcal L=\frac12\dot\phi^2-\frac12|\boldsymbol\nabla\phi|^2-V(\phi).

    Thus π=ϕ˙\pi=\dot\phi, W=1W=1, and

    H=12π2+12∣∇ϕ∣2+V(ϕ).\boxed{\mathcal H=\frac12\pi^2+\frac12|\boldsymbol\nabla\phi|^2+V(\phi).}

    For V=m2ϕ2/2+λϕ4/24V=m^2\phi^2/2+\lambda\phi^4/24 with m2,λ≥0m^2,\lambda\ge0, every term is nonnegative. This checks the spatial sign after the Legendre transform.

    Functional derivatives retain boundary terms

    A functional derivative is defined by the coefficient of a freely varied function under an integral. Varying HH gives

    δH=∫Σdd−1x [π δπ+∇ϕ⋅∇δϕ+V′δϕ]=∫Σdd−1x [π δπ+(−∇2ϕ+V′)δϕ]+∫∂ΣdA ∂nϕ δϕ.\begin{aligned} \delta H &=\int_\Sigma\mathrm d^{d-1}x\, \bigl[\pi\,\delta\pi+\boldsymbol\nabla\phi\cdot \boldsymbol\nabla\delta\phi+V'\delta\phi\bigr]\\ &=\int_\Sigma\mathrm d^{d-1}x\, \bigl[\pi\,\delta\pi+(-\boldsymbol\nabla^2\phi+V')\delta\phi\bigr]\\ &\quad+\int_{\partial\Sigma}\mathrm dA\,\partial_n\phi\,\delta\phi . \end{aligned}

    Under the stated periodic or falloff conditions the last term vanishes, so

    δHδπ=π,δHδϕ=−∇2ϕ+V′(ϕ).\frac{\delta H}{\delta\pi}=\pi,\qquad \frac{\delta H}{\delta\phi}=-\boldsymbol\nabla^2\phi+V'(\phi).

    For a wall, these expressions require compatible boundary data or a boundary Hamiltonian. For example, the Robin spring contributes 12∑bκbϕ(b)2\tfrac12\sum_b\kappa_b\phi(b)^2, and its variation combines with the surface term as ∑b(∂nϕ+κbϕ)δϕ\sum_b(\partial_n\phi+\kappa_b\phi)\delta\phi. It vanishes on the Robin phase space.

    Poisson brackets and Hamilton's equations

    At one fixed time define, for differentiable functionals,

    {F,G}=∫dd−1x (δFδϕδGδπ−δFδπδGδϕ).\{F,G\}=\int\mathrm d^{d-1}x\, \left( \frac{\delta F}{\delta\phi}\frac{\delta G}{\delta\pi} -\frac{\delta F}{\delta\pi}\frac{\delta G}{\delta\phi} \right).

    The elementary relations are distributional:

    {ϕ(t,x),π(t,y)}=δ(d−1)(x−y),{ϕ(t,x),ϕ(t,y)}={π(t,x),π(t,y)}=0.\begin{aligned} \{\phi(t,\mathbf x),\pi(t,\mathbf y)\} &=\delta^{(d-1)}(\mathbf x-\mathbf y),\\ \{\phi(t,\mathbf x),\phi(t,\mathbf y)\} &=\{\pi(t,\mathbf x),\pi(t,\mathbf y)\}=0. \end{aligned}

    For example, integrating the first relation against test functions f(x)g(y)f(\mathbf x)g(\mathbf y) gives the ordinary number ∫dd−1x fg\int\mathrm d^{d-1}x\,fg. These are classical brackets, not quantum commutators.

    Hamiltonian evolution is

    ϕ˙={ϕ,H}=δHδπ,π˙={π,H}=−δHδϕ.\dot\phi=\{\phi,H\}=\frac{\delta H}{\delta\pi},\qquad \dot\pi=\{\pi,H\}=-\frac{\delta H}{\delta\phi}.

    Using the derivatives above gives ϕ˙=π\dot\phi=\pi and π˙=∇2ϕ−V′\dot\pi=\boldsymbol\nabla^2\phi-V'. Eliminating π\pi yields

    ϕ¨−∇2ϕ+V′(ϕ)=0,\boxed{\ddot\phi-\boldsymbol\nabla^2\phi+V'(\phi)=0,}

    exactly the Euler–Lagrange equation. Initial data are the two functions ϕ(t0,x)\phi(t_0,\mathbf x) and π(t0,x)\pi(t_0,\mathbf x) with their boundary compatibility conditions. A canonical description organizes evolution; existence and uniqueness remain separate analytic questions.

    For an explicitly time-dependent functional, dF/dt=∂F/∂t+{F,H}\mathrm dF/\mathrm dt=\partial F/\partial t+\{F,H\}. Therefore an autonomous differentiable Hamiltonian obeys H˙={H,H}=0\dot H=\{H,H\}=0. Directly from the scalar equation one also finds

    dHdt=∫∂ΣdA ϕ˙ ∂nϕ.\frac{\mathrm dH}{\mathrm dt} =\int_{\partial\Sigma}\mathrm dA\,\dot\phi\,\partial_n\phi.

    The agreement relies on the same boundary assumptions. When a wall exchanges energy, a conserved bulk Hamiltonian must not be inferred from the formal bracket alone.

    Worked example: the energy of one standing mode

    Take a free scalar on a periodic interval of length LL:

    ϕ(t,x)=Acos⁡(kx)cos⁡(ωt),k=2πnL,n≥1,ω2=k2+m2.\phi(t,x)=A\cos(kx)\cos(\omega t),\qquad k=\frac{2\pi n}{L},\quad n\ge1,\quad \omega^2=k^2+m^2.

    Hamilton's first equation gives π=−Aωcos⁡(kx)sin⁡(ωt)\pi=-A\omega\cos(kx)\sin(\omega t). The second gives

    π˙=−ω2ϕ=ϕxx−m2ϕ,\dot\pi=-\omega^2\phi=\phi_{xx}-m^2\phi,

    so the mode solves both canonical equations. Since the spatial averages of sin⁡2(kx)\sin^2(kx) and cos⁡2(kx)\cos^2(kx) are 1/21/2,

    Ekinetic(t)=LA2ω24sin⁡2(ωt),Egradient+mass(t)=LA2(k2+m2)4cos⁡2(ωt),H=LA2ω24.\begin{aligned} E_{\rm kinetic}(t)&=\frac{LA^2\omega^2}{4}\sin^2(\omega t),\\ E_{\rm gradient+mass}(t)&=\frac{LA^2(k^2+m^2)}{4}\cos^2(\omega t),\\ H&=\frac{LA^2\omega^2}{4}. \end{aligned}

    Energy moves between the velocity and displacement terms while their sum stays fixed. The restriction n≥1n\ge1 matters: the constant mode has spatial average cos⁡2(0)=1\cos^2(0)=1, so its energy has a factor 1/21/2 instead of 1/41/4 when m>0m>0. At m=0m=0, its general solution is q0+v0tq_0+v_0t and its energy is Lv02/2Lv_0^2/2.

    Where ordinary inversion stops

    Maxwell theory provides an early warning. Its density −14FμνFμν-\tfrac14F_{\mu\nu}F^{\mu\nu} contains A˙i\dot A_i through F0i=A˙i−∂iA0F_{0i}=\dot A_i-\partial_iA_0, but no A˙0\dot A_0. Hence the momentum conjugate to A0A_0 vanishes and the velocity Hessian is singular. One cannot solve for every velocity as above.

    This signals a constraint problem. It does not by itself count physical polarizations or prove that every constraint is a gauge redundancy. We leave its resolution to the later gauge-field treatment.

    Summary

    The regular scalar momentum is π=ϕ˙\pi=\dot\phi, and its Hamiltonian generates precisely the original field equation. The standing-wave calculation verifies the energy normalization. Boundary terms determine whether that Hamiltonian is differentiable and conserved; a singular velocity Hessian requires a different analysis.

    Next, Noether's Theorem for Classical Fields derives conserved quantities from transformations of the action.

    Exercises

    1. Derive a smeared bracket. Set ϕ[f]=∫fϕ\phi[f]=\int f\phi and π[g]=∫gπ\pi[g]=\int g\pi. Calculate {ϕ[f],π[g]}\{\phi[f],\pi[g]\}.

    Solution

    Their nonzero functional derivatives are δϕ[f]/δϕ=f\delta\phi[f]/\delta\phi=f and δπ[g]/δπ=g\delta\pi[g]/\delta\pi=g. Inserting these into the definition gives {ϕ[f],π[g]}=∫fg\{\phi[f],\pi[g]\}=\int fg. The delta distribution in the elementary bracket is shorthand for this smeared identity.

    2. Keep the cell size. On a periodic one-dimensional lattice with spacing aa, let

    Ha=a∑j[12πj2+(ϕj+1−ϕj)22a2+V(ϕj)].H_a=a\sum_j\left[ \frac12\pi_j^2+\frac{(\phi_{j+1}-\phi_j)^2}{2a^2}+V(\phi_j) \right].

    The mechanical cell momentum is pj=aπjp_j=a\pi_j, with {ϕj,pk}=δjk\{\phi_j,p_k\}=\delta_{jk}. Derive the equations for ϕj\phi_j and πj\pi_j.

    Solution

    The density bracket is {ϕj,πk}=δjk/a\{\phi_j,\pi_k\}=\delta_{jk}/a. Each ϕj\phi_j enters the gradient energy in two neighboring bonds. Thus

    ϕ˙j=πj,π˙j=ϕj+1−2ϕj+ϕj−1a2−V′(ϕj).\dot\phi_j=\pi_j,\qquad \dot\pi_j=\frac{\phi_{j+1}-2\phi_j+\phi_{j-1}}{a^2}-V'(\phi_j).

    For the free potential the Fourier squared frequency is m2+4sin⁡2(ka/2)/a2m^2+4\sin^2(ka/2)/a^2, approaching m2+k2m^2+k^2 at fixed kk as a→0a\to0. Omitting 1/a1/a in the bracket would give the wrong time scale.

    3. Allow a changing mass. If V(t,ϕ)=m(t)2ϕ2/2V(t,\phi)=m(t)^2\phi^2/2, find H˙\dot H for periodic fields.

    Solution

    The bracket {H,H}\{H,H\} is still zero, but HH now has explicit time dependence. Therefore H˙=12∂t(m2)∫dd−1x ϕ2\dot H=\tfrac12\partial_t(m^2)\int\mathrm d^{d-1}x\,\phi^2. A time-dependent parameter can supply or remove energy.

    References

    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.