5D Library › Dyadic Phase Coupling, Bilinear Compatibility Tensors and Spatiotemporal Grid Games · 中文
Chapter 3. Amplitude, “Siphoning”, and Pursuit Against Flight
Phase alone is not enough
The oscillators of Chapter 2 have a phase but no strength. To discuss “one side gains while the other dissipates”, a model needs a quantity that can rise and fall. The simplest choice is the Stuart-Landau oscillator: each oscillator is a point in the complex plane, its phase the argument, its amplitude the modulus . Alone, an oscillator settles on a circle of radius ; coupling pulls the two points towards each other.
Calculation
Stuart-Landau oscillators with asymmetric diffusive coupling. The coupling term changes at the rate , called the “power” the coupling brings to A. It is a book-keeping quantity inside the model, not energy in a person; reading it as “giving” or “gaining” is an analogy.
The fifth program solves these equations in seven cases and reports the mean amplitudes and the coupling power in each direction.
Calculation
# Chapter 3. Amplitude as well as phase: two Stuart-Landau oscillators.
# dzA/dt = (mA + i wA - |zA|^2) zA + kAB (zB - zA)
# dzB/dt = (mB + i wB - |zB|^2) zB + kBA (zA - zB)
# Alone, each settles on a circle of radius sqrt(m). Coupling is diffusive
# and may be one-sided (kAB != kBA). The term kAB (zB - zA) changes
# |zA|^2 / 2 at the rate P_A = Re(conj(zA) kAB (zB - zA)): the "power" the
# coupling brings to A - a book-keeping quantity of the model, not energy
# in a person. Runge-Kutta 4, step 0.01, 2,000 time units; averages over
# the second half. wA = 0 throughout; dw = wB.
import cmath
def deriv(za, zb, p):
ma, mb, wa, wb, kab, kba = p
da = (ma + 1j * wa - abs(za) ** 2) * za + kab * (zb - za)
db = (mb + 1j * wb - abs(zb) ** 2) * zb + kba * (za - zb)
return da, db
def run(p, t_end=2000.0, h=0.01):
za, zb = 0.5 + 0.0j, 0.0 + 0.5j
n = int(t_end / h)
ra = rb = pa = pb = 0.0
cnt = 0
kab, kba = p[4], p[5]
for i in range(n):
k1 = deriv(za, zb, p)
k2 = deriv(za + h / 2 * k1[0], zb + h / 2 * k1[1], p)
k3 = deriv(za + h / 2 * k2[0], zb + h / 2 * k2[1], p)
k4 = deriv(za + h * k3[0], zb + h * k3[1], p)
za += h / 6 * (k1[0] + 2 * k2[0] + 2 * k3[0] + k4[0])
zb += h / 6 * (k1[1] + 2 * k2[1] + 2 * k3[1] + k4[1])
if i >= n // 2:
ra += abs(za)
rb += abs(zb)
pa += (za.conjugate() * kab * (zb - za)).real
pb += (zb.conjugate() * kba * (za - zb)).real
cnt += 1
return ra / cnt, rb / cnt, pa / cnt, pb / cnt
if __name__ == "__main__":
print(" mB dw kAB kBA |zA| |zB| P_A P_B")
cases = ((1.0, 0.5, 0.3, 0.3), (1.0, 0.5, 0.5, 0.1),
(1.0, 0.5, 0.1, 0.5), (1.0, 4.0, 1.5, 1.5),
(1.0, 4.0, 2.0, 0.2), (0.25, 0.5, 0.3, 0.3),
(0.25, 0.5, 0.05, 0.5))
for mb, dw, kab, kba in cases:
ra, rb, pa, pb = run((1.0, mb, 0.0, dw, kab, kba))
print(" {:4.2f} {:3.1f} {:4.2f} {:4.2f} {:6.4f} {:6.4f}"
" {:+7.4f} {:+7.4f}".format(mb, dw, kab, kba, ra, rb,
pa + 0.0, pb + 0.0))
print("\nReading: between equal oscillators (mA = mB = 1) coupling costs")
print("both sides amplitude, and the follower pays more. With a large")
print("gap and strong mutual coupling both go to zero (amplitude death).")
print("Only when the natural amplitudes differ (mB = 0.25) does one side")
print("gain: the weaker oscillator is pumped up and the stronger pays.")
# mB dw kAB kBA |zA| |zB| P_A P_B
# 1.00 0.5 0.30 0.30 0.9305 0.9305 -0.1162 -0.1162
# 1.00 0.5 0.50 0.10 0.9097 0.9781 -0.1427 -0.0414
# 1.00 0.5 0.10 0.50 0.9781 0.9097 -0.0414 -0.1427
# 1.00 4.0 1.50 1.50 0.0000 0.0000 +0.0000 +0.0000
# 1.00 4.0 2.00 0.20 0.4456 0.9103 -0.1591 -0.1419
# 0.25 0.5 0.30 0.30 0.9065 0.5405 -0.1465 +0.0123
# 0.25 0.5 0.05 0.50 0.9874 0.6201 -0.0244 +0.0517
#
# Reading: between equal oscillators (mA = mB = 1) coupling costs
# both sides amplitude, and the follower pays more. With a large
# gap and strong mutual coupling both go to zero (amplitude death).
# Only when the natural amplitudes differ (mB = 0.25) does one side
# gain: the weaker oscillator is pumped up and the stronger pays.No “gain” between equal oscillators. In the first five rows both have the same natural amplitude (). With symmetric coupling both amplitudes fall from 1 to 0.9305 and both coupling powers are −0.1162: coupling costs both sides. With asymmetric coupling the follower pays more — when A strongly follows B (0.50 against 0.10), A’s amplitude falls to 0.9097 with power −0.1427, while B’s falls only to 0.9781 with power −0.0414. The sum of the two powers is always negative.
Amplitude death. In the fourth row the frequency gap is 4.0 and both are strongly coupled (1.50 against 1.50): both oscillators stop, with amplitude 0. This is the “amplitude death” analysed by Aronson, Ermentrout and Kopell: when two systems that would each oscillate are too far apart in frequency and pulled too tightly together, they extinguish each other (Aronson et al. 1990). With the same gap but strong one-sided coupling (2.00 against 0.20), the follower A falls to 0.4456 while B keeps 0.9103 — only the follower is extinguished.
One side gains only when the natural amplitudes differ. The last two rows give B a natural amplitude of 0.5 (). Now B’s coupling power is positive (+0.0123 and +0.0517) and its amplitude is lifted to 0.5405 and 0.6201; A pays (−0.1465 and −0.0244). In this model the direction of “siphoning” is set by strength: the weaker side is lifted by the stronger, and the stronger pays.
Note
What this means for talk of “parasitic relationships”. The outline’s “one side gains, the other dissipates” does not arise with diffusive coupling between equal oscillators: both sides pay, only in different amounts. For one side to gain on balance, the model must include a difference in the two sides’ own strength. So in this model “parasitism” is not a result of an asymmetric coupling matrix but of the two sides being unequal to begin with. This is a mathematical analysis of an analogy, not a diagnosis of any real relationship.
One pursues, the other flees
All the couplings of Chapter 2 are positive: both sides move towards each other. A coupling can also be negative — one side moves towards the other, and the other moves away. Physics has recently studied such “non-reciprocal” coupling as a new kind of phase transition: when two populations pursue and flee, the system can enter a persistently rotating “chase” state (Fruchart et al. 2021). For two phase oscillators the case can be solved exactly: the equation for the phase difference is the same as in Chapter 2, , so the pair locks whenever the sum of couplings is positive and larger than the frequency gap, and the formula for the common frequency is unchanged. The difference is that when one weight is negative, is no longer a weighted average of and .
Calculation
# Chapter 3. When one side is attracted and the other repelled.
# In the phase model of Chapter 2 a coupling may be negative: B moves AWAY
# from A's phase. With phi = thB - thA the pair still obeys
# dphi/dt = dw - (kAB + kBA) sin(phi),
# so it locks when |dw| <= kAB + kBA (the sum must be positive), and the
# common frequency is again Omega = (kBA wA + kAB wB) / (kAB + kBA). With
# kBA < 0 the weights are no longer both positive: Omega can lie OUTSIDE
# the range [wA, wB] of the natural rhythms - a pursuit that speeds both up.
# Euler steps of 0.001 over 400 time units; wA = 1.0, wB = 1.3.
import math
def run(wa, wb, kab, kba, t_end=400.0, dt=0.001):
a, b = 0.0, 1.0
n = int(t_end / dt)
for i in range(n):
if i == n // 2:
a0, b0 = a, b
a, b = (a + (wa + kab * math.sin(b - a)) * dt,
b + (wb + kba * math.sin(a - b)) * dt)
span = (n - n // 2) * dt
return (a - a0) / span, (b - b0) / span, (b - a) % (2 * math.pi)
if __name__ == "__main__":
wa, wb = 1.0, 1.3
print(" kAB kBA sum freq A freq B formula lag phi")
for kab, kba in ((0.4, 0.4), (1.0, -0.6), (0.8, -0.45),
(-0.3, 0.8), (1.0, -0.9)):
fa, fb, phi = run(wa, wb, kab, kba)
k = kab + kba
form = "{:7.4f}".format((kba * wa + kab * wb) / k) \
if abs(wb - wa) <= k else " none "
print(" {:+4.2f} {:+5.2f} {:4.2f} {:6.4f} {:6.4f} {}"
" {:5.3f}".format(kab, kba, k, fa, fb, form, phi))
print("\nReading: with both couplings positive the shared rhythm lies")
print("between 1.0 and 1.3. When B is repelled (kBA < 0) and A pursues,")
print("the pair still locks if the sum exceeds the gap 0.3, but the")
print("common rhythm is faster than either partner alone; when A is")
print("repelled it is slower. With a sum of 0.1 there is no lock at all.")
# kAB kBA sum freq A freq B formula lag phi
# +0.40 +0.40 0.80 1.1500 1.1500 1.1500 0.384
# +1.00 -0.60 0.40 1.7500 1.7500 1.7500 0.848
# +0.80 -0.45 0.35 1.6857 1.6857 1.6857 1.030
# -0.30 +0.80 0.50 0.8200 0.8200 0.8200 0.644
# +1.00 -0.90 0.10 1.1718 1.4546 none 1.030
#
# Reading: with both couplings positive the shared rhythm lies
# between 1.0 and 1.3. When B is repelled (kBA < 0) and A pursues,
# the pair still locks if the sum exceeds the gap 0.3, but the
# common rhythm is faster than either partner alone; when A is
# repelled it is slower. With a sum of 0.1 there is no lock at all.When both move together (0.40 against 0.40), the common rhythm lies between the two, at 1.1500. When A pursues and B flees (1.00 against −0.60, a sum of 0.40), the pair still locks, but the common rhythm is 1.7500, faster than either’s own 1.0 and 1.3; at 0.80 against −0.45 it is 1.6857. When A flees and B pursues (−0.30 against 0.80), the common rhythm is 0.8200, slower than both. With couplings summing to only 0.10 (1.00 against −0.90), there is no lock and each drifts.
A pursuit-and-flight lock is a state in which “both are carried along”: the common rhythm lies outside both natural rhythms, and neither can keep their own pace. In the model this follows necessarily from a negative weight; reading it as a pattern of relationship is an analogy.
Summary
With amplitude added, diffusive coupling between equal oscillators always costs both sides, the follower more; with a large frequency gap and strong coupling both can be extinguished together (amplitude death), while strong one-sided coupling extinguishes only the follower. One side gains on balance only when the two differ in natural strength — the weaker is lifted, the stronger pays. Coupling in which one pursues and the other flees still locks if the sum is positive and large enough, but the common rhythm can lie outside both natural rhythms: the pursuer carries the fleeing side along, faster.
References
Fan, Y. (2026). Dyadic Phase Coupling, Bilinear Compatibility Tensors and Spatiotemporal Grid Games: Asymmetric Kuramoto Locking, Stopping-Time Separation Hazards and Magic-Square Permutation Operators [双人相位耦合、双线性相容张量与时空网格博弈] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090172 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).