Conservative Systems and the Pendulum
Push a playground swing gently and release it. It oscillates forever, never speeding up or slowing down over the long run. Push it hard enough and it will loop over the top instead. Why does the same equation produce two utterly different behaviors? What invisible boundary separates them? This question is the gateway to conservative dynamics. Conservative dynamics studies systems whose total energy never changes. The simple pendulum is its archetype. Conservative systems matter because energy conservation is not a special trick. It is a structural fact that constrains the entire phase portrait. Once we know a quantity is conserved along trajectories, we can read off the qualitative behavior of the whole system. This includes equilibria, closed orbits, and the special trajectories separating qualitatively different motions. We can find these directly from the level sets of that quantity. We need not solve the differential equation explicitly. This is a genuinely different mode of analysis from the linear stability techniques built on Lyapunov Functions and Stability. Here the "Lyapunov function" is not decreasing; it is exactly constant. That constancy is the source of all the structure. The big picture is this: a conserved quantity (an integral of motion) turns a two-dimensional flow into a family of one-dimensional problems along its level curves. For the pendulum, the level curves of energy take three forms. Some are closed loops around stable equilibria (centers). Others are open unbounded curves corresponding to whirling motion. One is a single distinguished curve — the separatrix. This separatrix threads through the unstable equilibrium and divides the two regimes. Understanding this picture rigorously requires nothing more than calculus. It also requires the definitions of equilibrium and stability already in hand. Yet it yields sharp, provable statements about global phase portraits. Eigenvalue linearization alone cannot deliver these at the unstable equilibrium. This article builds the theory of conserved quantities for planar systems. It proves that non-degenerate energy minima are stable centers. It classifies the pendulum's phase portrait completely. It identifies the separatrix as the frontier between libration and rotation. It closes by connecting these ideas forward to the appearance of genuine limit cycles. It also connects them to bifurcation phenomena. These phenomena require dissipation or parameters to break the delicate conservative structure explored here.
- A conserved quantity (first integral) is constant along every trajectory of an autonomous system.
- The pendulum's energy (in suitable units) is exactly such an integral.
- Trajectories lie on level curves of ; this converts a 2D phase portrait problem into 1D level-set geometry.
- Strict local minima of a conserved quantity are stable equilibria (Lyapunov's direct method applied to itself), giving centers.
- Saddle equilibria of the energy generate a separatrix separating oscillation (libration) from whirling (rotation).
- The undamped pendulum has no attracting limit cycles or asymptotic stability — conservation forbids energy dissipation.
- Key idea: conserved quantities make phase portraits readable from geometry alone, turning stability questions into calculus of level sets.
Where this lives today
The energy-level-set method generalizes directly to Hamiltonian mechanics, where any system with a conserved Hamiltonian has trajectories confined to level sets of , exactly as here; this underlies celestial mechanics, molecular dynamics simulations, and plasma physics guiding-center theory. In electrical engineering, the pendulum equation is mathematically identical to the model of a Josephson junction and to synchronous-machine "swing equations" in power-grid stability analysis, where the same libration/whirling dichotomy determines whether a generator stays synchronized or "slips a pole." In control theory and robotics, energy-based (passivity) methods extend the Lyapunov-via-conserved-quantity idea to design controllers that inject or remove energy to move a system from one regime to another — for instance, swing-up control of an inverted pendulum deliberately drives the system near or across the separatrix. In pure mathematics, the classification of centers versus saddles via Hessian definiteness previews Morse theory, and the separatrix concept generalizes to homoclinic and heteroclinic orbits central to chaos theory, foreshadowing how perturbing a conservative system (as in forced or damped pendulums) can produce the far richer phenomena of Limit Cycles and Closed Orbits and structural changes captured by Bifurcations in One Dimension.
Ask the tutor: How would this analysis change if we added a constant external torque to the pendulum instead of damping?
Let be an autonomous system on an open set , with continuously differentiable.
Conserved quantity (first integral). A function , continuously differentiable and not constant on any open subset of , is a conserved quantity for the system if
Equivalently, is constant along every solution of the system.
Center. An equilibrium is a center for the system if there is a punctured neighborhood of in which every trajectory is a non-constant closed orbit encircling . A center is automatically Lyapunov stable but never asymptotically stable, since nearby orbits neither approach nor spiral away from .
The pendulum system. With angle and angular velocity , the undamped, unforced pendulum of length under gravity obeys
Normalizing (rescaling time), the phase-plane system is
with conserved energy
Separatrix. A separatrix is a trajectory (or union of trajectories) that forms the boundary between regions of qualitatively different orbit behavior — here, between the closed orbits encircling a center and the unbounded orbits of whirling motion. For the pendulum, the separatrix is the level set passing through the unstable equilibria (mod ).
Intuition
Think of as a landscape over the plane. The term is a periodic potential with valleys at and hills at ; the term is kinetic energy, always non-negative. A trajectory of the pendulum is confined to a single level curve because is conserved, so the entire two-dimensional flow is "sliced" into a one-parameter family of curves indexed by . Near a valley bottom , small gives small closed loops: the energy landscape looks locally like a paraboloid , so level sets are approximately ellipses. These correspond to the pendulum swinging back and forth — libration. As increases toward (the energy at the top of the arc, ), the loops swell and become egg-shaped, pinching toward the saddle points at . At exactly the level curve is no longer a simple closed loop: it touches the saddle points and becomes the separatrix, shaped like the boundary of two lobes meeting at a crossing. For , the level curves become open, unbounded wavy curves running horizontally — these are whirling motions in which increases (or decreases) without bound, never reaching zero.
the central theorem
Let be a autonomous planar system on open , with conserved quantity .
(A) Stability from conserved quantities. Suppose is an equilibrium and has a strict local minimum at , meaning there is a neighborhood of with for all . Then is Lyapunov stable.
(B) Non-degeneracy gives a center. Suppose in addition , , and the Hessian is positive definite. Then, provided is such that trajectories near are not themselves constant (i.e. is an isolated equilibrium and near ), all sufficiently small non-equilibrium level sets near are simple closed curves surrounding , and every trajectory on a sufficiently small such level curve traverses the entire curve. Hence is a center.
(C) Pendulum classification. For the pendulum system with energy : 1. is conserved. 2. The equilibria are exactly , . 3. At (), has a strict non-degenerate local minimum with ; these equilibria are centers. 4. At , has a saddle point of the Hessian with ; these equilibria are (Lyapunov) unstable. 5. The level set (minus the saddle equilibria themselves) consists of trajectories forming the separatrix; it separates level sets (closed orbits, librations) from level sets (unbounded orbits, whirling).
We prove each part in turn. The technique throughout is direct: use (respectively ) itself as a Lyapunov-type function and analyze level sets via the implicit function theorem, without any circular appeal to results that themselves require the theorem.
Part (A): Stability via strict minimum. Since is conserved, along trajectories, so trivially everywhere. Combined with the strict local minimum at (so near ), the function is a genuine Lyapunov function on : , on , and . By the Lyapunov stability theorem (a foundational result, established using Lyapunov Functions and Stability, not dependent on the present theorem), is Lyapunov stable. This completes (A); note rather than , so asymptotic stability is not concluded — consistent with a center, where trajectories neither approach nor recede from .
Part (B): Non-degenerate minimum forces a center. Since is positive definite, Taylor's theorem with the Lagrange/Peano remainder gives, for ,
using . Because is positive definite, there exist with . Hence for small, is sandwiched between two positive multiples of , so in particular is a strictly increasing function of along any ray from , for small enough that the remainder is dominated. By the implicit function theorem applied in polar coordinates centered at (writing , with continuous and times the quadratic form value on the unit circle, bounded away from ), for each small the equation has, for each angle , a unique small positive solution , depending continuously (indeed smoothly, by the implicit function theorem since there) on and , and periodically in with period . Thus is, near , the image of a continuous simple closed curve encircling (a "star-shaped" curve in polar form). It remains to show each such curve is a single trajectory, not merely a level set containing possibly-disjoint pieces of several orbits or an equilibrium. Since is isolated and the curve for small excludes and (for small enough, by continuity of and , isolatedness of equilibria) contains no other equilibrium, at every point of the curve. Because is conserved, the vector field is everywhere tangent to level sets of (as means lies in the kernel of , which is exactly the tangent line to the level curve at points where ; and off near since nondegenerate makes an isolated critical point of ). A trajectory starting on this closed curve therefore remains on it for all time (by uniqueness of solutions, since so the Picard–Lindelöf theorem applies), and since the curve is compact and on it, the trajectory cannot converge to any point of the curve in finite or infinite time without stopping (a non-equilibrium point moves with nonzero speed instantaneously), forcing it to traverse the entire closed curve and close up periodically. Thus every small level set is a single periodic orbit surrounding , i.e. is a center by definition.
Part (C): Verification for the pendulum. (1) Conservation. Along a solution,
So is conserved on all of (identified with the cylinder ). (2) Equilibria. Setting gives and , i.e. , . (3) Minima at . Compute , which vanishes exactly at the equilibria (consistent with (2)). The Hessian is
At : , so , positive definite. By Part (B) (applicable since , equilibria of the pendulum are isolated — consecutive equilibria are separated by in — and near any equilibrium since vanishes only at isolated points), is a center, and by Part (A) it is Lyapunov stable. Direct evaluation gives , confirming the strict local minimum value is : indeed for near , with equality iff locally (since for ), which is exactly the strict-minimum property invoked, proved here directly and not merely asserted. (4) Saddles at . Here , so , indefinite (one positive, one negative eigenvalue): a saddle point of as a function on the plane. We show directly that is Lyapunov unstable, rather than relying on a general linearization theorem (to keep the argument self-contained and conserved-quantity-based). Linearizing at small: , so , giving the linear system , with matrix , eigenvalues . The presence of a strictly positive eigenvalue means (by the standard theorem that a positive real part in the linearization implies instability of the nonlinear equilibrium, when , itself proved via Lyapunov/Chetaev-type arguments independent of the present energy-based theorem) the equilibrium is unstable. This does not contradict the general philosophy of using : indeed the level curves of near a saddle are hyperbola-like open curves crossing near , consistent with trajectories being pushed away along the unstable eigendirection, and . (5) The separatrix and the three regimes. Fix any level , so , requiring .
- If : since ranges over , the constraint confines to an interval around with . On this interval traces a closed loop (by the same argument as Part B, since these level curves surround the center at and contain no equilibrium — the only equilibria on with would require , giving , so indeed no equilibrium lies on this curve). This closed orbit is a libration: oscillates between and , the pendulum swinging back and forth without going over the top.
- If : , so (mod shifts), which vanishes exactly at — the saddle equilibria. The level set passes through and (identified with on the cylinder, or with the adjacent copy on the plane), so it is not a single periodic orbit but a union of trajectories asymptotic to the saddle as (heteroclinic connections between adjacent copies of the same unstable equilibrium on the universal cover, or homoclinic on the cylinder). This is the separatrix.
- If : holds for all since always. Hence is defined and nonzero for all (mod ), giving two disjoint unbounded curves, one with always and one with always. Along such a curve never vanishes and keeps a fixed sign, so is monotonic and unbounded: this is whirling (rotation), the pendulum going over the top repeatedly.
Since every point of the plane (other than equilibria) lies on exactly one level curve of , and these three cases exhaust all possible values of relative to , this classification is complete and mutually exclusive: every trajectory is either a stable closed libration orbit around a center, part of the separatrix through a saddle, or an unbounded whirling orbit — with the separatrix as the exact dividing curve between the bounded and unbounded regimes.
∎Worked examples
Example 1: Locating the separatrix energy and libration amplitude for a specific release angle. Suppose a pendulum (normalized ) is released from rest at radians (about , i.e. past but before ), with . Determine whether the motion is libration or whirling, find the conserved energy, and find the turning point(s) if it librates. Compute the energy at release:
Numerically , so
Since , by Part (C)(5) this is a libration: the pendulum swings but does not go over the top. Because it starts at rest, is itself one turning point (where ); by symmetry of under (since is even), the other turning point is . So the pendulum oscillates between and rad, a full swing amplitude of rad, never approaching the separatrix energy (which would require release angle , straight up). As a check, the maximum angular speed occurs at : rad/s (in the normalized time unit), a finite, sensible value confirming bounded, non-whirling motion.
Example 2: Distinguishing libration from whirling for a pendulum given initial angle and speed (asymmetric data). A pendulum is launched from rad with initial angular velocity rad/s. Determine the regime of motion and, if whirling, verify is unbounded in sign consistent with . First compute the conserved energy:
Since , Part (C)(5) tells us this is whirling, not libration — even though is close to the center, the initial speed is large enough to carry the pendulum over the top. To double check no turning point exists, solve ; the minimum of over all is , so for every : never vanishes, confirming is strictly monotonic (here increasing, since and can never cross zero to become negative). Thus as : the pendulum whirls forever in the same rotational sense, exactly the "open curve" behavior predicted for , with minimum speed rad/s attained at the top (mod ) of each revolution.
The theorem's Part (A)/(B) crucially requires to be exactly conserved (), not merely non-increasing. Introduce linear damping into the pendulum:
Now compute along trajectories using the same :
So is no longer conserved; it is a genuine (strictly, except on ) decreasing Lyapunov function. The equilibrium is still Lyapunov stable by the Lyapunov theorem (still , minimum still strict), but it is no longer a center: nearby trajectories spiral into as rather than forming closed periodic orbits, because energy is dissipated every time . Concretely, linearizing at gives matrix with eigenvalues , which have strictly negative real part for every — a stable spiral (or node) rather than a center. This shows precisely why exact conservation (), not mere non-positivity (), is needed in Part (B) to conclude closed orbits: with damping the level curves of are no longer invariant, trajectories cross from higher to lower energy level sets, and the phase portrait degenerates from a nested family of ellipse-like loops to a family of inward spirals accumulating at the now-asymptotically-stable origin.
Scope, edge cases & common traps
| Situation | What holds | What fails / must be checked |
|---|---|---|
| conserved, strict local min at | Lyapunov stability (Part A) | Asymptotic stability is never concluded this way |
| , , Hessian positive definite | Center (Part B) | Degenerate Hessian (e.g. quartic minimum) needs separate argument for closed orbits |
| Pendulum with friction () | Origin still stable | No longer a center; no longer conserved |
| Forced pendulum (time-dependent forcing) | — | no longer conserved even without friction; theorem inapplicable |
| Large libration near separatrix () | Still closed orbit, but period | Do not assume period stays bounded; it diverges logarithmically |
| Multiple equilibria on cylinder mod | Centers/saddles alternate periodically | Must track mod correctly; "same" saddle appears at every |
The mathematician behind it
Origins · 1 minChristiaan Huygens and how this was discovered
Huygens gave the first rigorous analysis of pendulum motion in Horologium Oscillatorium (1673), deriving the isochronism of the cycloidal pendulum and laying groundwork for the exact (non-isochronous) circular pendulum equation studied here. His investigations connected mechanics, geometry, and precision timekeeping, and his insistence on rigorous derivation from physical principles anticipated the energy-based methods later formalized by Lagrange, Hamilton, and Lyapunov that this article's theorem builds upon.
What exactly is a "first integral" and why is it also called a conserved quantity?
A first integral of a system is a function that is constant along every solution curve, equivalently . It is called "conserved" because if you evaluate at the initial condition and again at any later time along the same trajectory, you get the same number — nothing about changes as the system evolves, exactly like physical conservation laws (energy, momentum, angular momentum). The term "first integral" comes from the fact that finding such an is equivalent to integrating one degree of freedom of the system exactly, reducing the dimension of the problem you must still solve.
Does every planar autonomous system have a conserved quantity?
No. Having a nontrivial, non-constant conserved quantity is a special structural feature, not generic. Systems with attracting or repelling equilibria (sinks, sources) or genuine limit cycles typically have no conserved quantity, because a conserved quantity forces trajectories onto its level curves forever, which is incompatible with orbits spiraling into or out of a point. Conservative systems arise naturally from physical principles — no friction, no external energy input or removal — such as idealized (undamped) mechanical systems, or Hamiltonian systems in general, where the Hamiltonian itself is always conserved by construction.
Why is the equilibrium at the top of the pendulum () called unstable if energy is conserved there too?
Conservation of energy does not prevent instability; it only says trajectories stay on their energy level curve. At , the level curve for slightly above is not a small loop around but an unbounded whirling curve passing far away, while the level curve at exactly is the separatrix, which leaves any small neighborhood of (looping down toward before returning). So even though energy doesn't change, a trajectory starting near with slightly perturbed energy moves far from along its level curve — the hallmark of instability, confirmed rigorously by the positive eigenvalue of the linearization there.
What happens to the libration period as the initial energy approaches the separatrix value ?
The period diverges to infinity. Intuitively, near the separatrix the pendulum spends an increasingly long time near the unstable equilibria at , where the angular velocity becomes very small (approaching but never reaching zero at the saddle for strictly less than ), so the swing "hesitates" near the top before swinging back. Quantitatively, one can show the period grows like as , a logarithmic divergence typical of trajectories approaching a saddle-connection separatrix in planar conservative systems.
Is the separatrix itself a single periodic orbit?
No. The separatrix at passes through the saddle equilibria and consists of trajectories that approach the saddle asymptotically as but never actually reach it in finite time (since is an equilibrium, and by uniqueness of solutions no other trajectory can reach an equilibrium in finite time). On the cylinder mod these are homoclinic orbits — they leave the saddle at and return to the same saddle as , having swung all the way around through or . They are not closed periodic orbits because traversing them takes infinite time in both directions.
How does this pendulum analysis connect to Hamiltonian mechanics in general?
The pendulum system can be written in Hamiltonian form with , , and Hamiltonian , satisfying , . This is exactly the energy function used throughout, and the fact that for any Hamiltonian system is a completely general feature: automatically, by the antisymmetric structure of Hamilton's equations. So the pendulum is the simplest nontrivial instance of the vastly more general fact that every Hamiltonian system conserves its own Hamiltonian, making the level-set method of this article the starting point for all of classical Hamiltonian dynamics.
Can this energy-level-set method be used for systems with more than one conserved quantity, or in higher dimensions?
Yes, and this is a major generalization pursued in advanced mechanics. In higher-dimensional Hamiltonian systems, if there are enough independent conserved quantities in involution (Poisson-commuting), the Liouville–Arnold theorem shows the phase space foliates into invariant tori, a direct higher-dimensional analogue of the pendulum's foliation into level curves. In the plane, however, one conserved quantity already fully determines the qualitative phase portrait, which is why the pendulum — a genuinely two-dimensional but exactly one-conserved-quantity system — is the cleanest possible illustration before the extra subtleties of higher dimensions (resonance, chaos, KAM theory) enter.