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

A8 · Lesson 41 · Linearization

Using the Jacobian to read a nonlinear system near rest

Most real systems are nonlinear: a pendulum's restoring torque goes as sin⁡θ, a transistor's current as an exponential, a population's growth as a product of predator and prey. Their equations rarely have formulas for solutions. But near an equilibrium, any smooth system looks linear, and lesson 40's trace-and-determinant picture tells you what the linear system does. The tool that does the linearizing is the Jacobian, the matrix of partial derivatives, and in most cases it predicts correctly whether the real system settles, spirals or escapes.

  • The arrows show the flow of a damped pendulum, θ˙=ω, ω˙=−cω−sin⁡θ; the curves trace solutions forward in time.
  • Near θ=0 the pendulum hangs down: trajectories spiral in. Near θ=π it's upside down: trajectories approach along one direction and leave along another, a saddle.
  • Set c=0. The spirals at the bottom become closed loops: with no friction, the linearization's prediction (a center) needs the full nonlinear system to confirm.

Predict

Upside down, the pendulum's linearization has determinant −1. What kind of equilibrium is that?

Name it

The Jacobian

For x˙=f(x,y), y˙=g(x,y), an equilibrium (x*,y*) has f=g=0. Near it, with u=x−x* and v=y−y*, the first-order Taylor expansion gives

[u˙v˙]≈J[uv],J=[∂f/∂x∂f/∂y∂g/∂x∂g/∂y](x*,y*)

When the linearization tells the truth

If no eigenvalue of J has zero real part (a hyperbolic equilibrium), the nonlinear system near the equilibrium behaves like the linear one: nodes stay nodes, spirals stay spirals, saddles stay saddles (the Hartman–Grobman theorem). Classify with the trace T and determinant D of J:

  • D<0: saddle;
  • D>0, T<0: stable (spiral if T2<4D, node otherwise);
  • D>0, T>0: unstable.

If T=0 with D>0, the linearization is a center, and the nonlinear terms decide: closed orbits, slow spirals in, or slow spirals out.

In circuits

  • A latch of two cross-coupled inverters with gain A has a saddle at the balanced point. Its unstable eigenvalue (A−1)/τ sets how fast a small imbalance grows to a full logic level, the regeneration time that governs metastability.
  • An oscillator has an unstable equilibrium surrounded by a limit cycle (lesson 42): linearizing shows the start-up growth rate.
  • Bias points of transistor circuits are equilibria too, and small-signal analysis is exactly this linearization.

Worked example

Classify the equilibria of the damped pendulum θ¨+0.5θ˙+sin⁡θ=0.

Show the solution
  1. Jacobian. With ω=θ˙: f=ω and g=−0.5ω−sin⁡θ, so J=[01−cos⁡θ−0.5]
  2. At (0,0). T=−0.5 and D=1, with T2<4D: a stable spiral, ringing at 1−0.0625=0.968rad/s
  3. At (π,0). cos⁡π=−1, so D=−1: a saddle, with eigenvalues −0.5±4.252 which are 0.781 and −1.281.

Answer (0,0) is a stable spiral ringing at 0.968 rad/s, and (π,0) is a saddle with eigenvalues 0.781 and −1.281.

Worked example

Find the small oscillations of predator and prey, x˙=x(2−y), y˙=y(x−1), around their coexistence point.

Show the solution
  1. Coexistence point. The equilibrium with both nonzero is x=1, y=2.
  2. Jacobian there. J=[2−y−xyx−1](1,2)=[0−120]
  3. Classify. T=0 and D=2: a linear center, with frequency 2 and period 2π2=4.44
  4. The nonlinear orbits. For this system the nonlinear orbits really are closed (a conserved quantity proves it), and small cycles have this period; large ones take longer.

Answer small oscillations circle (1,2) at frequency 2, with period 4.44.

Worked example

A latch is two inverters with gain A = 3 and time constant τ = 10 ps. How fast does it resolve a 1 µV imbalance?

Show the solution
  1. Jacobian at the balanced point. With τx˙1=−x1+Atanh⁡x2 and τx˙2=−x2+Atanh⁡x1, J=1τ[−1AA−1] with eigenvalues −1±Aτ.
  2. Growth rate. The difference x1−x2 grows at A−1τ=2×1011s−1 a time constant of 5 ps.
  3. Time to resolve. To grow from 1 µV to about 1 V takes t=5ps×ln⁡106=69ps
  4. Metastability. The smaller the starting imbalance, the longer the wait, without limit: that's metastability.

Answer it takes about 69 ps to grow a 1 µV imbalance to about 1 V.

Check

At what frequency does the pendulum θ¨+0.6θ˙+sin⁡θ=0 ring near the bottom?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

Predator and prey obey x˙=x(2−y) and y˙=1y(x−1). At what angular frequency do small cycles around the coexistence point go?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

A latch has inverter gain 3 and time constant 5 ps. What is its regeneration time constant?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

Check

An equilibrium's Jacobian has trace 0 and determinant 4. What can you conclude about the nonlinear system?

Check

The system x˙=y, y˙=1x−x3−2y has an equilibrium at x=1, y=0.

(a)

What is ∂g/∂x there, with g=ax−x3−by?

(b)

What is the determinant of J?

Check

Linearize the pendulum θ˙=ω, ω˙=−sin⁡θ−cω at the top, (π,0).

Step 1

What is ∂(−sin⁡θ)/∂θ at θ=π?

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°.

Check

For the double well x¨=x−x3−0.3x˙, compute the Jacobian at each equilibrium x=−1,0,1 (with x˙=0), find its eigenvalues with np.linalg.eigvals, and set kinds to a list of "saddle", "stable spiral" or "stable node" for each.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

A circuit designer computes a transistor amplifier's small-signal gain. In what sense is that a linearization at an equilibrium?

Practice

Keep practicing

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