Solving the repulsive-gas thermal equation
At temperature , chemical potential and repulsive coupling , the homogeneous one-dimensional Bose gas has pressure in units with . Obtaining the last digits requires resolving the rapidities that carry the pressure. A small residual on a coarse grid can give several wrong digits. This example measures that effect, then cools the gas until a grid adequate for the warm state misses the Fermi edges.
Required background. Use the measure and cutoff conventions in Mapping and truncating the integration domain. The equilibrium derivation from root counting is in Dressed energies and TBA equations.
The thermal equation and its observable
Section titled “The thermal equation and its observable”Take the thermodynamic limit of a periodic gas with contact interaction , . Write and . The grand-canonical pseudoenergy and pressure obey
Here and have dimensions of inverse length, of inverse length squared, and of inverse length cubed. The factor in the pressure is the bare density of levels. The same factor has already been included in . Yang and Yang use for and for pressure in Eqs. (16), (25)–(27). Original thermodynamic Bethe ansatz
Iteration on a finite rapidity interval
Section titled “Iteration on a finite rapidity interval”On choose nodes and positive integration weights in rapidity units. Form . Beginning from , iteratively replace by . Evaluate the logarithm with a stable log-sum-exp routine, and stop at an iterate for which is small. Use that same iterate in the pressure.
There is a simple diagnostic for the stopping tolerance. Since , if then is a contraction in the sup norm. Subtract the fixed-point equation and use the triangle inequality to obtain
These bounds apply to the finite grid on which was measured. For the row norm is . A residual below makes the iteration error in pressure smaller than on that grid. At fixed the exact row mass is largest at the center, where it is . Test the actual discrete row sums. Very coarse quadrature can oversample a narrow diagonal kernel.
Three independent refinements
Section titled “Three independent refinements”All entries below use Gauss–Legendre quadrature and binary64 arithmetic at . The residual is measured in pseudoenergy units. The final row is a reference for the comparison.
| Nodes | Stopping tolerance | Pressure | Sup residual | |
|---|---|---|---|---|
| 3 | 64 | 0.59517463525 | ||
| 4 | 64 | 0.59519810268 | ||
| 6 | 16 | 0.59393173103 | ||
| 6 | 32 | 0.59519087007 | ||
| 6 | 64 | 0.59519778898 | ||
| 6 | 64 | 0.59519811740 | ||
| 8 | 128 | 0.59519811736 |
At the same 64 nodes and strict tolerance, extending to changes the pressure by . At fixed , going from 16 to 32 nodes changes it by despite comparable residuals. At 64 nodes the effect of the looser stopping threshold is . A composite midpoint rule at with 256 nodes recovers the last row within . Refinement agreement measures sensitivity over these tests. A continuum error bound would additionally control the omitted tails and quadrature remainder.
Two tests in different physical regimes
Section titled “Two tests in different physical regimes”In the impenetrable limit at fixed , the kernel contribution on the thermally occupied region vanishes. The normalized Lorentzian still integrates to one over the full line for every finite . Its mass escapes that region. Setting gives , and integrating its thermal logarithm gives
Indeed for fugacity , expand the logarithm and use term by term. The real Fermi integral continues the expression to . At , independent adaptive integration gives . This tests the pressure normalization without using the nonlinear kernel. The interacting value is larger at the same chemical potential.
Next keep and lower to . The pressure on 32, 64, 128, 256 and 512 Gauss nodes is respectively , , , and . Near a simple zero of the pseudoenergy the occupation changes over . The last-digit accuracy of the warm grid gives little information about whether the cold grid resolves this interval. Check a response as well. On 64 cold nodes the density is , compared with on 512. Linear dressing and response derivatives
Run the companion with Python, NumPy and SciPy to reproduce the table, the zero-kernel control and the cold-grid comparison. It separately recomputes pressure at perturbed chemical potentials. Thermal-gas calculation
Put the cold nodes at the edges
Section titled “Put the cold nodes at the edges”To compare grid rules at fixed cost, split at , and . Put one quarter of the nodes in each panel between and , and one eighth in each of the other four. Apply Gauss integration within each panel. This targets the two occupation edges for , , . A new state needs its edges located again. Besides the integrated pressure and density, evaluate the dressed unit charge at by substituting the nodal solution into
This formula evaluates the charge even when the probe falls between nodes.
| Rule | Nodes | Pressure | Density | |
|---|---|---|---|---|
| Uniform midpoint | 64 | 0.305330471 | 0.506209360 | 1.383184246 |
| Edge panels | 64 | 0.305160335 | 0.504899651 | 1.382184485 |
| Edge panels | 128 | 0.305160378 | 0.504899738 | 1.382184550 |
| Single Gauss panel | 512 | 0.305160378 | 0.504899739 | 1.382184551 |
All four use the same residual threshold and cutoff. At 64 nodes, switching from uniform midpoints to the six Gauss panels reduces the absolute discrepancy in the local dressed charge from roughly to against the refined result. Reproduce the three rules and the off-grid evaluation (Python)
The first interaction correction in a dilute gas
Section titled “The first interaction correction in a dilute gas”At fixed and , reducing the fugacity gives a pressure check with a known interaction contribution. Write and . The thermal equation gives , where denotes convolution. Expanding through order gives
The first term fixes the one-particle pressure. The convolution first enters at order , so a calculation that omits it can still get the leading dilute pressure right. To integrate the second term, put and complete the square in . The overlap is . The remaining Gaussian average against equals , where . Combining it with the integral of gives the second fugacity coefficient. NIST DLMF, Eq. (7.7.1)
At this predicts . Subtract from the scaled numerical pressure and divide by .
| Fugacity | Estimate of |
|---|---|
| 0.020 | −0.11547883 |
| 0.010 | −0.11564982 |
| 0.005 | −0.11573549 |
Halving approximately halves the contribution from the next power. Extrapolating the last two estimates linearly to gives . These runs used , 128 Gauss nodes and a sup residual below . A 256-node midpoint rule at changes each estimate by less than . Reproduce the dilute pressures and Gaussian kernel integral (Python)
References
Section titled “References”- F. W. J. Olver et al., eds., NIST Digital Library of Mathematical Functions, §7.7(i), integral representation of the complementary error function. DLMF
- 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, especially Eqs. (16), (25)–(27) and Appendix A. DOI
Connected readings