Skip to content

How many particles per unit length does a numerical solution of the thermal Bethe equations represent? For the repulsive Bose gas at fixed temperature and coupling, the answer can be calculated by counting occupied rapidity states or by varying the chemical potential in the pressure. At T=1,μ=1,c=2T=1,\mu=1,c=2 both routes give n=0.4727577252n=0.4727577252 in the units below. Checking the response at two opposite rapidities reveals an error that can survive this integrated test.

Required background. The thermal-equation calculation defines the Yang–Yang pseudoenergy and its integration grid. Particle and hole densities derives the number of allowed Bethe integers per rapidity interval.

On the infinite homogeneous line use ℏ=2m=kB=1\hbar=2m=k_{\rm B}=1, coupling c>0c>0, and T>0T>0. Let AA denote convolution by ac(q)=c/[π(c2+q2)]a_c(q)=c/[\pi(c^2+q^2)]. The thermal equation reads ϵ=k2−μ−AℓT(ϵ)\epsilon=k^2-\mu-A\ell_T(\epsilon), with ℓT(e)=Tlog⁡(1+exp⁡(−e/T))\ell_T(e)=T\log(1+\exp(-e/T)). Define the filling ϑ(k)=[1+exp⁡(ϵ(k)/T)]−1\vartheta(k)=[1+\exp(\epsilon(k)/T)]^{-1}. It obeys ℓT′=−ϑ\ell_T'=-\vartheta. Differentiating at fixed T,cT,c gives the linear problem

Z(k)=−∂μϵ(k),Z(k)=1+∫Rac(k−q)ϑ(q)Z(q) dq.Z(k)=-\partial_\mu\epsilon(k),\qquad Z(k)=1+\int_{\mathbb R}a_c(k-q)\vartheta(q)Z(q)\,dq .

The source is one because ∂μ(k2−μ)=−1\partial_\mu(k^2-\mu)=-1. A perturbation of the coupling would also differentiate the kernel. At a fixed positive temperature the pressure is smooth in μ\mu for this gas. Yang and Yang derive the local derivative and the integrated density response on p. 1117 and discuss analyticity on p. 1121. Yang and Yang, Eqs. (23)–(26) and Appendix D

The same equation occurs in a different calculation. The total density of allowed states satisfies ρt=1/(2π)+Aρp\rho_t=1/(2\pi)+A\rho_p and the occupied density is ρp=ϑρt\rho_p=\vartheta\rho_t. Thus 2πρt2\pi\rho_t and ZZ solve the same linear system. When the system is invertible this gives

n=∫Rρp(k) dk=12π∫Rϑ(k)Z(k) dk=∂p∂μ∣T,c.n=\int_{\mathbb R}\rho_p(k)\,dk =\frac{1}{2\pi}\int_{\mathbb R}\vartheta(k)Z(k)\,dk =\left.\frac{\partial p}{\partial\mu}\right|_{T,c}.

The last equality follows by differentiating p=∫ℓT(ϵ)dk/(2π)p=\int\ell_T(\epsilon)dk/(2\pi). A filling alone counts the fraction of occupied states. Its integral gives a density only after multiplying by the available density of levels, which depends on the interacting state.

On a quadrature grid define Kij=ac(ki−kj)K_{ij}=a_c(k_i-k_j), W=diag⁡(wi)W=\operatorname{diag}(w_i) and V=diag⁡(ϑi)V=\operatorname{diag}(\vartheta_i). Compute

(I−KWV)Z=1,n=12π∑iwiϑiZi.(I-KWV)Z=\mathbf 1,\qquad n=\frac{1}{2\pi}\sum_iw_i\vartheta_i Z_i .

Each column of KK is multiplied by the weight and filling at the integration node. Ordinary Gauss nodes have unequal weights. Row weighting uses the wrong integration measure. A code can also solve directly for ρp\rho_p by moving VV to the left of KWKW, but then the right side is V1/(2π)V\mathbf1/(2\pi). Solving that second system with source one gives the wrong observable.

With positive weights, ∥KWV∥∞<1\|KWV\|_\infty<1 is a sufficient condition for a unique discrete solution by a Neumann series. The defect of an approximate solution Z^\widehat Z in the linear equation bounds its sup-norm error by the defect divided by 1−∥KWV∥∞1-\|KWV\|_\infty. A direct linear solve at a fixed grid still inherits errors from the approximation of ϵ\epsilon, the cutoff, and the discretization. The impenetrable limit provides an exact operator check: K=0K=0 gives Z=1Z=1 and ρt=1/(2π)\rho_t=1/(2\pi).

A derivative that does not call the dressing solver

Section titled “A derivative that does not call the dressing solver”

Take T=1,μ=1,c=2T=1,\mu=1,c=2, B=8B=8 and 128 Gauss–Legendre nodes. Solve the nonlinear equation independently at μ+h\mu+h and μ−h\mu-h, with sup-norm residual below 10−1210^{-12}. Hold the nodes fixed to avoid differentiating a change of cutoff. Compute Dh=[p(μ+h)−p(μ−h)]/(2h)D_h=[p(\mu+h)-p(\mu-h)]/(2h) using only the two pressure values.

hhDhD_hDh−nD_h-n
10−210^{-2}0.4727591728971.45×10−61.45\times10^{-6}
10−310^{-3}0.4727577397031.45×10−81.45\times10^{-8}
10−410^{-4}0.4727577253721.43×10−101.43\times10^{-10}

The linear solve gives n=0.472757725228n=0.472757725228. The approximately hundredfold improvement for a tenfold reduction in hh is the expected centered-difference truncation error. Eventually each pressure’s numerical error is divided by hh and the convergence stops. A 256-node midpoint rule on the same interval gives the same density within 10−1110^{-11}. Dropping the factor ZZ from the density integral gives a discrepancy that persists as hh decreases at finite coupling and vanishes in the exactly free limit. Reproducible grid and derivative checks

Suppose a perturbation also couples to momentum. Change the driving term from k2−μk^2-\mu to k2−μ−h(1+ηk)k^2-\mu-h(1+\eta k), where hh has chemical-potential units and η\eta has inverse-rapidity units. The intended density derivative has η=0\eta=0. On the unperturbed state, set Yη=−∂hϵ∣h=0Y_\eta=-\partial_h\epsilon|_{h=0}. It solves the same dressing equation with source 1+ηk1+\eta k.

In this stationary, reflection-symmetric gas, ϑ\vartheta is even and the kernel depends only on the rapidity difference through its square. The dressing operation therefore preserves parity. By linearity, Yη=Z+ηkdrY_\eta=Z+\eta k^{\rm dr}, where kdrk^{\rm dr} is the odd solution obtained by dressing the source kk. Its contribution to ∫ϑYη dk/(2π)\int \vartheta Y_\eta\,dk/(2\pi) cancels between opposite rapidities. Consequently a pressure derivative at h=0h=0 returns exactly the same density for every η\eta. Mirrored quadrature nodes with paired weights preserve this cancellation.

For the 128-node state above, the positive node nearest k=1k=1 is k∗=1.07247360k_*=1.07247360. Solving for the local response at its two reflected nodes gives

Source of the derivativeYη(−k∗)Y_\eta(-k_*)Yη(k∗)Y_\eta(k_*)Integrated response
111.351415921.351415920.4727577252
1+0.5k1+0.5k0.782903671.919928170.4727577252

To check which perturbation a code actually applied, compare each local charge with −[ϵ+h(k)−ϵ−h(k)]/(2h)-[\epsilon_{+h}(k)-\epsilon_{-h}(k)]/(2h) on the same grid. Re-solving the two nonlinear equations at h=10−4h=10^{-4} reproduces both columns within 2×10−82\times10^{-8}. A density perturbation gives equal derivatives at the reflected points. Their splitting measures an admixture of momentum that the scalar pressure test misses. Run the local and integrated response checks (Python)

  • C. N. Yang and C. P. Yang, “Thermodynamics of a One-Dimensional System of Bosons with Repulsive Delta-Function Interaction,” Journal of Mathematical Physics 10 (1969), 1115–1122, Eqs. (16), (17), (23)–(26) and Appendix D. DOI