Problem definition
Canonical benchmark implementation
Canonical RHS excerpt from the registered callable used for this benchmark cell. Expand it to verify the state equations; it is not a standalone runnable fixture.
Show canonical RHS excerpt
def _duffing_rhs(t, y, alpha=1.0, beta=1.0, delta=0.3, gamma=0.5, omega=1.2):
"""Forced hardening Duffing oscillator.
beta=+1 (hardening spring) produces bounded chaotic dynamics.
Previous beta=-1 (softening) caused finite-time blowup from y0=[1,0]
at t~2.56 on all solvers — fixed 2026-04-05 per board A-1.
"""
x, v = y
return np.array([v, -delta*v - alpha*x - beta*x**3 + gamma*np.cos(omega*t)])
def rhs(t, y):
return _duffing_rhs(t, y)- Parameters
- alpha = 1
- beta = 1
- delta = 0.3
- gamma = 0.5
- omega = 1.2
- Initial condition
- y(0) = [0, 0]
- Horizon
- t ∈ [0, 100]
Canonical RHS excerpt captured from the same registered callable used for the published benchmark. Frozen closure values are summarized below; helper imports and solver settings are intentionally omitted.
Cite this page
Replace the access date. Pin the freeze ID and library versions when comparing against a later export. Cite it as what it is — a self-reported vendor benchmark, not an independently verified result. The note field says so; please keep it.
@misc{resonix_evidence_duffing_oscillator_2026,
title = {Resonix Evidence Portal: Duffing oscillator},
author = {{Resonix Labs (Canada) Inc.}},
year = {2026},
howpublished = {\url{https://resonix.tech/evidence/problems/duffing-oscillator}},
note = {Self-reported vendor benchmark; internally generated by Resonix Labs and not independently verified. Accessed YYYY-MM-DD. Freeze 2026-08-13; libsolvsrk 2.3.0; SciPy 1.14.}
}TRL 4–5 · simulation-lab validated · 398 problems · 14 solver arms · clean + 5 noise levels
Freeze: 2026-08-13 · scipy 1.14 · libsolvsrk 2.3.0 · Methodology
Self-reported by Resonix Labs · not independently verified · Verification status