Dynamics

A long enough chain never locks

Line oscillators with different natural rhythms up in a row and let each feel only its two neighbours. The chain locks into one frequency exactly when the coupling exceeds the largest running total of their frequency differences — a random walk tied down at both ends — so the coupling needed grows like √N, and its law is Kolmogorov's, the same distribution that tests whether a sample fits a curve.

Worth reading first: A crowd of clocks that falls into step · How a lock comes apart.

A crowd of clocks that falls into step found Kuramoto’s threshold for a population in which every oscillator feels every other equally: below a coupling of twice the spread of the natural frequencies nothing happens, above it a cluster forms, and the threshold does not depend on how many oscillators there are. It ended on the other extreme, a population in which each oscillator feels only its neighbours, and stated without measuring it that a long chain never fully synchronises. This essay measures it, and finds that the threshold for complete locking of a chain can be read off the natural frequencies by a single running sum, that it grows like the square root of the chain’s length, and that its distribution across random chains is one of the classical laws of statistics.

The chain is the simplest network that is not complete. Oscillator ii has natural frequency ωi\omega_i and phase θi\theta_i, and it is pulled only by oscillators i−1i - 1 and i+1i + 1:

dθidt=ωi+K[sin⁡(θi+1−θi)+sin⁡(θi−1−θi)],\frac{d\theta_i}{dt} = \omega_i + K\big[\sin(\theta_{i+1} - \theta_i) + \sin(\theta_{i-1} - \theta_i)\big],

with the two end oscillators having only one neighbour each. Locking means that every oscillator runs at the same average frequency, so the whole chain turns together like a single clock with a fixed pattern of phase differences along it.

A chain locks whole or breaks at its weakest link. Chain of 40, Kₗ = 4.4817 at link 27; frequency spread 1.86e-5 at 1.04 Kₗ, 0.0645 at 0.96 Kₗ.
Fig. 1 A chain of 40 oscillators with natural frequencies from the bell curve, each pulled by its two neighbours: the average frequency of each over a long run, at couplings 4 per cent above and 4 per cent below the chain’s locking value 4.482. Above it the chain runs at one frequency; below it the chain splits into two groups at the dashed link, after oscillator 27.

Suppose the chain has locked, with every oscillator running at the common frequency ωˉ\bar\omega, which must be the average of the natural frequencies because the coupling terms cancel in pairs when all the equations are added. Now add up only the equations of the first kk oscillators. Every coupling term between two of those oscillators cancels with its partner, and only the term across the link between oscillator kk and oscillator k+1k + 1 survives:

Ksin⁡(θk+1−θk)=−∑i≤k(ωi−ωˉ)=−Sk.K\sin(\theta_{k+1} - \theta_k) = -\sum_{i \le k} (\omega_i - \bar\omega) = -S_k.

So the link after oscillator kk must carry the whole imbalance SkS_k of natural frequencies on one side of it: the first kk oscillators, if they are faster than average in total, must be held back by exactly that much, and the only thing that can hold them back is the one link joining them to the rest. A sine is at most one, so the link can carry at most KK. A locked state therefore exists exactly when every running total SkS_k lies between −K-K and KK, and the locking coupling is the largest of them in absolute value:

KL=max⁡k∣Sk∣.K_L = \max_k |S_k|.

This criterion was found by Bard Ermentrout and Nancy Kopell in 1984, and Steven Strogatz and Renato Mirollo used it in 1988 to study chains with random frequencies. It turns a question about a nonlinear system of differential equations into a question about a list of numbers.

Each link must carry the imbalance on one side of it. Partial sums of centred frequencies for the chain of 40: max |S| = 4.4817 at link 27.
Fig. 2 For the same chain, the running sum of the natural frequencies minus their average, link by link. Every link must carry its running sum, and a sine can supply at most K, so the chain locks exactly when every point lies inside the band ±K. The largest, 4.482 at link 27, is the locking coupling.

For the chain of forty in the hero figure the running sums wander up and down and reach their largest size, 4.4824.482, at link 27. That is the chain’s locking coupling. At 44 per cent above it, the simulation runs every oscillator at one frequency to within 2×10−52 \times 10^{-5}, the error of the integration. At 44 per cent below it, the chain breaks in two, and the break is at link 27: the first 27 oscillators run together at one frequency, the last 13 at another, 0.0650.065 apart. The weakest link fails first, and it is weakest not because its own oscillators are unusual but because it carries the accumulated imbalance of everything on one side.

The shape of a locked chain

The same equation that gives the threshold gives the locked state itself. Above KLK_L, the phase difference across link kk is fixed by sin⁡(θk+1−θk)=−Sk/K\sin(\theta_{k+1} - \theta_k) = -S_k/K, so the phases along a locked chain are a picture of its running sums: where the sum climbs, the phases fall behind link by link, and where it falls, they pull ahead. Every link sits at an angle whose sine is its share of the load, and as KK decreases towards KLK_L the most heavily loaded link turns towards a right angle, the largest pull a sine can deliver.

Each link’s equation has two solutions, an angle and its supplement, so a chain of N−1N - 1 links has 2N−12^{N-1} locked states in all whenever KK exceeds KLK_L. Only one of them is stable: the one in which every link takes the angle nearer nought, so that every cosine is positive. The stability calculation linearises the equations about the locked state and finds a weighted version of the graph Laplacian, with link kk weighted by Kcos⁡(θk+1−θk)K\cos(\theta_{k+1} - \theta_k), and a Laplacian with positive weights pushes every disturbance back towards the locked state. At K=KLK = K_L the weakest link’s cosine reaches nought, its two solutions merge, and the stable locked state disappears in a saddle-node bifurcation — the same event that how a lock comes apart followed at the edge of an Arnold tongue, here happening at one particular link of a long chain.

That is why the chain breaks exactly at the link with the largest running sum: it is the first link whose cosine reaches nought, and once it slips the two sides of it become independent chains, each with its own average frequency and its own running sums measured from that average.

Checked one chain at a time

The criterion is a theorem, and the next figure checks it the way it would be used: from the natural frequencies alone, predict the locking coupling, then simulate just above and just below.

The partial sums decide, chain after chain. N=12: Kₗ 2.012, spread above 4.5e-14, below 1.5e-1; N=16: Kₗ 2.692, spread above 9.0e-12, below 3.4e-1; N=20: Kₗ 3.526, spread above 8.4e-8, below 1.0e-1; N=24: Kₗ 3.047, spread above 2.3e-5, below 5.8e-2; N=28: Kₗ 5.429, spread above 3.4e-6, below 8.7e-2; N=12: Kₗ 2.084, spread above 1.2e-12, below 1.6e-1; N=16: Kₗ 2.604, spread above 9.8e-10, below 1.0e-1; N=20: Kₗ 2.676, spread above 1.9e-7, below 8.1e-2; N=24: Kₗ 2.494, spread above 5.9e-6, below 1.0e-1; N=28: Kₗ 4.033, spread above 6.4e-6, below 8.6e-2; N=12: Kₗ 2.290, spread above 1.5e-13, below 2.0e-1; N=16: Kₗ 2.367, spread above 8.2e-11, below 2.1e-1; N=20: Kₗ 3.548, spread above 7.6e-10, below 1.3e-1; N=24: Kₗ 5.752, spread above 3.2e-9, below 1.4e-1; N=28: Kₗ 3.336, spread above 2.4e-5, below 7.5e-2; N=12: Kₗ 3.310, spread above 2.1e-17, below 2.2e-1.
Fig. 3 For 16 random chains of 12 to 28 oscillators, the spread between the fastest and slowest average frequencies when each is simulated 3 per cent above and 3 per cent below its predicted locking coupling, on a logarithmic scale. Above, the spread is at the level of the integration’s error; below, it is ten to a thousand times larger.

Every one of the sixteen chains behaves as predicted. Three per cent above its own KLK_L, the spread of average frequencies is at most a few hundred-thousandths, and for most chains far less — down to 10−1310^{-13}, which is the arithmetic, not the dynamics. Three per cent below, the spread is between five hundredths and a third. The prediction used nothing but the frequencies and a running sum. That is worth emphasising because the alternative — finding the threshold by simulating at many couplings and watching for locking — is slow and unreliable near the threshold, where the oscillators take a long time to settle and look nearly locked for a long time before they slip.

The square root of the length

For a chain whose natural frequencies are drawn independently from a distribution with spread σ\sigma, the running sums SkS_k are a random walk. It is a walk with a constraint: since the frequencies are measured from their own average, the walk must return to nought at the end, SN=0S_N = 0. A random walk forced to return to its start is called a bridge, and its largest excursion grows like the square root of its length, by the same law that makes the spread of a sum of coin flips grow like the square root of their number and that makes a walk that comes home wander a distance of order n\sqrt n before it does. So the locking coupling of a long chain grows like N\sqrt N.

A chain needs coupling that grows like √N. N=10: mean Kₗ/√N 0.6809; N=30: mean Kₗ/√N 0.7717; N=100: mean Kₗ/√N 0.8084; N=300: mean Kₗ/√N 0.8319; N=1000: mean Kₗ/√N 0.8499; N=3000: mean Kₗ/√N 0.8429; N=10000: mean Kₗ/√N 0.8595; limit 0.86873.
Fig. 4 The average coupling needed to lock a chain of N oscillators with natural frequencies of spread 1, against N on logarithmic scales, with 0.8687N0.8687\sqrt{N} dashed. The dotted line is the threshold of an all-to-all population, 1.596, which does not grow.

Averaged over thousands of random chains, the locking coupling divided by N\sqrt N is 0.6810.681 at ten oscillators, 0.8080.808 at a hundred, 0.8500.850 at a thousand and 0.8600.860 at ten thousand, approaching the limit π/2 ln⁡2=0.8687\sqrt{\pi/2}\,\ln 2 = 0.8687 from below. So a chain of ten thousand oscillators with frequencies of spread one needs a coupling of about 86 to lock, while a population of the same oscillators all coupled to each other needs only 1.5961.596, Kuramoto’s 2/(πg(0))2/(\pi g(0)), whatever its size.

The consequence is the sentence the earlier essay stated: no fixed coupling locks a long enough chain. For any KK, a chain of more than about (K/0.87)2(K/0.87)^2 oscillators will typically have some link whose running imbalance exceeds it, and that link will slip. This is the oscillator version of what two chaotic orbits made to agree found for rings of chaotic maps: with only local coupling, the strength needed to make a whole line agree grows with the line’s length, because disagreement accumulates along it faster than a single link can absorb it.

A ring carries a current

Joining the two ends of the chain into a ring changes the arithmetic in one respect, and the change is instructive. On a ring, the first kk oscillators are joined to the rest by two links, one at each end, so the imbalance SkS_k can be shared between them. There is a free constant: every link can carry its running sum minus the same amount cc, a circulating flow round the ring that adds to every link equally and cancels in every sum of equations. The ring locks when some choice of cc brings every Sk−cS_k - c inside ±K\pm K, and the best choice puts cc midway between the largest and smallest running sums. So a ring’s locking coupling is half the range of its running sums rather than the largest of them in size — for a random walk bridge, a smaller number, but one that still grows like N\sqrt N, with a law found by Kuiper in 1960 for the circular version of the Kolmogorov–Smirnov test.

The circulating constant has a second meaning that matters when the oscillators are identical. Then every running sum is nought, and the ring can lock with any circulation small enough for KK to carry: the phases can wind round the ring, each link turned by the same angle, and come back to where they started after a whole number of turns. A chain cannot wind, because its ends are free. A ring can, and the next essay on this subject follows a ring of identical clocks into those winding states.

Kolmogorov’s law

The limit π/2 ln⁡2\sqrt{\pi/2}\,\ln 2 is not an arbitrary constant. It is the mean of a distribution that statistics has used since 1933.

The locking coupling follows Kolmogorov's law. 4000 chains of 1000: mean Kₗ/√N 0.8499; Kolmogorov–Smirnov distance to Kolmogorov's law 0.0387.
Fig. 5 The coupling needed to lock each of 4,000 random chains of 1,000 oscillators, divided by 1000\sqrt{1000}, as a histogram, against the density of Kolmogorov’s distribution — the law of the largest excursion of a Brownian bridge. The largest gap between the two distribution functions is 0.039.

As the chain grows, its running sums, rescaled by σN\sigma\sqrt N, converge to a Brownian bridge — the same passage from a jagged walk to a continuous random curve that the walk that becomes a curve watched happen to an unconstrained walk, with the extra condition that the curve end where it began. The convergence is slow at the top end of the distribution, because the largest excursion of a finite walk is a little smaller than that of its limit, which is why the averages in the previous figure approach 0.86870.8687 from below; the average settles and the wobble does not found the same slow approach in sums of random terms. The bridge is the continuous limit of a random walk tied down at both ends, and the locking coupling converges in law to the largest excursion of that bridge. Andrey Kolmogorov found the distribution of that excursion in 1933: the probability that it stays below xx is

1−2∑k≥1(−1)k−1e−2k2x2,1 - 2\sum_{k \ge 1} (-1)^{k-1} e^{-2k^2x^2},

and its mean is π/2 ln⁡2\sqrt{\pi/2}\,\ln 2. Four thousand chains of a thousand oscillators each give a histogram that follows Kolmogorov’s density closely, the largest gap between the two distribution functions being 0.0390.039.

Kolmogorov’s distribution is best known as the law of the Kolmogorov–Smirnov statistic: to test whether a sample of NN numbers came from a given distribution, compare the sample’s cumulative proportions with the distribution’s, take the largest difference, and multiply by N\sqrt N. Under the hypothesis that the sample fits, that difference is the largest excursion of a tied-down random walk, for the same reason the chain’s running sums are: both are cumulative sums of independent deviations that must add to nought at the end. A chain of oscillators deciding whether it can lock is computing a goodness-of-fit statistic of its own natural frequencies.

Breaking into plateaus

Below the locking coupling the chain does not simply stop being synchronised. It breaks into groups of neighbours that share a frequency, and the last figure follows the breaking as the coupling falls.

Below locking, the chain breaks into plateaus. 1.05 Kₗ: 1 clusters; 0.9 Kₗ: 2 clusters; 0.75 Kₗ: 2 clusters; 0.6 Kₗ: 3 clusters; 0.5 Kₗ: 3 clusters; 0.4 Kₗ: 4 clusters; 0.3 Kₗ: 7 clusters; 0.2 Kₗ: 8 clusters; 0.1 Kₗ: 38 clusters.
Fig. 6 Average frequencies along a chain of 120 oscillators at four couplings from just above its locking value down to a fifth of it. A cluster is a run of neighbours sharing one frequency. At the nine couplings tried the counts are 1, 2, 2, 3, 3, 4, 7, 8 and 38.

Just above the locking coupling the chain of 120 is one cluster. At nine tenths of it, two; at three quarters, still two; at six tenths and a half, three; at four tenths, four; at three tenths and a fifth, seven and eight; at a tenth, thirty-eight. The chain breaks first at its weakest link, where the running sum is largest, and then each piece breaks at its own weakest link, by the same criterion applied to the piece’s own frequencies measured from the piece’s own average. The plateaus are the frequency staircase that Ermentrout and Kopell called frequency plateaus, and they are seen in real chains of coupled oscillators: in the segmented oscillators that drive the swimming of a lamprey, and in the electrical rhythms along the mammalian small intestine, whose pacemaker cells form a chain with natural frequencies falling from one end to the other and are observed to lock in plateaus.

What the simulations cannot show

The locking criterion is exact and proved; the figures confirm it and use it. What they cannot settle is behaviour that the criterion does not describe. Below the locking coupling the clusters drift past each other, and their average frequencies are determined by the full nonlinear dynamics, not by any running sum; the figure measures them by simulation, and the count of clusters at a given coupling depends on the threshold used to decide when two neighbours share a frequency. Near the boundary between two plateaus the oscillators slip intermittently, and averaged over a finite run their frequencies can look intermediate.

The figures also use the bell curve for the natural frequencies. The square-root law needs only that the frequencies have a finite spread; for frequencies with heavy tails, like the Lorentzian of the earlier essay, the running sums are no longer a Brownian bridge, their largest excursion grows faster than N\sqrt N, and Kolmogorov’s law does not apply. The figure of the all-to-all threshold, for its part, assumed the bell curve too, and its value of 1.5961.596 belongs to it.

Still open: from chains to grids

The chain is solved because a line has a single route between any two points, so every link’s load is fixed by the frequencies. In two dimensions — a grid of oscillators each coupled to four neighbours — there are many routes, the load on each link depends on the phases as well as the frequencies, and no criterion like max⁡∣Sk∣\max |S_k| is known. Strogatz and Mirollo showed in 1988 that complete locking of a lattice in any dimension also needs a coupling that grows with its size. Whether a cluster spanning a positive fraction of a large lattice can form at a fixed coupling depends on the dimension, and numerical studies since have placed the dimensions at which such partial synchronisation first becomes possible — for frequencies, and separately for phases — at values that are supported by simulation and not proved.

A different question is what happens when the oscillators are identical. Then the running sums are all nought, a chain locks at any coupling, and the interesting structure moves elsewhere — to rings, where the phases can wind round the ring as they lock. How a lock comes apart found a saddle-node bifurcation at the edge of every locked state; a ring of identical oscillators has many locked states at once, and which one a random start chooses is the question the next measurement takes up.

A chain of oscillators can lock only if every link can carry the accumulated difference of natural rhythms on one side of it, and the largest of those accumulated differences is a random walk’s largest excursion. That one observation gives the threshold exactly for every chain, gives its growth like N\sqrt N for random ones, identifies its distribution with Kolmogorov’s, and predicts where a chain breaks when it fails to lock. The contrast with the crowd in which everyone feels everyone is complete. There the threshold was set by how many oscillators sit near the centre of the frequency distribution, independent of size; here it is set by the worst cumulative imbalance along a line, and it grows without bound. Coupling to everyone averages disagreement away; coupling to neighbours passes it along, link by link, until some link cannot hold it.

What links here

Computed from the collection, not written here: the essays that point at this one.

Reads more easily once this is understood

Essays that name this one as worth reading first.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

Central limit theoremPhase transitionRandom walkScalingSimulationStabilitySynchronisationThreshold