WorksPhysics and Astronomy
Trajectory arclength reveals thermodynamic criticality
Abstract
Thermodynamic criticality arises at continuous phase transitions, where collective interactions produce non-analytic behavior in equilibrium thermodynamic quantities in the thermodynamic limit. We show that this criticality also leaves an analytically predictable signature in the arclength of microscopic Hamiltonian trajectories. For the attractive Hamiltonian mean-field model, we derive the thermodynamic limit of the equilibrium-averaged arclength, formulated as a normalized Lagrangian descriptor, and demonstrate that it develops a kink precisely at the phase transition. We trace this non-analyticity to spontaneous magnetization and derive the leading critical finite-size correction, scaling as with an explicit analytical prefactor. Simulations with up to degrees of freedom confirm both predictions without adjustable parameters. Requiring neither tangent-space evolution nor prior specification of an order parameter for its computation, trajectory arclength provides a simple, quantitative link between microscopic Hamiltonian motion and collective thermodynamic criticality.
Introduction
Critical phenomena reveal how interactions among microscopic degrees of freedom give rise to non-analytic macroscopic behavior in the thermodynamic limit [1, 2]. However, numerical simulations necessarily involve finite systems and finite observation times, motivating the search for microscopic observables that retain identifiable signatures of criticality. A fundamental question is whether such signatures can be extracted directly from Hamiltonian trajectories and characterized analytically.
The connection between microscopic Hamiltonian dynamics and thermodynamic phase transitions has been extensively investigated through chaotic instability. Caiani et al. identified characteristic behavior of Lyapunov exponents and geometric observables near the transition in three-dimensional classical models [3], with related findings in lattice models and long-range Hamiltonian systems [4, 5, 6]. The geometric approach developed by Pettini and collaborators relates Hamiltonian instability to curvature fluctuations of the underlying mechanical manifolds [7, 8]. For the Hamiltonian mean-field (HMF) model, analytical estimates and non-trivial finite-size scaling laws have been obtained for the largest Lyapunov exponent [9, 10], while complementary studies have connected its equilibrium transition to changes in configuration-space topology [11]. Independently, microcanonical approaches have established how thermodynamic quantities can be recovered from dynamical averages involving the Hamiltonian and its derivatives [12, 13]. These results demonstrate the close relationship between Hamiltonian dynamics and equilibrium thermodynamics, but conventional Lyapunov-exponent calculations require the evolution of tangent-space dynamics.
A more direct possibility is to examine the arclength accumulated by Hamiltonian trajectories. Lagrangian descriptors (LDs), constructed by integrating scalar observables along trajectories, have been used to uncover invariant structures in phase space [14, 15]. More recently, normalized time-averaged phase space arclength was shown to distinguish regular and chaotic motion through its finite-time convergence and fluctuation properties under suitable assumptions [16]. For a Hamiltonian flow , the Euclidean speed in fixed canonical coordinates satisfies , providing a direct connection between a trajectory-based observable and equilibrium averages over constant-energy surfaces. This raises a natural question: can such a simple observable also encode collective thermodynamic criticality?
This work provides a positive answer to this question by establishing an analytically controlled connection between microscopic Hamiltonian dynamics and equilibrium criticality in the attractive HMF model [17]. Whereas previous approaches have associated phase transitions with Lyapunov instability and changes in configuration-space topology, we show that criticality is encoded in a directly computable trajectory observable: time-averaged phase-space arclength. By expressing the instantaneous squared speed exactly in terms of the conserved energy and collective observables, we derive its equilibrium thermodynamic limit and demonstrate that it develops a kink precisely at the critical energy. Remarkably, this non-analyticity originates in the onset of spontaneous magnetization, despite the smoothness of the underlying Hamiltonian flow. We further derive the leading critical finite-size correction, which scales as with an explicit analytical prefactor and no adjustable parameters. These results establish a direct quantitative link between microscopic trajectory motion, equilibrium symmetry breaking, and critical fluctuations. Since the evaluation of this observable requires neither tangent-space propagation nor prior knowledge of an order parameter, our findings provide a computationally simple route to probing equilibrium criticality in many-body Hamiltonian systems.
Hamiltonian arclength descriptor.—Lagrangian descriptors are trajectory-integrated observables whose dependence on initial conditions reveals invariant structures in phase space [14, 18]. Their spatial variations have also been exploited to distinguish regular and chaotic dynamics through comparisons between neighboring trajectories [19, 20, 21] or derivatives with respect to initial conditions [22, 23].
Consider an autonomous Hamiltonian with degrees of freedom. In fixed dimensionless canonical coordinates , Hamilton’s equations take the form:
where is the Hamiltonian vector field and is the identity matrix of order . We consider the forward arclength LD and its normalized time average:
where denotes the Euclidean norm in the chosen coordinates. The factor yields an intensive observable when the squared phase space speed is extensive.
Previous work showed that the finite-time convergence and fluctuation properties of this observable provide information about regular and chaotic dynamics [16]. Here we investigate a different aspect: the dependence of its equilibrium expectation on energy and system size. For the invariant microcanonical measure at energy per particle , stationarity yields the exact identity:
valid for any , independently of ergodicity.
Computationally, evaluating requires only the integration of Hamilton’s equations and a scalar accumulator. Once the Hamiltonian vector field is available, computing its Euclidean norm adds operations per sampled state, without the need to propagate tangent-space dynamics. Unlike Lyapunov-exponent calculations, which require integrating variational equations [24], the arclength descriptor is straightforward to implement for systems with many degrees of freedom and large trajectory ensembles. Its overall computational cost, however, depends on the Hamiltonian and the integration time required for statistical convergence.
Hamiltonian mean-field model.—The Hamiltonian mean-field model is a paradigmatic system for investigating collective phenomena, Hamiltonian chaos, and equilibrium phase transitions in systems with long-range interactions [17, 25, 26]. It consists of globally coupled classical rotators, with angular coordinates and conjugate momenta , governed by the Hamiltonian:
where determines the interaction strength and sign, and the normalization ensures an extensive energy. For attractive interactions (), the model undergoes a continuous equilibrium phase transition from a low-energy, magnetized phase to a high-energy, homogeneous phase [17, 27, 28]. In the zero-total-momentum frame, the critical temperature is , corresponding to the critical energy density . The relationship between this transition and microscopic chaos has been investigated through Lyapunov exponents and geometric properties of the Hamiltonian flow [5, 9, 11]. In the collisionless mean-field limit, the dynamics is governed by the Vlasov equation, which also provides the framework for understanding long-lived quasi-stationary states [29, 30, 31, 32].
Here we restrict our attention to the attractive case and establish an analytical connection between equilibrium criticality and phase space trajectory arclength. Our approach expresses the instantaneous squared speed of the Hamiltonian flow in terms of collective observables, then exploits equilibrium concentration to determine its thermodynamic limit and a large-deviation expansion to derive the leading critical finite-size correction [33, 34].
Theoretical derivation.—Let us first introduce the magnetization vector:
where and denote its magnitude and orientation, respectively. Using the identity:
we can rewrite the Hamiltonian as:
The energy density is conserved, whereas the magnetization generally evolves along Hamiltonian trajectories. The equations of motion read:
and the normalized arclength descriptor becomes:
From Hamilton’s equations and energy conservation, the instantaneous squared phase space speed satisfies the exact identity:
where:
Hence, the arclength descriptor can be expressed entirely in terms of the conserved energy density and collective observables:
This exact relation provides the starting point for connecting the equilibrium behavior of the magnetization to the thermodynamic limit and critical finite-size corrections of .
In the thermodynamic limit the mean-field description becomes exact [35, 36] and the equilibrium state, which is the same in the canonical and microcanonical ensembles, is described by the single-particle distribution [17, 25, 26, 33, 37, 38, 39]:
where is the inverse temperature and is the modified Bessel function of order . We assume throughout that the system has relaxed to this state, i.e., that it is not trapped in a quasi-stationary state [40]. The distribution factorises into a Gaussian for the momenta, with , and:
for the angles, which is peaked at for and uniform for . Self-consistency requires:
with . On the ordered branch (), using [41]:
On the homogeneous branch and . In both phases, the equilibrium concentration yields:
and eliminating the temperature through we obtain:
The critical point follows from Eq. (15). Since , a solution with exists only if , and the system undergoes a second order phase transition at [17, 26]:
with for and for . Hence, is given by Eq. (18) below and by:
which is continuous at the transition, where . However, its derivative is discontinuous. Above , Eq. (20) gives . Below it, inverting the expansion of Eq. (15) gives , i.e., , and therefore:
so that, defining :
The one-sided derivatives at the critical energy are:
and their difference:
is strictly positive for every : has a kink at and therefore reveals the phase transition.
Since the thermodynamic limit cannot be reached numerically, we now derive how approaches at the critical energy. For , the time average in Eq. (9) is replaced by the microcanonical average:
At the magnetization scales as [10, 42, 43], which also follows from Eq. (32) below. Expanding the square root in powers of , with and , we obtain:
where the neglected terms are of order and . To obtain , we use the microcanonical magnetization distribution at fixed , as in the simulations. At fixed and , . The momentum constraint removes one independent component, giving:
which gives, to leading order in , the kinetic entropy per particle:
where is independent of and . The momentum constraint changes subleading terms but not the leading critical amplitude below.
The number of angular configurations with magnetization is determined by the most probable angular distribution at fixed , which has the form of Eq. (14) with replaced by a Lagrange multiplier fixed by . The configurational entropy per particle is thus:
Using we get:
The total entropy per particle is . At the critical energy , so the terms in cancel exactly and:
independently of . Since to exponentially leading order [34], at :
at leading order in the critical window ; higher entropy terms and smooth prefactors give subleading corrections. Since ,
which, substituted in Eq. (26), gives the final result:
Results.—All results are computed in dimensionless phase space coordinates, with unit rotor inertia and . The LD is defined using the Euclidean norm in these coordinates. Initial conditions are generated by independent microcanonical Monte Carlo chains at fixed and zero total momentum . Each trajectory is then integrated for time units with step using a symplectic scheme [44]. The brackets in the figures denote averages of over independent replicas, and error bars represent 95% confidence intervals.
Figure 1 shows the energy dependence of together with the thermodynamic prediction for several system sizes. The simulations reproduce the distinct behavior on the two sides of the transition: decreases throughout the ordered phase and increases in the homogeneous phase, converging toward the two analytical branches given by Eqs. (18) and (20). Their intersection at produces the kink of the thermodynamic-limit curve. At finite , this non-analyticity is necessarily rounded by critical fluctuations, yielding instead a smooth minimum in the vicinity of . The excess of the numerical averages above the thermodynamic prediction, shown in the lower panel, is largest in this critical region and systematically decreases with increasing . Thus the finite-size data display the expected crossover from a smooth finite- observable to the non-differentiable thermodynamic limit. Importantly, the finite- minimum is not itself the phase-transition criterion; rather, its progressive sharpening with increasing system size approaches the analytically predicted non-analyticity at .
Figure 1. Energy dependence of for and different system sizes near the critical energy , marked by the vertical dotted lines. The lower panel shows the ratio of the simulation results to the theoretical prediction given by Eqs. (18) and (20). Each point averages 64 independent replicas, each integrated for time units. Error bars indicate 95% confidence intervals. Symbols are displaced horizontally for visual clarity.
At the critical energy, this rounding can be tested quantitatively. Figure 2 compares with the asymptotic prediction of Eq. (34). The averages approach the thermodynamic value from below, with a leading correction proportional to . For , the numerical results agree with the analytical expression within their confidence intervals, whereas the small deviation observed for is consistent with subleading finite-size contributions. Importantly, neither the exponent nor the amplitude is fitted to the simulations: both follow from the microcanonical critical fluctuations derived above. The agreement therefore provides a direct test of the mechanism linking critical magnetization fluctuations to the geometry of Hamiltonian trajectories, rather than only of an empirical finite-size scaling law.
Figure 2. System-size dependence of for at the critical energy . The solid line shows the leading asymptotic prediction given by Eq. (34), while the horizontal dotted line marks the thermodynamic limit . The lower panel shows the ratio of the simulation results to the asymptotic prediction. Each point averages 100 independent replicas, each integrated for time units. Error bars indicate 95% confidence intervals.
Conclusions.— We have established an analytical connection between microscopic Hamiltonian motion and thermodynamic criticality through time-averaged phase space trajectory arclength. For the attractive Hamiltonian mean-field model, we show that the thermodynamic limit of this observable develops a kink precisely at the equilibrium phase transition. Crucially, this non-analyticity originates in the onset of spontaneous magnetization, rather than any singularity in the underlying Hamiltonian equations of motion. An exact relation between phase space speed and collective observables reveals this mechanism and connects critical magnetization fluctuations to the leading finite-size correction, which we derive analytically as an law with an explicit prefactor. Numerical simulations involving up to particles confirm both predictions without adjustable parameters.
More broadly, our results demonstrate how equilibrium ordering and critical fluctuations become encoded in a simple single-trajectory observable. Unlike Lyapunov-based approaches, the arclength descriptor requires neither tangent-space propagation nor prior identification of an order parameter for its computation. Although
the manifestation of critical singularities must be established for each system, the underlying analytical framework offers a route to investigating phase transitions in more general many-body Hamiltonian systems. Together with its established applications to dynamical characterization, these findings position trajectory arclength as a promising link between microscopic dynamics and emergent collective behavior.
Acknowledgments.— The authors thankfully acknowledge Prof. Sáez Landete of the Universidad de Alcalá for providing the computational resources necessary to carry out the numerical simulations supporting the results presented in this work.
References
† [email protected] (corresponding author)
References
- [1]K. Huang, Statistical Mechanics, 2nd ed. (John Wiley & Sons, New York, 1987).
- [2]K. G. Wilson, Renormalization group and critical phenomena. I. Renormalization group and the Kadanoff scaling picture, Physical Review B 4, 3174 (1971).
- [3]L. Caiani, L. Casetti, C. Clementi, and M. Pettini, Geometry of dynamics, Lyapunov exponents, and phase transitions, Physical Review Letters 79, 4361 (1997), arXiv:chao-dyn/9702011.DOI
- [4]L. Caiani, L. Casetti, C. Clementi, G. Pettini, M. Pettini, and R. Gatto, Geometry of dynamics and phase transitions in classical lattice φ⁴ theories, Physical Review E 57, 3886 (1998).DOI
- [5]V. Latora, A. Rapisarda, and S. Ruffo, Lyapunov instability and finite size effects in a system with long-range forces, Physical Review Letters 80, 692 (1998).DOI
- [6]V. Latora, A. Rapisarda, and S. Ruffo, Chaos and statistical mechanics in the Hamiltonian mean field model, Physica D: Nonlinear Phenomena 131, 38 (1999).DOI
- [7]L. Casetti, M. Pettini, and E. G. D. Cohen, Geometric approach to Hamiltonian dynamics and statistical mechanics, Physics Reports 337, 237 (2000).DOI
- [8]G. Pettini, M. Gori, and M. Pettini, From geometry of Hamiltonian dynamics to topology of phase transitions: A review, Entropy 26, 840 (2024).DOI
- [9]M.-C. Firpo, Analytic estimation of the Lyapunov exponent in a mean-field model undergoing a phase transition, Phys. Rev. E 57, 6599 (1998), arXiv:chao-dyn/9803024.DOI
- [10]F. Ginelli, K. A. Takeuchi, H. Chaté, A. Politi, and A. Torcini, Chaos in the Hamiltonian mean-field model, Physical Review E 84, 066211 (2011).pubmed.ncbi.nlm.nih.gov/22304182
- [11]L. Casetti, E. G. D. Cohen, and M. Pettini, Topological origin of the phase transition in a mean-field model, Physical Review Letters 82, 4160 (1999).DOI
- [12]H. H. Rugh, Dynamical approach to temperature, Physical Review Letters 78, 772 (1997).DOI
- [13]R. Franzosi, Geometric microcanonical thermodynamics for systems with first integrals, Physical Review E 85, 050101 (2012).DOI
- [14]A. M. Mancho, S. Wiggins, J. Curbelo, and C. Mendoza, Lagrangian descriptors: A method for revealing phase space structures of general time dependent dynamical systems, Communications in Nonlinear Science and Nu- merical Simulation 18, 3530 (2013)
- [15]S. Wiggins and V. J. García-Garrido, Painting the phase portrait of a dynamical system with the computational tool of Lagrangian descriptors, Notices of the American Mathematical Society 69, 936 (2022).DOI
- [16]J. Jiménez-López and V. J. García-Garrido, Trajectory arclength reveals chaos (2026), arXiv:2602.07660 [nlin.CD].
- [17]M. Antoni and S. Ruffo, Clustering and relaxation in Hamiltonian long-range dynamics, Physical Review E 52, 2361 (1995).
- [18]C. Lopesino, F. Balibrea-Iniesta, V. J. García-Garrido, S. Wiggins, and A. M. Mancho, A theoretical framework for Lagrangian descriptors, International Journal of Bifurcation and Chaos 27, 1730001 (2017), arXiv:1705.10213.DOI
- [19]M. Hillebrand, S. Zimper, A. Ngapasare, M. Katsanikas, S. R. Wiggins, and C. Skokos, Quantifying chaos using Lagrangian descriptors, Chaos 32, 123122 (2022), arXiv:2208.09853.DOI
- [20]S. Zimper, A. Ngapasare, M. Hillebrand, M. Katsanikas, S. R. Wiggins, and C. Skokos, Performance of chaos diagnostics based on Lagrangian descriptors. application to the 4D standard map, Physica D: Nonlinear Phenomena 453, 133833 (2023), arXiv:2305.00978.DOI
- [21]J. Jiménez-López and V. J. García-Garrido, A simple chaos indicator based on the Lagrangian descriptor difference of neighboring orbits, International Journal of Bifurcation and Chaos 36, 2630018 (2026), arXiv:2506.16660.
- [22]J. Daquin, R. Peñderson-Oldraducci, M. Agaoglou, G. García-Sánchez, and A. M. Mancho, Global dynamics visualisation from Lagrangian descriptors. applications to discrete and continuous systems, Physica D: Nonlinear Phenomena 442, 133520 (2022), arXiv:2206.04467.DOI
- [23]A. Căliman, J. Daquin, and A.-S. Libert, Improved detection of chaos with Lagrangian descriptors using differential algebra, Physica D: Nonlinear Phenomena 472, 134506 (2025).DOI
- [24]C. Skokos, The Lyapunov Characteristic Exponents and their computation, in Dynamics of Small Solar System Bodies and Exoplanets, edited by J. J. Souchay and R. Dvorak (Lecture Notes in Physics, vol 790. Springer, Berlin, Heidelberg, 2010) pp. 63–135.DOI
- [25]P. H. Chavanis, J. Vatteville, and F. Bouchet, Dynamics and thermodynamics of a simple model similar to self-gravitating systems: the hmf model, The European Physical Journal B - Condensed Matter and Complex Systems 46, 61 (2005).DOI
- [26]A. Campa, T. Dauxois, and S. Ruffo, Statistical mechanics and dynamics of solvable models with long-range interactions, Physics Reports 480, 57 (2009).DOI
- [27]T. Dauxois, V. Latora, A. Rapisarda, S. Ruffo, and A. Torcini, Dynamics and Thermodynamics of Systems with Long-Range Interactions (Springer Berlin Heidelberg, Berlin, Heidelberg, 2002) pp. 458–487.
- [28]T. Dauxois, P. Holdsworth, and S. Ruffo, Violation of ensemble equivalence in the antiferromagnetic mean-field xy model, The European Physical Journal B - Condensed Matter and Complex Systems 16, 659 (2000).DOI
- [29]A. Antoniazzi, F. Califano, D. Fanelli, and S. Ruffo, Exploring the thermodynamic limit of Hamiltonian models: Convergence to the Vlasov equation, Physical Review Letters 98, 150602 (2007).pubmed.ncbi.nlm.nih.gov/17501330
- [30]J. Barré, F. Bouchet, T. Dauxois, S. Ruffo, and Y. Y. Yamaguchi, The Vlasov equation and the Hamiltonian mean-field model, Physica A: Statistical Mechanics and its Applications 365, 177 (2006), arXiv:cond-mat/0511070.DOI
- [31]W. Braun and K. Hepp, The Vlasov dynamics and its fluctuations in the 1/n limit of interacting classical particles, Communications in Mathematical Physics 56, 101 (1977).
- [32]H. Spohn, Large Scale Dynamics of Interacting Particles, Texts and Monographs in Physics (Springer Berlin Heidelberg, Berlin, Heidelberg, 1991).DOI
- [33]J. Barré, F. Bouchet, T. Dauxois, and S. Ruffo, Large deviation techniques applied to systems with long-range interactions, Journal of Statistical Physics 119, 677 (2005).
- [34]H. Touchette, The large deviation approach to statistical mechanics, Phys. Rep. 478, 1 (2009).DOI
- [35]J. Messer and H. Spohn, Statistical mechanics of the isothermal Lane-Emden equation, Journal of Statistical Physics 29, 561 (1982).DOI
- [36]W. Braun and K. Hepp, The Vlasov dynamics and its fluctuations in the 1/n limit of interacting classical particles, Commun. Math. Phys. 56, 101 (1977).
- [37]S. Inagaki, Thermodynamic stability of modified Konishi-Kaneko system, Prog. Theor. Phys. 90, 577 (1993).DOI
- [38]P.-H. Chavanis, Dynamical and thermodynamical stability of isothermal distributions in the hmf model (2010), arXiv:1007.4916 [cond-mat.stat-mech].arxiv.org/abs/1007.4916
- [39]T. Manos and S. Ruffo, Scaling with system size of the lyapunov exponents for the Hamiltonian mean field model, Transport Theory and Statistical Physics 40, 360 (2011), https://doi.org/10.1080/00411450.2011.651035.
- [40]Y. Y. Yamaguchi, J. Barré, F. Bouchet, T. Dauxois, and S. Ruffo, Stability criteria of the Vlasov equation and quasi-stationary states of the HMF model, Physica A 337, 36 (2004).DOI
- [41]National Institute of Standards and Technology, NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/ (2026), release 1.2.8, September 15, 2026, Sec. 10.29: Recurrence Relations and Derivatives.
- [42]R. Botet, R. Jullien, and P. Pfefuty, Size scaling for infinitely coordinated systems, Phys. Rev. Lett. 49, 478 (1982).DOI
- [43]R. Botet and R. Jullien, Large-size critical behavior of infinitely coordinated systems, Phys. Rev. B 28, 3955 (1983).DOI
- [44]H. Yoshida, Construction of higher order symplectic integrators, Physics Letters A 150, 262 (1990).

