Topic

Equilibria and their bifurcations

An equilibrium is a point where the field vanishes. Which ones exist, and whether they attract, is the skeleton of a flow, and the parameter values at which that skeleton changes are its bifurcations.

const L = lorenz();
const box = { x: [-30, 30], y: [-30, 30], z: [-10, 60] };
L.equilibria(box).map((e) => e.kind);          // ["saddle-focus", "saddle", "saddle-focus"], proven to be all
L.bifurcations("r", ["1/2", 30], box);
// a pitchfork with r between 0.99999989 and 1.00000056,
// a Hopf bifurcation with r between 24.73684178 and 24.73684237   (470/19 = 24.7368421…)

Finding every equilibrium

equilibria(region) solves f(x)=0f(x) = 0 in a box, with a range for each variable. As for periodic points of maps, the box is subdivided; a piece is discarded when interval arithmetic shows that ff cannot vanish on it, and kept when Krawczyk's test proves that it holds exactly one zero. The list's complete says that everything else was discarded, so the list is all of them.

Each equilibrium comes with the eigenvalues of the Jacobian there, as enclosures, and a kind read from the signs of their real parts:

  • sink or spiral sink: all real parts negative; nearby orbits come in (spiralling when there is a complex pair). stability: "stable".
  • source or spiral source: all positive.
  • saddle or saddle-focus: some of each; unstableDimension counts the positive ones.
  • undecided: an enclosure of a real part contains 0. The linearisation does not decide stability there, and the library does not guess.

That the linearisation does decide in the other cases is the Hartman–Grobman theorem: near an equilibrium with no eigenvalue on the imaginary axis, the flow looks like its linear part.

Bifurcations

As a parameter moves, equilibria move with it, and at special values they are created, destroyed or change stability. Each of these needs an eigenvalue to cross the imaginary axis:

  • Saddle-node (fold): two equilibria, one more stable than the other, collide and vanish. Normal form x′=μ−x2x' = \mu - x^2.
  • Pitchfork: one equilibrium changes stability and throws off two new ones. Normal form x′=μx−x3x' = \mu x - x^3; it needs a symmetry.
  • Transcritical: two equilibria pass through each other and exchange stability. Normal form x′=μx−x2x' = \mu x - x^2.
  • Hopf: a complex pair crosses the axis; a spiral sink becomes a spiral source, and a periodic orbit is born or dies there.

bifurcations(param, [from, to], region) samples the parameter range, and at each sample proves and classifies all the equilibria. Where two neighbouring samples differ, in number or in stability after the equilibria have been paired by position, the bracket is halved, again and again, until it is narrower than tol (one millionth by default). The kind is read from what changed. What is certified is the two ends: at parameter[0] the equilibria are exactly as listed under before, and at parameter[1] as under after. Close to a bifurcation the proofs get harder, because that is where the Jacobian stops being invertible; if they stop succeeding before the bracket is narrow enough, the result has stalled: true and the wider bracket.

The Lorenz system, as r grows

For r<1r < 1 the origin is the only equilibrium and it attracts everything: no convection. At r=1r = 1 a pitchfork: the origin becomes a saddle and two new sinks appear at x=y=±b(r−1)x = y = \pm\sqrt{b(r-1)}, convection rolls turning one way or the other. They are stable until

r=s(s+b+3)s−b−1=47019≈24.7368, r = \frac{s(s + b + 3)}{s - b - 1} = \frac{470}{19} \approx 24.7368,

where a Hopf bifurcation makes both unstable. Beyond it no equilibrium attracts, and at r=28r = 28 the orbits wander on the strange attractor for ever. The search finds both bifurcations without being told the formula.

callreturns
F.equilibria(region, { tol, maxBoxes })[{ point, eigenvalues, kind, stability, unstableDimension, spiral }] with .complete
F.bifurcations(param, [from, to], region, { samples = 24, tol })[{ parameter: [lo, hi], kind, before, after, stalled }]
Try itEdit the code and run it with @ratmath/chaos and Core's Rational in scope. The last line's value is shown; PRINT(…) adds lines, TEX(…) typesets math.
Ctrl/⌘ + Enter runs