Skip to content

A conserved total can hide the mechanism by which its density moves. A continuity equation exposes that mechanism and makes boundary exchange visible. We derive energy balance for a chain with unequal masses and couplings, then for a string with spatially varying tension. Changing how two sites share a spring changes the instantaneous current by a time derivative. The endpoint term predicts exactly how much their recorded transfers differ at finite time.

Required background. Apply Hamilton’s equations using the Hamiltonian bridge, and differentiate smooth functions and integrals of a field.

Helpful background. Symmetries and conserved generators explains the origin of a conserved total. Local and quasilocal charges treats operator-valued densities and their spatial support.

For a lattice density ej(t)e_j(t), let Jj(t)J_j(t) denote current across the bond from jj to j+1j+1, positive to the right. The source-free balance is

e˙j=Jj−1−Jj.\dot e_j=J_{j-1}-J_j.

The rate of change equals inflow minus outflow. Summing over sites a,…,ba,\ldots,b telescopes:

ddt∑j=abej=Ja−1−Jb.\frac{d}{dt}\sum_{j=a}^b e_j=J_{a-1}-J_b.

A periodic sum has matching endpoint currents and is conserved. An open subsystem exchanges energy with its neighbors. With a local injection term sjs_j, the right side of the local equation acquires sjs_j and the integrated balance acquires ∑sj\sum s_j. A source should not be hidden by naming it a boundary current.

For quantum lattice systems the same language applies to operator continuity equations and finite-range densities; the norm-dependent distinction between local and quasilocal operators is developed in Ilievski et al. 2016, § 2.1, pp. 6–8, PDF. The mechanical and field examples below are direct derivations, with no integrability assumption.

Let N≥3N\geq3 particles form a periodic chain. Coordinates qjq_j are displacements with units of length, pjp_j are momenta, masses mj>0m_j\gt0, and spring constants kj>0k_j\gt0. Subscripts are periodic. Take time-independent parameters and

H=∑j=1N[pj22mj+Vj],Vj=kj2(qj+1−qj)2.H=\sum_{j=1}^{N}\left[\frac{p_j^2}{2m_j}+V_j\right], \qquad V_j=\frac{k_j}{2}(q_{j+1}-q_j)^2.

Define velocity vj=pj/mjv_j=p_j/m_j and signed spring force

Fj=kj(qj+1−qj).F_j=k_j(q_{j+1}-q_j).

The force of bond jj on its left particle is +Fj+F_j; on its right particle it is −Fj-F_j. Hamilton’s equations give

q˙j=vj,p˙j=Fj−Fj−1.\dot q_j=v_j,\qquad \dot p_j=F_j-F_{j-1}.

Assign the entire bond energy VjV_j to its left site, so ej=pj2/(2mj)+Vje_j=p_j^2/(2m_j)+V_j. This is a convention for local bookkeeping, not a change in HH. Its derivative is

e˙j=vj(Fj−Fj−1)+Fj(vj+1−vj)=Fjvj+1−Fj−1vj.\begin{aligned} \dot e_j &=v_j(F_j-F_{j-1})+F_j(v_{j+1}-v_j)\\ &=F_jv_{j+1}-F_{j-1}v_j. \end{aligned}

Hence the right-oriented current for this density is

Jj=−Fjvj+1.J_j=-F_jv_{j+1}.

The sign is fixed by the balance equation. If a stretched bond has Fj>0F_j\gt0 while its right particle moves right, that particle increases the bond’s energy. Because the entire bond energy was assigned to the left site, this transfer is negative rightward current. Units check: force times velocity is energy per time.

No cancellation required equal masses or equal springs. Inhomogeneity changes the numerical forces and velocities, while the local conservation identity survives. Local energy conservation therefore does not itself establish nonlinear integrability.

For an isolated open chain keep only V1,…,VN−1V_1,\ldots,V_{N-1}, set F0=FN=0F_0=F_N=0, and assign eN=pN2/(2mN)e_N=p_N^2/(2m_N). The missing external currents are J0=JN=0J_0=J_N=0, so the same telescoping argument proves conservation of the full energy.

For a proper segment a,…,ba,\ldots,b inside either chain, its assigned energy changes by Ja−1−JbJ_{a-1}-J_b. This is not a failure of conservation: the segment is an open subsystem. If an external force fj(t)f_j(t) acts on site jj, the local equation becomes

e˙j=Jj−1−Jj+fjvj.\dot e_j=J_{j-1}-J_j+f_jv_j.

The added term is the mechanical power delivered there. If kjk_j itself depends on time, there is additionally k˙j(qj+1−qj)2/2\dot k_j(q_{j+1}-q_j)^2/2 in the derivative of VjV_j. A derivation assuming fixed coefficients cannot be reused unchanged for driven springs.

Let qj(t)q_j(t) be a density on a periodic NN-site chain and let jj(t)j_j(t) be current oriented from site jj to j+1j+1. Suppose

q˙j=jj−1−jj.\dot q_j=j_{j-1}-j_j.

The quantities can be classical functions or quantum Heisenberg operators; the following calculation uses only linearity of differentiation. Choose periodic quantities bj(t)b_j(t) with the same units as qjq_j and define

qj′=qj+bj−bj−1.q'_j=q_j+b_j-b_{j-1}.

The full sums agree because the added terms telescope. Differentiate the new density:

q˙j′=jj−1−jj+b˙j−b˙j−1=(jj−1−b˙j−1)−(jj−b˙j).\begin{aligned} \dot q'_j &=j_{j-1}-j_j+\dot b_j-\dot b_{j-1}\\ &=(j_{j-1}-\dot b_{j-1})-(j_j-\dot b_j). \end{aligned}

Thus a compatible improved current is

jj′=jj−b˙j.j'_j=j_j-\dot b_j.

The minus sign follows from the chosen spatial difference and rightward orientation. Using a plus sign would generally violate the new continuity equation. This freedom concerns representatives of a conserved charge; locality is an additional restriction on the allowed representatives. The operator-space setting for local densities and extensive charges is described in Ilievski et al. 2016, § 2.1, pp. 6–8, PDF. We derive the boundary and current consequences here.

Continuity also permits adding a spatially constant c(t)c(t) to every current, because it cancels between neighboring bonds. Therefore a density derivative does not by itself specify an absolute circulating current on a ring. The microscopic definition of transfer, or a chosen boundary convention on an interval, supplies that extra information.

Endpoints distinguish a total charge from a subsystem charge

Section titled “Endpoints distinguish a total charge from a subsystem charge”

For the segment a,…,ba,\ldots,b,

Q[a,b]′−Q[a,b]=bb−ba−1.Q'_{[a,b]}-Q_{[a,b]}=b_b-b_{a-1}.

The right side is not generally zero. Its derivative agrees with the change in the endpoint fluxes:

Q˙[a,b]′=ja−1′−jb′=ja−1−jb+b˙b−b˙a−1.\begin{aligned} \dot Q'_{[a,b]}&=j'_{a-1}-j'_b\\ &=j_{a-1}-j_b+\dot b_b-\dot b_{a-1}. \end{aligned}

Thus both descriptions conserve the same quantity on a ring, while assigning different stored charge to a finite segment. One must change both the stored amount and the boundary current together.

For a full open chain, equality of charges requires bN=b0b_N=b_0 or an explicitly included boundary correction. It does not follow simply because the added density is a difference. On an infinite chain, convergence and behavior at infinity must also be stated. If bjb_j is unbounded with system size, even an apparent endpoint term may affect the thermodynamic density.

Locality restricts the freedom further. If bjb_j has uniformly bounded support, its difference is another local density. An arbitrary nonlocal bjb_j can disguise spatially extended information inside a formally telescoping expression. Equality of total sums does not prove equivalent locality bounds.

Return to the same inhomogeneous chain. Write Kj=pj2/(2mj)K_j=p_j^2/(2m_j). Sharing bond jj between its two ends replaces the left-assigned ej=Kj+Vje_j=K_j+V_j with

hj=Kj+12(Vj−1+Vj).h_j=K_j+\frac12(V_{j-1}+V_j).

These are related by the improvement bj=−Vj/2b_j=-V_j/2:

hj=ej+bj−bj−1.h_j=e_j+b_j-b_{j-1}.

Since the couplings are fixed,

V˙j=Fj(vj+1−vj).\dot V_j=F_j(v_{j+1}-v_j).

The improved current is consequently

Jjsym=Jj+12V˙j=−12Fj(vj+vj+1).\begin{aligned} J^{\mathrm{sym}}_j &=J_j+\frac12\dot V_j\\ &=-\frac12F_j(v_j+v_{j+1}). \end{aligned}

This familiar symmetric expression is not a different force law. It accompanies a different assignment of stored bond energy. Each pair satisfies its own exact local balance, and their full periodic Hamiltonians are identical.

For an isolated open chain, take V0=VN=0V_0=V_N=0. Then b0=bN=0b_0=b_N=0 and the full energies still agree. For an interior segment, the difference is (Va−1−Vb)/2(V_{a-1}-V_b)/2: half of each crossing bond is reassigned. That endpoint difference is precisely what one expects from the two definitions of subsystem energy.

Time-integrated transport and its qualification

Section titled “Time-integrated transport and its qualification”

Across one bond, integrate the improvement relation from 00 to TT:

∫0TJj′(t) dt=∫0TJj(t) dt−[bj(T)−bj(0)].\int_0^T J'_j(t)\,dt =\int_0^T J_j(t)\,dt-[b_j(T)-b_j(0)].

For a trajectory with uniformly bounded bj(t)b_j(t), the difference of time-averaged currents tends to zero as T→∞T\to\infty. This conclusion needs the bound. If bjb_j grows linearly in time, the average can change. In quantum mechanics the same statement applies to expectation values if those endpoint expectations divided by TT vanish; finite-dimensional bounded operators at fixed size are a simple sufficient setting.

At finite observation time, the endpoint correction remains and should not be discarded. Equality of infinite-time averages also does not, by itself, prove equality of every current correlation or noise statistic in a joint time-and-volume limit.

On a fixed interval [a,b][a,b], let u(x,t)u(x,t) be a smooth transverse displacement. Let ρ(x)>0\rho(x)\gt0 be mass per length and T(x)>0T(x)\gt0 tension, both time independent and sufficiently smooth. The linear field equation is

ρ(x)utt=∂x ⁣(T(x)ux).\rho(x)u_{tt}=\partial_x\!\left(T(x)u_x\right).

The energy density and rightward energy flux are

E=12ρut2+12Tux2,j=−Tutux.\mathcal E=\frac12\rho u_t^2+\frac12T u_x^2, \qquad j=-T u_tu_x.

Here E\mathcal E has units of energy per length and jj has units of energy per time. Differentiating and using the equation gives

∂tE=ut∂x(Tux)+Tux∂xut=∂x(Tutux)=−∂xj.\begin{aligned} \partial_t\mathcal E &=u_t\partial_x(Tu_x)+Tu_x\partial_xu_t\\ &=\partial_x(Tu_tu_x)=-\partial_xj. \end{aligned}

The product derivative includes T′(x)T'(x). Replacing the equation by ρutt=Tuxx\rho u_{tt}=T u_{xx} when tension varies would instead leave the spurious residual

∂tE+∂xj=−T′(x)utux.\partial_t\mathcal E+\partial_xj=-T'(x)u_tu_x.

This term vanishes accidentally for constant tension and can therefore escape a constant-coefficient test. A variable-coefficient example is the stronger check.

For the correct equation,

ddt∫abE dx=j(a,t)−j(b,t).\frac{d}{dt}\int_a^b\mathcal E\,dx =j(a,t)-j(b,t).

At a fixed endpoint uu is time independent and ut=0u_t=0, so flux vanishes. At a free endpoint Tux=0Tu_x=0, it also vanishes. Periodic fields and coefficients give equal endpoint fluxes. A driven endpoint generally supplies or removes energy. All are solutions of the same bulk equation with different global energy balances.

For constant T,ρT,\rho and a right-moving wave u=f(x−ct)u=f(x-ct) with c=T/ρc=\sqrt{T/\rho}, the flux is j=Tc(f′)2≥0j=Tc(f')^2\geq0. This independent propagation check confirms the chosen sign.

Measure the energy stored at a moving endpoint

Section titled “Measure the energy stored at a moving endpoint”

Keep the left end fixed and attach the right end to a transverse mass MM and a spring of stiffness KK, with an external driving force f(t)f(t). In the linear string model let y(t)=u(b,t)y(t)=u(b,t). Tension pulls the endpoint toward the string, so its transverse force there is −T(b)ux(b,t)-T(b)u_x(b,t). Newton’s equation and the stored endpoint energy are

My¨=−T(b)ux(b,t)−Ky+f(t),Eend=12My˙2+12Ky2.\begin{aligned} M\ddot y&=-T(b)u_x(b,t)-Ky+f(t),\\ E_{\rm end}&=\tfrac12 M\dot y^2+\tfrac12 Ky^2 . \end{aligned}

Multiplying the equation by y˙\dot y gives E˙end=j(b,t)+fy˙\dot E_{\rm end}=j(b,t)+f\dot y. The bulk energy changes by −j(b,t)-j(b,t) because the left flux vanishes. Thus the combined string and endpoint gain precisely the power delivered by the drive. A nonzero measured power flowing out of the string can be stored reversibly at its endpoint.

For example, in consistent units take M=2M=2, K=3K=3, y=1y=1, y˙=2\dot y=2, T(b)ux(b)=−4T(b)u_x(b)=-4 and f=1f=1 at one instant. The endpoint acceleration is one, the outgoing flux is eight and the stored endpoint energy increases at rate ten. The difference of two is the supplied power. Omitting the endpoint degree of freedom would make this reversible storage look like energy loss from the whole apparatus. Morin, ch. 4, §4.1, Eq. (2), and §4.4, Eq. (52), transverse force and string power, author PDF

Suppose smooth fields on a fixed interval obey

∂tρ+∂xj=0.\partial_t\rho+\partial_xj=0.

For a smooth scalar b(x,t)b(x,t), define

ρ′=ρ+∂xb,j′=j−∂tb.\rho'=\rho+\partial_xb, \qquad j'=j-\partial_tb.

Commutation of mixed derivatives immediately gives ∂tρ′+∂xj′=0\partial_t\rho'+\partial_xj'=0. If ρ\rho is charge per length, bb has units of charge and jj charge per time. The integrated charges differ by

Q[xL,xR]′−Q[xL,xR]=b(xR,t)−b(xL,t).Q'_{[x_L,x_R]}-Q_{[x_L,x_R]}=b(x_R,t)-b(x_L,t).

Periodicity or vanishing endpoint difference gives equality, while other boundary conditions require keeping this term.

These identities concern regular functions or distributions for which the derivatives and boundary traces make sense. Singular improvements can introduce delta-function boundary densities and cannot be treated as ordinary smooth rearrangements. The field-bracket article explains the related role of boundary terms in functional differentiation.

At an instant, take Fj−1=2F_{j-1}=2, Fj=−3F_j=-3, vj=4v_j=4, vj+1=−1v_{j+1}=-1 in consistent units. Compute both e˙j\dot e_j from the differentiated energy and Jj−1−JjJ_{j-1}-J_j.

Solution

The kinetic contribution is 4(−3−2)=−204(-3-2)=-20 and the bond contribution is (−3)(−1−4)=15(-3)(-1-4)=15, giving e˙j=−5\dot e_j=-5. The currents are Jj−1=−8J_{j-1}=-8 and Jj=−3J_j=-3, whose difference is also −5-5. Changing the sign of both currents would fail the balance.

2. A nonuniform coefficient exposes a missing derivative

Section titled “2. A nonuniform coefficient exposes a missing derivative”

Use dimensionless x∈[0,1]x\in[0,1], ρ=1\rho=1, T=1+xT=1+x, and instantaneous data u=xu=x, ut=xu_t=x. What acceleration does the correct equation require? What local residual would the incorrect equation utt=Tuxxu_{tt}=T u_{xx} give?

Solution

The correct acceleration is (Tux)x=1(Tu_x)_x=1. The incorrect equation gives zero acceleration and residual −T′utux=−x-T'u_tu_x=-x. These instantaneous interior data admit compatible driven boundary values.

Replace the string equation by ρutt=(Tux)x−γ(x)ut\rho u_{tt}=(Tu_x)_x-\gamma(x)u_t, with γ≥0\gamma\geq0. Derive the global balance for zero boundary flux.

Solution

The bulk sink is −γut2-\gamma u_t^2 at each point. Integrating the local balance with zero net boundary flux gives

dEdt=−∫abγut2 dx≤0.\frac{dE}{dt}=-\int_a^b\gamma u_t^2\,dx\leq0 .

The dissipation persists even for an isolated string.

Let qj=0q_j=0, jj=0j_j=0, and choose bj(t)=tajb_j(t)=t a_j on a periodic chain. Verify the improved balance. Would jj′=+ajj'_j=+a_j work?

Solution

qj′=t(aj−aj−1)q'_j=t(a_j-a_{j-1}), so q˙j′=aj−aj−1\dot q'_j=a_j-a_{j-1}. The correct current jj′=−ajj'_j=-a_j gives exactly this inflow minus outflow. The opposite sign fails unless all aja_j are equal.

In the harmonic example, Vj(T)−Vj(0)=6V_j(T)-V_j(0)=6 in energy units. By how much does the symmetric convention’s integrated current exceed the left-assigned convention’s current?

Solution

The difference is [Vj(T)−Vj(0)]/2=3[V_j(T)-V_j(0)]/2=3. This is the change in the half-bond storage assigned across the boundary. It need not vanish at finite time even though full-chain energies agree.

On [0,L][0,L], improve a density by ∂xb\partial_x b with b(x,t)=a(t)xb(x,t)=a(t)x. What happens to the total charge and flux difference?

Solution

The charge increases by a(t)La(t)L. The current changes by −a˙(t)x-\dot a(t)x, so inflow minus outflow increases by a˙(t)L\dot a(t)L, exactly its derivative. If aa is time independent, both charges are conserved but differ by a constant; conservation alone does not make them identical.

The independent checks derive the energy derivative from the inhomogeneous Hamiltonian, then test both assignments of spring energy and their boundary currents. Reversed currents and an omitted tension derivative are rejected. See the run instructions for dependencies and the scope of each check.

  • Ilievski, Enej, Marko Medenjak, Tomaž Prosen, and Lenart Zadnik. “Quasilocal charges in integrable lattice systems.” Journal of Statistical Mechanics: Theory and Experiment (2016), 064008. DOI. Author version arXiv:1603.00440v2. Open PDF.
  • David Morin. “Transverse Waves on a String,” ch. 4 of his Waves manuscript, Harvard University. Author PDF.