Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Maps of motion
A pendulum can hang still at the bottom or balance perfectly at the top. Both are resting points, but the top one is fragile: the slightest nudge and it falls. A phase portrait is a map that shows, from every starting state, where the system goes next. Resting points show up as special dots. Some pull everything in (stable), some push things away (unstable), and some do both from different directions (saddles).
Before designing a controller you need to know which states are naturally stable and which need active help: a hovering quadrotor, a balancing legged robot, a spinning satellite. In 1958 Explorer 1, the first US satellite, began tumbling within hours because energy loss in its flexible antennas destabilized its spin. That was a lesson in stability analysis learned in orbit.
- 1. A pendulum balanced upside down is…
- 2. A phase portrait shows…
- 3. A stable fixed point…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Fixed points and nullclines
For , a fixed point satisfies . In 2-D, the nullclines and are curves where the flow is purely vertical or horizontal. Fixed points sit where they cross.
Stability
- Lyapunov stable: nearby solutions stay nearby.
- Asymptotically stable: they also converge to the fixed point.
- Unstable: some nearby solutions leave.
Example: the pendulum
. The fixed points are . Hanging down () is stable. Inverted () is unstable.
- 1. Fixed points are where…
- 2. Nullclines intersect at…
- 3. The pendulum's fixed points are θ =
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Linearization
Near , with . Classify by the eigenvalues of , exactly as in a9-2.
Hartman–Grobman: if is hyperbolic (no eigenvalue with zero real part), the nonlinear flow near is topologically equivalent to the linear one. Centers (purely imaginary eigenvalues) are not decided by linearization. Nonlinear terms may turn them into spirals, unless a conserved quantity keeps orbits closed.
Conserved quantities
If satisfies , trajectories lie on level sets of H. The undamped pendulum has energy . Lotka–Volterra has , so its orbits are closed.
Limit cycles and basins
A limit cycle is an isolated closed orbit, e.g. the Van der Pol oscillator. Poincaré–Bendixson says a bounded 2-D trajectory with no fixed points in its limit set approaches a closed orbit. The basin of attraction of a stable point is everything that flows to it. Saddle stable manifolds form the boundaries.
- 1. Hartman–Grobman applies when the fixed point is…
- 2. Lotka–Volterra orbits are closed because…
- 3. The Van der Pol oscillator's closed orbit is a…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Pendulum Jacobian
. At , and , so it’s a stable spiral for . At , , so it’s a saddle. ∎
Lotka–Volterra conservation
. ∎
Intermediate-axis theorem
Euler’s equations for a torque-free body: and cyclic. Linearize about spin about axis . The transverse components obey with
If is the largest or smallest, (center). If is intermediate, (saddle, exponential growth). ∎ With energy dissipation, only the maximum-inertia axis is truly stable (the major-axis rule). That explains Explorer 1.
Exercise 3.1: Lotka–Volterra coexistence point for a = 1, b = 0.5, c = 0.75, d = 0.25
. The Jacobian there has eigenvalues .
- 1. At θ = π, the damped pendulum Jacobian has det =
- 2. Spin about the intermediate principal axis is…
- 3. With energy dissipation, the only stable spin axis is…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.The tumbling spacecraft (Dzhanibekov effect)
In 1985 cosmonaut Vladimir Dzhanibekov noticed a wing nut flipping periodically as it spun in microgravity. It was spinning about its intermediate principal axis. With principal moments (1, 2, 3) kg·m² and spin 2 rad/s, the linearized perturbation about the intermediate axis grows at 1.15 s⁻¹. A 0.001 rad/s disturbance flips the spin direction within about 8 s, and keeps flipping. Spins about the major or minor axis stay put. RK4 conserves angular momentum and energy to 1e−9, so the flips are physics, not numerical error. Spacecraft designers keep spin-stabilized vehicles spinning about the major axis, and add dampers to make it attracting.
Phase-space analysis in AI, robotics and aerospace
- Spacecraft attitude: spin stability, nutation dampers and the major-axis rule (Explorer 1 lesson; Kaplan, 1976).
- Legged robots: limit cycles of passive dynamic walkers (McGeer, 1990) and Poincaré-map stability of gaits.
- Control design: linearize at fixed points for LQR, and use basins of attraction to judge controller validity regions (Tedrake, Underactuated Robotics).
- Neural networks: fixed points and attractors of RNNs; analysing trained RNNs by linearizing around slow points (Sussillo and Barak, 2013).
References
- S. Strogatz (2015). Nonlinear Dynamics and Chaos, 2nd ed. Westview. Ch. 5–7.
- M. Hirsch, S. Smale, R. Devaney (2013). Differential Equations, Dynamical Systems, and an Introduction to Chaos, 3rd ed. Academic Press.
- P. Hartman (1960). “A lemma in the theory of structural stability of differential equations.” Proc. AMS, 11(4).
- M. Kaplan (1976). Modern Spacecraft Dynamics and Control. Wiley.
- M. Ashbaugh, C. Chicone, R. Cushman (1991). “The twisting tennis racket.” J. Dynamics and Differential Equations, 3(1).
- T. McGeer (1990). “Passive dynamic walking.” IJRR, 9(2).
- R. Tedrake (2023). Underactuated Robotics. MIT course notes, underactuated.mit.edu.
- D. Sussillo, O. Barak (2013). “Opening the black box: low-dimensional dynamics in high-dimensional recurrent neural networks.” Neural Computation, 25(3).