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.

Key takeaways
  • A conserved quantity (first integral) is constant along every trajectory of an autonomous system.
  • The pendulum's energy E(θ,ω)=12ω2−cos⁡θE(\theta,\omega) = \tfrac12\omega^2 - \cos\theta (in suitable units) is exactly such an integral.
  • Trajectories lie on level curves of EE; 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 EE 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 H(q,p)H(q,p) has trajectories confined to level sets of HH, 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?

DefinitionConserved Quantity, Center, and Separatrix

Let x˙=f(x)\dot{\mathbf x} = \mathbf f(\mathbf x) be an autonomous system on an open set U⊆R2U \subseteq \mathbb R^2, with f=(f1,f2)\mathbf f = (f_1, f_2) continuously differentiable.

Conserved quantity (first integral). A function H:U→RH: U \to \mathbb R, continuously differentiable and not constant on any open subset of UU, is a conserved quantity for the system if

H˙(x):=∇H(x)⋅f(x)=0for all x∈U.\dot H(\mathbf x) := \nabla H(\mathbf x)\cdot \mathbf f(\mathbf x) = 0 \quad \text{for all } \mathbf x \in U.

Equivalently, H(x(t))H(\mathbf x(t)) is constant along every solution x(t)\mathbf x(t) of the system.

Center. An equilibrium x∗\mathbf x^* is a center for the system if there is a punctured neighborhood of x∗\mathbf x^* in which every trajectory is a non-constant closed orbit encircling x∗\mathbf x^*. A center is automatically Lyapunov stable but never asymptotically stable, since nearby orbits neither approach nor spiral away from x∗\mathbf x^*.

The pendulum system. With angle θ\theta and angular velocity ω=θ˙\omega = \dot\theta, the undamped, unforced pendulum of length LL under gravity gg obeys

θ˙=ω,ω˙=−gLsin⁡θ.\dot\theta = \omega, \qquad \dot\omega = -\frac{g}{L}\sin\theta.

Normalizing g/L=1g/L = 1 (rescaling time), the phase-plane system is

θ˙=ω,ω˙=−sin⁡θ,\dot\theta = \omega, \qquad \dot\omega = -\sin\theta,

with conserved energy

E(θ,ω)=12ω2−cos⁡θ.E(\theta,\omega) = \tfrac12 \omega^2 - \cos\theta.

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 E(θ,ω)=1E(\theta,\omega) = 1 passing through the unstable equilibria (π,0)(\pi, 0) (mod 2π2\pi).

Intuition

Think of E(θ,ω)=12ω2−cos⁡θE(\theta,\omega) = \tfrac12\omega^2 - \cos\theta as a landscape over the (θ,ω)(\theta,\omega) plane. The term −cos⁡θ-\cos\theta is a periodic potential with valleys at θ=0,±2π,…\theta = 0, \pm2\pi, \dots and hills at θ=±π,±3π,…\theta = \pm\pi, \pm 3\pi,\dots; the term 12ω2\tfrac12\omega^2 is kinetic energy, always non-negative. A trajectory of the pendulum is confined to a single level curve E=cE = c because EE is conserved, so the entire two-dimensional flow is "sliced" into a one-parameter family of curves indexed by cc. Near a valley bottom (θ,ω)=(0,0)(\theta,\omega) = (0,0), small c>−1c > -1 gives small closed loops: the energy landscape looks locally like a paraboloid E≈12ω2+12θ2−1E \approx \tfrac12\omega^2 + \tfrac12\theta^2 - 1, so level sets are approximately ellipses. These correspond to the pendulum swinging back and forth — libration. As cc increases toward 11 (the energy at the top of the arc, θ=π, ω=0\theta = \pi,\ \omega=0), the loops swell and become egg-shaped, pinching toward the saddle points at θ=±π\theta = \pm\pi. At exactly c=1c=1 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 c>1c>1, the level curves become open, unbounded wavy curves running horizontally — these are whirling motions in which θ\theta increases (or decreases) without bound, ω\omega never reaching zero.

Figure
Energy level curves of the pendulum: centers at θ=0,2π\theta = 0, 2\pi, saddles at θ=π\theta=\pi, separatrix in bold
θ ω -π π 0 saddle saddle center whirling (E>1) whirling (E>1) separatrix E=1

the central theorem

TheoremConserved Quantities, Non-Degenerate Minima, and the Pendulum Phase Portrait

Let x˙=f(x)\dot{\mathbf x} = \mathbf f(\mathbf x) be a C1C^1 autonomous planar system on open U⊆R2U \subseteq \mathbb R^2, with conserved quantity H∈C2(U)H \in C^2(U).

(A) Stability from conserved quantities. Suppose x∗∈U\mathbf x^*\in U is an equilibrium and HH has a strict local minimum at x∗\mathbf x^*, meaning there is a neighborhood NN of x∗\mathbf x^* with H(x)>H(x∗)H(\mathbf x) > H(\mathbf x^*) for all x∈N∖{x∗}\mathbf x \in N\setminus\{\mathbf x^*\}. Then x∗\mathbf x^* is Lyapunov stable.

(B) Non-degeneracy gives a center. Suppose in addition H∈C2H \in C^2, ∇H(x∗)=0\nabla H(\mathbf x^*) = 0, and the Hessian D2H(x∗)D^2H(\mathbf x^*) is positive definite. Then, provided f\mathbf f is such that trajectories near x∗\mathbf x^* are not themselves constant (i.e. x∗\mathbf x^* is an isolated equilibrium and f≢0\mathbf f\not\equiv 0 near x∗\mathbf x^*), all sufficiently small non-equilibrium level sets {H=c}\{H = c\} near x∗\mathbf x^* are simple closed curves surrounding x∗\mathbf x^*, and every trajectory on a sufficiently small such level curve traverses the entire curve. Hence x∗\mathbf x^* is a center.

(C) Pendulum classification. For the pendulum system θ˙=ω, ω˙=−sin⁡θ\dot\theta=\omega,\ \dot\omega=-\sin\theta with energy E(θ,ω)=12ω2−cos⁡θE(\theta,\omega)=\tfrac12\omega^2-\cos\theta: 1. EE is conserved. 2. The equilibria are exactly (θ,ω)=(nπ,0)(\theta,\omega) = (n\pi, 0), n∈Zn\in\mathbb Z. 3. At θ=2kπ\theta = 2k\pi (k∈Zk\in\mathbb Z), EE has a strict non-degenerate local minimum with E=−1E = -1; these equilibria are centers. 4. At θ=(2k+1)π\theta = (2k+1)\pi, EE has a saddle point of the Hessian with E=1E = 1; these equilibria are (Lyapunov) unstable. 5. The level set E=1E = 1 (minus the saddle equilibria themselves) consists of trajectories forming the separatrix; it separates level sets −1<E<1-1 < E < 1 (closed orbits, librations) from level sets E>1E > 1 (unbounded orbits, whirling).

Proof

We prove each part in turn. The technique throughout is direct: use HH (respectively EE) 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 HH is conserved, H˙≡0\dot H \equiv 0 along trajectories, so trivially H˙≤0\dot H \le 0 everywhere. Combined with the strict local minimum at x∗\mathbf x^* (so H(x)−H(x∗)>0H(\mathbf x) - H(\mathbf x^*) > 0 near x∗∖{x∗}\mathbf x^*\setminus\{\mathbf x^*\}), the function V(x):=H(x)−H(x∗)V(\mathbf x) := H(\mathbf x) - H(\mathbf x^*) is a genuine Lyapunov function on NN: V(x∗)=0V(\mathbf x^*) = 0, V>0V > 0 on N∖{x∗}N\setminus\{\mathbf x^*\}, and V˙≡0≤0\dot V \equiv 0 \le 0. By the Lyapunov stability theorem (a foundational result, established using Lyapunov Functions and Stability, not dependent on the present theorem), x∗\mathbf x^* is Lyapunov stable. This completes (A); note V˙≡0\dot V \equiv 0 rather than V˙<0\dot V < 0, so asymptotic stability is not concluded — consistent with a center, where trajectories neither approach nor recede from x∗\mathbf x^*.

Part (B): Non-degenerate minimum forces a center. Since D2H(x∗)D^2H(\mathbf x^*) is positive definite, Taylor's theorem with the Lagrange/Peano remainder gives, for x=x∗+h\mathbf x = \mathbf x^* + \mathbf h,

H(x)=H(x∗)+12h⊤D2H(x∗) h+o(∣h∣2),H(\mathbf x) = H(\mathbf x^*) + \tfrac12 \mathbf h^\top D^2H(\mathbf x^*)\, \mathbf h + o(|\mathbf h|^2),

using ∇H(x∗)=0\nabla H(\mathbf x^*)=0. Because D2H(x∗)D^2H(\mathbf x^*) is positive definite, there exist 0<m≤M0<m\le M with m∣h∣2≤h⊤D2H(x∗)h≤M∣h∣2m|\mathbf h|^2 \le \mathbf h^\top D^2H(\mathbf x^*)\mathbf h \le M|\mathbf h|^2. Hence for ∣h∣|\mathbf h| small, H(x)−H(x∗)H(\mathbf x)-H(\mathbf x^*) is sandwiched between two positive multiples of ∣h∣2|\mathbf h|^2, so in particular H−H(x∗)H - H(\mathbf x^*) is a strictly increasing function of ∣h∣|\mathbf h| along any ray from x∗\mathbf x^*, for ∣h∣|\mathbf h| small enough that the remainder is dominated. By the implicit function theorem applied in polar coordinates centered at x∗\mathbf x^* (writing h=r(cos⁡ϕ,sin⁡ϕ)\mathbf h = r(\cos\phi,\sin\phi), H−H(x∗)=r2g(r,ϕ)H - H(\mathbf x^*) = r^2 g(r,\phi) with gg continuous and g(0,ϕ)=12g(0,\phi) = \tfrac12 times the quadratic form value on the unit circle, bounded away from 00), for each small c>0c>0 the equation H(x∗+h)−H(x∗)=cH(\mathbf x^*+\mathbf h) - H(\mathbf x^*) = c has, for each angle ϕ\phi, a unique small positive solution r(ϕ,c)r(\phi,c), depending continuously (indeed smoothly, by the implicit function theorem since ∂r(r2g)>0\partial_r(r^2g)>0 there) on ϕ\phi and cc, and periodically in ϕ\phi with period 2π2\pi. Thus {H=H(x∗)+c}\{H = H(\mathbf x^*)+c\} is, near x∗\mathbf x^*, the image of a continuous simple closed curve encircling x∗\mathbf x^* (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 x∗\mathbf x^* is isolated and the curve {H=H(x∗)+c}\{H=H(\mathbf x^*)+c\} for small c>0c>0 excludes x∗\mathbf x^* and (for cc small enough, by continuity of f\mathbf f and f(x∗)=0\mathbf f(\mathbf x^*)=0, isolatedness of equilibria) contains no other equilibrium, f≠0\mathbf f \ne \mathbf 0 at every point of the curve. Because HH is conserved, the vector field f\mathbf f is everywhere tangent to level sets of HH (as ∇H⋅f=0\nabla H \cdot \mathbf f = 0 means f\mathbf f lies in the kernel of ∇H\nabla H, which is exactly the tangent line to the level curve at points where ∇H≠0\nabla H \ne 0; and ∇H≠0\nabla H \ne 0 off x∗\mathbf x^* near x∗\mathbf x^* since D2H(x∗)D^2H(\mathbf x^*) nondegenerate makes x∗\mathbf x^* an isolated critical point of HH). A trajectory starting on this closed curve therefore remains on it for all time (by uniqueness of solutions, since f∈C1\mathbf f\in C^1 so the Picard–Lindelöf theorem applies), and since the curve is compact and f≠0\mathbf f\neq 0 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 x∗\mathbf x^*, i.e. x∗\mathbf x^* is a center by definition.

Part (C): Verification for the pendulum. (1) Conservation. Along a solution,

E˙=ωω˙+sin⁡θ θ˙=ω(−sin⁡θ)+sin⁡θ(ω)=0.\dot E = \omega\dot\omega + \sin\theta\,\dot\theta = \omega(-\sin\theta) + \sin\theta(\omega) = 0.

So EE is conserved on all of R2\mathbb R^2 (identified with the cylinder θ  2π\theta \bmod 2\pi). (2) Equilibria. Setting θ˙=ω˙=0\dot\theta=\dot\omega=0 gives ω=0\omega = 0 and sin⁡θ=0\sin\theta = 0, i.e. θ=nπ\theta = n\pi, n∈Zn\in\mathbb Z. (3) Minima at θ=2kπ\theta=2k\pi. Compute ∇E=(sin⁡θ, ω)\nabla E = (\sin\theta,\ \omega), which vanishes exactly at the equilibria (consistent with (2)). The Hessian is

D2E(θ,ω)=(cos⁡θ001).D^2E(\theta,\omega) = \begin{pmatrix}\cos\theta & 0\\ 0 & 1\end{pmatrix}.

At θ=2kπ\theta = 2k\pi: cos⁡θ=1>0\cos\theta = 1 > 0, so D2E=diag(1,1)D^2E = \mathrm{diag}(1,1), positive definite. By Part (B) (applicable since E∈C∞E\in C^\infty, equilibria of the pendulum are isolated — consecutive equilibria are separated by π>0\pi>0 in θ\theta — and f≢0\mathbf f \not\equiv 0 near any equilibrium since f\mathbf f vanishes only at isolated points), (2kπ,0)(2k\pi, 0) is a center, and by Part (A) it is Lyapunov stable. Direct evaluation gives E(2kπ,0)=12(0)2−cos⁡(2kπ)=−1E(2k\pi,0) = \tfrac12(0)^2 - \cos(2k\pi) = -1, confirming the strict local minimum value is −1-1: indeed for (θ,ω)(\theta,\omega) near (2kπ,0)(2k\pi,0), E(θ,ω)+1=12ω2+(1−cos⁡θ)≥0E(\theta,\omega)+1 = \tfrac12\omega^2 + (1-\cos\theta) \ge 0 with equality iff ω=0, θ=2kπ\omega=0,\ \theta = 2k\pi locally (since 1−cos⁡θ>01-\cos\theta>0 for θ≠2kπ\theta \ne 2k\pi), which is exactly the strict-minimum property invoked, proved here directly and not merely asserted. (4) Saddles at θ=(2k+1)π\theta=(2k+1)\pi. Here cos⁡θ=−1\cos\theta = -1, so D2E=diag(−1,1)D^2E = \mathrm{diag}(-1,1), indefinite (one positive, one negative eigenvalue): a saddle point of EE as a function on the plane. We show directly that ((2k+1)π,0)((2k+1)\pi, 0) is Lyapunov unstable, rather than relying on a general linearization theorem (to keep the argument self-contained and conserved-quantity-based). Linearizing θ˙=ω, ω˙=−sin⁡θ\dot\theta=\omega,\ \dot\omega=-\sin\theta at θ=π+ϕ\theta = \pi + \phi small: sin⁡(π+ϕ)=−sin⁡ϕ≈−ϕ\sin(\pi+\phi) = -\sin\phi \approx -\phi, so ω˙≈ϕ\dot\omega \approx \phi, giving the linear system ϕ˙=ω, ω˙=ϕ\dot\phi = \omega,\ \dot\omega = \phi, with matrix (0110)\begin{pmatrix}0&1\\1&0\end{pmatrix}, eigenvalues ±1\pm1. The presence of a strictly positive eigenvalue λ=1\lambda=1 means (by the standard theorem that a positive real part in the linearization implies instability of the nonlinear equilibrium, when f∈C1\mathbf f\in C^1, 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 EE: indeed the level curves of EE near a saddle are hyperbola-like open curves crossing near (π,0)(\pi,0), consistent with trajectories being pushed away along the unstable eigendirection, and E((2k+1)π,0)=12(0)2−cos⁡((2k+1)π)=1E((2k+1)\pi, 0) = \tfrac12(0)^2 -\cos((2k+1)\pi) = 1. (5) The separatrix and the three regimes. Fix any level c=E(θ,ω)=12ω2−cos⁡θc = E(\theta,\omega) = \tfrac12\omega^2 - \cos\theta, so ω2=2(c+cos⁡θ)\omega^2 = 2(c + \cos\theta), requiring c+cos⁡θ≥0c+\cos\theta \ge 0.

  • If −1<c<1-1 < c < 1: since cos⁡θ\cos\theta ranges over [−1,1][-1,1], the constraint cos⁡θ≥−c\cos\theta \ge -c confines θ\theta to an interval [−θc,θc](mod2π)[-\theta_c,\theta_c] \pmod {2\pi} around 00 with θc=arccos⁡(−c)<π\theta_c = \arccos(-c) < \pi. On this interval ω=±2(c+cos⁡θ)\omega = \pm\sqrt{2(c+\cos\theta)} traces a closed loop (by the same argument as Part B, since these level curves surround the center at (0,0)(0,0) and contain no equilibrium — the only equilibria on E=cE=c with −1<c<1-1<c<1 would require ω=0,cos⁡θ=c∈(−1,1)\omega=0,\cos\theta = c\in(-1,1), giving θ≠nπ\theta \ne n\pi, so indeed no equilibrium lies on this curve). This closed orbit is a libration: θ\theta oscillates between −θc-\theta_c and θc\theta_c, the pendulum swinging back and forth without going over the top.
  • If c=1c = 1: ω2=2(1+cos⁡θ)=4cos⁡2(θ/2)\omega^2 = 2(1+\cos\theta) = 4\cos^2(\theta/2), so ω=±2cos⁡(θ/2)\omega = \pm 2\cos(\theta/2) (mod 2π2\pi shifts), which vanishes exactly at θ=±π\theta = \pm\pi — the saddle equilibria. The level set E=1E=1 passes through (π,0)(\pi,0) and (−π,0)(-\pi,0) (identified with (π,0)  2π(\pi,0) \bmod 2\pi 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 t→±∞t\to\pm\infty (heteroclinic connections between adjacent copies of the same unstable equilibrium on the universal cover, or homoclinic on the cylinder). This is the separatrix.
  • If c>1c > 1: cos⁡θ≥−c\cos\theta \ge -c holds for all θ\theta since −c<−1≤cos⁡θ-c<-1\le\cos\theta always. Hence ω=±2(c+cos⁡θ)\omega = \pm\sqrt{2(c+\cos\theta)} is defined and nonzero for all θ∈R\theta \in \mathbb R (mod 2π2\pi), giving two disjoint unbounded curves, one with ω>0\omega>0 always and one with ω<0\omega<0 always. Along such a curve θ˙=ω\dot\theta = \omega never vanishes and keeps a fixed sign, so θ(t)\theta(t) 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 EE, and these three cases exhaust all possible values of cc relative to [−1,1][-1,1], 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 E=1E=1 as the exact dividing curve between the bounded and unbounded regimes. ■\blacksquare

∎

Worked examples

Example 1: Locating the separatrix energy and libration amplitude for a specific release angle. Suppose a pendulum (normalized g/L=1g/L=1) is released from rest at θ0=2.4\theta_0 = 2.4 radians (about 137.5∘137.5^\circ, i.e. past π/2\pi/2 but before π≈3.1416\pi\approx3.1416), with ω0=0\omega_0 = 0. 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:

E=12(0)2−cos⁡(2.4)=−cos⁡(2.4).E = \tfrac12(0)^2 - \cos(2.4) = -\cos(2.4).

Numerically cos⁡(2.4)≈−0.7374\cos(2.4) \approx -0.7374, so

E≈0.7374.E \approx 0.7374.

Since −1<0.7374<1-1 < 0.7374 < 1, by Part (C)(5) this is a libration: the pendulum swings but does not go over the top. Because it starts at rest, θ0=2.4\theta_0 = 2.4 is itself one turning point (where ω=0\omega=0); by symmetry of E(θ,ω)=12ω2−cos⁡θE(\theta,\omega)=\tfrac12\omega^2 - \cos\theta under θ↦−θ\theta \mapsto -\theta (since cos⁡\cos is even), the other turning point is θ=−2.4\theta = -2.4. So the pendulum oscillates between θ=−2.4\theta = -2.4 and θ=2.4\theta = 2.4 rad, a full swing amplitude of 4.84.8 rad, never approaching the separatrix energy E=1E=1 (which would require release angle θ0=π\theta_0=\pi, straight up). As a check, the maximum angular speed occurs at θ=0\theta=0: 12ωmax⁡2−1=0.7374⇒ωmax⁡=2(1.7374)≈1.863\tfrac12\omega_{\max}^2 - 1 = 0.7374 \Rightarrow \omega_{\max} = \sqrt{2(1.7374)} \approx 1.863 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 θ0=1.0\theta_0 = 1.0 rad with initial angular velocity ω0=2.5\omega_0 = 2.5 rad/s. Determine the regime of motion and, if whirling, verify θ(t)\theta(t) is unbounded in sign consistent with ω0>0\omega_0>0. First compute the conserved energy:

E=12(2.5)2−cos⁡(1.0)=3.125−0.5403=2.5847.E = \tfrac12(2.5)^2 - \cos(1.0) = 3.125 - 0.5403 = 2.5847.

Since E≈2.5847>1E \approx 2.5847 > 1, Part (C)(5) tells us this is whirling, not libration — even though θ0=1.0\theta_0=1.0 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 ω2=2(E+cos⁡θ)=2(2.5847+cos⁡θ)\omega^2 = 2(E+\cos\theta) = 2(2.5847+\cos\theta); the minimum of 2.5847+cos⁡θ2.5847+\cos\theta over all θ\theta is 2.5847−1=1.5847>02.5847 - 1 = 1.5847>0, so ω2≥2(1.5847)=3.1694>0\omega^2 \ge 2(1.5847) = 3.1694>0 for every θ\theta: ω\omega never vanishes, confirming θ(t)\theta(t) is strictly monotonic (here increasing, since ω0=2.5>0\omega_0=2.5>0 and ω\omega can never cross zero to become negative). Thus θ(t)→+∞\theta(t) \to +\infty as t→∞t\to\infty: the pendulum whirls forever in the same rotational sense, exactly the "open curve" behavior predicted for E>1E>1, with minimum speed ωmin⁡=3.1694≈1.780\omega_{\min} = \sqrt{3.1694}\approx 1.780 rad/s attained at the top θ=π\theta = \pi (mod 2π2\pi) of each revolution.

CounterexampleDropping conservation: friction destroys centers and creates asymptotic stability instead

The theorem's Part (A)/(B) crucially requires HH to be exactly conserved (H˙≡0\dot H \equiv 0), not merely non-increasing. Introduce linear damping into the pendulum:

θ˙=ω,ω˙=−sin⁡θ−b ω,b>0.\dot\theta = \omega, \qquad \dot\omega = -\sin\theta - b\,\omega, \qquad b > 0.

Now compute E˙\dot E along trajectories using the same E(θ,ω)=12ω2−cos⁡θE(\theta,\omega) = \tfrac12\omega^2 - \cos\theta:

E˙=ωω˙+sin⁡θ θ˙=ω(−sin⁡θ−bω)+sin⁡θ ω=−bω2≤0.\dot E = \omega\dot\omega + \sin\theta\,\dot\theta = \omega(-\sin\theta - b\omega) + \sin\theta\,\omega = -b\omega^2 \le 0.

So EE is no longer conserved; it is a genuine (strictly, except on ω=0\omega=0) decreasing Lyapunov function. The equilibrium (0,0)(0,0) is still Lyapunov stable by the Lyapunov theorem (still E˙≤0\dot E\le0, minimum still strict), but it is no longer a center: nearby trajectories spiral into (0,0)(0,0) as t→∞t\to\infty rather than forming closed periodic orbits, because energy is dissipated every time ω≠0\omega\ne 0. Concretely, linearizing at (0,0)(0,0) gives matrix (01−1−b)\begin{pmatrix}0&1\\-1&-b\end{pmatrix} with eigenvalues λ=−b±b2−42\lambda = \tfrac{-b\pm\sqrt{b^2-4}}{2}, which have strictly negative real part for every b>0b>0 — a stable spiral (or node) rather than a center. This shows precisely why exact conservation (H˙≡0\dot H\equiv0), not mere non-positivity (H˙≤0\dot H\le 0), is needed in Part (B) to conclude closed orbits: with damping the level curves of EE 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

SituationWhat holdsWhat fails / must be checked
HH conserved, strict local min at x∗\mathbf x^*Lyapunov stability (Part A)Asymptotic stability is never concluded this way
H∈C2H\in C^2, ∇H(x∗)=0\nabla H(\mathbf x^*)=0, Hessian positive definiteCenter (Part B)Degenerate Hessian (e.g. quartic minimum) needs separate argument for closed orbits
Pendulum with friction (b>0b>0)Origin still stableNo longer a center; EE no longer conserved
Forced pendulum (time-dependent forcing)—EE no longer conserved even without friction; theorem inapplicable
Large libration near separatrix (E→1−E\to 1^-)Still closed orbit, but period →∞\to\inftyDo not assume period stays bounded; it diverges logarithmically
Multiple equilibria on cylinder θ\theta mod 2π2\piCenters/saddles alternate periodicallyMust track θ\theta mod 2π2\pi correctly; "same" saddle appears at every θ=(2k+1)π\theta=(2k+1)\pi

The mathematician behind it

Origins · 1 minChristiaan Huygens and how this was discovered
CH
Christiaan Huygens
1629-1695 · Dutch mathematician, physicist, and astronomer

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.

History
- 1602: Galileo Galilei studies pendulum isochronism experimentally, motivating the mathematical problem.
- 1673: Christiaan Huygens publishes Horologium Oscillatorium, rigorously analyzing pendulum dynamics and the cycloidal pendulum.
- 1736: Leonhard Euler and contemporaries develop the general theory of conservation of "vis viva" (energy) in mechanical systems.
- 1892: Aleksandr Lyapunov's dissertation establishes the general stability theory underlying the direct method used here.
- 20th century: The pendulum becomes the standard archetype for phase-plane analysis in nonlinear dynamics textbooks and courses.
What exactly is a "first integral" and why is it also called a conserved quantity?

A first integral HH of a system x˙=f(x)\dot{\mathbf x}=\mathbf f(\mathbf x) is a function that is constant along every solution curve, equivalently ∇H⋅f≡0\nabla H \cdot \mathbf f \equiv 0. It is called "conserved" because if you evaluate HH at the initial condition and again at any later time along the same trajectory, you get the same number — nothing about HH 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 HH 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 (θ=π\theta=\pi) 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 θ=π\theta=\pi, the level curve for EE slightly above 11 is not a small loop around (π,0)(\pi,0) but an unbounded whirling curve passing far away, while the level curve at exactly E=1E=1 is the separatrix, which leaves any small neighborhood of (π,0)(\pi,0) (looping down toward θ=0\theta=0 before returning). So even though energy doesn't change, a trajectory starting near (π,0)(\pi,0) with slightly perturbed energy moves far from (π,0)(\pi,0) along its level curve — the hallmark of instability, confirmed rigorously by the positive eigenvalue +1+1 of the linearization there.

What happens to the libration period as the initial energy approaches the separatrix value E=1E=1?

The period diverges to infinity. Intuitively, near the separatrix the pendulum spends an increasingly long time near the unstable equilibria at θ=±π\theta=\pm\pi, where the angular velocity becomes very small (approaching but never reaching zero at the saddle for EE strictly less than 11), so the swing "hesitates" near the top before swinging back. Quantitatively, one can show the period grows like −ln⁡(1−E)-\ln(1-E) as E→1−E\to 1^-, 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 E=1E=1 passes through the saddle equilibria and consists of trajectories that approach the saddle asymptotically as t→±∞t\to\pm\infty but never actually reach it in finite time (since (π,0)(\pi,0) is an equilibrium, and by uniqueness of solutions no other trajectory can reach an equilibrium in finite time). On the cylinder θ\theta mod 2π2\pi these are homoclinic orbits — they leave the saddle at (π,0)(\pi,0) and return to the same saddle as t→∞t\to\infty, having swung all the way around through θ=0\theta=0 or θ=2π\theta=2\pi. 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 q=θq=\theta, p=ωp=\omega, and Hamiltonian H(q,p)=12p2−cos⁡qH(q,p) = \tfrac12p^2 - \cos q, satisfying q˙=∂H/∂p\dot q = \partial H/\partial p, p˙=−∂H/∂q\dot p = -\partial H/\partial q. This is exactly the energy function EE used throughout, and the fact that H˙≡0\dot H\equiv0 for any Hamiltonian system is a completely general feature: H˙=Hqq˙+Hpp˙=HqHp−HpHq=0\dot H = H_q\dot q + H_p\dot p = H_qH_p - H_pH_q = 0 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.

Before this

Where this leads