What does Five-Node Networks and Solar Ephemeris conclude, in numbers, about “Two-Scale Forcing: Resonant Gain, Peaks and Troughs, and the Jacobian's Condition Number”?
Answer: Chapter 4 forces the ring with a decadal square wave and a yearly sine: what drives it is the square wave's fifth harmonic (gain 1.8654), not the yearly sine (0.1648); the symmetric ring's Jacobian is normal and cannot amplify transiently, and even ±40 % weights amplify only 1.245 times.
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: 0.1648, 1.8654
A. gain |y|/|u| for a sine of angular frequency w (rad/yr)
mode-1 frequency 1.314, decay 0.200 per yr
20-yr fundamental w = 0.314 gain 0.7059
3rd harmonic w = 0.942 gain 1.4547
5th harmonic w = 1.571 gain 1.8654
mode-1 resonance w = 1.314 gain 3.0188
1-yr sine w = 6.283 gain 0.1648
B. energy E = |y|^2
past window 60-100 yr
peaks : 72.04 yr (4.130), 92.04 yr (4.130), 82.44 yr (3.788)
troughs: 85.02 yr (0.0963), 65.02 yr (0.0964), 74.73 yr (0.1114)
future window 120-160 yr
peaks : 132.04 yr (4.130), 152.04 yr (4.130), 122.44 yr (3.788)
troughs: 125.02 yr (0.0963), 145.02 yr (0.0963), 154.73 yr (0.1115)
largest E 120-160: both 4.130, slow only 3.739, fast only 0.04963
Reading: the yearly sine barely moves the ring - it is far
above the ring's own frequency. The decadal square wave matters
through its 5th harmonic, close to resonance. Peaks and troughs
repeat every 20 years, so with known parameters the future
window is the past window shifted: the extremes are computable,
not discovered. Chapter 5 asks how well the parameters are
known.Key formula
Show the full program
# Chapter 4. p08: Two-scale forcing of the damped ring: gain, peaks, troughs.
# Linearised ring on the stable side of Hopf: mu = mu_c + 0.1 with c1 = 1,
# c2 = 0.5, rates scaled by 10 per year, so mode 1 has frequency
# |Im lambda_1| * 10 / 5 = 1.314 rad/yr (period 4.78 yr) and decays at
# 0.2 per year. Forcing enters node 0 and leaves node 2 (zero-sum, so it
# stays on the simplex):
# slow a square wave switching every 10 years (period 20 yr), size 1
# fast a 1-year sine, size 1
# A. Steady-state gain |y|/|u| of a pure sine, from the exact circulant
# resolvent y_k = b_k / (i w - lambda_k), at the frequencies that
# matter. B. The energy E = |y|^2 under both forcings together,
# simulated from year 0 to 160 (RK4, step 0.002 yr); its largest peaks
# and deepest troughs in a past window (60-100) and a future window
# (120-160), against each forcing alone.
import cmath
import math
W = cmath.exp(2j * math.pi / 5)
C1, C2, SCALE = 1.0, 0.5, 10.0
MU = (C1 * math.cos(math.radians(72)) + C2 * math.cos(math.radians(36))
+ 0.1)
B = [1.0, 0.0, -1.0, 0.0, 0.0]
def lam(k):
return (C1 * W ** -k - C2 * W ** (-2 * k) - MU) * SCALE / 5
def gain(w):
bk = [sum(B[j] * W ** (-j * k) for j in range(5)) / 5 for k in range(5)]
yk = [bk[k] / (1j * w - lam(k)) if k else 0 for k in range(5)]
y = [sum(yk[k] * W ** (j * k) for k in range(5)) for j in range(5)]
return math.sqrt(sum(abs(v) ** 2 for v in y) / sum(v * v for v in B))
def forcing(t, slow, fast):
s = (1.0 if int(t // 10) % 2 == 0 else -1.0) if slow else 0.0
f = math.sin(2 * math.pi * t) if fast else 0.0
return s + f
def simulate(slow, fast, t1=160.0, h=0.002):
def f(y, t):
u = forcing(t, slow, fast)
return [SCALE / 5 * (C1 * y[(i - 1) % 5] - C2 * y[(i - 2) % 5]
- MU * y[i]) + B[i] * u for i in range(5)]
y, t, out = [0.0] * 5, 0.0, []
while t < t1:
k1 = f(y, t)
k2 = f([a + h / 2 * b for a, b in zip(y, k1)], t + h / 2)
k3 = f([a + h / 2 * b for a, b in zip(y, k2)], t + h / 2)
k4 = f([a + h * b for a, b in zip(y, k3)], t + h)
y = [a + h / 6 * (b + 2 * c + 2 * d + e)
for a, b, c, d, e in zip(y, k1, k2, k3, k4)]
t += h
out.append((t, sum(v * v for v in y)))
return out
def extremes(series, lo, hi, n=3):
pts = [(t, e) for t, e in series if lo <= t <= hi]
pk = [(t, e) for (_, a), (t, e), (_, c) in zip(pts, pts[1:], pts[2:])
if e > a and e >= c]
tr = [(t, e) for (_, a), (t, e), (_, c) in zip(pts, pts[1:], pts[2:])
if e < a and e <= c]
return (sorted(pk, key=lambda r: -r[1])[:n],
sorted(tr, key=lambda r: r[1])[:n])
if __name__ == "__main__":
print("A. gain |y|/|u| for a sine of angular frequency w (rad/yr)")
print(" mode-1 frequency {:.3f}, decay {:.3f} per yr".format(
abs(lam(1).imag), -lam(1).real))
for name, w in (("20-yr fundamental", 2 * math.pi / 20),
("3rd harmonic", 3 * 2 * math.pi / 20),
("5th harmonic", 5 * 2 * math.pi / 20),
("mode-1 resonance", abs(lam(1).imag)),
("1-yr sine", 2 * math.pi)):
print(" {:<18} w = {:6.3f} gain {:7.4f}".format(
name, w, gain(w)))
both = simulate(True, True)
slow = simulate(True, False)
fast = simulate(False, True)
print("\nB. energy E = |y|^2")
for label, lo, hi in (("past window", 60, 100),
("future window", 120, 160)):
pk, tr = extremes(both, lo, hi)
print(" {} {}-{} yr".format(label, lo, hi))
print(" peaks : " + ", ".join(
"{:.2f} yr ({:.3f})".format(t, e) for t, e in pk))
print(" troughs: " + ", ".join(
"{:.2f} yr ({:.4f})".format(t, e) for t, e in tr))
m = lambda s: max(e for t, e in s if 120 <= t <= 160)
print(" largest E 120-160: both {:.3f}, slow only {:.3f},"
" fast only {:.5f}".format(m(both), m(slow), m(fast)))
print("\nReading: the yearly sine barely moves the ring - it is far")
print("above the ring's own frequency. The decadal square wave matters")
print("through its 5th harmonic, close to resonance. Peaks and troughs")
print("repeat every 20 years, so with known parameters the future")
print("window is the past window shifted: the extremes are computable,")
print("not discovered. Chapter 5 asks how well the parameters are")
print("known.")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 4: Two-Scale Forcing: Resonant Gain, Peaks and Troughs, and the Jacobian's Condition Number. 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
- Chapter 1 · Kepler's Equation and the Equation of Time: Clock Time, Solar Time and the Dates of the Solar Terms
- Chapter 2 · The Five-Node Cyclic Digraph: Circulant Spectrum, Hopf Bifurcation and the Log-Sum
- Chapter 3 · The Limit Cycle: Travelling Wave, Drifting Period and Amplitude Envelope
- Chapter 5 · A Finite Record: Identifiability, the Golden-Ratio Direction and Forecasting the Dates of Extremes
- Chapter 6 · Mean and True Solar Terms, Unequal-Interval Interpolation and the Drift of Calendar Constants
- Chapter 7 · "Fifteen Days Make One Node": the Huainanzi's Counting Rule and the Long Coexistence of Mean and True Terms
- Chapter 8 · Four Questions and Two Software-Only Pre-Registered Tests