Skip to content
Tactiverge

Textbooks/The Mathematics of Machines/Chapter 11

11Eigenvalues and stability

Version 1 · Technically checked (automated checks only) · 4 source lessons · 8 practice items

Text
All chapters and search
  1. 1. Algebraic modelling
  2. 2. Functions as models
  3. 3. Trigonometry and periodic motion
  4. 4. Vectors
  5. 5. Matrices and transformations
  6. 6. Rates of change
  7. 7. Accumulation and integrals
  8. 8. Differential equations
  9. 9. Probability and uncertainty
  10. 10. Linear systems
  11. 11. Eigenvalues and stability

Introduction

Some directions survive a transformation: the matrix only stretches them. These eigenvectors, and their stretch factors the eigenvalues, explain how structures vibrate, whether a feedback loop settles, and which pattern dominates after many steps. This chapter starts from the determinant as area scaling, finds 2×2 eigenvalues by hand and uses them to judge stability.

A·(1, 1) = (3, 3)A·(1, −1) = (1, −1)A = [[2, 1],[1, 2]]λ = 3 along (1, 1)λ = 1 along (1, −1)
Figure 11.1. The directions that survive. The matrix with rows (2, 1) and (1, 2) applied to two vectors. The vector (1, 1) becomes (3, 3): same direction, three times as long, eigenvalue 3. The vector (1, −1) is unchanged, eigenvalue 1.

Explanation

This chapter is built from 4 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.

11.1 The determinant as area scaling

Why does a single number, ad − bc, tell you whether a whole system of equations can be solved?

Meaning

|det A| is the factor by which A scales areas (2D) or volumes (3D). det A < 0 means orientation is reversed (a mirror image). det A = 0 means some direction is squashed to zero: the image is a line or point, so A is not invertible and its columns are dependent.

Rules worth knowing

det(AB) = det A · det B (scale factors multiply). det(A⁻¹) = 1/det A. det Aᵀ = det A. Row operations: adding a multiple of one row to another leaves det unchanged; swapping two rows flips its sign; scaling a row by k scales det by k. So det = ± (product of pivots) after elimination.

Singularities in robotics

A robot arm's Jacobian J maps joint speeds to hand velocity. Where det J = 0 the arm is at a singularity: some hand directions need infinite joint speed. For a two-link planar arm, det J = L₁L₂ sin θ₂, zero when the arm is straight or folded back.

Derivation: ad − bc is the parallelogram's area
  1. The columns (a, c) and (b, d) span a parallelogram; the unit square maps onto it.

  2. Enclose it in the rectangle [0, a + b] × [0, c + d] (for positive entries) of area (a + b)(c + d).

  3. Subtract the corner pieces: two triangles of area ac/2, two of area bd/2, and two rectangles of area bc.

  4. Area = (a + b)(c + d) − ac − bd − 2bc = ad − bc.

  5. Because the map is linear, every small square scales by the same factor, so every region's area is multiplied by |ad − bc|; the sign records orientation.

Common mix-ups

  • det(A + B) = det A + det B.
    ✓ The determinant is multiplicative, not additive. Try A = B = I in 2D: det(2I) = 4, not 2.
  • A negative determinant means the map shrinks things.
    ✓ The sign is orientation; the size |det| is the scaling.

Open the full lesson: The determinant as area scaling →

11.2 Eigenvectors: the directions that survive

Push almost any vector through a matrix and it swings round. A few special directions only stretch. Why do engineers care so much about them?

Definition

A non-zero vector v is an eigenvector of a square matrix A if A·v = λ·v for some number λ, its eigenvalue. The whole line through v is mapped onto itself and stretched by λ. λ > 1 stretches, 0 < λ < 1 shrinks, λ < 0 also flips, λ = 0 squashes the line to the origin (so A is singular).

Special cases

A shear [[1, 1], [0, 1]] has one repeated eigenvalue 1 but only one eigen-line (the x-axis): it is defective. A rotation by 90° turns every real direction, so its eigenvalues are complex, ±i. A symmetric matrix always has real eigenvalues and perpendicular eigenvectors.

Why they matter: decoupling

If A has independent eigenvectors v₁, v₂, write any x = c₁v₁ + c₂v₂. Then Aᵏx = c₁λ₁ᵏv₁ + c₂λ₂ᵏv₂: each mode evolves on its own. The same trick turns coupled vibrations into independent oscillators (week 6) and makes stability a question about the size of each λ.

Common mix-ups

  • Every matrix has a full set of real eigenvectors.
    ✓ Rotations have complex eigenvalues and shears are defective (too few eigenvectors).
  • The zero vector is an eigenvector of everything.
    ✓ Eigenvectors are non-zero by definition; otherwise every λ would work.

Open the full lesson: Eigenvectors: the directions that survive →

11.3 2×2 eigenvalues by hand

Two numbers you can read off a matrix in two seconds, the trace and the determinant, give you its eigenvalues. How?

The recipe

  1. Compute tr A and det A. 2. Solve λ² − (tr)λ + det = 0. 3. For each λ, find v from a non-zero row of A − λI. 4. Check A·v = λ·v. Example: [[4, 1], [2, 3]]: λ² − 7λ + 10 = 0, λ = 5, 2. A − 5I = [[−1, 1], [2, −2]] gives v = (1, 1); A − 2I = [[2, 1], [2, 1]] gives v = (1, −2).

Reading the discriminant

Δ = tr² − 4 det. Δ > 0: two distinct real eigenvalues. Δ = 0: a repeated eigenvalue (maybe only one eigen-line). Δ < 0: a complex pair tr/2 ± i√(−Δ)/2. For a system x′ = Ax, the real part tr/2 then sets growth or decay and the imaginary part sets the oscillation frequency.

Triangular and symmetric shortcuts

For a triangular matrix the eigenvalues are the diagonal entries. For a symmetric matrix [[a, b], [b, d]], Δ = (a − d)² + 4b² ≥ 0, so the eigenvalues are always real, and the eigenvectors are perpendicular.

Derivation: The characteristic polynomial of a 2×2 matrix
  1. A·v = λ·v with v ≠ 0 means (A − λI)·v = 0 has a non-zero solution.

  2. A non-zero solution exists exactly when A − λI is singular: det(A − λI) = 0.

  3. For A = [[a, b], [c, d]]: det [[a − λ, b], [c, d − λ]] = (a − λ)(d − λ) − bc = λ² − (a + d)λ + (ad − bc).

  4. So λ² − (tr A)λ + det A = 0, giving λ = (tr ± √(tr² − 4 det)) / 2, or with m = tr/2 and p = det, λ = m ± √(m² − p).

  5. Comparing with (λ − λ₁)(λ − λ₂) = λ² − (λ₁ + λ₂)λ + λ₁λ₂ shows tr A = λ₁ + λ₂ and det A = λ₁λ₂.

  6. For each λ, solve (A − λI)v = 0: if its first row is (p, q), then v = (q, −p) works (use the other row if the first is zero).

Common mix-ups

  • The eigenvalues are the diagonal entries.
    ✓ Only for triangular (or diagonal) matrices.
  • Eigenvectors are unique.
    ✓ Any non-zero multiple of an eigenvector is also one; we choose a convenient scaling.

Open the full lesson: 2×2 eigenvalues by hand →

11.4 Stability of x[k+1] = A·x[k]

A digital controller updates its state 1000 times a second. One number decides whether that state settles or explodes. Which one?

Modes

Each eigenpair (λ, v) is a mode: start along v and you stay along v, scaled by λ each step. A general start is a mix of modes, and over time the mode with the largest |λ| dominates. That dominance is what power iteration (week 5) exploits.

Continuous versus discrete

For x′ = Ax (continuous time) the test is Re(λ) < 0. For x[k+1] = Ax[k] (discrete) it is |λ| < 1. They are linked: sampling x′ = Ax every h seconds gives a discrete matrix with eigenvalues e^{λh}, and |e^{λh}| < 1 exactly when Re(λ) < 0. Explicit Euler instead gives 1 + hλ, which is why it can go unstable (week 7).

Vibration meaning

Complex eigenvalues of an iteration or ODE mean oscillation. Their imaginary part sets frequency, and their real part (or modulus) sets decay. Lightly damped modes, with eigenvalues close to the stability boundary, ring for a long time and are the ones engineers watch.

Derivation: Why the spectral radius decides
  1. Suppose A has independent eigenvectors v₁, v₂. Write x[0] = c₁v₁ + c₂v₂.

  2. Then x[1] = A x[0] = c₁λ₁v₁ + c₂λ₂v₂, and by induction x[k] = c₁λ₁ᵏv₁ + c₂λ₂ᵏv₂.

  3. If every |λᵢ| < 1, every term goes to zero: the iteration is asymptotically stable.

  4. If some |λᵢ| > 1 and its cᵢ ≠ 0, that term grows without bound: unstable.

  5. So stability depends on the spectral radius ρ(A) = max |λᵢ| < 1. Complex λ = re^{iφ} give rotation by φ per step with size rᵏ.

Common mix-ups

  • For any linear system, |λ| < 1 means stable.
    ✓ That is the discrete-time test. For x′ = Ax, use Re(λ) < 0.
  • If most eigenvalues are stable, the system is stable.
    ✓ One unstable mode makes the whole system unstable (unless it is never excited, which noise will eventually do).

Open the full lesson: Stability of x[k+1] = A·x[k] →

Worked examples

The determinant as area scaling: example 1

Compute det of [[2, 1, −1], [−3, −1, 2], [−2, 1, 2]] from its LU factorisation.

Solution

Without row swaps, U has pivots 2, 0.5 and −1. det = 2 × 0.5 × (−1) = −1. (L has 1s on its diagonal, so det L = 1.)

Eigenvectors: the directions that survive: example 1

Check that (1, −2) is an eigenvector of A = [[4, 1], [2, 3]].

Solution

A(1, −2) = (4 − 2, 2 − 6) = (2, −4) = 2·(1, −2). Yes, with λ = 2.

2×2 eigenvalues by hand: example 1

Find the eigenvalues of [[0, 1], [−2, −3]].

Solution

tr = −3, det = 0·(−3) − 1·(−2) = 2. λ² + 3λ + 2 = 0 = (λ + 1)(λ + 2), so λ = −1, −2. Check: sum −3 = tr ✓, product 2 = det ✓. Both negative: as x′ = Ax, every solution decays.

2×2 eigenvalues by hand: example 2

Find the eigenvalues of [[1, −2], [2, 1]].

Solution

tr = 2, det = 1 + 4 = 5. Δ = 4 − 20 = −16. λ = 1 ± 2i: a rotation combined with growth by a factor √5 per step.

Stability of x[k+1] = A·x[k]: example 1

Is x[k+1] = [[0.5, 0.4], [0.1, 0.6]]·x[k] stable?

Solution

tr = 1.1, det = 0.30 − 0.04 = 0.26. λ = (1.1 ± √(1.21 − 1.04))/2 = (1.1 ± 0.412)/2 ≈ 0.756 and 0.344. Both have |λ| < 1: stable. Jury check: |0.26| < 1 and 1.1 < 1.26 ✓.

Interactive figures

Figure 11.2 from The determinant as area scalingWatch the shaded parallelogram while you change entries. Find three different matrices with det = 1. Then make det negative and describe what happens to the order of î and ĵ. Finally compose two maps and check det(BA) = det(B)·det(A).
Can't use the interactive? Read a description instead

The diagram shades the image of the unit square, coloured differently when the determinant is negative. The readout gives det A, det B, det(BA) and the new area, and says when orientation flips or the plane collapses.

Interactive figure (online). Description: The diagram shades the image of the unit square, coloured differently when the determinant is negative. The readout gives det A, det B, det(BA) and the new area, and says when orientation flips or the plane collapses.

Figure 11.3 from Eigenvectors: the directions that surviveFor each matrix, sweep the direction slider until the readout says you are on an eigen-line. Record the angle and λ. What happens for the shear and for the rotation?
Can't use the interactive? Read a description instead

The eigen-finder draws a unit vector x at an angle set by a slider and its image Ax. Text reports how many degrees Ax is turned away from the line of x and announces when x lies on an eigen-line, with the stretch factor λ. A button reveals the eigen-lines and the eigenvalues.

Interactive figure (online). Description: The eigen-finder draws a unit vector x at an angle set by a slider and its image Ax. Text reports how many degrees Ax is turned away from the line of x and announces when x lies on an eigen-line, with the stretch factor λ. A button reveals the eigen-lines and the eigenvalues.

Figure 11.4 from Stability of x[k+1] = A·x[k]Choose the 'stable' and 'unstable' matrices. Step through and watch the unnormalised size ‖Aᵏx₀‖ in the table. Compare with the eigenvalues reported in the readout.
Can't use the interactive? Read a description instead

The power-iteration diagram plots the normalised iterate on the unit circle and lists, in a table, the eigenvalue estimate and the unnormalised size of A to the power k times x0. The readout states whether the size shrinks (stable) or grows (unstable) and gives the true eigenvalues.

Interactive figure (online). Description: The power-iteration diagram plots the normalised iterate on the unit circle and lists, in a table, the eigenvalue estimate and the unnormalised size of A to the power k times x0. The readout states whether the size shrinks (stable) or grows (unstable) and gives the true eigenvalues.

Laboratory

Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.

  • Equation Lab exploration

    Equation Lab: Matrices

    Find a matrix with a negative determinant and describe what it does to the orientation of the grid.

    Open Equation Lab: Matrices →
  • Equation Lab exploration

    Equation Lab: Oscillator

    Relate the oscillator's decay and frequency to the eigenvalues of its state matrix.

    Open Equation Lab: Oscillator →
  • Nexus project

    Nexus: Virtual robotic arm

    Find a pose where the arm is fully stretched and explain, with the determinant idea, why it cannot move its tip outward.

    Open Nexus: Virtual robotic arm →

Guided practice

Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.

Practice 1 · a fresh version every time

Find det A for A = [[-4, 1, 6], [6, -1, 2], [3, 0, 6]].

Practice 2

A maps the unit square to the parallelogram with sides (3, 1) and (1, 2). What is its area?

Practice 3

A two-link planar arm has det J = L₁L₂ sin θ₂. When is it singular?

Practice 4

Is (1, 1) an eigenvector of [[3, 1], [1, 3]]?

Practice 5

Why does a 90° rotation have no real eigenvectors?

Practice 6 · a fresh version every time

A = [[2, 0], [6, -4]]. Find its smaller eigenvalue.

Practice 7

A 2×2 matrix has tr = 2 and det = 5. Its eigenvalues are…

Practice 8

Eigenvalues 0.5 and 0.99. Stable?

  1. Find det A for A = [[-4, 1, 6], [6, -1, 2], [3, 0, 6]].
  2. A maps the unit square to the parallelogram with sides (3, 1) and (1, 2). What is its area?
  3. A two-link planar arm has det J = L₁L₂ sin θ₂. When is it singular?
    • When θ₁ = 0
    • When θ₂ = 0° or 180°
    • Never, if the links are long enough
  4. Is (1, 1) an eigenvector of [[3, 1], [1, 3]]?
    • Yes, with λ = 4
    • Yes, with λ = 3
    • No
  5. Why does a 90° rotation have no real eigenvectors?
    • Its determinant is zero
    • It turns every non-zero vector by 90°, so none stays on its line
    • It is not a linear map
  6. A = [[2, 0], [6, -4]]. Find its smaller eigenvalue.
  7. A 2×2 matrix has tr = 2 and det = 5. Its eigenvalues are…
    • Two distinct real numbers
    • A repeated real number
    • A complex-conjugate pair
  8. Eigenvalues 0.5 and 0.99. Stable?
    • Yes, but the 0.99 mode decays slowly
    • No
    • Only if the start is along the 0.5 eigenvector

Engineering applications

  • Vibration

    A structure's natural frequencies come from the eigenvalues of its stiffness and mass model. Designers keep those frequencies away from the frequencies of motors and footsteps.

  • Digital control

    A discrete-time controller x[k+1] = A·x[k] settles only if every eigenvalue of A has magnitude below 1. Checking eigenvalues is the first test of a new controller design.

Watch

Optional verified videos. Nothing loads from YouTube until you press play.

Animates the determinant as the factor by which a transformation scales area, including what a negative or zero value means.

10 min 3 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

Shows eigenvectors as the directions a transformation only stretches, the picture behind every eigen-calculation this term.

17 min 15 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

A fast way to find 2×2 eigenvalues from the trace and determinant, which you can check against the characteristic polynomial.

13 min 12 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

A university lecture on det(A − λI) = 0, trace and determinant checks, and matrices whose eigenvalues are complex.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

  • The determinant | Chapter 6, Essence of linear algebra (3Blue1Brown)
  • Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra (3Blue1Brown)
  • A quick trick for computing eigenvalues | Chapter 15, Essence of linear algebra (3Blue1Brown)
  • 21. Eigenvalues and Eigenvectors (MIT OpenCourseWare)

Chapter summary

  • det(A) is the factor by which A scales areas; a negative determinant flips orientation, zero squashes the plane.
  • An eigenvector v satisfies A·v = λ·v: A only stretches it, by the eigenvalue λ.
  • For a 2×2 matrix, the eigenvalues solve λ^2 − (trace)·λ + det = 0.
  • x[k+1] = A·x[k] is stable when every eigenvalue has |λ| < 1; the largest |λ| sets how fast it settles.

Glossary

Matrix multiplication
Multiplying matrices combines rows of the first with columns of the second: each entry of the result is a dot product of a row and a column.
2D rotation matrix
A 2D rotation by angle θ anticlockwise maps (x, y) to (x cos θ − y sin θ, x sin θ + y cos θ), written as a 2×2 matrix.
Damping ratio
The damping ratio ζ describes how quickly oscillations die out in a second-order system: below 1 it oscillates, exactly 1 is critically damped, above 1 it creeps to the target without overshoot.

Definitions from the Field Guide.

Project: Will it settle?

Choose a two-state discrete model, such as a thermostat's temperature and heater state or a population of two species. Find the eigenvalues of its matrix by hand, predict whether it settles, then simulate 20 steps in code and compare.

Deliverables

  • The model and its matrix
  • Eigenvalues by hand and by code
  • The simulation plot
  • A sentence on what changes would make it unstable

Keep your work in your Engineering Journal; it stays private unless you choose to share it.

References

  • Gilbert Strang (2016). Introduction to Linear Algebra, 5th edition. Wellesley-Cambridge Press.
  • MIT OpenCourseWare (2010). 18.06 Linear Algebra (Spring 2010). Massachusetts Institute of Technology. Link ↗
  • Erwin Kreyszig (2011). Advanced Engineering Mathematics, 10th edition. Wiley.

Publication record

Version
1
Status
Technically checked (automated checks only)
Technical review
Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
Written by
Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
Licence
All rights reserved by the founders unless a licence is approved.
Corrections
None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.