TactivergeLite

Lite / Engineering Complex Systems / Week 15

Eigenvalues: stability from the A matrix

You have the A matrix of a robot joint but no time to simulate it. Can two numbers tell you whether it will settle?

About 35 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Eigenvalues are how engineers check stability of systems with many states, from aircraft to power grids. The 2×2 case gives you the full intuition with a pencil and paper.

Predict

A = [[0, 1], [−5, −2]]. Stable?

  1. Yes, and it oscillates
  2. Yes, without oscillating
  3. No, it grows
  4. Marginal
Guess first, then reveal

trace = −2, det = 5. Eigenvalues λ = −1 ± √(1 − 5) = −1 ± 2j. Negative real part (stable) and an imaginary part (oscillation at 2 rad/s).

Discover

Use the eigenvalue readout. Set k = 5 and c = 2 and confirm −1 ± 2j. Then find settings that give two different negative real eigenvalues, and settings that give a pure imaginary pair. Sketch the phase-plane shape for each.

What the interactive shows (text version)

The phase-plane sketcher shows the eigenvalues of the mass–spring–damper. With k = 5 and c = 2 they read −1 ± 2j and the path spirals inwards. With heavy damping both are negative real numbers and the path slides in without circling. With c = 0 they are purely imaginary and the path is a closed loop.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: Stretch watch: listen for the rule for discrete-time systems (eigenvalues inside the unit circle); you will use it next lesson.

Connects the sign of an eigenvalue's real part to growth or decay, including the discrete-time version of the rule.

“Stability and Eigenvalues [Control Bootcamp]” by Steve Brunton (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

Understand

Eigenvalues of a 2×2

For A = [[a, b], [c, d]] the eigenvalues solve λ² − (trace)·λ + det = 0, with trace = a + d and det = ad − bc. So λ = trace/2 ± √(trace²/4 − det). Complex when det > trace²/4.

Reading the result

Real part negative: that mode decays like e^(Re λ·t). Positive: grows. Imaginary part ω: oscillation at ω rad/s. For a 2×2 system, both real parts are negative exactly when trace < 0 and det > 0: a two-second stability check.

Linking back to ζ and ωn

For a mass–spring–damper, det = k/m = ωn² and trace = −c/m = −2ζωn. So the eigenvalues are −ζωn ± ωn√(ζ² − 1): the same poles as before. State-space and second-order thinking are one idea seen two ways.

Explain it another way

Intuitive

Eigenvalues are the system's natural 'speeds': each says how fast one pattern of motion grows or shrinks.

Technical

x(t) = Σ cᵢ·vᵢ·e^(λᵢt) for distinct eigenvalues λᵢ with eigenvectors vᵢ. Stability iff Re(λᵢ) < 0 for all i. The 2×2 trace–determinant plane maps every behaviour: spirals, nodes, saddles, centres.

Mathematical

A = [[−1, 2], [0, −3]]: triangular, eigenvalues on the diagonal, −1 and −3. Stable node. A = [[1, 0], [0, −2]]: eigenvalues 1 and −2, a saddle: unstable, because one mode grows.

Applied

Closing a control loop changes A to A − B·K. Choosing the gain matrix K to put the eigenvalues where you want them is called pole placement.

Worked example 1

m = 1, c = 2, k = 5. Find the eigenvalues, ζ and ωn.

A = [[0, 1], [−5, −2]]: trace −2, det 5. λ = −1 ± 2j. ωn = √5 = 2.24 rad/s, ζ = 2/(2√5) = 0.447. Check: −ζωn = −1 ✓.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. A has trace −3 and determinant 2. Stable?

rad/s

Practice 4. A = [[2, 0], [0, −3]]. What happens to most starting states?

Apply it

For a motor model A = [[−R/L, −kₑ/L], [kₜ/J, −b/J]] with your own reasonable numbers, compute the eigenvalues and say whether the motor is under- or overdamped.

Reflect

How would you check stability of a system with 20 states?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Stable means boundedWhen a computer makes a stable loop unstable →