School/□ Systems Engineer/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
1.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.
- ◇ Compute the eigenvalues of a 2×2 state matrix from its trace and determinant.
- ◇ Predict decay, growth and oscillation from those eigenvalues.
- ◇ Use trace < 0 and determinant > 0 as a quick stability test for 2×2 systems.
2.Predict
A = [[0, 1], [−5, −2]]. Stable?
Guess first. Being wrong here is how the surprise works.
3.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.
Loading the interactive…
Can't use the interactive? Read a description instead
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.
4.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
A has trace −3 and determinant 2. Stable?
5.Watch
→ 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.
Length: see YouTube · captions on YouTube · source
Nothing loads from YouTube until you press play.
The video is optional: everything you need is also in the lesson text and the interactive.
6.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
Eigenvalues are the system's natural 'speeds': each says how fast one pattern of motion grows or shrinks.
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.
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.
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
- If most eigenvalues are negative, the system is mostly stable.
✓ One eigenvalue with positive real part makes the whole system unstable.
7.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
A = [[0, 1], [−4, −5]]. What is the slower (closer to zero) eigenvalue?
Practice 3
A = [[0, 1], [−10, −2]]. What is the size of the imaginary part of its eigenvalues (rad/s)?
Practice 4
A = [[2, 0], [0, −3]]. What happens to most starting states?
Practice 5 · a fresh version every time
A mass–spring–damper has m = 10 kg, c = 12.6 N·s/m and k = 400 N/m. What is its damping ratio ζ? (No unit.)
8.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.
9.Reflect
Concepts: Eigenvalues and the stability of dynamic systems · States and state-space models · Stability, overshoot and delay