A89 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A8 · Lesson 9 · Autonomous equations

Where a system settles, without solving it

A memory cell holds a bit because it has two places to come to rest, one for 0 and one for 1, and an unstable balance point between them. Nudge it past the balance point and it snaps to the other side. You can see all of that from the differential equation without solving it: find where the rate of change is zero, then check which way things move nearby. For equations whose rate depends only on the state, not on the clock, that picture tells you nearly everything.

  • A latch's internal voltage obeys v˙=−v+Atanh⁡v (time in units of its time constant). The curves start from different voltages.
  • With A below 1 every start falls to 0 V. Raise A above 1. Where do the curves go now?
  • Start just above and just below 0 V. How long does it take to decide?

Predict

For y˙=y(4−y), starting at y=1, where does y end up?

Name it

Autonomous equations

An equation y˙=f(y), where the rate depends only on y, is autonomous. Its equilibria are the values with f(y*)=0: start there and you stay there.

The phase line

Draw the y axis, mark the equilibria, and between them draw an arrow up where f>0 and down where f<0. That phase line shows every solution's fate:

  • stable equilibrium: arrows point toward it on both sides (f goes from + to −);
  • unstable: arrows point away on both sides (f goes from − to +);
  • semi-stable: toward it on one side, away on the other.

Linearizing near an equilibrium

Near y*, f(y)≈f′(y*)(y−y*), so a small deviation u=y−y* obeys u˙=f′(y*)u:

u(t)≈u0ef′(y*)t

f′(y*)<0 means stable, with time constant 1|f′(y*)|; f′(y*)>0 means unstable, with deviations growing by a factor of e every 1f′(y*).

The latch

For v˙=−v+Atanh⁡v, f′(0)=A−1. With A<1, 0 V is the only equilibrium and it's stable. As A passes 1, 0 V turns unstable and two new stable equilibria appear at ±v*, where v*=Atanh⁡v*: a bifurcation. Above it, the circuit is bistable, a one-bit memory. A tiny starting offset ε takes about ln⁡(1/ε)A−1 time constants to resolve, which is why a latch caught exactly at the balance point can hang for a long time (metastability, C7).

Worked example

Analyze the logistic equation P˙=rP(1−P/K).

Show the solution
  1. Equilibria. f(P)=rP(1−P/K) is zero at P=0 and P=K.
  2. Arrows on the phase line. Between them f>0, so arrows point up toward K; above K, f<0, pointing back down.
  3. Slopes at the equilibria. f′(P)=r(1−2P/K) At 0 it's r>0, so 0 is unstable. At K it's −r, so K is stable, with time constant 1/r.

Answer P=0 is unstable and P=K is stable with time constant 1/r; solutions between 0 and K rise toward K, and solutions above it fall back.

Worked example

For the latch with A=2, find the stable equilibria and their time constant.

Show the solution
  1. Find the equilibrium. Solve v=2tanh⁡v by iterating v←2tanh⁡v: it settles at v*=1.915
  2. Slope there. f′(v*)=−1+2sech2v*=−0.834
  3. Time constant. Small upsets die with a time constant of τ=10.834=1.2 time units.
  4. The other equilibria. The other stable state is −1.915, and 0 is unstable with f′(0)=1.

Answer the stable equilibria are v=±1.915, each with a time constant of 1.2 units.

Worked example

Find the equilibria of y˙=y2−4 and decide which are stable.

Show the solution
  1. Equilibria. f(y)=y2−4 is zero at y=±2. Its slope is f′(y)=2y.
  2. At y=−2. f′=−4<0: stable, and nearby solutions approach it with time constant 14.
  3. At y=2. f′=4>0: unstable.
  4. The phase line. f<0 between them, so solutions starting there drift down to −2; above 2, f>0 and they run off upward.

Answer y=−2 is stable, with time constant 14, and y=2 is unstable.

Check

For y˙=y(5−y), which equilibrium is stable?

Check

For P˙=2P(1−P/K), what is the time constant with which small deviations from P=K die away?

Check

A latch with v˙=−v+2tanh⁡v starts 1 mV from its balance point. Near there, how many time constants does it take for the offset to grow to 1 V?

Check

For y˙=y2−9, which equilibrium is stable?

Check

y˙=(y−1)(y−1−2)(y−1−4) has three equilibria. Which one is stable?

Check

What kind of equilibrium is y=0 for y˙=y2?

Check

Consider y˙=y2−9.

(a)

Which equilibrium is stable?

(b)

What is the time constant of approach to it?

Check

Linearize the logistic equation P˙=rP(1−P/K) at its equilibria.

Step 1

What is f′(0)?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why can't a solution of a first-order autonomous equation y˙=f(y) oscillate?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.