Hamilton's Characteristic Function
Before Hamilton ever wrote down a Hamiltonian, he had already compressed the whole of geometrical optics into one function. His characteristic function assigned to any two points the optical path length of the ray connecting them; from its partial derivatives, every lens, mirror and caustic in an instrument could be read off without tracing a single ray. When he turned to mechanics in 1834, he brought the object with him — and in the mechanics of conservative systems it survives, essentially unchanged, as : Hamilton's characteristic function, the time-free half of Hamilton's principal function. The split is disarmingly simple. When the Hamiltonian carries no explicit time, energy is conserved and the principal function separates as : a static landscape over configuration space, plus a uniform drift. All the geometry of the motion at energy — where the system can go, with what momentum, along which paths — lives in . Its level surfaces are wavefronts; the momentum pierces them at right angles; the trajectories are the rays. This is the optical-mechanical analogy in its sharpest classical form, and a century later it is precisely the picture Schrödinger promoted into wave mechanics. But is more than a geometric shadow of . It is a generating function in its own right, producing a canonical transformation with a different — and for bound systems, more useful — target: instead of freezing everything, it freezes the momenta and lets a single clock-like coordinate run. This article develops as an object (the abbreviated action), as a generator (the transformation), and as the bridge to Maupertuis' principle and action-angle theory.
- For a conservative system () the principal function splits as ; the time-free piece is Hamilton's characteristic function.
- obeys the Time-Independent Hamilton-Jacobi Equation and encodes all the geometry of motion at fixed energy.
- Used as a type-2 generator, produces a canonical transformation with new Hamiltonian : all new momenta are constants, all new coordinates are frozen except , which advances as — time itself emerges as the coordinate conjugate to energy.
- Along the orbit — the abbreviated action of Maupertuis; over one cycle of a bound coordinate it accumulates the action variable .
- Geometrically, surfaces of constant are wavefronts with normal to them; trajectories are the orthogonal rays, and is the classical eikonal equation.
- Key idea: for a conservative system, factor out time via ; the remaining function obeys and generates a canonical map whose new Hamiltonian is itself — so all but one new coordinate are frozen and the motion is solved by quadrature.
Where this lives today
The eikonal equation (3) never left the workbench — it just changed employers. Seismologists solve (slowness playing the role of ) across billions of grid cells to compute first-arrival traveltimes through the Earth; the fast-marching and fast-sweeping algorithms that do it are, quite literally, numerical constructions of Hamilton's wavefronts, and the same solvers route autonomous robots around obstacles by treating "time-to-reach" as a characteristic function over the map. In 2026 the fashionable accelerant is the physics-informed neural eikonal solver — networks trained to satisfy pointwise — which has cut seismic traveltime tomography and medical ultrasound aberration correction from cluster-hours to laptop-minutes. The conceptual descendants run deeper still. Every WKB calculation in quantum mechanics opens with — the characteristic function as the phase of a wavefunction — and the semiclassical machinery of chemistry (instanton rates, tunneling splittings) is applied -craft. Even Feynman's path integral honors the split (1): for a conservative system, the propagator's phase at stationary points is exactly . The static landscape Hamilton drew for light in 1828 turned out to be the phase of matter.
The physical picture
Drop a pebble's worth of thought onto a landscape: over every point of configuration space, at a chosen energy , there sits a value of . The landscape is static — time has been peeled off and set aside. Yet it contains the complete kinematics of every orbit at that energy, stored geometrically: the contours of are surfaces the motion always crosses at right angles, and the steepness of at any point is the momentum the particle must have there, . Where the potential is deep the contours crowd together (fast particle, steep ); near a turning point they spread apart and the gradient dies (slow particle, flat ).
This is optics wearing mechanics' clothes. In the eikonal limit of wave optics, light rays are the orthogonal trajectories of the wavefronts of constant phase; the phase obeys an equation formally identical to , with refractive index playing the role of . Hamilton discovered the mechanics version because he owned the optics version. And the analogy carries a famous sting, worth meeting early: if you restore time via , the surfaces of constant are moving wavefronts sweeping across the static -landscape — and they move slowest where the particle moves fastest (their speed is ). Nothing is wrong: the front speed is a phase velocity, not the particle's velocity. Resolving that tension honestly is what led Schrödinger from this exact picture to wave mechanics. The second face of is dynamical rather than geometric. As a generating function, performs a softer freeze than the principal function. In Generating Function to a Trivial Hamiltonian, the time-dependent generator drives the new Hamiltonian to zero and stops everything. The time-independent cannot do that — with the transformation law gives , not zero. But that residue is itself a triumph of economy: a Hamiltonian equal to one of the new momenta is the next best thing to zero. All momenta stay constant, all coordinates but one stay frozen, and the single survivor — the coordinate conjugate to the energy — advances at exactly unit rate. The system's own clock has been promoted to a canonical coordinate.
Third face: is a quantity you can accumulate along the orbit. Its rate of growth is , so — the abbreviated action of Maupertuis, the eighteenth-century action that predates Hamilton's. For a bound oscillation, one full cycle adds to the enclosed phase-space area — the action variable that Action Integrals over Invariant Tori builds into the coordinates of choice for integrable systems, and that the old quantum theory set equal to . Every payoff of the Hamilton-Jacobi chapter routes through this one function.
The two functions and the split
Start from the relation that defines . When , insert the ansatz into the Hamilton-Jacobi Equation . Since and , the time drops out wholesale:
where: — Hamilton's characteristic function, carrying constants of which the energy is one (conventionally , though any invertible relabeling works). The right-hand member is the Time-Independent Hamilton-Jacobi Equation, a PDE over configuration space alone — its structure, separation and quadratures are that article's business. Here the point is the decomposition: for conservative systems, the principal function is a static landscape minus a uniform energy drift, so all the problem-solving effort concentrates on the time-free . The momenta come from the landscape's gradient, exactly as they came from (the term carries no -dependence):
where: for a single particle in a potential this reads , and squaring it against gives the classical eikonal equation
where: the local steepness of is fixed pointwise by energy conservation — steep where the particle is fast, flat at turning points where . Equation (3) is a first-order PDE whose solutions are built from the front-and-ray geometry of the hero figure; it is formally identical to the eikonal equation of geometrical optics with effective refractive index , which is the precise content of the optical-mechanical analogy. Along an actual orbit, accumulates the abbreviated action. Differentiating along the motion (the are constants) and using (2):
where: the integral runs along the trajectory at energy . Compare the principal function's : the two rates differ by exactly , which is the split (1) read as rates. accumulates the Lagrangian action; accumulates the Maupertuis action; they disagree by the steady metronome .
Which function answers which question
| you want | use | notes |
|---|---|---|
| a conservative system solved with least machinery | : eq. (1) right member, then eq. (6) | the default for every textbook problem |
| a driven / time-dependent Hamiltonian | only | no conserved to split off; see Generating Function to a Trivial Hamiltonian |
| the orbit's geometry (path, not timetable) | , | time-free relations among the — the orbit equation directly |
| the timetable along the path | time-of-flight from an energy derivative; worked example 2 | |
| phase-space area / quantization / frequencies | from eq. (4) | gateway to Action-Angle Variables |
| wavefront/eikonal geometry | eq. (3) | = classical phase; WKB writes |
We are deriving the dynamical content of : that used as a time-independent type-2 generator with the constants as new momenta, it maps a conservative system to the Hamiltonian , so that every new variable is frozen except the single coordinate conjugate to the energy, which advances at unit rate. The strategy is the same three-move sequence used for the principal function — write the type-2 relations, transform the Hamiltonian, run Hamilton's equations in the new chart — with one crucial difference to watch: , so no cancellation of is available and the transformed Hamiltonian survives as the energy itself. The payoff of that survival is that the surviving coordinate integrates to , handing over the system's timetable by differentiation.
Step 1. Write the type-2 relations with generator , taking the new momenta to be the constants: with . Then
Why this interface: the enter as parameters of the complete integral of the time-independent HJ equation; making them the new momenta is what turns the parameter family into a canonical chart.
Step 2. Transform the Hamiltonian. The type-2 law is , and carries no explicit time:
Why the last equality is the whole trick: the time-independent HJ equation forces the combination to equal the constant — not as an on-shell accident but identically in . Expressed in the new variables, is therefore the pure momentum function : every coordinate is cyclic.
Step 3. Run Hamilton's equations in the new chart:
Why the Kronecker delta: depends on nothing but , so the only nonvanishing rate in the entire chart is .
Step 4. Integrate and invert:
The frozen relations contain no time: they are the orbit equations, fixing the path's geometry. The single running relation is the timetable, locating the system on that path at each instant. Solving the set for completes the solution. As a check: setting reduces the entire scheme to the elementary quadrature of 1D energy conservation, as it must.
The structural moral of Step 4 deserves its own sentence: the characteristic function separates geometry from schedule. The frozen answer "what curve does the system trace?" — a question that never mentions time — while answers "when is it where?". Central-force theory exploits this daily: the orbit equation comes from , the time along the orbit from , and the two calculations never interfere. (The systematic exploitation, coordinate system by coordinate system, is Separation of Variables in Hamilton-Jacobi Theory.)
Go deeper · Derivation B · 1 minMaupertuis' principle falls out of the characteristic function
The goal is the principle of least abbreviated action: among all paths joining two configuration-space points at the same energy , the true path makes stationary. The strategy is to relate to the variation of the full action , whose stationarity is Hamilton's principle, and track carefully what is held fixed — this is the classic place where the two action principles get conflated, so the bookkeeping of endpoint-time variations is the step to watch. Hamilton's principle fixes the traversal time and lets energy vary between comparison paths; Maupertuis fixes the energy and lets the traversal time vary. The characteristic function is exactly the object built to absorb that exchange.
Step 1. Relate the two actions along any comparison path with conserved : from the split (1) read as accumulations,
where is the traversal time of the path. Why: pointwise along the path, integrated over the traversal.
Step 2. Vary within the fixed-energy family: , since is common to all comparison paths. Why : paths of equal energy but different shape take different times — the variation cannot hold both and fixed, and does not try to.
Step 3. Evaluate for variations with fixed spatial endpoints but movable end time. The general endpoint variation of the action is ; the bulk term vanishes on the true path by Hamilton's principle, and the spatial endpoint displacements are zero, leaving
Why the boundary term survives only in time: the comparison paths all start and end at the same configuration points, but arrive at different moments — the movable-end-time term is the entire variation.
Step 4. Combine Steps 2 and 3:
Among all paths of energy between fixed endpoints, the true trajectory makes the abbreviated action stationary — Maupertuis' principle, in Jacobi's clean formulation. As a check: for a free particle the result reduces to — straight lines, as it must.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| free particle (1D) | constant-gradient landscape: uniform momentum, evenly spaced fronts; gives | |
| harmonic oscillator | fronts crowd at the center, flatten at turning points; one cycle accumulates | |
| turning point () | the landscape goes flat; 's two branches (outgoing/incoming momentum) meet — the seed of WKB connection formulas | |
| separable system | the landscape factorizes into one-dimensional profiles, each a quadrature — see Separation of Variables in Hamilton-Jacobi Theory | |
| explicitly time-dependent | no exists | nothing conserved to split off; retreat to the full principal function |
Worked examples
1 · The harmonic oscillator's landscape, clock and area (confidence builder)
A mass on a spring with carries energy . Using only the characteristic function: find the amplitude, the trajectory, the momentum at the center, and the abbreviated action accumulated over one full cycle.
Step 1. The landscape. From the eikonal relation (3) in one dimension, , so . The turning points sit where the gradient dies: .
Step 2. The clock. The timetable relation is .
Step 3. Invert for the trajectory (choose ): — amplitude and phase delivered by differentiation and inversion, no equation of motion ever integrated.
Step 4. Momentum at the center: , i.e. — which checks against ✓.
Step 5. The area. Over one cycle the abbreviated action accumulates the phase-space ellipse's area, semi-axes and : . Cross-check with the closed form ✓ — the action variable that Action-Angle Variables will make a coordinate.
2 · Time-of-flight from a derivative, and the eikonal check (exam level)
Same oscillator (, , ). Without solving for the trajectory, find (a) the time to travel from the center to , and (b) the momentum at , checking it against the eikonal equation. (c) Show the same time-of-flight trick on a free particle and interpret.
Step 1. (a) The timetable relation of the -transformation says: time-of-flight between two configurations is the difference of an energy derivative — .
Step 2. Evaluate with the Step 2 integral of example 1: . Sanity check from the known motion: gives , ✓ — but note the derivative route never used .
Step 3. (b) Momentum from the landscape's steepness at : .
Step 4. Check via the trajectory: at gives , so ✓. The eikonal equation (3) reads : ✓ exactly.
Step 5. (c) Free particle: , so . The energy-derivative of the abbreviated action is literally distance over speed — the trick is general: differentiating the static landscape with respect to energy yields the schedule, because and are a conjugate pair. That conjugacy — energy paired with time exactly as momentum pairs with position — is the classical shadow of a relation that returns, transformed, in quantum mechanics.
Origins · 1 minSir William Rowan Hamilton and how this was discovered
Hamilton built the characteristic function twice. The first time was in optics: his Theory of Systems of Rays (begun at age 21) showed that an optical instrument of any complexity is completely summarized by one function — the optical path length between endpoints — from whose derivatives all ray directions follow. He prized above all the method's generality: aberrations, caustics and focal properties tumbled out of partial differentiation. The 1832 sensation of conical refraction — a genuinely new optical phenomenon predicted from the characteristic function before being observed — made him famous at 27. The second construction, in the 1834-35 dynamics papers, transplanted the function to mechanics, where the role of optical path length passed to the action. Hamilton's own formulation was clumsy — his function obeyed two PDEs simultaneously and seemed to require knowing the motion in advance — and it was Jacobi who pruned it to the single equation used today. The deep dividend arrived in 1926, when Schrödinger, reading the optical-mechanical analogy in reverse, asked what wave theory has mechanics as its eikonal limit — and wrote the equation of wave mechanics.
Going further
References. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §10.3 · Landau & Lifshitz, Mechanics, 3rd ed., §47 · Morin, Introduction to Classical Mechanics, Ch. 15 (Hamilton-Jacobi) · Taylor, Classical Mechanics, Ch. 13 · Arnold, Mathematical Methods of Classical Mechanics, §46-47 Key results to keep in mind: substituting into the HJ equation yields ; Hamilton's equations in the new chart give and ; the SHO action integral evaluates as (the phase-space ellipse area), with frequency . The worked-example numbers throughout — amplitude , , cycle action , , — all follow directly from the boxed formulas.
Builds on: Hamilton-Jacobi Equation · Hamilton's Principal Function · Time-Independent Hamilton-Jacobi Equation · Generating Function to a Trivial Hamiltonian Leads to: Separation of Variables in Hamilton-Jacobi Theory · Action-Angle Variables · Action Integrals over Invariant Tori · Liouville Integrable Systems
Why would I ever accept K = E when the principal function gives me K = 0? Isn't zero strictly better?
Zero is a stronger freeze but costs a harder object: depends on variables and must be re-derived with its time dependence intact. For a conservative system that time dependence is pure boilerplate — always exactly — so carrying it explicitly buys nothing. Working with solves a PDE in one fewer variable, and the "loss" (one coordinate runs) is actually the deliverable: is the timetable you wanted anyway. For bound motion the -route is also the only sensible gateway to action-angle variables, where the goal is emphatically not to freeze the angles but to make them advance uniformly. Choose only when the Hamiltonian's time dependence is genuine.
Is it really legitimate that time becomes a coordinate? t is the evolution parameter, not a dynamical variable.
It is legitimate and exact, though the phrasing deserves care. Nothing in the canonical formalism forbids a new coordinate from happening to increase at unit rate and hence numerically track ; that is all says. The deeper observation is that energy and time form a conjugate pair in precisely the sense position and momentum do: is conjugate to , and its Hamilton equation is what "conjugate to energy" means dynamically. This conjugacy is structural, not accidental — it reappears as for the principal function, in the extended-phase-space formalism where is adjoined as a genuine canonical pair, and (transformed) in quantum mechanics.
For a bound orbit the particle returns to the same q with the opposite momentum. Doesn't p = ∇W then contradict itself?
Sharp observation — a single-valued cannot assign both and to one point. The resolution is that is multivalued: it has (in 1D) two branches, one for the outgoing motion with and one for the return with the minus sign, joined at the turning points where the gradient vanishes. Following the motion continuously means walking up one sheet and back along the other; each full cycle adds the enclosed area to , so the function climbs by one action quantum per period rather than returning to its old value. This branch structure is not a defect — it is exactly what WKB connection formulas negotiate at turning points, and why (not itself) is the natural single-valued object for bound motion.
How do the wavefronts move if W is time-independent?
The -fronts do not move — they are a static scaffolding over configuration space. What moves are the fronts of constant principal function : the condition at increasing requires to increase at rate , so the moving front slides across the static -contours, occupying the contour at time . Its local speed is — the famous inversion: fastest fronts where the particle is slowest. Both pictures are useful: the static -landscape carries the geometry (rays orthogonal to fronts), while the sliding -front carries the phase evolution that the WKB wavefunction inherits verbatim.
What exactly is the difference between Maupertuis' principle and Hamilton's principle?
Both are stationarity statements about the true path, but they compare different families of trial paths. Hamilton's principle varies over paths with fixed endpoints and fixed traversal time; energy is allowed to differ between trial paths. Maupertuis' principle varies over paths with fixed endpoints and fixed energy; the traversal time is allowed to differ. The derivation in this article shows they exchange exactly one boundary term, . Practically: Hamilton's principle is more general (works for time-dependent systems) and delivers equations of motion; Maupertuis' is geometric — it determines the shape of the orbit without its schedule, and in the Jacobi-metric form it turns trajectories into geodesics of a curved configuration-space metric.
Why is W called the abbreviated action — what got abbreviated?
The integrand. The full (Hamilton) action accumulates ; the abbreviated action keeps only the first piece, , dropping the term that is pure bookkeeping when energy is conserved. Hence : the "abbreviation" is the removal of the energy drift. Historically the order is reversed — Maupertuis' (1744) predates Hamilton's (1834) by ninety years — so it is the full action that is the latecomer, generalizing the abbreviated one to time-dependent situations where no fixed exists to strip out.
Does the Bohr-Sommerfeld rule quantize W itself?
It quantizes 's growth per cycle. The old quantum theory demands for each separable degree of freedom — and that loop integral is exactly the amount the (multivalued) characteristic function climbs in one period of . So the rule says: the classical phase must advance by an integer multiple of per cycle, which is precisely the condition for the WKB wavefunction to be single-valued on the orbit. For the oscillator of worked example 1, gives — off from the true spectrum only by the half-integer zero-point shift that the turning-point branch structure (Maslov correction) supplies. The refined statement and its uses live in Action-Angle Variables.
Can I use W when the motion is unbounded, like scattering?
Yes — and the whole generating-function machinery need only a conserved energy, not bound orbits. For scattering problems is single-valued (no cycles, no branch accumulation) and its derivatives give deflection functions and time delays: yields the scattering angle relation, the traversal time including the potential's delay. What specifically requires bound motion is the action variable — a closed loop needs a closed orbit (or a librating coordinate). So: always exists for conservative systems; and everything built on it (angles, frequencies, Bohr-Sommerfeld) belong to the bound chapter of the story.