Skip to content

LorenzCoupled

Systems / ODEs / Chaotic attractors

Two identical Lorenz subsystems diffusively coupled through their x-variables — the canonical testbed for chaos synchronization.

continuous · ODE6 dimensionssynchronization

Start here

Python
import tsdynamics as ts

system = ts.systems.LorenzCoupled()
traj = system.run(final_time=20.0, dt=0.01, seed=0)
ts.plot(traj)

traj.t contains the sample times and traj.y the state array; system.info shows the defaults. In a notebook the last line displays the plot. In a Python script, call .show() on it to open a window, or .save("trajectory.svg") to export it.

With an adaptive ODE solver, dt sets the output spacing; rtol and atol control local integration error. For a fixed-step solver, reduce dt to check numerical convergence.

projection (x1, y1, z1)
projection (x1, x2, z1)

Interactive: drag to rotate

This finite simulation illustrates one initial condition and view. The diagnostics below report their own inputs and observation windows.

Dynamics at the default parameters

Lyapunov exponents measure separation rates along an orbit. The Kaplan–Yorke dimension is derived from those rates, not a direct geometric measurement. Finite runs depend on the initial condition, transient and observation window; a value near zero needs a convergence check.

Lyapunov spectrum
Finite-time / numerical estimate
$+0.8123,\; +0.1102,\; -0.001829,\; -0.3394,\; -14.44,\; -19.18$
per time unit
Method and evidence

Benettin QR tangent dynamics

Finite-time estimate, not a convergence certificate. All state-space directions were computed.

Settings

{
  "backend": "jit",
  "k": 6,
  "final_time": 400.0,
  "transient": 100.0,
  "dt": 0.1,
  "ic": [
    -0.03282424106853404,
    0.009492497213569174,
    0.09144621016299088,
    -0.05512700524818708,
    -0.026507355436842794,
    -0.011876733817676422
  ],
  "rtol": 1e-09,
  "atol": 1e-12,
  "solver": "rk45"
}

Preparation

{
  "seed": 266369900,
  "ic_policy": "declared/in-basin start, else seeded small ball"
}

Estimator runtime in the recorded environment: 0.1494 s.

Kaplan–Yorke dimension
Finite-time / numerical estimate
$D_{KY} = 4.04$
Method and evidence

Kaplan–Yorke interpolation of the recorded spectrum

Lyapunov dimension estimate; equality with a fractal or information dimension requires additional dynamical assumptions.

Settings

{
  "backend": "jit",
  "k": 6,
  "final_time": 400.0,
  "transient": 100.0,
  "dt": 0.1,
  "ic": [
    -0.03282424106853404,
    0.009492497213569174,
    0.09144621016299088,
    -0.05512700524818708,
    -0.026507355436842794,
    -0.011876733817676422
  ],
  "rtol": 1e-09,
  "atol": 1e-12,
  "solver": "rk45"
}
Divergence ∇·f
Symbolic
$\nabla\!\cdot f = - 2 \beta - 2 \kappa - 2 \sigma - 2$
constant in the state
Equilibria / fixed points
Finite-time / numerical estimate
9 equilibria found
0 stable · 9 unstable · 0 marginal / undetermined
Method and evidence

A seeded numerical search, not a completeness proof. Stability means linear asymptotic stability. Marginal/nonhyperbolic roots have no nonlinear stability verdict from this linearisation.

max Re(eigenvalue) for flows; max |multiplier| - 1 for maps. Boundary band: 1e-7 * max(1, max |eigenvalue|).

Settings

{
  "method": "newton",
  "n_seeds": 80,
  "seed": 0
}

Estimator runtime in the recorded environment: 0.0489 s.

Recorded parameters and software
{
  "parameters": {
    "beta": 2.6666666666666665,
    "kappa": 2.85,
    "rho": 28,
    "sigma": 10
  },
  "parameter_expressions": {},
  "state_dimension": 6,
  "explicit_time": false,
  "library_version": "6.0.3",
  "python": "3.14.8",
  "numpy": "2.4.4",
  "scipy": "1.17.1",
  "protocol_version": 1
}

Definition

\[ \begin{aligned} \dot{x1} &= \kappa \left(- x_{1} + x_{2}\right) + \sigma \left(- x_{1} + y_{1}\right) \\ \dot{y1} &= \rho x_{1} - x_{1} z_{1} - y_{1} \\ \dot{z1} &= - \beta z_{1} + x_{1} y_{1} \\ \dot{x2} &= \kappa \left(x_{1} - x_{2}\right) + \sigma \left(- x_{2} + y_{2}\right) \\ \dot{y2} &= \rho x_{2} - x_{2} z_{2} - y_{2} \\ \dot{z2} &= - \beta z_{2} + x_{2} y_{2} \end{aligned} \]

Parameters

Symbol Default Role
beta 2.66667 geometric aspect ratio (shared)
kappa 2.85 diffusive coupling strength between the two subsystems
rho 28 Rayleigh ratio (shared)
sigma 10 Prandtl number (shared)

State variables: x1, y1, z1, x2, y2, z2

Explore further

Reference

Lorenz (1963), J. Atmos. Sci. 20, 130-141
doi:10.1175/1520-0469(1963)020<0130:dnf>2.0.co;2

BibTeX
BibTeX
@misc{lorenzcoupled,
  title = {LorenzCoupled system},
  note = {Lorenz (1963), J. Atmos. Sci. 20, 130-141},
  doi = {10.1175/1520-0469(1963)020<0130:dnf>2.0.co;2}
}