Foundations to Frontier
Tests
A. Mathematical Foundations › A9 Differential Equations and Dynamical Systems

Systems of Linear ODEs and Eigenvalue Analysis

Many coupled quantities evolve together: position and velocity, the temperatures of linked components, the relative motion of two spacecraft. Linear systems x′ = Ax are solved completely by the eigenvalues and eigenvectors of A, or more generally by the matrix exponential. You will learn to read decay rates, oscillation frequencies and damping ratios straight from eigenvalues, handle repeated eigenvalues (Jordan blocks), compute e^(At) two ways, and apply it to the Clohessy–Wiltshire equations of orbital rendezvous: secular drift from a zero eigenvalue and a two-impulse docking manoeuvre computed from the state transition matrix.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Things that change together

A swing’s position and speed change together: speed changes position, and position (through gravity) changes speed. When several quantities push on each other like this, we get a system of equations. For linear systems there’s a beautiful shortcut. Find a few special directions (the eigenvectors) where the motion is simple: just growing, shrinking or spinning. Then any motion is a mix of these simple ones.

x′ = Ax: eigenvalues decide everything
det ↑tr →spirals inside parabola
tr = -0.60, det = 4.09 → stable spiral · eigenvalues -0.300 ± 2.000i
Solutions are combinations of e^(λt)v along eigenvectors v. Negative real parts mean decay to the origin; positive, growth; imaginary parts mean rotation. A saddle (det below 0) has one attracting and one repelling direction (dashed). Above the parabola det = tr²/4 the eigenvalues are complex and orbits spiral. A repeated eigenvalue with one eigenvector (Jordan block) adds t·e^(λt) terms.
Why engineers care

Every linearized robot, aircraft or spacecraft model is x′ = Ax. The eigenvalues of A are its natural modes: how fast it settles, whether it oscillates, whether it’s unstable. Rendezvous guidance for docking with the ISS uses the solution of exactly such a system, the Clohessy–Wiltshire equations.

📝 Quick check (Level 0)
0/3 answered
  1. 1. A system of ODEs describes…
  2. 2. Eigenvectors are directions where motion is…
  3. 3. A swing's motion is a…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

Solution via eigenvectors

If Av=λvAv = \lambda v, then x(t)=eλtvx(t) = e^{\lambda t}v solves x′=Axx' = Ax. With nn independent eigenvectors,

x(t)=∑icieλitvi,c=V−1x0x(t) = \sum_ic_ie^{\lambda_it}v_i,\qquad c = V^{-1}x_0

Reading eigenvalues

  • Re⁡λ<0\operatorname{Re}\lambda < 0: decays, with time constant 1/∣Re⁡λ∣1/\lvert\operatorname{Re}\lambda\rvert.
  • Re⁡λ>0\operatorname{Re}\lambda > 0: grows (unstable).
  • Im⁡λ=ω\operatorname{Im}\lambda = \omega: oscillates at ω\omega rad/s.

Second-order systems

Rewrite mq¨+cq˙+kq=0m\ddot q + c\dot q + kq = 0 as a first-order system with A=(01−k/m−c/m)A = \begin{pmatrix}0 & 1\\-k/m & -c/m\end{pmatrix}. The eigenvalues are λ=−ζωn±iωn1−ζ2\lambda = -\zeta\omega_n\pm i\omega_n\sqrt{1 - \zeta^2}, where ωn=k/m\omega_n = \sqrt{k/m} and ζ=c/(2km)\zeta = c/(2\sqrt{km}).

📝 Quick check (Level 1)
0/3 answered
  1. 1. λ = −0.2 ± 5i means…
  2. 2. ωₙ for k = 50, m = 2:
  3. 3. A 2×2 system with det below 0 is a…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.

The matrix exponential

x(t)=eAtx0,eAt=∑k≥0(At)kk!x(t) = e^{At}x_0,\qquad e^{At} = \sum_{k\ge0}\frac{(At)^k}{k!}

Φ(t)=eAt\Phi(t) = e^{At} is the state transition matrix. It satisfies Φ(s+t)=Φ(s)Φ(t)\Phi(s + t) = \Phi(s)\Phi(t) and ddtΦ=AΦ\frac d{dt}\Phi = A\Phi. To compute it:

  • eigendecomposition, VeΛtV−1Ve^{\Lambda t}V^{-1}, when A is diagonalizable and well-conditioned;
  • scaling and squaring with a Taylor or Padé approximant (the expm algorithm; Moler and Van Loan, 2003).

Repeated eigenvalues

If λ\lambda is repeated but has only one eigenvector, the Jordan block (λ10λ)\begin{pmatrix}\lambda & 1\\0 & \lambda\end{pmatrix} gives eλt(1t01)e^{\lambda t}\begin{pmatrix}1 & t\\0 & 1\end{pmatrix}. Polynomial-times-exponential terms appear. With λ=0\lambda = 0 they mean secular (linearly growing) drift.

2-D classification

Use trace and determinant: saddle if det below 0; node or spiral depending on the sign of tr⁡2−4det⁡\operatorname{tr}^2 - 4\det; stable iff tr below 0 and det above 0.

🐍 Exercise 1: matrix exponentials and modes
Compute e^(At) by eigendecomposition and by scaling-and-squaring Taylor series, and check against RK4. Extract ωn and ζ from the eigenvalues of a mass–spring–damper. Verify the Jordan-block t·e^(λt) term and the semigroup property.
📝 Quick check (Level 2)
0/3 answered
  1. 1. Φ(s + t) =
  2. 2. A Jordan block with λ = 0 produces…
  3. 3. A 2×2 system is asymptotically stable iff…

Level 3: Advanced

★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.

Why eigenvalues decide stability

For diagonalizable A=VΛV−1A = V\Lambda V^{-1}, ∥eAt∥≤κ(V)max⁡ieRe⁡λit\lVert e^{At}\rVert\le\kappa(V)\max_ie^{\operatorname{Re}\lambda_it}. So all solutions decay iff every Re⁡λi<0\operatorname{Re}\lambda_i < 0. For non-diagonalizable A, Jordan blocks multiply by polynomials in tt, which don’t change the conclusion when Re⁡λ<0\operatorname{Re}\lambda < 0. ∎ Note that κ(V)\kappa(V) can be huge for non-normal A: transient growth before decay.

Damped oscillator eigenvalues

det⁡(A−λI)=λ2+(c/m)λ+k/m=0\det(A - \lambda I) = \lambda^2 + (c/m)\lambda + k/m = 0. So λ=−ζωn±ωnζ2−1\lambda = -\zeta\omega_n\pm\omega_n\sqrt{\zeta^2 - 1}, complex for ζ<1\zeta < 1 (underdamped). ∣λ∣=ωn\lvert\lambda\rvert = \omega_n and ζ=−Re⁡λ/∣λ∣\zeta = -\operatorname{Re}\lambda/\lvert\lambda\rvert. ∎

Jordan block exponential

J=λI+NJ = \lambda I + N with N2=0N^2 = 0, and λI\lambda I commutes with NN. So eJt=eλt(I+Nt)e^{Jt} = e^{\lambda t}(I + Nt). ∎

Exercise 3.1: eigenvalues of [[0, 1], [−4, 0]]

λ2+4=0\lambda^2 + 4 = 0, so λ=±2i\lambda = \pm2i: a center, oscillating at 2 rad/s with period π s.

📝 Quick check (Level 3)
0/3 answered
  1. 1. For an underdamped oscillator, |λ| equals…
  2. 2. e^(Jt) for J = λI + N (N² = 0):
  3. 3. Non-normal A with stable eigenvalues can show…

Level 4: Expert

★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.

Clohessy–Wiltshire rendezvous

Relative motion of a chaser near a target in a circular orbit (mean motion nn), in the Hill frame with x radial, y along-track and z cross-track:

x¨=3n2x+2ny˙,y¨=−2nx˙,z¨=−n2z\ddot x = 3n^2x + 2n\dot y,\quad\ddot y = -2n\dot x,\quad\ddot z = -n^2z

The eigenvalues are 0, 0 and ±in\pm in (twice). The zero eigenvalue has a Jordan block, so a radial offset at rest drifts along-track by −12πx0-12\pi x_0 per orbit (Clohessy and Wiltshire, 1960). Splitting Φ(T)\Phi(T) into position and velocity blocks gives a two-impulse rendezvous: v0+=−Φrv−1Φrrr0v_0^+ = -\Phi_{rv}^{-1}\Phi_{rr}r_0, then cancel the arrival velocity. The same calculation is done for ISS approaches and autonomous docking.

🐍 Exercise 2 (research): CW equations and two-impulse rendezvous
Build the 6×6 CW system for an ISS-like orbit, verify its eigenvalues, and match the matrix exponential to the closed-form CW state transition matrix. Show the secular drift from a radial offset, then compute the two Δv impulses for a 40-minute rendezvous.

Linear systems in AI, robotics and aerospace

  • Proximity operations: CW and Tschauner–Hempel equations for rendezvous, formation flying and inspection.
  • Structural dynamics: modal analysis of solar arrays and booms; avoiding controller bandwidth near flexible modes.
  • Linearized dynamics: Jacobian linearization of quadrotors and legged robots around hover or stance for LQR (A10).
  • Learning: linear recurrent and state-space models (S4, Mamba) use discretized e^(AΔt) and control stability through eigenvalues.

References

  1. W. Clohessy, R. Wiltshire (1960). “Terminal guidance system for satellite rendezvous.” J. Aerospace Sciences, 27(9).
  2. C. Moler, C. Van Loan (2003). “Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later.” SIAM Review, 45(1).
  3. M. Hirsch, S. Smale, R. Devaney (2013). Differential Equations, Dynamical Systems, and an Introduction to Chaos, 3rd ed. Academic Press.
  4. D. Vallado (2013). Fundamentals of Astrodynamics and Applications, 4th ed. Microcosm. Ch. 6.
  5. W. Fehse (2003). Automated Rendezvous and Docking of Spacecraft. Cambridge.
  6. L. N. Trefethen, M. Embree (2005). Spectra and Pseudospectra. Princeton.
  7. A. Gu, K. Goel, C. Ré (2022). “Efficiently modeling long sequences with structured state spaces.” ICLR.