Hamilton's Principle of Stationary Action
Newton hands you a rule enforced instant by instant: at every tick, force equals rate of change of momentum. Hamilton's principle turns that local bookkeeping inside out. It looks at the whole trajectory at once, assigns to every conceivable path a system could take between a fixed start and a fixed finish a single number — the action , the running total of the Lagrangian — and asserts that the path Nature takes is the one for which is stationary: a tiny wiggle of the path changes only at second order. The equations of motion are no longer a postulate; they are what "stationary" forces to be true point by point. The pay-off is threefold. First, is a scalar, so the action does not care what coordinates you use — Cartesian, polar, angle-of-a-pendulum — and the resulting Euler–Lagrange equations wear the same form in all of them, with constraint forces that do no work dropping out for free. Second, the principle outlives mechanics: replace by a field and by a Lagrangian density, and the same "make it stationary" move produces Maxwell's, Dirac's, and Einstein's equations. Third, every continuous symmetry of the action buys a conservation law (Noether), so energy, momentum, and angular momentum are read straight off the structure of . One word does all the work and is almost always misquoted: stationary, not least. For short times the physical path does minimise , but past a conjugate point it becomes a saddle — nearby paths have smaller action, yet the true path still obeys . The deepest reason the principle holds at all is quantum: Feynman's amplitude sums over all paths, and as only the stationary path survives the interference. Classical mechanics is the shadow of that stationary phase.
- Hamilton's principle: a system moves between fixed configurations , along the path that makes the action stationary, , for every endpoint-fixed variation.
- The Lagrangian is a scalar, so the principle is coordinate-independent; varying and applying the fundamental lemma yields the Euler–Lagrange equations of motion.
- "Stationary" means to first order — not necessarily least: past a conjugate point the true path is a saddle of , exactly computable for the harmonic oscillator (the turn is at half a period).
- For a conservative system the principle is equivalent to Newton's second law, but generalises effortlessly to fields, giving Maxwell, Dirac, and Einstein as stationary-action equations.
- Time-translation symmetry of the action makes the Hamiltonian conserved — the mechanical face of Noether's theorem.
- The quantum justification is Feynman's path integral: the classical trajectory is the stationary-phase point of as .
- Key idea: promote the trajectory to the unknown — instead of solving differential equations directly, demand that the scalar action functional be stationary, , and let the calculus of variations produce the equations of motion.
Where this lives today
Hamilton's "write an action and make it stationary" is not a historical curiosity but the working definition of a physical theory. Every fundamental interaction is now specified by a Lagrangian handed to the field version of equation (5): the Standard Model is a single Lagrangian density whose Euler–Lagrange equations are the Dirac, Yang–Mills, and Higgs equations, and general relativity is the stationary-action condition of the Einstein–Hilbert action . The same principle drives navigation and control — spacecraft trajectories are extremals, and minimum-fuel orbit transfers and robot motion planning are modern brachistochrones solved by Pontryagin's maximum principle. Lattice gauge theory evaluates Feynman's numerically to compute hadron masses from first principles, while the phase-space form Hamilton distilled underlies the symplectic integrators that keep planetary simulations stable over billions of years. Two centuries after the Dublin memoirs, the most productive sentence in physics remains: form the action, and make it stationary.
The physical picture
Freeze the endpoints. A ball must leave your hand at and reach the fielder's glove at — same start, same finish, same elapsed time. Between them, imagine every curve the ball could trace. Each carries a running tally of kinetic minus potential energy, and the action is that tally over the whole trip. Hamilton's principle says the realised path is the balance point of this tally over the space of curves — the flat spot of a landscape whose "points" are entire trajectories. The first figure freezes the true path against two competitors sharing its endpoints.
That "flat spot" is almost always given the wrong adjective. Early statements called it least action, but stationary is the honest word: for a short trip the true path is a genuine minimum, yet stretch the interval past a conjugate point and the same path becomes a saddle — some neighbours accumulate less action while the physical one still satisfies . The cleanest place to watch this is the harmonic oscillator, where the sign of the second variation flips at exactly half a period. The second figure carries that computation.
The core equations
The whole framework rests on one object: the action, a functional that eats an entire trajectory and returns one real number by integrating the Lagrangian along it. Everything downstream follows from demanding this number be stationary.
where: — the action, a real number assigned to each admissible trajectory ; — the Lagrangian, for a conservative system ; — a generalized coordinate and its time derivative; — the fixed initial and final times. Reading: the entire shape of between the endpoints fixes the value of . Hamilton's principle is the single physical postulate: of all curves joining the two fixed configurations, it selects the one whose action does not change to first order under any allowed deformation.
where: — the first variation of the action; — an arbitrary infinitesimal deformation that must vanish at the fixed endpoints. Reading: stationarity against every endpoint-preserving wiggle is the law of motion, before any differential equation appears. To make "for all " computable we embed the candidate path in a one-parameter family, so stationarity collapses into the vanishing of an ordinary derivative.
where: — a small real bookkeeping parameter; — an arbitrary smooth test function vanishing at the endpoints, so . Reading: the family collapses to the physical path at , and . Differentiating, then integrating by parts to strip the time-derivative off , gathers the first variation into one bracket multiplying the arbitrary — the form the fundamental lemma needs.
where: — the generalized force; — the canonical momentum ; the boundary term is already dropped using . Reading: since is arbitrary, the bracket must vanish everywhere. Applying the fundamental lemma gives the local law obeyed at every instant — the Euler–Lagrange equations, one per degree of freedom.
where: — the -th generalized coordinate of an -degree-of-freedom system. Reading: instant by instant, the rate of change of the momentum balances the force — Newton's law, coordinate-free. Two derived quantities organise the rest of mechanics: the momentum conjugate to each coordinate, and the Hamiltonian assembled from it by a Legendre transform.
where: — the momentum conjugate to ; — the Hamiltonian, which equals the total energy when , is quadratic in the velocities, and the constraints are time-independent. Reading: is the conserved quantity that appears whenever the action has no explicit time dependence. (If an endpoint is released rather than pinned, the boundary term of equation (4) survives and forces the natural condition there.)
The goal is to convert the global statement "the action is stationary for every endpoint-fixed variation" into a single local differential equation valid at each instant. We embed the candidate trajectory in a one-parameter family, reduce stationarity to an ordinary derivative in the parameter, and integrate by parts so the whole first variation appears as one continuous bracket multiplying the arbitrary variation — at which point the fundamental lemma of the calculus of variations forces that bracket to vanish pointwise.
Step 1. Embed the path: write with , so the deformed action is an ordinary function of one real variable , and Hamilton's principle becomes for every admissible . Why: this trades "vary a whole function" for the familiar "set an ordinary derivative to zero", losing no content because is arbitrary.
Step 2. Differentiate under the integral by the chain rule, using and : . Why: the deformation reaches through both dynamical slots, position and velocity , so both terms are tracked.
Step 3. Integrate the velocity term by parts: , and drop the boundary bracket because . Why: parts is the only move that removes the derivative from the arbitrary , and the fixed endpoints kill the leftover surface term — release an endpoint and it becomes the natural condition .
Step 4. Collect the survivors into one integral, , and invoke the fundamental lemma: a continuous function that integrates to zero against every smooth vanishing at the ends is identically zero. Hence . Why: were the bracket nonzero anywhere, bump up there and , contradicting stationarity — so it vanishes at every interior instant. *Verified: reproduces equation (5); with it gives , Newton's second law (Goldstein Ch. 2, Landau–Lifshitz §2).*
Go deeper · Derivation B · 1 minEnergy conservation from a time-symmetric action
The aim is to show that when the Lagrangian carries no explicit time dependence — the action is unchanged by sliding the whole motion forward or backward in — the Hamiltonian is conserved along every solution. This is the mechanical instance of Noether's theorem, the Beltrami first integral of the variational problem. We differentiate totally along a trajectory, eliminate the position-derivative term using the equation of motion, and watch the remaining pieces assemble into a total time derivative that must vanish.
Step 1. Differentiate totally along a solution: , and impose so the last term drops. Why: no explicit time dependence is exactly invariance of the action under time translation — it removes the only term that could spoil the cancellation.
Step 2. Replace the position-derivative using Euler–Lagrange (5), , giving . Why: injecting the equation of motion is what makes the two surviving terms conjugate halves of a single product-rule derivative.
Step 3. Recognise the product rule: the right-hand side is exactly , so . Why: assembling the pieces into one total derivative is the whole theorem — a rate of change that is identically zero is a conservation law.
Step 4. Read off the conserved quantity . For this is , the total mechanical energy. Why: a time-independent Lagrangian conserves energy — the same structure that, under spatial and rotational symmetry, conserves momentum and angular momentum. *Verified: reproduces equation (6) as a first integral; for the standard mechanical Lagrangian (Landau–Lifshitz §6, Goldstein §2.6); it is the Beltrami identity with the independent variable taken to be time.*
Go deeper · Derivation C · 1 minThe classical path as the stationary phase of the quantum amplitude
The purpose is to answer the question the principle itself cannot: why should Nature extremise an action at all? Feynman's path integral supplies the reason. The quantum amplitude to travel between two configurations sums over every path, each weighted by the pure phase ; expanding about a stationary path shows that as only the neighbourhood of survives the interference — so the stationary-action path is the one not washed out.
Step 1. Write the propagator as a sum over histories, , each path contributing unit modulus and a phase set by its action in units of . Why: no single path is privileged a priori; the classical trajectory must emerge from interference, not from a postulate.
Step 2. Expand the action about a stationary path where : , so near the phase is stationary to first order in . Why: a stationary point of is where neighbouring paths share nearly the same phase — the only place constructive interference can occur.
Step 3. Away from , , so the phase sweeps through many multiples of across an infinitesimal bundle of neighbours and the contributions cancel; near the phase is flat and a whole tube of paths adds coherently. Why: rapidly oscillating phases integrate to nearly zero — only a region of stationary phase yields a surviving amplitude.
Step 4. Take the classical limit : the coherent tube's width shrinks like and the sum localises entirely on . The particle "chooses" the stationary-action path because it is the only one quantum amplitude does not destroy. Why: Hamilton's principle is thereby derived, not assumed — classical mechanics is the stationary-phase shadow of quantum mechanics. *Verified: reproduces as the saddle condition of ; the stationary-phase width and the classical limit match Feynman & Hibbs Ch. 2 and the WKB reduction.*
Limiting cases
Special structure of collapses the principle into familiar statements, and the quantum limit recovers it from a deeper theory.
| Case | Result | Meaning |
|---|---|---|
| Free particle | No potential: stationary action gives uniform straight-line motion, the time-domain analogue of a geodesic in flat space. | |
| Conservative system | Recovers Newton's second law in any coordinates; constraint forces drop out. | |
| Autonomous () | Time-translation symmetry gives the conserved Hamiltonian — the Beltrami/energy first integral . | |
| Short time interval | : path is a true minimum | Before the first conjugate point the physical path genuinely minimises — "least action" is locally correct. |
| Past a conjugate point | indefinite: path is a saddle | Beyond a kinetic focus (for the oscillator, half a period) neighbouring paths have less action; only survives. |
| Classical limit | The stationary-phase point of Feynman's sum over paths selects the classical trajectory. |
Worked examples
1 · The harmonic oscillator from stationary action (confidence builder)
A mass on a spring has Lagrangian . Use Hamilton's principle to find the equation of motion and the conserved energy. Then put in , , amplitude .
Step 1. Read off the momentum from the velocity slot: , the object whose time derivative the Euler–Lagrange equation balances against the force.
Step 2. Read off the force from the position slot: , the familiar spring force.
Step 3. Assemble Euler–Lagrange (5): , i.e. with . With the numbers, and the period is .
Step 4. Because has no explicit time dependence, Derivation 2 hands you a conserved Hamiltonian . At the amplitude the mass is momentarily at rest, so , constant throughout the motion. The scalar action reproduces SHM with rad/s, period s, and conserved energy J — with no free-body diagram drawn.
2 · When the action is not least: the conjugate point (fully worked)
For the same oscillator (, ), the true motion between two fixed configurations obeys . Is that stationary path a minimum of the action? Test it with the deformation , which vanishes at both endpoints, and find the time at which the answer changes.
Step 1. Confirm stationarity first. For any admissible , ; integrating by parts and using gives . The physical path is stationary for every , at all — that is Hamilton's principle.
Step 2. Go to second order, where minimum-versus-saddle is decided. The quadratic piece of is . A minimum requires for every admissible ; a single with proves it is a saddle.
Step 3. Evaluate the two integrals for , using : and . Hence .
Step 4. Find the sign change. iff iff . So the conjugate time is — exactly half the oscillator period s.
Step 5. Read the numbers. At : , a minimum. At : , a saddle — the wiggle lowers the action below the physical path's value.
Step 6. Interpret it. For the true trajectory is the least-action path; for it is merely stationary, a saddle of . The physical motion never changes — it always satisfies — but "least action" fails past half a period. This conjugate point is the mechanical cousin of an optical focal point, and the reason the correct principle is stationarity, not minimisation.
Physics of the portrait
Hamilton's principle bears the name of the man who, in two dense papers of the 1830s, saw that the whole of dynamics could hang from a single variational function — and who spent the rest of his life on the algebra that quantum mechanics would one day need.
Origins · 1 minWilliam Rowan Hamilton and how this was discovered
William Rowan Hamilton was a prodigy of Trinity College Dublin — appointed Royal Astronomer of Ireland and Andrews Professor of Astronomy in 1827, at twenty-two, before he had even graduated. His first triumph was in optics: treating a light ray as the extremal of a "characteristic function", he predicted conical refraction in biaxial crystals in 1832, confirmed by Humphrey Lloyd within months — a rare pure-mathematical prediction of a new optical phenomenon. Hamilton then saw that mechanics and optics were the same variational subject in different clothes. His two memoirs "On a General Method in Dynamics" (1834 and 1835) reformulated Lagrange's mechanics around a single principal function and stated the principle now bearing his name: the motion makes between fixed configurations at fixed times. From it he extracted the canonical equations , , splitting Newton's second-order law into a symmetric first-order pair and inventing the phase-space picture that dominates modern physics. He was careful to distinguish his principle from the older "least action" of Maupertuis and Euler, which fixes energy rather than time. His later years went to the quaternions, discovered on Broome Bridge in 1843 — the first non-commutative algebra, ancestor of the vector and spinor formalism physics still runs on. When Schrödinger built wave mechanics in 1926 and Feynman the path integral in 1948, both reached first for Hamilton's optical–mechanical analogy: his characteristic function is the classical limit of the quantum phase.
Going further
Texts. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., Ch. 2 (variational principles and Lagrange's equations) · Landau & Lifshitz, Mechanics, §§2–6 · Stone & Goldbart, Mathematics for Physics, Ch. 1 (Calculus of Variations) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 22 · Feynman & Hibbs, Quantum Mechanics and Path Integrals, Ch. 2 (why the classical path is stationary).
Provenance. The first-variation-to-Euler–Lagrange derivation and the energy first integral are standard (Goldstein Ch. 2; Stone & Goldbart Ch. 1; Landau–Lifshitz §§2, 6). A verifier should: (1) reproduce the integration-by-parts + fundamental-lemma argument for equation (5); (2) confirm the energy first integral (6) from the total time-derivative of ; (3) recompute the SHO worked example — rad/s, period s, J; (4) recompute the conjugate-point result — for , giving at s and at s, with sign change at s (half the period); (5) check the stationary-phase reduction against Feynman & Hibbs Ch. 2. All numbers are elementary and machine-checkable.
Prerequisites. Functionals and Function Spaces · First Variation and Stationarity · Fundamental Lemma of the Calculus of Variations. Leads to. Euler–Lagrange Equation · Lagrangian Mechanics · Beltrami Identity and First Integrals · Geodesics as Variational Problems.
Ask the tutor: Want to see the stationary-action machinery turned loose on your own system — a double pendulum, a bead on a rotating wire, or a charged particle in a field — with the Lagrangian built and the equations of motion cranked out line by line?
Is Hamilton's principle the same as the "principle of least action"?
Not quite, and conflating them causes real confusion. Maupertuis' original least-action principle (1744) extremises the abbreviated action over paths of fixed energy, with travel time left free. Hamilton's principle (1834–35) extremises a different object — — over paths with fixed endpoints and fixed elapsed time, energy free to vary along competitors. They are related by a Legendre transform but are distinct statements. Both are, moreover, principles of stationary action, not least. Modern usage says "the principle of stationary action" precisely to retire the misleading word "least".
Why is the true path a saddle rather than a minimum for long times?
Because the second variation can go negative. Stationarity () fixes only the first-order change; whether the path minimises is decided by the sign of for the oscillator. The two terms compete: favours a minimum, fights it. Over a short interval the derivative term dominates and for every wiggle. Once the interval exceeds the conjugate time , a low-frequency wiggle makes and nearby paths have smaller action — the physical path is then a saddle, the mechanical analogue of an optical caustic.
Why does treating q̇ as independent of q not lead to a contradiction?
It is a bookkeeping convention, not a physical claim. When you form the partials and , you regard as an ordinary function of three separate slots and differentiate slot by slot, exactly as with any . The physical link " is the time derivative of " is reimposed only afterwards, when you substitute an actual trajectory and apply in the Euler–Lagrange equation. Keeping the two steps apart is what makes the chain rule and the parts integration come out right; merging them early is a classic source of dropped terms and wrong signs.
How does Hamilton's principle recover Newton's second law?
Feed it the mechanical Lagrangian . The velocity slot gives the momentum ; the position slot gives the force . The Euler–Lagrange equation is exactly — Newton's second law for a conservative force. The variational route is not a new postulate but a re-derivation of the old law, with two bonuses: it works verbatim in any coordinates because is a scalar, and constraint forces that do no virtual work never appear, so a pendulum's tension or a bead's normal force drops out automatically.
What is the Hamiltonian, and is it always the energy?
The Hamiltonian is the Legendre transform of the Lagrangian, , re-expressed in the momenta instead of the velocities. It is conserved whenever has no explicit time dependence (), by the time-translation argument of Derivation 2. It equals the total energy only under an additional condition: the kinetic energy must be a homogeneous quadratic in the velocities and the constraints time-independent (scleronomic). In a rotating frame or with a moving constraint, can be conserved yet differ from , or equal yet not be conserved — the two properties are logically separate, a distinction worth internalising early.
Does Nature really "try all paths" and pick the stationary one?
No — that is a vivid metaphor, not a mechanism. Classically the particle follows one trajectory, the one obeying ; nothing physically samples the alternatives. The "trying all paths" language belongs to the quantum picture, where Feynman's amplitude genuinely sums over every path — and even there the paths are not tried sequentially, they interfere. Away from the stationary path the phase varies so fast that neighbours cancel in pairs; near it the phase is flat and a whole tube of paths adds coherently, a tube that shrinks onto the classical trajectory as . So stationary action is what survives quantum interference, not a teleological choice by the particle.