The Pendulum Phase Portrait and Separatrix
The simple pendulum is the canonical nonlinear conservative system. Its equation of motion (with ) cannot be solved in elementary functions — and yet you can know everything about it without solving anything. Conservation of energy pins every motion to a level curve of one function, and plotting those curves in the plane yields the pendulum phase portrait: arguably the most instructive picture in all of mechanics, because it displays every qualitative behaviour of a one-degree-of-freedom system on a single page. Three regimes appear at a glance. Low-energy states rock back and forth (libration), tracing closed loops that shrink, for small amplitude, into the ellipses of the harmonic oscillator. High-energy states whirl over the top forever (rotation), tracing open wavy curves. And separating them is a single critical trajectory — the separatrix — threaded through the unstable equilibrium at the inverted position, on which the pendulum takes literally infinite time to balance on top. Because and are the same configuration, the true arena is a cylinder, and this center–saddle–separatrix anatomy turns out to be the universal fingerprint of any system with a periodic potential: Josephson junctions, planetary spin–orbit resonance, charged particles surfing a wave. Mastering this one portrait therefore buys you a template you will reuse across physics — and it is the cleanest stage on which Hamiltonian flow and Liouville's incompressible phase fluid perform, shearing dramatically near the separatrix while conserving every drop of area.
- The planar pendulum has Hamiltonian ; its level curves are the phase-space trajectories, so the whole portrait is a contour map — no integration required.
- For the motion is bounded oscillation (libration): closed loops around the stable center at . For the bob swings over the top (rotation): open curves that wind around the cylindrical phase space.
- The critical contour is the separatrix, passing through the saddle at ; on it the period diverges, and the exact libration period is with the complete elliptic integral .
- The separatrix carries the homoclinic orbit — infinite traversal time, yet each homoclinic loop encloses the finite phase-space area .
- Phase-space area is conserved (Liouville) even as the flow shears violently near the saddle, and the center–saddle–separatrix topology recurs in every periodic-potential system from Josephson junctions to spin–orbit resonance.
- Key idea: The level curves of the energy function are the trajectories; the topology of these curves — closed loops (libration), open curves (rotation), and the critical separatrix through the saddle — encodes the entire dynamics without solving the equation of motion.
Where this lives today
The busiest pendulum phase portraits of 2026 are at millikelvin temperatures. The transmon qubit — the workhorse of superconducting quantum processors — is literally a quantized pendulum: the Josephson phase plays , the junction's is the gravitational potential, and the charging energy supplies the kinetic term. The anharmonicity that makes a transmon addressable as a two-level system is the pendulum's period-vs-amplitude effect — the same physics as the of equation (6), reappearing as the nonuniform spacing of quantum levels in the cosine well — and driving a junction past its separatrix (the escape of the "phase particle" into the rotation regime) is exactly the switching event that turns a zero-voltage junction resistive. The same portrait organizes celestial mechanics and plasma physics. Mercury's 3:2 spin–orbit lock and the Moon's synchronous rotation are libration states of a pendulum-like resonance Hamiltonian, with the separatrix deciding capture versus passage; charged particles riding a plasma wave are trapped inside a moving separatrix, bouncing in the troughs — the mechanism behind nonlinear Landau damping; and when weak damping and driving are switched on, the clean homoclinic loop tears into Poincaré's tangle, the standard on-ramp to chaos. One drawing, learned once, keeps paying.
The physical picture
Picture energy as height. The potential is a corrugated landscape: valleys at where the bob hangs down, hilltops at where it balances inverted. Roll a marble with too little energy and it rocks in a valley — libration. Give it enough to clear the hilltops and it rolls on forever — rotation. The separatrix is the energy that exactly reaches a hilltop, and a marble arriving at a hilltop with zero speed takes forever to get there. Translate each of those stories into the plane and the entire repertoire appears at once:
Read the portrait like a map. The stable equilibrium (bob hanging down) is an elliptic center: nearby trajectories circle it in closed loops. The unstable equilibrium (bob inverted) is a hyperbolic saddle: trajectories approach along one direction and flee along another, and the red curves through it — the incoming and outgoing branches joined into a loop — form the separatrix. But the flat picture double-counts: and are the same physical configuration, so the honest phase space is a cylinder. Glue the two edges and the two saddles merge into one, the separatrix becomes a pair of homoclinic loops through that single point, and the "open" rotation curves close up into rings that wind around the cylinder:
Finally, think of time as flow. The phase fluid streams fastest where is largest — the bottom of the swing — and crawls to a near-standstill beside the saddle. A trajectory hugging the separatrix therefore spends almost all of its period loitering near the inverted balance point, which is why the period does not merely grow with amplitude but diverges as the amplitude approaches . Even the divergence is gentle — logarithmic in the energy distance from the separatrix — and the curve below is computed, not sketched:
From energy contours to the portrait
Everything above becomes quantitative with one function. Start from the Lagrangian : the conjugate momentum is , and the Legendre transform hands back the total energy expressed in phase-space coordinates,
where: — angle from the downward vertical; — the angular momentum conjugate to ; — bob mass and rod length; — gravitational acceleration. Because the constraint is time-independent, equals the conserved energy . Note the two anchoring values of the potential: at the bottom, at the top, so every trajectory is labelled by an energy . The Hamiltonian generates the flow through Hamilton's canonical equations — the velocity field that every phase point obeys,
where: — the components of the phase velocity at the point . The second equation is just the gravitational torque. Setting both components to zero locates the fixed points: and , i.e. the center at and the saddle at — Derivation A classifies them by linearizing this field. Since is conserved, a trajectory with energy is confined to the level set ; solving equation (1) for the momentum gives the entire portrait in closed form,
where: — the conserved energy labelling the contour; the gives the upper and lower branches. Real solutions require : for this restricts to with , producing a closed libration loop with turning points at ; for it holds for every , producing an open rotation curve. Every curve in the hero figure is this one equation at a different . The boundary case deserves its own line. Set in (3) and use the half-angle identity : the square root collapses and the separatrix is a pair of cosine arches,
where: — the small-oscillation frequency. The arches meet, with zero momentum, exactly at the saddles : the separatrix does not cross the saddle, it terminates on it from both sides. Its maximum height at is the momentum of a bob that passes the bottom with barely enough energy to reach the top. How long does one libration take? Integrating around a loop (Derivation B) produces an answer that is exact for every amplitude,
where: — the amplitude (turning angle); — the complete elliptic integral of the first kind. As , and : the harmonic result. As , the modulus and diverges logarithmically — the infinite period of the separatrix, made precise below. For laboratory amplitudes the elliptic integral hides a simple and famous correction. Expanding for small modulus gives
where: — the amplitude in radians. The leading term is Galileo's (approximate) isochronism; the term is the nonlinearity announcing itself — at amplitude the true period already runs long, the effect Huygens battled when pendulum clocks became navigation instruments. On the separatrix itself the trajectory can be written down exactly. Integrating the separatrix relation (Derivation C) yields the homoclinic orbit,
where: — the trajectory that leaves the inverted position at and asymptotically regains it as . The never reaches at finite time: the bob spends a finite interval sweeping through the bottom and two infinite tails creeping toward the top. This soliton-shaped pulse in — all the action compressed into a few — is the time-domain face of the separatrix.
Which equation answers which question
| you want | use | notes |
|---|---|---|
| the energy of a state | , eq. (1) | conserved; labels the contour |
| the direction of flow | eq. (2) | clockwise around the center |
| the trajectory through a point | eq. (3) | closed if , open if |
| the libration–rotation boundary | eq. (4) | cosine arches through the saddles |
| the period at any amplitude | eq. (5) | exact, via |
| the period at lab amplitudes | eq. (6) | correction |
| the motion on the separatrix | eq. (7) | infinite time, finite loop area |
We are finding where the phase flow stands still and proving that the two equilibria have opposite characters — one a center that organizes the libration loops, one a saddle that anchors the separatrix. The strategy is the standard one for any portrait: set the velocity field (2) to zero to locate the fixed points, then linearize the flow about each and read the character from the eigenvalues of the linearization. The thing to watch is the sign of the restoring term: a single sign flip in near converts oscillation into exponential escape, imaginary eigenvalues into real ones.
Step 1. Set the velocity field to zero. From equation (2), forces , and forces . On the cylinder that leaves exactly two equilibria: , the bob hanging at rest, and , the bob balanced inverted.
Step 2. Linearize about the bottom. Write , and keep first order, using :
Combining, — the harmonic oscillator. The eigenvalues of the linearized flow matrix are : purely imaginary, so nearby trajectories neither grow nor decay but circulate. This is an elliptic center, and the nested loops around it are the small-amplitude ellipses of the oscillator. Why no spiraling: the eigenvalues have zero real part because the system is conservative — Hamiltonian flow cannot have attractors, so the borderline circulation is exact, protected by energy conservation rather than an accident of linearization.
Step 3. Linearize about the top. Write ; now , so the torque term flips sign:
Now , with eigenvalues : real, one positive and one negative. Perturbations along the unstable eigendirection grow as , those along the stable one shrink as . This is a hyperbolic saddle, and its stable and unstable manifolds — the directions of approach and escape — are precisely the four separatrix branches meeting at the point. Why the same number appears twice: the growth rate at the saddle equals the oscillation frequency at the center, , because both come from the same curvature of the cosine potential at its extremes. This coincidence is special to the pendulum, not generic. *Verified: eigenvalue signs match the standard result — stable equilibrium at the bottom, unstable inverted equilibrium (Goldstein Ch. 6; Taylor Ch. 12); the saddle rate is the -folding time constant used in the period-divergence estimate of Derivation B.*
Go deeper · Derivation B · 2 minThe exact period from the energy integral
We are deriving the exact libration period (5), extracting from it the small-amplitude expansion (6), and pinning down precisely how the period blows up at the separatrix. The route is the classic one-degree-of-freedom reduction: energy conservation gives , the period is the time integral , and a half-angle substitution converts it to the complete elliptic integral . Watch the modulus : every property of the period — isochronism, the correction, the logarithmic divergence — is a standard property of at small or at .
Step 1. Time from energy conservation. For libration with amplitude the energy is , and (3) gives . A full period is four quarter-swings from to :
The integrand diverges at the turning point , but only as an inverse square root — integrable, exactly as for the harmonic oscillator.
Step 2. Half-angle substitution. Use in both cosines, so with , then substitute so that the turning point maps to :
Why this substitution: it simultaneously rationalizes the square root and absorbs the turning-point singularity into the smooth upper limit — the standard trick that defines the elliptic modulus, here rather than itself.
Step 3. Small amplitudes. Expand and ; collecting orders,
which is equation (6). At the series gives against the exact — already shy, a warning that the series is asymptotic in usefulness, not a substitute for at large swing.
Step 4. The separatrix limit. As , , where the elliptic integral has the standard logarithmic asymptote with . Convert to energy: , so with ,
The period grows without bound, but only logarithmically: halving the energy gap adds a fixed increment to the period, which is why real pendulums released ever closer to inverted show frustratingly modest period gains. Why the rate is set by the saddle: the diverging time is spent within the linear neighbourhood of the saddle, where motion e-folds at the rate found in Derivation A — so the coefficient of the logarithm had to be before any computation. *Verified: numerically, at the asymptote gives against the exact for (); the expansion coefficients and match Landau–Lifshitz §11; reproduces the correction at amplitude.*
Go deeper · Derivation C · 2 minThe homoclinic orbit and the separatrix action
We are solving the motion on the separatrix in closed form, confirming that it takes infinite time to traverse, and computing the phase-space area its loop encloses — a finite number, per homoclinic loop, despite the infinite period. The strategy: on the separatrix the trajectory equation (4) turns Hamilton's first equation into a separable ODE for alone; integrate it, invert, and then evaluate directly. The watch-out is a bookkeeping one: "the separatrix" is two arches, and area statements must say whether they mean one homoclinic loop or the full libration cell they jointly bound.
Step 1. Reduce to a separable equation. On the upper separatrix branch, , and gives . Separate:
choosing at the bottom of the swing, .
Step 2. Invert. Exponentiating and converting the secant–tangent combination gives , i.e.
and substituting back, — equation (7). As , and : the orbit departs from and returns to the same saddle (one point on the cylinder), which is what the prefix homo- in homoclinic records. Why infinite time was inevitable: the saddle is itself a complete trajectory, and distinct trajectories of a smooth flow can never merge in finite time — the separatrix can only approach it asymptotically, at the linear rate visible in the tails of the tanh.
Step 3. The enclosed action. The area under one homoclinic loop (the upper arch, traversed once around the cylinder) is
The upper and lower loops together bound the full libration island, of area . Both numbers are finite: the separatrix encloses finite phase-space area even though the period on it is infinite. A blob of phase fluid straddling the region is sheared without limit — the part inside circulates, the part outside rotates away — yet by Liouville's theorem its area never changes by a single unit. Why this area matters beyond the pendulum: it is the maximum action of any libration orbit, so in semiclassical quantization it counts the bound states trapped in the well (), and in adiabatic theory it sets the critical action below which slowly-driven systems remain captured in resonance. *Verified: enclosed area recomputable by direct integration as shown (); the homoclinic solution is standard (Taylor Ch. 12) and satisfies by direct differentiation.*
Limiting cases
The pendulum interpolates between two familiar idealizations as the energy dial turns:
| case | result | meaning |
|---|---|---|
| small oscillations, | , | loops become harmonic-oscillator ellipses; period amplitude-independent |
| near the separatrix, | period diverges, but only logarithmically — the trajectory loiters at the saddle | |
| on the separatrix, | , | the homoclinic orbit, asymptotic to the inverted balance point |
| fast rotation, | , | gravity is a small ripple; phase curves flatten into near-horizontal lines |
Worked examples
1 · A one-metre pendulum released at ninety degrees (confidence builder)
A pendulum of length () is released from rest at . Find the exact period, compare with the small-angle prediction, and check the amplitude expansion.
Step 1. The scales. , so the small-angle period is .
Step 2. The elliptic modulus. . The complete elliptic integral at this modulus is (the small-angle limit would be — the integral has grown ).
Step 3. Exact period from equation (5): , a ratio — the true period runs longer than the small-angle formula. A pendulum clock calibrated at tiny amplitude but swung to would lose roughly nine minutes per hour.
Step 4. Check the series (6): gives and , so — within of exact. The quadratic term alone () would be off: at quarter-turn amplitudes the pendulum is already visibly nonlinear.
2 · Released one degree from inverted (exam level)
The same pendulum is released from rest at — one degree short of balancing on top. Find the period exactly and from the near-separatrix asymptote, and comment on how the period scales as the release angle creeps toward .
Step 1. Locate the energy relative to the separatrix. : the energy gap is — the pendulum is within of the critical energy.
Step 2. Exact period. , so and . Then — only times the small-angle period, despite being one degree from an infinite-period orbit.
Step 3. The logarithmic asymptote from Derivation B: , agreeing with the exact value to — at the asymptotic regime is fully in charge.
Step 4. The scaling moral. Each factor of reduction in adds only — and since , shaving the release angle tenfold closer to inverted cuts a hundredfold and adds just : releasing at gives , at only . To reach even a one-minute period you would need — an angular precision of degrees, hopeless against thermal kicks and air currents. Infinite period is a mathematical boundary, never an experimental observation — which is precisely why the separatrix is drawn, not demonstrated.
Origins · 1 minChristiaan Huygens and how this was discovered
Huygens turned the pendulum from Galileo's curiosity into the precision technology of its century — and in doing so ran straight into the physics of this article. His 1656 pendulum clock improved timekeeping accuracy roughly a hundredfold, but navigation demanded more, and Huygens discovered the obstruction: a circular-arc pendulum is not isochronous, its period growing with amplitude — the effect quantified by the term of equation (6). His response, published in the magisterial Horologium Oscillatorium (1673), was to prove that the cycloid is the true isochronous curve and to force the bob onto one with curved metal "cheeks," meanwhile inventing the theory of the compound pendulum and the center of oscillation. Two centuries before phase space existed, Huygens had measured its geometry: the widening of the period with amplitude is nothing but the crowding of the libration loops toward the separatrix.
Going further
References. Morin, Introduction to Classical Mechanics, Ch. 5 & Appendix on the pendulum · Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., Ch. 6–7 · Landau & Lifshitz, Mechanics, 3rd ed., §11, §16 (finite-amplitude pendulum) · Taylor, Classical Mechanics, Ch. 12 (nonlinear oscillations & phase space) · Strogatz, Nonlinear Dynamics and Chaos, Ch. 6 (the pendulum on the cylinder)
Provenance. Hamiltonian, Hamilton's equations, and fixed-point classification are standard (Goldstein Ch. 6, Taylor Ch. 12). Exact period and amplitude expansion verifiable against Landau–Lifshitz §11 and standard elliptic-integral references. Separatrix curve, homoclinic solution , and enclosed action recomputable by direct integration. A verifier should recheck the half-angle reduction, the asymptotics, and the eigenvalue signs vs .
Builds on: The Hamiltonian Function · Hamiltonian as Total Energy · Hamilton's Canonical Equations · Phase Portraits and Trajectories · Fixed Points and Stability in Phase Space. Leads to: The Harmonic Oscillator in Phase Space · Liouville's Theorem · Hamiltonian Flow and the Phase Fluid.
Why does the period diverge only logarithmically rather than as a power law?
Because the slowdown happens in the linear neighbourhood of the saddle. Near the flow is governed by the eigenvalues : a trajectory entering at distance from the saddle along the stable direction takes time to pass by, since motion there e-folds rather than proceeding at fixed speed. The energy gap sets , so — the is the fingerprint of exponential dynamics at a hyperbolic point. Power-law divergences require different local structure (e.g. a degenerate, non-quadratic maximum of the potential, where the linearization vanishes). Quick test of understanding: the coefficient comes from passing two saddle neighbourhoods per period — once at each end of the swing.
Is the separatrix a trajectory a real pendulum can actually be on?
In principle it is a legitimate solution of the equations; in practice it has measure zero and is dynamically unreachable. Worked example 2 shows the futility: even in energy buys only , and each additional decade of fine-tuning adds a mere . Thermal fluctuations, air currents, and release jitter set a floor on many orders of magnitude above anything interesting. Moreover the separatrix is structurally fragile: any damping destroys it instantly (the saddle connection breaks), and any periodic forcing splits it into a homoclinic tangle. Its importance is not as an achievable motion but as the organizing boundary — the watershed whose mere existence dictates the behaviour of everything near it.
What happens to this portrait when I add damping or driving?
Damping first: the center becomes a spiral sink, the libration loops become inward spirals, and the separatrix ceases to exist as a loop — the saddle keeps its stable and unstable manifolds, but they no longer join; the unstable manifold spirals into the sink. Energy is no longer conserved, so trajectories cut across the old contours. Add periodic driving and the story becomes epochal: the stable and unstable manifolds of the (now periodically flickering) saddle intersect transversally, and one intersection forces infinitely many — Poincaré's homoclinic tangle. Inside the tangle lies a Smale horseshoe and with it deterministic chaos. This is why the damped driven pendulum is the standard first chaotic system: the undamped portrait you learn here is the skeleton the tangle grows on.
Rotation curves never return to the same point on the plane — in what sense is rotation periodic?
On the plane the curve marches off to , which looks aperiodic. But the plane over-describes the system: and are the same bob position. On the true cylindrical phase space the rotation curve closes after one trip around, and the motion is periodic in every observable sense — , , the position of the bob — with period over one winding. What distinguishes rotation from libration is not periodicity but topology: a libration loop is contractible on the cylinder (you can shrink it to the center), a rotation loop winds around and cannot be contracted. That winding number is why no continuous deformation of trajectories can convert one into the other without passing through the separatrix.
Why does the elliptic modulus come out as sine of half the amplitude instead of the amplitude itself?
The half-angle is forced by the shape of the cosine potential. The period integrand involves , and the identity turns this difference into — a difference of squares, which is exactly the form the elliptic substitution rationalizes. The modulus then has a clean physical reading: is the energy above the well bottom measured as a fraction of the well depth . Libration is , the separatrix is , and rotation corresponds to — the standard trick is to transform rotation-regime integrals to modulus .
Liouville says areas are conserved, but trajectories near the saddle separate exponentially. How are both true?
Because stretching in one direction is exactly compensated by squeezing in the conjugate direction. Near the saddle the linearized flow expands the unstable direction as and contracts the stable one as : the product of the two factors is exactly at every instant, so a small parallelogram of states keeps its area while becoming absurdly elongated. This is shear, not spreading. Note also what this is not: exponential separation at one isolated saddle does not make the pendulum chaotic — the system is integrable, every trajectory is a level curve, and two nearby libration orbits separate only linearly in time (through their period difference). Chaos requires the exponential stretching to be recurrent, which is what the homoclinic tangle of the driven pendulum provides.
Does the number 8mL²ω₀ for the separatrix loop area have any physical use, or is it a curiosity?
It earns its keep in at least three places. Semiclassically, the number of quantum bound states in the cosine well is the libration-cell area over Planck's cell: — for a transmon qubit this counts the levels below the junction barrier, a design parameter engineers actually tune. In adiabatic theory, the action is the conserved quantity when parameters drift slowly, and the separatrix area is the critical action separating orbits that stay trapped in a slowly-modulated resonance from those that escape — the quantitative core of capture-into-resonance calculations in celestial mechanics. And in kinetic plasma theory, the separatrix area of the wave-frame pendulum measures how much phase space a wave can trap, setting the trapped-particle fraction in nonlinear Landau damping.
Where exactly does a quantum pendulum notice the separatrix?
In the spectrum. The quantum pendulum (Mathieu equation) has levels that sit, semiclassically, on quantized contours of the classical portrait. Deep in the well the spacing is nearly uniform, , with the anharmonic compression given by equation (6) translated to level spacings. Near the separatrix energy the classical period diverges, and since the local level spacing is , the spectrum bunches — a logarithmic pile-up of levels at the separatrix energy. Above it, states come in nearly degenerate clockwise/counterclockwise rotation pairs whose small splitting is the tunneling between the two rotation senses. That separatrix bunching is directly visible in the transmon's level structure and in cold-atom realizations of the pendulum in shaken optical lattices.