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 , 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, , ; the curves trace solutions forward in time.
- Near the pendulum hangs down: trajectories spiral in. Near it's upside down: trajectories approach along one direction and leave along another, a saddle.
- Set . 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 . What kind of equilibrium is that?
A saddle. A negative determinant means real eigenvalues of opposite signs, whatever the trace. One direction leads in, which is how a perfectly aimed swing can come to rest upside down, and the other leads out, which is why any error in that aim makes it fall. Saddles are the boundaries between basins: here they separate swings that go over the top from those that don't.
Name it
The Jacobian
For , , an equilibrium has . Near it, with and , the first-order Taylor expansion gives
When the linearization tells the truth
If no eigenvalue of 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 and determinant of :
- : saddle;
- , : stable (spiral if , node otherwise);
- , : unstable.
If with , 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 has a saddle at the balanced point. Its unstable eigenvalue 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 .
Show the solution
- Jacobian. With : and , so
- At . and , with : a stable spiral, ringing at
- At . , so : a saddle, with eigenvalues which are 0.781 and .
Answer is a stable spiral ringing at 0.968 rad/s, and is a saddle with eigenvalues 0.781 and −1.281.
Worked example
Find the small oscillations of predator and prey, , , around their coexistence point.
Show the solution
- Coexistence point. The equilibrium with both nonzero is , .
- Jacobian there.
- Classify. and : a linear center, with frequency and period
- 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 at frequency , with period 4.44.
Worked example
A latch is two inverters with gain = 3 and time constant = 10 ps. How fast does it resolve a 1 µV imbalance?
Show the solution
- Jacobian at the balanced point. With and , with eigenvalues .
- Growth rate. The difference grows at a time constant of 5 ps.
- Time to resolve. To grow from 1 µV to about 1 V takes
- 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 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 and . 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 , has an equilibrium at , .
(a)
What is there, with ?
(b)
What is the determinant of ?
Check
Linearize the pendulum , at the top, .
Step 1
What is 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°.
Step 2
. What is its positive eigenvalue?
Check
For the double well , compute the Jacobian at each equilibrium (with ), 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?
With its DC sources on and no signal, the amplifier settles to a bias point: every node voltage and branch current constant, an equilibrium of the circuit's nonlinear equations. A small signal moves the circuit slightly away from it. Expanding each device's nonlinear characteristic to first order around the bias point replaces it with its slope, a transconductance or a small-signal resistance, which are exactly the entries of the Jacobian. The small-signal circuit is the linearized system, and its gain, poles and stability hold for signals small enough that the neglected curvature doesn't matter. Large signals leave that region, which is where distortion and clipping come from.
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.