What does Five-Node Networks and Solar Ephemeris conclude, in numbers, about “The Five-Node Cyclic Digraph: Circulant Spectrum, Hopf Bifurcation and the Log-Sum”?

Answer: Chapter 2 writes down the circulant spectrum of the five-node generation and skip-one-inhibition ring, shows that without self-limitation the uniform state is always unstable, finds the Hopf threshold c1·cos72° + c2·cos36°, and shows that no oscillation is born when the coupling ratio equals the golden ratio, 1.618; the bifurcation is supercritical; the log-sum is conserved only in the zero-sum ring (drift 4.71e-11 over 2,000 time units) and changes by 1.89 within a cycle of the generation-inhibition ring.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: -11, 1.89, 2000, 4.71

A. mu_c = 0.7135
   mu_c - mu   size (start 0.01)  size (start 0.5)  size^2/(mu_c-mu)  min x
     +0.200       0.51596           0.51596            1.331      0.0029
     +0.100       0.40632           0.40632            1.651      0.0201
     +0.050       0.31492           0.31492            1.984      0.0513
     +0.020       0.21251           0.21251            2.258      0.0957
     +0.010       0.15298           0.15299            2.340      0.1236
     -0.020       0.00000           0.00000              -      0.2000
B. H = sum ln x_i along 2,000 time units (step 0.02)
   antisymmetric ring     H in [-8.245226, -8.245226], range 4.71e-11
   ring, mu = mu_c - 0.1  H in [-10.137253, -8.245356], range 1.89
Reading: below mu_c a stable oscillation is born whose size
does not depend on the start, and size^2 / (mu_c - mu) settles
near a constant: a supercritical Hopf bifurcation. The log-sum
H is conserved only by the zero-sum (antisymmetric) ring; the
generation-inhibition ring with self-limitation does not keep
it.

Key formula

\[A = c_1 S - c_2 S^2 - \mu I .\]
Show the full program
# Chapter 2. p05: Replicator dynamics on the ring: Hopf and the log-sum.
#     dx_i/dt = x_i ((A x)_i - x.A x),   A = c1 S - c2 S^2 - mu I
# integrated in log coordinates u_i = ln x_i (x = softmax u), RK4, step
# 0.1, which keeps every x_i positive however close it comes to 0.
# A. c1 = 1, c2 = 0.5, so mu_c = 0.7135 (p04). For mu below mu_c the
#    uniform state loses stability; the oscillation's size (max x - min
#    x over the cycle) is measured after 4,000 time units, from a small
#    and a large starting perturbation. A supercritical Hopf has
#    size^2 / (mu_c - mu) tending to a constant.
# B. The quantity H = sum_i ln x_i. Its rate is
#        dH/dt = sum_i (A x)_i - 5 x.A x .
#    For an antisymmetric (zero-sum) ring, A = c1 (S - S^T) - c2 (S^2 -
#    S^2T), both terms vanish and H is conserved. For the ring above it
#    is not.
import math

def soft(u):
    m = max(u)
    e = [math.exp(a - m) for a in u]
    s = sum(e)
    return [a / s for a in e]

def ring(c1, c2, mu, anti=False):
    a = [[0.0] * 5 for _ in range(5)]
    for i in range(5):
        a[i][(i - 1) % 5] += c1
        a[i][(i - 2) % 5] -= c2
        a[i][i] -= mu
        if anti:
            a[i][(i + 1) % 5] -= c1
            a[i][(i + 2) % 5] += c2
    return a

def rhs(u, a):
    x = soft(u)
    ax = [sum(a[i][j] * x[j] for j in range(5)) for i in range(5)]
    m = sum(p * q for p, q in zip(ax, x))
    return [v - m for v in ax]

def step(u, a, h):
    k1 = rhs(u, a)
    k2 = rhs([p + h / 2 * q for p, q in zip(u, k1)], a)
    k3 = rhs([p + h / 2 * q for p, q in zip(u, k2)], a)
    k4 = rhs([p + h * q for p, q in zip(u, k3)], a)
    return [p + h / 6 * (q + 2 * r + 2 * s + t)
            for p, q, r, s, t in zip(u, k1, k2, k3, k4)]

def settle(a, eps, burn=4000.0, look=400.0, h=0.1):
    u = [eps * math.cos(2 * math.pi * i / 5) for i in range(5)]
    for _ in range(int(burn / h)):
        u = step(u, a, h)
    size, low = 0.0, 1.0
    for _ in range(int(look / h)):
        u = step(u, a, h)
        x = soft(u)
        size, low = max(size, max(x) - min(x)), min(low, min(x))
    return size, low

if __name__ == "__main__":
    c1, c2 = 1.0, 0.5
    muc = (c1 * math.cos(math.radians(72))
           + c2 * math.cos(math.radians(36)))
    print("A. mu_c = {:.4f}".format(muc))
    print("   mu_c - mu   size (start 0.01)  size (start 0.5)"
          "  size^2/(mu_c-mu)  min x")
    for d in (0.2, 0.1, 0.05, 0.02, 0.01, -0.02):
        s1, _ = settle(ring(c1, c2, muc - d), 0.01)
        s2, low = settle(ring(c1, c2, muc - d), 0.5)
        ratio = "{:8.3f}".format(s1 * s1 / d) if d > 0 else "     -"
        print("   {:+8.3f}     {:9.5f}         {:9.5f}         {}"
              "      {:.4f}".format(d, s1, s2, ratio, low))
    print("\nB. H = sum ln x_i along 2,000 time units (step 0.02)")
    for name, a in (("antisymmetric ring", ring(1.0, 0.5, 0.0, True)),
                    ("ring, mu = mu_c - 0.1", ring(c1, c2, muc - 0.1))):
        u = [0.4 * math.cos(2 * math.pi * i / 5 + 0.3) for i in range(5)]
        hs = []
        for n in range(100000):
            u = step(u, a, 0.02)
            if n % 50 == 0:
                hs.append(sum(math.log(v) for v in soft(u)))
        r = max(hs) - min(hs)
        print("   {:<22} H in [{:+.6f}, {:+.6f}], range {}".format(
            name, min(hs), max(hs),
            "{:.2f}".format(r) if r >= 0.01 else "{:.2e}".format(r)))
    print("\nReading: below mu_c a stable oscillation is born whose size")
    print("does not depend on the start, and size^2 / (mu_c - mu) settles")
    print("near a constant: a supercritical Hopf bifurcation. The log-sum")
    print("H is conserved only by the zero-sum (antisymmetric) ring; the")
    print("generation-inhibition ring with self-limitation does not keep")
    print("it.")

Single source and citation

Fan, Y. (2026). Five-Node Cyclic Network Dynamics, Solar-Longitude Ephemeris and Multi-Scale Oscillator Perturbations (Version 1.0.0), Chapter 2: The Five-Node Cyclic Digraph: Circulant Spectrum, Hopf Bifurcation and the Log-Sum. 5D Library. https://doi.org/10.5281/zenodo.24090168

DOI: 10.5281/zenodo.24090168 · Read the monograph · 5DL-B-060 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026060,
  author    = {Fan, Yafu},
  title     = {Five-Node Cyclic Network Dynamics, Solar-Longitude Ephemeris and Multi-Scale Oscillator Perturbations},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090168},
  url       = {https://doi.org/10.5281/zenodo.24090168}
}

Other chapter answers in this book