Visual walkthrough — Lyapunov stability — Lyapunov function, positive definiteness
We will prove one thing, slowly:
If there is a bowl-shaped number sitting over your state space, and that number never climbs as the system moves, then the system cannot escape — it is stable.
Step 1 — What is "the state" and what does a trajectory look like?
WHAT. Our system is a rule that says, at every point, which way to move next. Write the system's condition as a list of numbers — for a spinning spacecraft, think "angle error" and "angular rate error." The rule is
Read it term by term:
- — a point on the floor plan (the state).
- — the little arrow attached to that point telling you where you drift next (the "dot" means rate of change in time).
- — the machine that turns a point into its arrow. Feed it a point, out comes an arrow.
WHY. We want to reason about where the system goes without ever computing the path with a formula. So we picture the arrows first: they form a field, and a moving point just follows the arrows like a leaf in a stream.
PICTURE. Every dot on the grid has one cyan arrow. Follow the arrows from any start and you trace a trajectory (amber) that curls toward the origin.

Step 2 — Build the bowl: a positive-definite number over the floor
WHAT. Hang a height over every floor point: a number . We demand it be shaped like a bowl: Term by term:
- — the bottom of the bowl sits exactly over the equilibrium.
- — everywhere else the ground is higher. No side channels, no flat ledges.
Such a is called positive definite, which we'll abbreviate PD from here on.
WHY. We need a single number whose smallness forces the state to be near home. A bowl does exactly that: "low height" is only possible near the bottom. If the bowl had a flat trench (only , i.e. semi-definite), a point could slide far away while stayed — useless. That is why the strict matters.
PICTURE. The paraboloid over the floor. Its horizontal slices are circles — the level sets . Notice: a small height pens you inside a small circle.

Recall Why not just measure distance?
Distance ::: You could — distance-squared is a valid PD bowl. But a bowl matched to the system's own physics (like mechanical energy) usually makes the next step's arithmetic cancel beautifully. The freedom to choose the bowl is Lyapunov's whole power.
Step 3 — The key question: is the moving point climbing or sinking?
WHAT. As the state slides along a trajectory, its height changes over time. We want that rate, . Since depends on position and position depends on time, use the chain rule: Term by term:
- — the gradient, an arrow pointing straight uphill on the bowl, longest where the bowl is steepest.
- — the motion arrow from Step 1, which way the point actually goes.
- The centred dot "" is the dot product: multiply the two arrows' matching components and add them up. It answers "how much does one arrow point along the other?" (You will also see this written ; the small "" is just "flip the column of numbers on its side so we can multiply-and-add" — it means the same dot product.)
WHY the dot product, and why this tool? A dot product answers exactly one question: how much does arrow B point in the direction of arrow A? Here it asks "is the motion heading uphill or downhill on the bowl?" That is precisely the sign we need, and — the miracle — it uses only , the machine we already have. We never solve for the path.
- If points against the uphill gradient (obtuse angle) sinking.
- If points along it climbing.
- If is perpendicular to gliding along a level circle.
PICTURE. At one sample point: the amber gradient pointing outward-uphill, the cyan motion , and the angle between them. The shaded projection is .

Step 4 — The decisive condition: everywhere nearby
WHAT. Fix a region — just a patch of the floor plan around the origin (a neighbourhood of the equilibrium, small enough that our chosen bowl and our sign check are valid there). Suppose that inside the motion arrow never points uphill on the bowl: Here is exactly the domain where we have checked the sign — everything below is a claim about points inside .
WHY. This single inequality says the height can only stay level or drop, never rise. Geometrically: at every fence-post around any level circle (that fits inside ), the motion arrow points inward or tangent — never outward. A point starting inside that circle can never cross out of it.
PICTURE. A level circle (dashed cyan) with motion arrows sampled around its rim. Every arrow leans inward/tangent (amber = inward component). The trajectory is trapped inside.

Step 5 — Why "trapped" means stable (the – picture)
WHAT. First, one piece of notation we need: means the straight-line distance from to the origin — for it is , the length of the arrow from the centre to the point. So "" just reads "the point is closer than to home."
Now "stable" has a precise meaning: small kick in ⟹ small response, forever. For any target circle of radius we must find a start circle of radius so that starting inside keeps you inside for all time.
WHY the bowl delivers this. Because is a PD bowl, pick the height of the highest level-set that still fits inside the target (and inside ). The set is a closed region around the origin. From Step 4, once inside you stay inside it (height can't rise past ). Then choose as a small ball that fits inside . Chain it together:
PICTURE. Three nested rings: outer target , the trapping level-set between them, inner start . An amber trajectory launched from rattles around but never pierces .

That is a complete proof of stability — no ODE was ever solved.
Step 6 — Sharpening to asymptotic stability ()
WHAT. If the inequality is strict away from the origin, the height doesn't just fail to rise — it strictly drops at every instant the point isn't home.
WHY. A quantity that is bounded below by (heights of a bowl can't go negative) and that keeps strictly decreasing must settle onto some floor value — this is the monotone convergence principle: a number that only ever goes down but can't fall through has nowhere to go but toward a limit. That limiting height must have (otherwise it would still be dropping), and strictness says the only place with is the origin. So the state doesn't merely stay near home — it goes home: .
PICTURE. The height-vs-time curve : a monotonically falling amber line pressing down onto , with the matching trajectory spiralling into the origin.

Step 7 — The degenerate case: a flat trench ( on a whole set)
WHAT. What if but on more than just the origin — say a whole line? This is exactly the parent damped-pendulum case: gives which is zero all along the axis (any position, zero velocity).
WHY this is a real gap. On that line the height stops dropping. Strict-decrease reasoning (Step 6) breaks — you cannot conclude convergence from Lyapunov alone. But physically the pendulum does come to rest. The escape hatch: on the trench the dynamics still push , so the point can't linger on the trench — it gets kicked off and keeps sinking. Formalizing "can't stay on the flat set" is LaSalle's Invariance Principle.
PICTURE. The bowl with a flat amber trench along the -axis. A trajectory grazes the trench, but the vertical arrows () shove it back off — it can rest nowhere but the origin.

Step 8 — The other degenerate warning: a bad bowl proves nothing
WHAT. Suppose you pick a and get somewhere. Tempting conclusion: "unstable!" Wrong.
WHY. Lyapunov's theorem is a one-way ticket: a good (PD bowl, non-rising) certifies stability, but a failed certifies nothing. A different, cleverer bowl might succeed. Only Chetaev's Instability Theorem can prove instability.
PICTURE. Two candidate bowls over the same stable trajectory: bowl A's arrows show (misleading), bowl B's show (correct certificate). Same system, opposite readings — proof that a failed guess is not a verdict.

The one-picture summary
Everything at once: the arrow field (Step 1), the bowl with a level ring (Step 2), the gradient-vs-motion angle giving 's sign (Step 3), inward arrows trapping the ring (Step 4), the nested – rings (Step 5), and the amber trajectory spiralling to the bottom while its height falls to zero (Step 6).
Recall Feynman: the whole walkthrough in plain words
Picture a marble tipped into a bowl. I don't need to compute its path — I just watch its height. First I make sure the bowl is a real bowl: lowest at the target spot, higher everywhere else (that's positive definite, PD). Then, at any spot, I compare the way the marble is pushed against the way that would take it uphill — that comparison is the dot product , and its sign is . If the push is never uphill () inside my patch , the marble's height can't grow, so it's fenced inside a small ring: stable. If the push is always downhill (), the height keeps shrinking and — being unable to fall below — must settle to zero, so the marble rolls all the way home: asymptotically stable. If there's a flat ledge where height momentarily stops falling, I check whether the marble can actually rest there — usually the dynamics kick it off (LaSalle's Invariance Principle). And if my chosen bowl gives a confusing uphill reading, that just means I picked a bad bowl — it proves nothing. That is Lyapunov's direct method: stability judged by watching one falling number, never by solving the motion.