Edition 01 · Chaos · Memory · Learning

What should
stay stable?

To learn, a system has to change. To remember, something has to last. How can both happen?

This is a path through six papers you have kept on Root Fall. Start with a small calculation, watch what changes, then carry the idea into computers, cells, and memory.

Read at your own pace3 interactive experimentsMath, one step at a time
Begin with a small change
How to read this experiment

The explanations and diagrams are AI-written for this reader, with linked sources. Paper findings, review proposals, and suggested connections are identified separately. The interactive models are teaching examples, not reproductions of the studies. Open the worked steps whenever a symbol is unfamiliar. Try a prediction before moving a slider.

Your notes, chapter marks, and reading position are stored only in this browser. They do not sync between your phone and iPad. Use “Download my notes” to keep a portable copy. The reader itself is publicly accessible.

01 / Begin with a small changeMultiplication → powers

What survives a small change?

Imagine two copies of a system, almost identical. Give one a small nudge. After a while, do they come back together, stay apart, or move further apart? This is a useful starting point for thinking about stability.

Call their difference e, for error. A deliberately small model says that each step multiplies the difference by a number a:

et+1 = a × et
t
The step number: 0, 1, 2…
et
The difference at that step. The subscript labels a step; it is not multiplication.
a
The multiplier: how much of the previous difference carries forward.

Work one by hand

Start with e0 = 1 and a = 0.6. The next differences are 0.6 → 0.36 → 0.216. Multiplying by 0.6 repeatedly makes the nudge fade.

After five steps, e5 = 0.65 × 1 = 0.07776. The exponent 5 means “multiply five copies of 0.6.”

Experiment 01

Let a nudge travel

Predict first: will a multiplier of −0.6 make the difference grow, or change sides as it shrinks?

How a difference changes over sixteen stepsThe error begins at one. With a multiplier of 0.6 it approaches zero.
The nudge fades.After 10 steps: 0.00605
Computed from the displayed recurrence, starting at 1. The vertical scale adjusts to keep the whole trajectory visible. A negative error means the two states have exchanged their order.

The size of the multiplier matters. |a| < 1 means the difference shrinks; the bars mean “ignore the sign and take the size.” If |a| > 1, it grows. At a = 1 it stays unchanged; at −1 it flips forever.

Notice a useful tension: at 0.95, a nudge fades more slowly than at 0.6. A system that quickly erases disturbances also quickly erases this simple trace of its past. Keep that thought for the memory chapter.

One step further: read the general formula
et = at × e0

This is the result of repeatedly substituting the same rule into itself. For example, e2 = a(a e0) = a2e0. At a = 0.95, ten steps leave about 0.599 of the initial nudge. At 0.6, ten steps leave about 0.00605.

This one-dimensional linear example is exact. For a nonlinear system, a multiplier often describes only small changes near a particular state.

A connection to keepNotes stay in this browser. Download them to keep a copy.
Next: a simple rule →
02 / Same rule, different futuresAlgebra → a first derivative

A simple rule,
an uncertain future.

The previous multiplier was constant. Now let the next state depend on the current state in a curved, nonlinear way. This classic example is the logistic map:

xt+1 = r × xt × (1 − xt)

x is a number between 0 and 1; r controls the rule. “Iterate” means calculate the next value, then feed that answer back in. For 0 ≤ r ≤ 4, the rule keeps this interval inside itself.

Try the arithmetic

Use r = 3.2 and x0 = 0.2. What is the next value?

Show the worked answer

x1 = 3.2 × 0.2 × (1 − 0.2)
= 3.2 × 0.2 × 0.8 = 0.512.

Repeat: x2 = 3.2 × 0.512 × 0.488 = 0.7995392. Each answer becomes the next input.

Experiment 02

Almost the same beginning

Two trajectories begin at 0.2 and 0.2001. Both follow exactly the same rule. Try the three presets, watching their long-term behavior.

Start 0.2 · solidStart 0.2001 · dashed
Two nearby logistic-map trajectories over eighty stepsAt r equals 2.8 both trajectories approach the same fixed point.

At 2.8, both trajectories settle near 0.6429.

Original teaching simulation: 80 iterations, no added randomness. The slider also passes through periodic windows, so a larger r does not always mean more chaos. Finite computer precision eventually limits any simulation.

At 3.9, nearby beginnings can lead to very different later values. The rule is deterministic: knowing the starting value exactly determines the sequence. Our limited precision about the start restricts how far ahead we can predict.

Find a state that stays put

A fixed point is a value that the rule sends back to itself. Write it as x∗, pronounced “x star.” For a nonzero fixed point, solving the equation gives:

x∗ = 1 − 1r
Show the algebra, with no skipped steps

1. Staying put means x∗ = r x∗(1 − x∗).

2. The value zero is one solution. For a nonzero solution, divide both sides by x∗: 1 = r(1 − x∗).

3. Divide by r: 1/r = 1 − x∗.

4. Rearrange: x∗ = 1 − 1/r. At r = 2.8, this is about 0.6429.

Your first useful derivative

A fixed point can exist without attracting nearby states. A derivative gives the local rate of output change per unit of input change. For this rule, at the nonzero fixed point, that local multiplier is 2 − r.

At r = 2.8 the multiplier is −0.8: a small error changes sides and shrinks. You have already explored this behavior in chapter 1. At 3.2 it is −1.2: the fixed point repels a small error, although the trajectory can still approach a repeating two-value cycle.

Follow the derivative and the stability test

For a first glimpse of a derivative, let a small input change be h. For the square function, the output change is (x + h)2 − x2 = 2xh + h2. Divide by the input change h: the ratio is 2x + h. As h approaches zero, this approaches 2x. That limiting slope is the derivative of x2.

Expand the rule: f(x) = rx − rx2. The derivative of rx is r; the derivative of rx2 is 2rx. Therefore f′(x) = r − 2rx.

Substitute x∗ = 1 − 1/r:
f′(x∗) = r − 2r(1 − 1/r) = 2 − r.

The local test is |2 − r| < 1, giving 1 < r < 3. At the boundary values, this linear test alone does not settle stability. This is a test for the fixed point, not a test for every possible attractor.

Math companion: MIT’s notes on maps and stability. Calculations and diagrams here are original worked examples.

A connection to keepNotes stay in this browser. Download them to keep a copy.
03 / Meet the papersState ≠ measurement

Useful for
which task?

It is tempting to turn the boundary between order and chaos into a universal sweet spot. Three papers on your shelf make that question more interesting by asking what a system actually needs to do.

Computational study · Carroll, 2020 [1]

A busy reservoir can still be a poor computer

A reservoir computer transforms an input through a recurrent network, then uses a trained readout to produce an answer. Carroll demonstrates cases where performance worsens toward the edge of stability. The reservoir can lose the appropriate relationship with its input, or generate signals poorly suited to the task.

Read carefully: these are counterexamples to a universal optimum. They do not establish that operating near this boundary is always bad. Some reservoirs become unbounded rather than entering bounded chaos.

On your shelf →
InputA changing signal
ReservoirA state with a history
ReadoutA task’s answer
A conceptual sketch of the computation. Interesting internal dynamics still need to support an accurate output.

72 cell-process models · Park et al., 2023 [2]

A disturbance can spread without changing the outcome

In 72 experimentally supported discrete models of cellular processes, Park and colleagues found more long-term order than common short-term sensitivity measures suggested. Many disturbances faded; some persisting disturbances had little effect on the modeled phenotype.

Read carefully: these are models of cellular processes, with particular update rules and measurements. They do not establish that every living system, at every scale, is far from criticality.

On your shelf →

A constructed example: state versus output

Describe a state with two numbers, (x1, x2). Suppose the output is their sum: y = x1 + x2.

State A
(1, 0)
State B
(0, 1)
Both outputs
y = 1

The internal state changed, while this output stayed the same. Choosing a different measurement could reveal the change. This arithmetic example illustrates the distinction; it is not a model from the cell paper.

Review · Zeraati, Priesemann & Levina, 2021 [3]

Can plasticity adjust the operating point?

This review compares plasticity rules that change connections in neural models. Some support near-critical dynamics; others need additional stabilizing mechanisms. The authors also discuss computation away from criticality.

Read carefully: criticality in a neural network and the loss of a logistic map’s fixed-point stability are different mathematical settings. A useful analogy needs to specify the variable, the transition, and the evidence.

On your shelf →
A connection to keepNotes stay in this browser. Download them to keep a copy.
Next: a moving memory →
04 / Return to the traceWeights → decay

A memory can
keep moving.

In the logistic map, an attractor might be a fixed point or a repeating cycle. An attractor is a pattern of long-term behavior that nearby states approach; approaching a pattern need not mean becoming motionless.

Theory and simulations · Pereira-Obilinovic et al., 2023 [4]

Retrieval does not have to be a frozen state

The authors study a sparse attractor network that learns new memories while older ones fade. At a forgetting timescale that maximizes storage capacity in their model, newer memories can have fixed-point retrieval states, while older, still-retrievable memories can have chaotic retrieval states. Both types coexist.

Read carefully: this is a result in an analyzed and simulated network, with predictions for experiments. It is not direct evidence that your own older memories are chaotic.

On your shelf →

Build some intuition with a smaller rule

Before tackling that network’s equations, work with a simple fading trace. This teaching rule is independent of the paper and has no chaotic dynamics:

mt+1 = αmt + (1 − α)ut

m is the stored trace; u is the new input. The Greek letter α (“alpha”) is a number between 0 and 1. It weights the old trace. Letters touching, such as αm, mean multiplication. The remaining weight, 1 − α, belongs to the new input.

Follow one input

Let α = 0.8 and start at m0 = 0. Give the system one input of 1, then inputs of zero.

0 Start→0.2 Input arrives→0.16 Fades→0.128 Fades again

First: 0.8 × 0 + 0.2 × 1 = 0.2.
Next: 0.8 × 0.2 + 0.2 × 0 = 0.16.

With no new input, you have exactly the multiplication rule from chapter 1. A larger α preserves the old trace longer, but gives each new input less weight.

A useful calculation: how long until half is left?

Each step retains a fraction α of a trace. After n steps, the fraction left is αn. To find a half-life, solve αn = 0.5.

You can bracket the answer without logarithms: 0.8³ = 0.512; 0.8⁴ = 0.4096. The halfway point is between three and four steps.

n = log(0.5) / log(α) ≈ 3.11

A logarithm answers “which exponent gives this number?” Any single logarithm base works in this ratio. Actual discrete steps first go below half at step 4. This half-life describes the teaching trace, not human memory.

A connection to keepNotes stay in this browser. Download them to keep a copy.
05 / When the update happensCycles → phase

Timing makes
a difference.

The fading-trace rule updates at every step. What if a biological system makes some updates more likely at particular moments? This brings us to rhythms, and to two reviews on your shelf.

Review · Staresina, 2024 [6]

Several rhythms, coordinated windows

Staresina reviews how slow oscillations, sleep spindles, and sharp-wave ripples interact in memory consolidation. Their sequential coupling offers a proposed account of how processing is coordinated within and between memory circuits.

Read carefully: these rhythms have different frequencies. This is a review of evidence and mechanisms, not a claim that any two aligned waves improve memory.

On your shelf →

Learn the language of phase

Frequency tells you how many cycles happen per second. Phase tells you where you are within a cycle. A complete turn is 360°; half a turn is 180°.

Experiment 03

Same rhythm, a different moment

Slide one wave relative to the other. Predict where its peaks will land at a phase shift of 180°.

y1 = sin(θ)  ·  y2 = sin(θ + φ)

θ (“theta”) advances along the cycle; φ (“phi”) is the shift you choose. Sine turns an angle into a repeating value between −1 and 1.

Reference · solidShifted · dashed
Two equal-frequency sine waves with an adjustable phase differenceAt zero degrees the waves overlap.

0° = 0.00 cycles. The two waves overlap.

This diagram isolates phase using equal-frequency sine waves. The shift is set by hand; it does not simulate biological sleep rhythms or a mechanism that synchronizes them. A fixed phase relationship can have a nonzero offset.
Translate between degrees, cycles, and radians

A 90° shift is 90/360 = one quarter of a cycle. A full turn also measures 2π radians, so 180° = π radians and 90° = π/2 radians.

To use a calculator or programming function that expects radians, multiply degrees by π/180. At 180°, sin(θ + π) = −sin(θ): one wave’s peaks meet the other’s troughs.

The same phase fraction corresponds to different times at different frequencies. At 2 cycles per second, one cycle lasts 0.5 seconds, so a quarter-cycle lasts 0.125 seconds.

Hypothesis and theory · Langille, 2019 [5]

Strengthening and forgetting may share machinery

Langille reviews links between sleep rhythms, consolidation, and adaptive forgetting, and proposes cellular mechanisms that could connect them. Several forgetting mechanisms are explicitly speculative.

Read carefully: evidence reviewed from earlier studies and the author’s proposed explanation have different status. The proposal does not establish a single settled account of sleep’s function.

On your shelf →
A connection to keepNotes stay in this browser. Download them to keep a copy.
06 / Bring something with youCompare → explain → ask

Make the
connection yours.

You have met three mathematical tools: a multiplier that tracks a disturbance, a nonlinear rule whose behavior changes with a parameter, and a phase that locates an event in a cycle. Return to the opening question with those tools: what needs to stay stable for learning to be useful?

SettingWhat changes?What matters?
Our multiplierA difference between statesDoes it shrink or grow?
Our logistic mapA scalar state, iteratedWhich long-term behavior emerges?
Reservoirs [1]Internal network activityPerformance on a specified task
Cell models [2]Regulatory states after perturbationLong-term effects, including phenotype
Attractor memory model [4]Retrieval activity as memories ageWhether a memory remains retrievable
Sleep reviews [5][6]Rhythms and their relationshipsHow evidence links timing to memory processing

These settings have different variables and evidence. Comparing them becomes useful when you name the relationship precisely enough that it could turn out to be wrong.

Three small things to try

  1. Explain one equation from memory. What does each symbol mean? Pick numbers and calculate one step. Then open the chapter to check.
  2. Connect one idea to something you knew before. Say exactly what corresponds to a state, an input, or an output in your example.
  3. Give the connection a limit. What observation would make you abandon the analogy? Which original paper could help you check?
A connection to keepNotes stay in this browser. Download them to keep a copy.

Downloads a Markdown file with your notes, chapter marks, and references. Notes stay in this browser unless you download or share them.

How this was made

Credits.

Collection & direction
Josh Gnizak curated the Root Fall research shelf and set the learning goals for this reader.
Writing, math & implementation
The chapter explanations, worked examples, interactive diagrams, and website code were generated with OpenAI Codex for Root Fall. They may contain errors; the cited research is the source for paper claims.
Research & mathematical background
The original research belongs to the authors credited in the references below. The math companion credits Iain W. Stewart’s MIT course notes. Each paper entry identifies the source material used for its synopsis.
Diagrams & connections
The diagrams and small simulations were created for this reader. They are teaching examples, not copied paper figures or reproductions of the studies. Suggested connections are labelled as questions or hypotheses.

Follow the evidence

References &
further reading.

The six papers are from your existing shelf. Source notes below identify the material used for each synopsis. The small mathematical models and comparison questions were written for this reader.

  1. Computational study

    Do reservoir computers work best at the edge of chaos?

    Thomas L. Carroll (2020). Chaos 30, 121109.

    Reader source: Author manuscript, introduction, simulations, and conclusions.

  2. Computational study of 72 models

    Models of Cell Processes are Far from the Edge of Chaos

    Kyu Hyong Park, Felipe Xavier Costa, Luis M. Rocha, Réka Albert & Jordan C. Rozum (2023). PRX Life 1, 023009.

    Reader source: Published abstract and the introduction and discussion available in the indexed full text.

  3. Review

    Self-Organization Toward Criticality by Synaptic Plasticity

    Roxana Zeraati, Viola Priesemann & Anna Levina (2021). Frontiers in Physics 9, 619661.

    Reader source: Published abstract and full-text review.

  4. Mathematical and computational study

    Forgetting Leads to Chaos in Attractor Networks

    Ulises Pereira-Obilinovic, Johnatan Aljadeff & Nicolas Brunel (2023). Physical Review X 13, 011009.

    Reader source: Published abstract; the teaching recurrence in chapter 4 is an independent example, not the paper’s network model.

  5. Hypothesis and theory; evidence review

    Remembering to Forget: A Dual Role for Sleep Oscillations in Memory Consolidation and Forgetting

    Jesse J. Langille (2019). Frontiers in Cellular Neuroscience 13, 71.

    Reader source: Published abstract and full-text review; speculative mechanisms remain labelled as proposals.

  6. Review

    Coupled sleep rhythms for memory consolidation

    Bernhard P. Staresina (2024). Trends in Cognitive Sciences 28(4), 339–351.

    Reader source: Published abstract and Oxford repository record.

Math companion

Maps, fixed points, and stability

Iain W. Stewart, 8.09 Classical Mechanics III, MIT OpenCourseWare (Fall 2014). Chapter 7, especially the logistic map and stability discussion around equations 7.69–7.76.

Open the course notes (PDF, printed pp. 183–185) ↗

The course is more advanced than this reader. Use the map section as a reference; the worked examples here provide the gentler entry.

Edition 01 · Prepared October 20, 2026 · An AI-written reading experiment for Root Fall. References are the authority for paper claims. Your notes are your own.

Back to the beginning ↑