A Mexican hat dance: clustering in Ricker-potential particle systems
Abstract
The dynamics and spontaneous organization of coupled particles is a classic problem in modeling and applied mathematics. Here we examine the behavior of particles coupled by the Ricker potential, exhibiting finite local repulsion transitioning to distal attraction, leading to an energy-minimizing “preferred distance”. When compressed by a background potential well of varying severity, these particles exhibit intricate self-organization into “stacks" with varying sizes and positions. We examine bifurcations of these high-dimensional arrangements, yielding tantalizing glimpses into a rich dynamical zoo of behavior.
I Introduction
Systems of coupled particles are a classic problem in physics and applied mathematics (e.g., [1, 2, 3, 4] and many others). Here we investigate particles interacting via short-distance repulsion and long-distance attraction, often referred to as a “Mexican hat” potential (see Fig. 1). This qualitative scenario is seen in intermolecular forces and can be modeled via, e.g., the Lennard-Jones and Morse potentials.
Here we explore the behavior as one-dimensional populations of such particles are “squeezed” together, similar in concept to “particle in a box” considerations from quantum physics (e.g., [5]).
Local repulsion and distal attraction may call to mind the Lennard-Jones and Morse potentials from physics (see section A.2). These models for intermolecular potential energy have features rendering them distinct from our Ricker wavelet: infinite repulsion in the case of Lennard-Jones, and a “sharp” non-differentiable peak at the origin for Morse. However, these models may not be applicable in situations where coexistence at the same position is allowed, due to their nonphysical implications at . However, we believe a “smoothing” of the Morse potential’s central peak (such as by integration against a “blurring” kernel function) would cause qualitatively similar results to what we observe in our Ricker system, and it is possible other “soft-core” potential systems (e.g., [6, 7, 8]) could find our results applicable. The smooth and coexistence-friendly dynamic embodied by our Ricker wavelet may also apply to neuronal phase models under proper conditions (e.g., [9, 10, 11]).
II The Modified Ricker Potential
We use a modified form of the Ricker wavelet as the potential function carried or “worn” by each particle,
(1) |
which is pictured in Fig. 1.

This function has the following properties:
-
1.
Central peak at
-
2.
Symmetric troughs (i.e., local minima) at
-
3.
Trough depth controlled by : as , trough depth , and as , trough depth
Due to the central hump and symmetric troughs, this potential provides short-range, finite repulsion coupled with long-range attraction to a “preferred separation” .
The potential at position due to a particle at position is
(2) |
We suppose that particles, indexed through , have one-dimensional positions and influence each other through their modified Ricker potential via the first order dynamical system
where confinement is imposed by the global potential function , which we assume for simplicity to have a quadratic shape
with width-control parameter . Figure 2 shows an example arrangement of particles in such a system.

We note for later reference the first and second derivatives of our Ricker potential:
(3) |
(4) |
In particular we note that due to the zero derivative of the Ricker potential at the origin, there is no need to complicate notation by explicitly excluding particles from influencing themselves; particles have no self-interaction regardless.
Without loss of generality, we henceforth restrict our analysis to the case , since an appropriate rescaling of space and time (, , ) removes that parameter from the governing equations. The parameter does qualitatively affect system behavior (which we briefly explore in Section (DSM: fix)S.2 of the Supplementary Materials (SM)), though our analysis is primarily concerned with the confinement parameter . Unless otherwise noted, our numerical examples use the default parameter value .
II.1 Intriguing Collective Behavior
Free of confinement (i.e., with ) and in the absence of any degenerate initial positions, particles will settle into a state of uniform spacing, with each particle residing at the preferred distance from its neighbors. However, when confined, they exhibit highly nonuniform and rich behavior.
When confinement is present, we observe spontaneous organization of the particles depending on the choice of confinement parameter (note that confinement is stronger as decreases toward zero). Particles form “stacks”—states where multiple particles occupy the same spatial position—since their repulsion weakens as they get nearer to each other, but the number of particles in each stack can vary, and indeed the stacks exchange particles as changes. We demonstrate this spontaneous organization in Fig. 3, which shows the results of numerical investigation of the system’s stable equilibria.



Note that there is some slight asymmetry in Fig. 3 due to high dimensional multistability with various stack sizes; if we enforce symmetry, we see a picture of “core” behavior as shown in Fig. 4.






Also, note that these figures actually display -dimensional projections of an -dimensional bifurcation diagram, with each particle’s position occupying one dimension. However, the interchangeability symmetry of the particles allows the display of the whole population to serve as analogue for any single particle’s possible positions.
The stack-size information (encoded by color) can be further emphasized with a third dimension, as shown in the right panel of Fig. 4.
Thus we see even more clearly the pattern of stable behavior. For very small (strong confinement, i.e., a narrow parabolic well) all the particles stack up at the origin, but the population splits apart into two symmetric stacks111There is some multistability with regards to slight asymmetry of these two stacks; for example, sometimes the stacks are 63 and 65 particles, and the system is stable, although in that case their positions are not perfectly symmetric—the larger stack settles slightly closer to the origin. when passes a critical threshold we label —we derive a formula for this value (Eq. (12)) in the “Large analysis” section. As continues to grow, the stacks drift apart and the origin becomes stable again, and we see particles “fall” inwards to settle there. Initially only a few particles stably rest there, but as the stacks continue to separate the central stack grows, until it becomes large enough to split into two in a manner that appears similar to its initial bifurcation at .
There are many other, more complex equilibria possible, but for large the equilibrium diagram appears to become increasingly well characterized by the aforementioned behavior, as shown in Fig. 5. All the “major” bifurcations (birth of central stacks, splitting of central stacks) appear to happen at the same multiples of the critical parameter value , thus with proper scaling of the axis (to match ) the diagrams appear increasingly similar to one another.
We will start our exploration with smaller, more tractable examples and then progress from there to the more general, large- cases.
III Small- particular case analysis
III.1 Two-particle case
We can solve for the equilibrium condition on the right particle by assuming the particles are at (plugging in as the distance in equation (3) and adding the background potential at position ):
At equilibrium this slope is zero, thus (corresponding to both particles stacked at the origin) or
(5) |
So the bifurcation diagram (in or ) is given by the implicit equation (5). This corresponds to the exact solution
(6) |
(7) |
where is the Lambert W function, defined as the solution to
Fig. 6 shows this solution overlaid on the empirical equilibrium diagram for two particles.
An approximation for yields
(8) |
where we have defined as the lowest critical value of with . We derive the general- version (which we simply refer to as going forward) in the “Large- analysis” section (Eq. (12)).
III.2 Three- and four-particle cases
Three- and four-particle systems have unique stable equilibria for all , which are shown in Fig. 7; unfortunately these resist such easy exact-solution form as the case. Other equilibria exist for these systems (such as states222This notation indicates the partition state of the particles, i.e., the number of particles in each stack, in order. In this case, there are two visibly-distinguishable states since the two-particle stack can be above or below the single-particle stack, though each of those represents six equilibria in full state space due to permutations of the particles. in the case, and states in , and the fully-stacked origin state at ), but none of them are stable. In Fig. 8 we show all such equilibrium positions using the MatCont analytical-continuation software package for Matlab (MatCont v7.3, see [dhooge2008new]) to track those unstable artificially-partitioned states as well as the stable state we actually see in regular numerical simulations.



The nonzero stable branches for (and ) are solutions to the implicit equation
which is the result of assuming symmetry (one particle at and the other two at ) and solving for nonzero solutions to the equilibrium condition on the particle at . For large this relationship converges to (or explicitly in : ); for near () the relation is well approximated by instead.
In the 4-particle case, () we can find the implicit equation for the (i.e. two stacks of two particles each) state, namely
which is stable from ( in this case) to as seen in Fig. 7. More exactly, the state splits into the state when , where
and where satisfies the implicit equation
The state, while never stable, is also tractable, with outer stack positions given by the relation
Other particular states may also have similar implicit equilibrium expressions, but their multitude makes this endeavor an impractical strategy for understanding the system for general .

III.3 Five-particle system: birth of multistability
With five particles, we see the first case where there is multistability, by two different mechanisms. First of all, unlike the origin cannot stably hold a particle as we cross , and the population splits into a state, which is necessarily asymmetric in position. Then the indifference between which stack has particles leads to bistability between two visibly different states, though they might be considered the same state up to reflection of the domain. Second, the point that the system drops to a state (on an increasing- pass) is different from the point that it jumps back to the state (on a decreasing- pass). We can see this in the difference between upper-left and upper-right panels in Fig. 9. This is because there is a region of bistability between and configurations—the loss of stability of happens at a higher value than the gain of stability of . This hysteresis with respect to increasing and decreasing parameter is explored more generally in the “Medium- analysis” section below.

III.4 Medium- analysis
To get a sense of how the transition to the large- behavior happens, we will look at a medium-scale , in particular .

Figure 10 shows part of the bifurcation diagram for particles, which shows hints of the dynamical process by which the particles transfer between stacks. At this resolution, we can see three “connecting” branches in the top right (decreasing-) figure where single particle pairs transfer from the central stack to the outer ones.
Just as with the and diagrams, there are many more equilibria than we see in Fig. 10. First of all, we only see stable equilibria due to our method of forward-time numerical integration with minutely perturbed initial conditions, so we do not see the huge number of unstable equilibria. Second, we have enforced symmetry in this simulation, so we are missing the slightly asymmetric stable states that can (and generally do) result when particles are individually free; the enforcement of symmetry is nevertheless justified as we seek a generic central pattern around which many co-stable perturbations exist. But even in the symmetric case, there is co-stability of states, which is demonstrated by the discrepancy between increasing- and decreasing- passes. Exploring these discrepancies will provide intuition about how the system behaves at higher .
III.4.1 Repeated Hysteresis
The bottom panel of 10 emphasizes the differences between the increasing- and decreasing- passes, with increasing- pass in black and decreasing- in orange. Two of those “branches” are isolated in Fig. 11.


To understand the hysteresis in Fig. 11, we start at the left side of the left-two figures, at . The top-left figure, a scatter plot of the full population, hides the stack-size information, but this is a arrangement in both black (increasing-) and orange (decreasing-) passes. The bottom-left figure shows us why; the “free” pair of particles may only stably exist at the outer stack positions for this parameter value (the central position is red, indicating instability).
As the parameter value increases, this arrangement stays stable until slightly under , when we see this branch undergoes a transcritical bifurcation. Theoretically, the pair could drift outward beyond the outer stack at this point, as the lower-left figure indicates, but that diagram assumes the other stacks stay perfectly stacked, while in reality we perturb all particles with noise, and that state isn’t robust to that broken symmetry. So what we actually see is that one pair falls to the origin and the rest remain together, corresponding to the stable state in the bottom-left figure, and the overall population state .
However, as we decrease again, the system stays at this state until the branch point near , where the free pair’s position follows stable branches away from the origin (in a state) until those branches go vertical in an apparent saddle-node bifurcation, at which point the pair jump suddenly to join the outer stacks again. During this bistable region, the position of the outer stacks differs slightly, which is reflected in the disalignment of outer stacks in the top-left figure.
A similar process occurs at slightly higher parameter value, reflected by the right two figures. In this case, the population is transitioning between and states. The only qualitative difference this time is the transcritical loss of stability at the outer position occurs before the central pitchfork bifurcation, so the outer pair is dropped to that branch of the pitchfork in a state on the forward pass rather than all the way to the center. On the backwards pass, of course, that state persists longer before losing stability and the transferring particles rejoin the outer stacks.
In this way, we see how bistability occurs between distinct population fractionations. As we can see in Fig. 10, the fractionation changes more rapidly when the central stack is small, which we may now understand causes these branches to overlap, yielding multi-stability between more than two fractionation states. Furthermore, as Fig. 5 displays, these transitionary states become narrower (in ) as increases, such that we no longer easily see them at finite resolution. In the infinite- limit, there is a continuous family of these bifurcations (and corresponding family of transition curves) as the central fractionation changes smoothly rather than in these discrete jumps, and smooth bands of stable fractionation (and corresponding stack positions) accordingly.
III.5 Large- analysis
As Fig. 5 suggests, the overall system behavior appears to converge for large numbers of particles, under the appropriate scaling of the axis. This makes discussion of the large- limit meaningful—indeed it appears that the rapid “transitionary” bifurcations from the previous section become effectively invisible, while the “major” central stack-birth/stack-splitting bifurcations remain. There is still fractionation indifference (i.e. bands of possible stable population percentages in each stack), and the location of these major bifurcations can still vary meaningfully between forward and backward parameter continuation, as Fig. 12 shows.

We can check the stability of particular configurations like we did in Fig. 8 for particles, again using MatCont—for example, testing the stable and unstable equilibrium positions of a “test” particle given particles in two stacks of —this is shown in Fig. 13.

In Fig. 13 we see that the test particle can align with either of the large stacks (desymmetrizing their locations imperceptibly). But we also see that the birth of stability at the origin is in fact due to a second pitchfork bifurcation with very short-lived asymmetric unstable branches which cross the outer stack positions and become stable, roughly corresponding to sitting in the trough outside the two large stacks (and in fact approaching that well location, , as ).
IV Analysis
IV.1 General Equilibrium Statement
For particle to be at equilibrium:
(9) |
If the right hand side (RHS) is positive, particle will move right, and if negative, left. If it is zero for all particles, the system is at equilibrium. There are many particular states, such as all the particles at the origin , two symmetric stacks , etc., which may satisfy this equilibrium condition for various parameter values.
IV.2 Stability
We can analytically examine the stability of the fully-stacked state at the origin, recovering the critical bifurcation value below which that state is stable—and in fact appears to be the only equilibrium.
The elements of the row of the Jacobian matrix for the system (9) are
(10) |
which, at the origin (corresponding to the fully-stacked state), become
Due to the symmetry, we can identify all the eigenvectors:
-
1.
The eigenvector corresponding to the full stack drifting left or right from the origin has eigenvalue , which is always negative, indicating that the 1-stack system is stable to these types of perturbations (unsurprising based on intuition for a single particle).
-
2.
The other eigenvectors consist solely of symmetric two-particle divergence; i.e., vectors of the form with the positive in each of the other positions. These vectors all have eigenvalue . The 1-stack state is thus stable to these types of perturbations for
(11) Solving for , this gives us the critical parameter value for general :
(12) We note that this agrees with the particular case, given above after Eq. (8). This also suggests the appropriate way to rescale the axis as varies (as we have for all figures), since the structure appears to depend only on the ratio (at least asymptotically for large ).
IV.3 Two-stack state
The simplest nontrivial arbitrary- case, the two-stack state—where the population is split into two symmetric stacks of particles each—is quite relevant to examine since it is the dominant behavior for approximately . It is exactly solvable via a simple tweak of the logic which led us to Eq. (5), with the influence from the other “particle” being multiplied by while the background contribution is unchanged:
(13) |
The solution can be written explicitly in terms of the Lambert W function (as done above for the special case ), now using to further simplify:
(14) |
For , this is approximately
exactly as we saw before (all scaling is accounted for by ).
IV.4 Return of stability at the origin
We seek an understanding of the second “major” bifurcation: the birth of the three-stack state near , with a small central stack between the two large symmetric stacks. We can easily check the curvature of the potential landscape at the origin between two equal stacks, using this as a test to identify when a particle would stably rest there. We note that this spot sees an identical contribution from all particles at :
so the birth of stability happens when this curvature crosses , at
(15) |
When we combine this condition with the two-stack equilibrium relation for , Eq. (13), we get
(16) |
which defies closed-form solution but which we may numerically approximate for our default parameters and , yielding . We can see that this agrees empirically with the stack width coincident with the birth of stability in our large- figures like Figs. 4 and 12.
This approximation for in turn allows us to approximate , by using either relation again. Using Eq. (13) with , we have
This is suspiciously close to , but these approximations were done using -digit precision, so it appears to indeed be distinct. We note that this value depends on (though may be scaled out as always); for example, for we have .
After the central stack’s creation, the exchange of particles between central and outer stacks is complicated, since the fraction of the population at the origin influences the position of the outer stacks, which in turn influences the stable fraction at the origin. We observe empirically that the outer stacks drift apart in a roughly linear manner, which may be helpful, though we leave this exploration for future work.
We note that the increasing- sweep only sees particles at the center when they are kicked out of the outer stacks to populate it. On the decreasing- pass, however, the center hosts a larger stable population at each value reached, since continuation from the right causes the accumulation of all nearby particles at the center, where they stay until they are ejected to the outer stacks. It is perhaps counterintuitive that these particles “climb” the global potential as it narrows, but it is nevertheless true; the narrowing background potential pushes the outer stacks inward enough that the center becomes less stable, at which point it is “overstuffed” and repels some of its former constituents to join the other stacks.
The decreasing pass thus acts as a lower bound for the maximal stable fraction at the center, and the increasing pass acts as an upper bound on the minimal stable fractionation. We expect a continuous band of stable fractionations between those values, as indicated by Fig. 14. We leave further exploration of the bands of stability in the limit for future work.

IV.5 dependence
The parameter distorts the equilibrium diagram; in particular, Fig. 15 shows what happens when grows. We see that large coincides with a narrower population (smaller range on vertical axis); this is perhaps unintuitive since large makes the Ricker wavelet’s trough shallower, which intuitively means “less stability” overall, and perhaps the dominance of repulsion. However, that would imply a wider population, while in reality we see a narrower one. We might instead take away the competing explanation that the Ricker wavelets’ weaker attraction to their preferred distance means the particles don’t “buoy” their partners away from the origin as strongly, which leads to more dominance of the background potential-well containment overall.


V Methods/Simulation details
Particles were started with random Gaussian positions with standard deviation on the small- end. The positions were updated using ODE45 numerical integration for an initial duration of time units (chosen empirically to approximate equilibration-time scaling with ). Runs at each value exponentially scaled integration time until all particles had moved less than units, or a run ended with (which occured after doublings, for a maximum total run-time of time units for any single value). This was necessary since equilibration time grows dramatically near bifurcation points.
After each integration converged or hit the time limit at one value, final positions were recorded and a small random perturbation of each particle’s position (Gaussian with standard deviation ) was applied to that ending state before the parameter value was updated and the next simulation commenced—this ensured we only recorded stable equilibria. This process proceeded from to before descending along those same values; the black arrows in each diagram indicates the direction of this continuation.
VI Discussion/Conclusion
We have examined a system of particles with first-order coupling through Ricker wavelet potential functions, and found remarkably rich self-organizing behavior. Intuitive small- cases transition to archetypal large- limiting behavior, with non-origin bifurcations becoming compacted into invisibility while other, “major” bifurcations (those regarding stability of the origin) persist and stabilize for large . Multi-stability abounds, and persists for large ; overlapping hysteresis in the position of individual particles becomes stability bands for fractions of the population.
There is plenty more to be explored with these particles. We have not systematically examined dependence on the parameter , which controls trough depth, though we showcase some promising initial findings in section IV.5 in the appendix below. Also of interest is the oscillator interpretation, with these particles living on a finite periodic domain, for which we likewise present some intriguing initial findings in the appendix. Behavior with other types of confinement, such as a finite “hard-walled” box, is also an open question. Some of these model variants may lend themselves to real-world applications such as those mentioned in the introduction.
We hope this work provides a solid foundation for the exploration of this system and its variants, which offer tantalizing glimpses of order governing a wild dynamical zoo of possible behavior.
References
- Slater [1951] J. C. Slater, “A simplification of the hartree-fock method,” Physical review 81, 385 (1951).
- Kuramoto [1975] Y. Kuramoto, “Self-entrainment of a population of coupled non-linear oscillators,” in International symposium on mathematical problems in theoretical physics (Springer, 1975) pp. 420–422.
- Csahók, Family, and Vicsek [1997] Z. Csahók, F. Family, and T. Vicsek, “Transport of elastically coupled particles in an asymmetric periodic potential,” Physical Review E 55, 5179 (1997).
- Schwerdtfeger et al. [2006] P. Schwerdtfeger, N. Gaston, R. P. Krawczyk, R. Tonner, and G. E. Moyano, “Extension of the lennard-jones potential: Theoretical investigations into rare-gas clusters and crystal lattices of he, ne, ar, and kr using many-body interaction expansions,” Physical Review B 73, 064112 (2006).
- Cohen-Tannoudji, Diu, and Laloë [2019] C. Cohen-Tannoudji, B. Diu, and F. Laloë, Quantum Mechanics, Volume 3: Fermions, Bosons, Photons, Correlations, and Entanglement (John Wiley & Sons, 2019).
- Maessen, Rijken, and de Swart [1989] P. M. M. Maessen, T. A. Rijken, and J. J. de Swart, “Soft-core baryon-baryon one-boson-exchange models. ii. hyperon-nucleon potential,” Phys. Rev. C 40, 2226–2245 (1989).
- Rijken, Stoks, and Yamamoto [1999] T. A. Rijken, V. Stoks, and Y. Yamamoto, “Soft-core hyperon-nucleon potentials,” Physical Review C 59, 21 (1999).
- Yatsenko et al. [2004] G. Yatsenko, E. J. Sambriski, M. A. Nemirovskaya, and M. Guenza, “Analytical soft-core potentials for macromolecular fluids and mixtures,” Phys. Rev. Lett. 93, 257803 (2004).
- Ermentrout and Kopell [1986] G. B. Ermentrout and N. Kopell, “Parabolic bursting in an excitable system coupled with a slow oscillation,” SIAM journal on applied mathematics 46, 233–253 (1986).
- Ermentrout [1996] B. Ermentrout, “Type i membranes, phase resetting curves, and synchrony,” Neural computation 8, 979–1001 (1996).
- Hoppensteadt and Izhikevich [1997] F. C. Hoppensteadt and E. M. Izhikevich, Weakly connected neural networks, Vol. 126 (Springer Science & Business Media, 1997).
- Note [1] There is some multistability with regards to slight asymmetry of these two stacks; for example, sometimes the stacks are 63 and 65 particles, and the system is stable, although in that case their positions are not perfectly symmetric—the larger stack settles slightly closer to the origin.
- Note [2] This notation indicates the partition state of the particles, i.e., the number of particles in each stack, in order. In this case, there are two visibly-distinguishable states since the two-particle stack can be above or below the single-particle stack, though each of those represents six equilibria in full state space due to permutations of the particles.
Appendix A Extra Findings
A.1 Fresh random starts
Without continuation—i.e., when the simulation at each value proceeds from an entirely random starting state rather than a slightly-perturbed version of the previous equilibrium—we see a “fuzzier” but ultimately similar picture; see Fig. 16. This does yield some information about the system’s tolerance for asymmetry; the two-stack state for can be as lopsided as in this run and still appear stable. More lopsided stable two-stack states may be possible with biased initial conditions, however.

A.2 Lennard-Jones and Morse potentials
As mentioned in Section I, the Lennard-Jones and Morse potentials from physics are models of intermolecular potential energy with short-range repulsion and long-range attraction. These potentials may be described in the following forms:
Fig. 17 shows examples of these potential functions, with as much matching to our default Ricker potential as possible. In particular, this should highlight the limits of their qualitative comparability, and why alteration to a “soft-core” potential amenable to “stacking”/coexistence would be necessary to expect results similar to those presented in this work.


A.3 Ricker Oscillators
A model variant of considerable interest for these Ricker-potential-coupled particles is their implementation as coupled oscillators. In this case, their position would represent phase on a periodic domain, like . A slight tweak to the Ricker potential would need to be defined to make it periodic; distance between particles in this space might be taken to be the shortest distance around the circle, or the infinite sum of possible distance interpretations at all multiples, or the potential itself might be made periodic in some other way. In any case, the parameter (controlling the location of the troughs, which acts as a “preferred distance”) is no longer removable by scaling in this paradigm; its ratio with the domain is a qualitatively important value.
Using the simpler, shortest-distance interpretation, we performed simulations and demonstrate the results in Fig. 18. We found that for small , the particles did settle uniformly at intervals of . Sometimes the system took a long time to find this state, as it evolves more slowly when evenly spaced—even when the population is more compact than necessary.



However, at large (such that times the preferred distance was much larger than , the system appeared to exhibit “frozen disorder,” or a “glassy” state where particles neither clump nor uniformly distribute (see Fig. 19). The best lens for understanding this process appears to be the cumulative potential; as the population evolves, it appears to self-organize almost instantly into a single low frequency wave (created by many individual Ricker potentials) which then damps quickly to reveal middle frequencies at smaller amplitude. As the magnitude of this cumulative potential wave shrinks beneath the scale of a single wavelet, the inherent higher frequencies of individual particles emerge again (see Fig. 19, bottom right).
This apparent phenomenon of self-organization in service of the cumulative potential’s frequency-damping is only a numerical observation thus far, and merits future analytical exploration. It is unclear if this disordered state is truly stable or merely quasi-stable, and how the parameter-space transition from even-spacing to disordered “equilibrium” occurs as the domain becomes overpopulated relative to the preferred distance. We believe this is a ripe area for future exploration.



