Synchronization occurs in many natural and technological systems, from cardiac pacemaker cells to coupled lasers. In the synchronized state, the individual cells or lasers coordinate the timing of their oscillations, but they do not move through space. A complementary form of self-organization occurs among swarming insects, flocking birds, or schooling fish; now the individuals move through space, but without conspicuously altering their internal states. Here we explore systems in which both synchronization and swarming occur together. Specifically, we consider oscillators whose phase dynamics and spatial dynamics are coupled. We call them swarmalators, to highlight their dual character. A case study of a generalized Kuramoto model predicts five collective states as possible long-term modes of organization. These states may be observable in groups of sperm, Japanese tree frogs, colloidal suspensions of magnetic particles, and other biological and physical systems in which self-assembly and synchronization interact.
This year marks the fiftieth anniversary of a breakthrough in the study of synchronization. In 1967, Winfree proposed a coupled oscillator model for the circadian rhythms that underlie daily cycles of activity in virtually all plants and animals1. He discovered that above a critical coupling strength, synchronization breaks out spontaneously, in a manner reminiscent of a phase transition. Then Kuramoto simplified Winfree’s model and solved it exactly2, leading to an explosion of interest in the dynamics of coupled oscillators3,4,5. Kuramoto’s model in turn has been generalized to other large systems of biological oscillators, such as chorusing frogs6, firing neurons7,8,9,10,11, and even human concert audiences clapping in unison12. The analyses often borrow techniques from statistical physics, such as mean-field approximations, renormalization group analyses13,14, and finite-size scaling15,16. There has also been traffic in the other direction, from biology back to physics. For example, insights from biological synchronization have shed light on neutrino oscillations17, phase locking in Josephson junction arrays18, the dynamics of power grids19,20, and the unexpected wobbling of London’s Millennium Bridge on opening day21.
A similarly fruitful interplay between physics and biology has occurred in the study of the coordinated movement of groups of animals. Fish schools, bird flocks, and insect swarms22,23,24,25,26 have been illuminated by maximum entropy methods27, agent-based simulations28, and analytically tractable models based on self-propelled particles29, and continuum limits30,31,32,33.
Studies of swarming and synchronization have much in common. Both involve large, self-organizing groups of individuals interacting according to simple rules. Both lie at the intersection of nonlinear dynamics and statistical physics. Nevertheless the two fields have, by and large, remained disconnected. Studies of swarms focus on how animals move, while neglecting the dynamics of their internal states. Studies of synchronization do the opposite: they focus on oscillators’ internal dynamics, not on their motion. In the past decade, however, a few studies of “mobile oscillators,” motivated by applications in robotics and developmental biology, have brought the two fields into contact34,35,36,37,38. Even so, the assumption has been that the oscillators’ locations affect their phase dynamics, but not conversely. Their motion has been modeled as a random walk or as externally determined, without feedback from the oscillators’ phases.
We suspect that somewhere in nature and technology there must be mobile oscillators whose phases affect how they move. For instance, many species of frogs, crickets, and katydids call periodically, and synchronize in vast choruses6,39,40,41. The natural question is whether they tend to hop toward or away from others depending on the relative phases of their calling rhythms, and if so, what spatiotemporal patterns are produced.
A clue comes from the physics of magnetic colloids42,43,44 and microfluidic mixtures of active spinners45,46, both of which show rich collective behavior. In these systems, the particles or spinners attract or repel one another, depending on their orientations. Given that orientation is formally analogous to the phase of an oscillation (both being circular variables), a similarly rich phenomenology is expected for mobile oscillators whose phases affect their motion. We call these hypothetical systems ‘swarmalators’ because they generalize swarms and oscillators.
One possible instance of a swarmalator system is a population of myxobacteria, modeled in 2001 by Igoshin and colleagues47. The movements of these bacteria in space are thought to be influenced by an internal, biochemical degree of freedom, which appears to vary cyclically. Igoshin et al.47 modeled it as a phase oscillator. Experimental evidence suggests that the evolution of this phase is influenced by the spatial density of neighboring cells; thus there appears to be a bidirectional coupling between spatial and phase dynamics, as required of swarmalators.
Tanaka and colleagues also made an early contribution to the modeling of swarmalators48,49. They analyzed a broad class of models in the hope of finding phenomena which were not system-specific. They considered chemotactic oscillators, whose movements in space are mediated by the diffusion of a background chemical. The oscillators’ consumption of this chemical depends on their internal states, thereby completing the bidirectional space-phase coupling. Tanaka et al.48,49 began with a general model with these ingredients, from which they derived a simpler model by means of center manifold and phase-reduction methods.
Here we take a bottom-up approach. We propose a simple model of a swarmalator system which lets us study some of its collective states analytically. We hope our work will draw attention to this class of problems, and stimulate the discovery and characterization of natural and technological systems of swarmalators.
We consider swarmalators free to move in the plane. The governing equations are
for i = 1, …, N, where N is the population size, x i = (x i , y i ) is the position of the i-th swarmalator, and θ i , ω I , and v i are its phase, natural frequency, and self-propulsion velocity. The functions I att and I rep represent the spatial attraction and repulsion between swarmalators, while the phase interaction is captured by H att. The function F in Eq. (1) measures the influence of phase similarity on spatial attraction, while G in Eq. (2) measures the influence of spatial proximity on the phase attraction.
Consider the following instance of this model:
For simplicity, we chose power laws for I att, I rep, and G along with analytically convenient exponents. The sine function in H att was similarly motivated, in the spirit of the Kuramoto model2. We first consider identical swarmalators so that ω i = ω and v i = v. Further, we assume propulsion with constant magnitude and direction where is a constant vector (we relax these simplifications later). Then by a choice of reference frame we can set ω = v 0 = 0 without loss of generality. Finally, by rescaling time and space we set A = B = 1. This leaves us with a system with two parameters (J, K).
The parameter K is the phase coupling strength. For K > 0, the phase coupling between swarmalators tends to minimize their phase difference, while for K < 0, this phase difference is maximized. The parameter J measures the extent to which phase similarity enhances spatial attraction. For J > 0, “like attracts like”: swarmalators prefer to be near other swarmalators with the same phase. When J < 0, we have the opposite scenario: swarmalators are preferentially attracted in space to those with opposite phase. And when J = 0, swaramalators are phase-agnostic, their spatial attraction being independent of their phase. To keep I att > 0, we constrain J to satisfy −1 ≤ J ≤ 1.
Before stating our results, we pause to discuss our model’s features. As mentioned above, the model’s purpose is to study the interplay between synchronization and swarming. Let us clarify what we mean by swarming. While, to our knowledge, there is no unanimous classification, elements of a swarming system typically attract and repel each other, leading to aggregation, and align their orientations so as to move in the same direction. Succinctly then, a swarming system models aggregation and/or alignment.
Our model accounts for aggregation, but not for alignment: the spatial dynamics (1) model phase-dependent aggregation, while the phase dynamics (2) model position-dependent synchronization. There are no alignment terms. Indeed, the particles of our system do not have an orientation so there is nothing to align! We chose to neglect an orientation state variable, and thus alignment, for two reasons. The first was simply because we believe there are swarmalator systems in which orientation does not play a role, such as the Japanese tree frogs6,41 or chemotactic oscillators48,49. The second was that modeling orientable swarmalators adds an additional layer of complexity; it gives each swarmalator an orientation β, increasing the number of state variables per swarmalator from three (a two-dimensional position (x, y) and an internal phase θ) to four.
In the interest of minimalism we wished to avoid this complication for now. Hence as it stands our model applies only to swarmalators without an orientation. However we later show that our results are robust to the inclusion of simple alignment dynamics, indicating their potential to hold for systems of orientable swarmalators as well.
We performed numerical experiments to probe the behavior of our system. Unless otherwise stated, the simulations were run using python’s ODE solver ‘odeint’. We initially positioned the swarmalators in a box of length 2 and drew their phases from [−π, π], both uniformly at random. We found the system settles into five states (Supplementary Movies 1–5). In three of these states, the swarmalators are ultimately static in space and phase. In the remaining two, the swarmalators move. However in all states, the density of swarmalators ρ(x, θ, t) is time-independent, where ρ(x, θ, t)d x dθ gives the fraction of swarmalators with positions between x and x + d x, and phases between θ and θ + dθ at time t. In Fig. 1 we show where these states occur in the (J, K) parameter plane. In Figs. 2–6 we show their key properties. We next discuss these five states.
Static synchrony: The first state is shown in Fig. 2a. The swarmalators form a circularly symmetric, crystal-like distribution in space, and are fully synchronized in phase, as indicated by all of them having the same color in Fig. 2a. Since the swarmalators are ultimately stationary in x, and they all end up at the same phase θ, we call this the ‘static sync’ state. It occurs for K > 0 and for all J, as seen in Fig. 1.
In the continuum limit, this state is described by ρ(r, ϕ, θ, t) = g 1(r)δ(θ − θ 0), where ϕ is the spatial angle , and the final phase θ 0 is determined from the initial conditions. In Supplementary Note 1 we used a technique by Kololnikov et al.50 when studying swarms to derive the following pair of integral equations for g 1:
where are the complete elliptic integral of the first and second kinds, and R is the radius of the disk in the (x, y) plane which must be determined. We were unable to solve these equations for g 1(r) and R, so instead solve them numerically, and show the results in Supplementary Note 1. Analytic progress can however be made if a linear attraction kernel I att(x) = x, is used instead of the unit vector kernel we are currently considering. Then, as shown in Kolokolnikov et al.50, the radial density becomes g 1(r) = 1, i.e., swarmalators are uniformly distributed. In this special case we can also calculate R analytically,
We show a full derivation in the Methods section. In dimensionful units, this reads . Thus the radius is determined by the ratio of the strengths of the attractive to the repulsive forces I att, I rep (in the static sync state, the effective attraction force is A + J cos(θ j − θ i ) = A + J, since all swarmalators have the same phase). Figure 4a shows the prediction (7) agrees with simulation results.
Static asynchrony: Swarmalators can also form a static async state, illustrated in Fig. 2b. At any given location x, all phases θ can occur, and hence all colors are present everywhere in Fig. 2b. This is seen more clearly in a scatter plot of the swarmalators in the (ϕ, θ) plane, depicted in Fig. 3a. Notice that the swarmalators are distributed uniformly, meaning that every phase occurs everywhere. This completely asynchronous state occurs in the quadrant J < 0, K < 0, and also for J > 0 as long as J lies in the wedge shown in the phase diagram in Fig. 1. As for the static sync state, we were able to calculate the radius of the circular distribution when a linear attraction kernel I att(x) was used. In the Methods section we show this radius is given by
which agrees with simulation as shown in Fig. 4a.
Static phase wave: The final stationary state occurs for the special case K = 0 and J > 0. This means the swarmalators’ phases are frozen at their initial values. Still, the population evolves by rearranging itself in space. Since J > 0, ‘like attracts like’: swarmalators want to settle near others with similar phase. The result is an annular structure where the spatial angle ϕ of each swarmalator is perfectly correlated with its phase θ, as seen in Figs. 2c and 3b. Since the phases run through a full cycle as the swarmalators arrange themselves around the ring, we call this state the ‘static phase wave’.
In density space, this static phase wave state is described by ρ(r, ϕ, θ) = g 2(r)δ(ϕ ± θ + C 1) where the ± and the constant C 1, are determined by the initial conditions. In the Methods section we again consider the linear attraction kernel, and find that g 2(r) can be obtained analytically,
with . This in turn lets us calculate the inner and outer radii R 1, R 2 of the annulus:
with . Figure 3b shows agreement between these predictions and simulation.
Splintered phase wave: Moving from K = 0 into the K < 0 half-plane, we encounter the first non-stationary state, shown in Figs. 3c and 5a. As can be seen, the static phase wave splinters into disconnected clusters of distinct phases. Accordingly we call this state the ‘splintered phase wave’. It is unclear what determines the number of clusters. Fewer are found when smaller length scales for the interaction functions I att, I rep, G are used. However the parameters J, K also play a role, although how precisely has not yet been determined. Within each cluster, the swarmalators “quiver,” executing small amplitude oscillations in both position and phase about their mean values.
Active phase wave: As K is further decreased, these oscillations increase in amplitude until the swarmalators start to execute regular cycles in both spatial angle and phase. This motion is best illustrated in Fig. 3d, in which shear flow about the ϕ i = θ i ± C axis is evident. This type of flow follows from a conserved quantity in the model: , which can be seen by averaging Eqs. (3) and (4) over the population. There are also oscillations in the radial position, where each swarmalator travels from the inner rim to the outer rim and back, in one orbit around the annulus.
This new, and final, state is similar to the double milling states found in biological swarms51, where populations split into counter-rotating subgroups. It is also similar to the vortex arrays formed by groups of sperm52, where the angular position ϕ of each sperm is correlated with the phase θ associated with the rhythmic beating of its tail.
At the density level, the state is like a blurred version of the static phase wave, insofar as the spatial angle and phase of a given swarmalator are roughly correlated, as evident in Fig. 3d. However unlike the static phase wave, the swarmalators are non-stationary. To highlight this difference, we name this state the ‘active phase wave’.
Having described the five states of our system, we next discuss how to distinguish them. We define the following order parameter,
where . As shown in Fig. 6, the magnitude S ± varies from 1 to 0 as we decrease K from 0, passing through all the states in the upper left quadrant of the (J,K) plane. (Note that all states except for static sync occur in this part of parameter space, so we hereafter confine our attention to just this region.)
To see why S ± varies in this manner, recall that in the static phase wave, the spatial angle and phase of each swarmalator are perfectly correlated, ϕ i = ±θ i + C 1 (recall that the ± and C 1 are determined by the initial conditions. This means either S + or S − is non-zero). Therefore S ± = 1 at K = 0, where the static phase wave state is realized. Moving into the K < 0 plane we encounter the splintered phase wave. Here the correlation between ϕ i and θ i is not perfect, and so S ± < 1. As K is decreased the decay of this correlation is non-monotonic, which induces a dip in S ± as seen in Fig. 6. Once the active phase wave is reached however this non-monotonicity disappears. As a result S ± declines uniformly until it finally drops to zero when the static async state is reached, in which ϕ i and θ i are fully uncorrelated.
To sum up, S ± is zero in the static async state, bifurcates from zero at a critical coupling strength K c, is non-zero in the non-stationary splintered and active phase wave states, and is one in the static phase wave state.
Notice however that since S ± is non-zero for both the splintered and active phase wave, it cannot distinguish between these states. To do this, we use another order parameter γ. We define this to be the fraction of swarmalators that have executed at least one full cycle in phase and position, after transients have been discarded. Then γ is zero for the splintered phase wave, and non-zero for the active phase wave. Using γ in concert with S ± then allows us to discern all the macroscopic states of our system as illustrated in Fig. 6.
To calculate the critical coupling strength K c at which the static async state loses stability, we consider perturbations η in density space defined by
where ρ 0(x, θ, t) = (4π 2)−1 g 1(r) is density in the static async state. In Supplementary Note 2, we substitute this ansatz into the continuity equation, expand η in a Fourier series, , and derive evolution equations for the harmonics b n . We show the critical mode is b 1(x, t) (higher modes are zero, and the zeroth mode is stable) which obeys
We next expand in an additional Fourier series: . Substituting this ansatz into (14) leads to a evolution equation for each mode f m (r, t). We then set and derive the following eigenvalue equation:
where R is the radius of the support of the density in the static async state. We focus first on the zeroth mode f 0 for which we can compute H 0(r, s) analytically:
where are the complete elliptic integral of the first and second kinds. We were unable to solve (16) for λ 0 analytically. Instead, we found it numerically by approximating the integral using Gaussian quadrature. This reduces (16) to the form λ′c i = M ij c j where M ij = H 0(r i , r j )w j , w j are Gaussian quadrature weights, and i = 1…N′. The eigenvalues of M ij , which depend on the number of grid points N′ used in the quadrature, then approximate λ 0.
The eigenvalues have unexpected properties. The real part of the most unstable eigenvalue, denoted , is positive for all J, K. This tells us that f 0 is always unstable, which in turn tells us that the static async state is always unstable! In Fig. 7 we plot vs. K for J = 0.5 and N′ = 200 grid points. As can be seen it is small but positive for sufficiently negative K. Note however that there is a transition-like point beyond which increases sharply. Figure 7 also shows for m = 1, 2, 3, 4, which have the same behavior as : they are small but positive for , and grow sharply for .
Small but positive eigenvalues for were a surprise. We were expecting them to be negative, since simulations show the static async state is stable. We were thus suspicious of these results, and doubted the accuracy of the approximation to the true . We therefore repeated the calculation for different values of N′ up to N′ = 1600 in Supplementary Note 2. Contrary to our expectations, we found that while the got smaller, they consistently remained positive for .
We also crudely investigated the N′ → ∞ limit in two ways: first, by fitting our data to curves of the form a + b(N′)c and second, by using Richardson extrapolation. Due to the small magnitudes of the however, the results were rather unconvincing. Typical values for the best fit parameter a, which represents the limiting behavior of , were . The confidence interval for this parameter also contained positive and negative values. On top of that, the approximations from the first and second methods gave inconsistent results. Hence we were unable to reliably determine the sign of when and N′ → ∞, which preventing us from accurately ascertaining the stability of the static async state. We restate however that the fact that for the large but finite value of N′ we used is significant evidence that the unanticipated instability of the static async state is genuine.
While a rigorous determination of the sign of when remains elusive, our analysis certifiably shows its magnitude is very small. Hence, whatever the stability or instability of the m-th mode f m turns out to be, it must be weak. In turn, then, the static async state has weak stability properties for K < K c, where (i.e., at the point the most unstable f m loses stability). To find this K c we look for the least stable mode. In Fig. 7 we see the f 1 becomes unstable first. There are of course an infinite number of modes, but as can be seen, appears to decrease with increasing m. Thus we assume . In Supplementary Note 2, we approximate , calculate it for different J, and find the following linear relation:
Summarizing our main result: in the continuum limit N → ∞, the static async state is unstable for K > K c, and either weakly stable, neutrally stable, or weakly unstable for K < K c. Further, numerical evidence suggests that the third option, weakly unstable, is the most likely. While this result is perhaps unsatisfying from a technical perspective, in practice it has utility. For example as shown in Fig. 1, the approximation (18) for K c agrees reasonably well with finite N simulations.
Our analysis so far has been for the instance (3), (4), of the model defined by (1), (2). This begs the question of whether the phenomena we found are generic to the model, or specific to this instance of the model. To answer this question, we ran simulations for different choices of the functions I rep, I att and G; see Supplementary Note 4.
In all but one case, we found the same phenomena. The exception is when a linear attraction kernel I att(x) = x is used. Here we found new states, which we call ‘non-stationary phase waves’. They are similar to the active phase wave, except now the phase Ψ± of the order parameter W ± begins to rotate, reminiscent of the traveling wave states found in the Kuramoto model with distributed coupling strengths53,54. We further discuss this and other properties in Supplementary Note 4.
Noise and disordered natural frequencies
The swarmalators previously considered were identical and noiseless. We now relax these idealizations. Then the governing equations are
where ω i are random variables drawn from a Lorentzian . By a change of frame we set μ = 0, leaving just σ, which quantifies the strength of the disorder. We choose white noise variables η i (t) and with zero mean and strengths D x , D y , D θ characterized by , etc.
Simulations show that when just phase noise D θ is turned on, noisy versions of all the states are realized. The splintered phase wave however degenerates into the active phase wave for all but the smallest noise D θ ≳ 10−3. In the remaining states, the spatial densities remain compact supported with the same radii, except now the swarmalators have noisy phase motion (this induces some spatial movement, which disappears when N → ∞ as we show in Supplementary Note 3). Hence the following states, where we have swapped the descriptor ‘static’ with ‘noisy’, are robustly realized when D θ > 0: noisy phase wave, active phase wave, noisy async.
Frequency disorder σ > 0 has a more serious effect. Since g(ω) is symmetric about zero, there are equal numbers of swarmalators with oppositely signed natural frequencies. This turns the static/noisy phase wave into the active phase wave, in the sense that counter-rotating groups develop. This is not seen in the async state. Here, there are noisy spatial movements which vanish as N → ∞, as in the noisy async state. In contrast however, the swarmalators execute noisy, but full, phase cycles. To highlight this distinction, we rename the state the active async state. The states realized are then the active phase wave and the active async.
Finally spatial noise D x , D y > 0 simply blurs the spatial densities of the states. No other phenomena are induced. Hence when D θ , σ, D x , D y > 0, we again get the active phase wave and active async states.
In Fig. 8 we plot the order parameter S(K) for different amounts of noise and frequency disorder. As for the original model, S simply declines to zero as K is decreased, with the noise and disordered frequencies changing just the shape of the curves and the value of K c. Note the disappearance of the dip in S for small K, which indicates the absence of the splintered phase wave state. Note also we do not plot the second order parameter γ which discerns the splintered phase wave since this state does not robustly exist when σ, D θ ≠ 0.
Swarmalators in 3D
So far we have considered swarmalators moving in two dimensions. While there are physical systems where this approximation is valid, such as certain active colloids55 or sperm, which are often attracted to two-dimensional surfaces56, this restriction was mostly for mathematical convenience. Here we explore the more physically realistic case of motion in three spatial dimensions (in Supplementary Note 6 we also explore motion in one dimension). For simplicity we consider the case of identical swarmalators with no noise, although we relax these idealizations in Supplementary Note 5. Our system is then
where x i = (x i , y i , z i ). These are the same as Eqs. (3) and (4), except the exponent of the hard shell repulsion is now 3 (we choose this because it yields simple formulas for the radii of certain states).
Simulations show that analogs of the states found in 2D are realized. We show these as scatter plots in the (x, y, z) plane in Fig. 9. We also provide movies of the evolution to these states in Supplementary Movies 9–12. The static sync and async states become spheres (note we do not plot the static sync state due to space limitations) as seen in panel (a). As in the 2D case, we can calculate their radii when a linear attraction kernel is used,
which agree with simulation as shown in Supplementary Note 5.
In panel (b) we show the static phase wave becomes a sphere with a cylindrical hole through its center. The orientation of this cylinder is determined by the initial conditions. The phase and azimuthal angle are correlated in the same way for each value of the polar angle (when the azimuthal and polar angles are measured relative to the axis of the cylindrical hole). We show this more clearly in a scatter plot in the (θ, ϕ) plane in Supplementary Note 5.
As in the 2D model, this correlation between ϕ and θ persists for the splintered phase waves and active phase wave states as can be seen in panels (c) and (d) of Fig. 9. The motion of the swarmalators in these states are as before: in the splintered phase wave they ‘quiver’, executing small oscillations in space and phase, while in the active phase wave they execute full rotations (note the spatial component of these rotations are in the azimuthal direction only, not in the polar direction ). In Supplementary Note 5 we show how the order parameters S ±, γ can also be used to differentiate these 3D states.
Alignment and self-propulsion
Up to now we have considered the trivial case of swarmalators that propel themselves with constant magnitude and direction, in a manner uninfluenced by their neighbors. This allowed us to set this term to zero via a change of reference. In many real systems, however, such behavior is unrealistic: individuals often adjust the direction of their motion to align with that of their neighbors. Vicsek studied this alignment effect in a seminal work29.
We here partially explore the effect of alignment on swarmalator systems. Accordingly we endow each swarmalator with an orientation β, which characterizes the direction of its self-propulsion. The inclusion of alignment makes our model complicated; there are now four state variables (x, y, θ, β) per swarmalator, which could interact with each other in potentially many ways. Furthermore, there are six parameters (J, K, σ, D θ , D x , D y ), not to mention any additional parameters governing the evolution of β. An exhaustive study of orientable swarmalators is thus beyond the scope of the present work. Hence, we restrict ourselves to checking if the states of our swarmalator system are robust to the inclusion of simple alignment dynamics.
To this end, we study the simplest possible extension to our current model: we choose Vicsek type interactions between x and β, and leave β and the phase θ uncoupled (although they are indirectly coupled through the position x). Our system then reads
where , Λ i is the set of swarmalators within a distance δ of the i-th swarmalator, and is the number of such neighbors. The ζ i (t) is a white noise variable with zero mean and strength D β characterized by .
Simulations show that for certain parameter values aligned versions of all our states persist. We plot two of these in panels (a) and (b) of Fig. 10, where each swarmalator is depicted as a colored arrow, oriented according to β, and colored according to phase. As can be seen the swarmalators are aligned, with their space-phase distributions being the same as before. In contrast to the original model, however, the center of mass of each distribution now moves (in a direction determined by the initial conditions). In this sense the states are mobile. They are however equivalent to their static versions via a change of reference frame, x → x + v 0 t. For larger D β , the unaligned versions of the same states are realized, as illustrated in panels (c) and (d) of Fig. 10.
We have demonstrated that the phenomena of our system are insensitive to the inclusion of simple alignment dynamics. We restate however that we have not comprehensively explored the space defined by the other parameters (J, K, σ, v 0, D x , D y ) given its large size. Thus it remains to be seen if new states will be found.
We have examined the collective dynamics of swarmalators. These are mobile particles or agents with both phase and spatial degrees of freedom, which lets them sync and swarm. Furthermore, their phase and spatial dynamics are coupled. By studying simple models, we found this coupling leads to rich spatiotemporal patterns which we explored analytically and numerically. These patterns were robust to modifications to the model, namely motion in one, two, and three spatial dimensions, distributed natural frequencies, noisy interactions, and alignment dynamics. We thus believe they could be realized in nature or technology.
A pertinent future goal, then, is to investigate the behavior of real-world systems of swarmalators. As mentioned in the introduction, colloidal suspensions of magnetic particles42,43,44 or active spinners45,46 are promising candidates. For example, structures equivalent to the static phase wave state have been experimentally realized by Snezhko and Aranson, when studying the behavior of ferromagnetic colloids at liquid-liquid interfaces43 (the particles comprising the colloids can be considered swarmalators if we interpret the angle subtended by their magnetic dipole vectors as their phase). As shown in Fig. 4 of ref. 43, the colloids can form asters. These are structures composed of radial chains of magnetically ordered particles, which “decorate slopes of a self-induced circular standing wave”43, analogous to the annular pattern of correlated phases and positions of the static phase wave shown in Fig. 2c.
Perhaps colloidal equivalents of the splintered and active phase wave states could also be realized. Aside from being theoretically interesting, the ability to engineer these states could have practical application. For instance, Snezhko and Aranson also show that asters can be manipulated to capture and transport target particles. The non-stationary behavior of the splintered and active wave states might also have locomotive utility. Tentative evidence for this claim is provided by populations of cilia, whose collective metachronal waves, similar to the motion of swarmalators in the aforementioned states, are known to facilitate biological transport57,58,59.
Other plausible systems of real-world swarmalators are biological microswimmers, self-propelled micro-organisms capable of collective behavior60. One such contender is populations of spermatoza, which exhibit rich swarming behavior such as trains61,62 and vortex arrays52, the latter of which is reminiscent of the active phase wave state, as mentioned in the Results section. The phase variable for each sperm is associated with the rhythmic beating of the sperm’s tail, which can synchronize with that of a neighboring sperm63,64. It has been theorized that this can induce spatial attraction65, leading to clusters of synchronized sperm, consistent with experimentally observed behavior66.
There are also theoretical avenues to explore within our proposed model of swarmalators. For instance the curious stability properties of the static async state deserve further study. Another route would be to include more realism by including heterogeneity in the coupling parameters K, J, or by choosing more complicated interaction functions I att, I rep, G, H att. For example we chose H att(θ) = sin(θ) to mimic the Kuramoto model, but as we saw, it led to just the trivial static sync state when K > 0. Perhaps choosing the more realistic Winfree model for the phase dynamics, which gives rise to richer collective behavior, would lead to more interesting swarmalator phenomena in this parameter regime.
Perhaps the most important direction for future work is to more fully explore the interplay among aggregation, alignment, and synchronization—or put another way, to explore the collective behavior of particles with a position x, an orientation β, and an internal phase θ. The primary goal of our work is to draw attention to this class of problems, which we believe define a wide landscape of emergent behavior. In this work, we have started to map out this landscape by studying a simple model that contains a subset of these three effects, namely aggregation and synchronization.
Others have considered the remaining subsets. For example, Leon and Liverpool have explored the interaction between alignment and synchronization67. They introduced a new class of soft active fluids whose units have an orientation and phase. They found this mixture can either enhance or inhibit the transition from disordered states to states with polar order. The latter states are roughly similar to the aligned static async states. They also found transitions from disordered states to states with phase order, which are analogous to unaligned static sync states. Yet counterparts of the static, splintered, and active phase waves were not reported.
The final combination, aggregation and alignment, is perhaps the most well studied, in both new models and old. For instance, Starnini et al.68 recently introduced a model of mobile particles capable of aggregating and aligning their opinions, and found the emergence of echo chambers. Even in the classic Vicsek model and its numerous extensions, new phenomena are still being found. For instance, Kruk et al.69 found that delayed alignment in the Vicsek model produces self-propelled chimeras; perhaps delayed phase interactions could lead to similar states for swarmalators. Liebchen and Levis70 considered units with an intrinsic rotation, and found ‘phase separated droplets’: clusters of rotation-synchronized particles surrounded by a sea of incoherent particles (multiple droplets are also possible). These droplets are similar to our static sync states, but they differ in the crucial respect that the entire population is synchronized in our static sync state. Here too, the counterparts of our static, splintered, and active phase waves were not seen.
Thus, to the best of our knowledge, no other models display states analogous to the splintered phase waves and active phase waves found in our swarmalator model. In that sense, those two states are unprecedented.
Properties of static sync and async state
We here use techniques used by Fetecau et al.50 when studying swarm dynamics to study the static sync and static async states with a linear attraction kernel I att(x) = x is used. We start with the async state whose density is
We wish to solve for the radial density g 1(r) and the radius R of its support. In this state the swarmalators are at rest and their phases are unchanging, so , where . As we will show, it is also useful to consider the divergence of the velocity, which must also be zero (from the continuity equation for the conservation of swarmalators, and by applying the assumptions that the density for the static async state is stationary and the velocity is zero). This gives us a pair of simultaneous equations,
We begin with divergence term given by (30). In Cartesian coordinates the velocity reads
The divergence has a spatial and phase component: . The phase component ∂ θ v θ is trivially zero, since the swarmalators’ phases are uniformly distributed in phase in the static async state. We find the spatial component by applying ∇ x to (31):
Here we have used the identity (expressed most cleanly in Cartesian coordinates)
Simplifying this, and substituting ∂ θ v θ = 0 gives the full divergence
By (30) we require this to be zero, which gives a self-consistent equation for ρ:
Finally substituting the ansatz given by (28) into this and performing the integration over ϕ gives
This tells us ρ is constant inside a disc of radius R. The radius R can be determined via self-consistency: . By normalizing ρ as per (28) we find M = 1 which means g(r) = 2. Putting this all together gives
where we have used the identity
Carrying out the same analysis for the static sync state leads to
where θ 0 is the final common phase of the swarmalators in the static sync state.
Properties of static phase wave state
Here we calculate the density of swarmalators, and inner and outer radii R 1, R 2 of the annulus, in the static phase wave state, when a linear attraction kernel is used.
The calculation is the same as for the static sync and async states: we assert
The density of the static phase wave state is
We first calculate the divergence, which in polar coordinates is given by
The velocity is given by
Setting this to zero, we see g 2(r) satisfies
which means it can be determined self-consistently in terms of R 1 and R 2. The result is
Since , the coefficients C, D must be zero. This yields two equations for R 1, R 2, with solutions
and small-J expansion given by
The data that support the findings of this study (simulation source code and figure raw data) are available from the author K.P.O.K. upon request.
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Research supported by United States NSF Grant Nos. DMS-1513179 and CCF-1522054 (S.H.S), and by South Korean NRF Grant No. NRF-2015R1D1A3A01016345 (H.H.).
Electronic supplementary material
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.