Time-Independent Hamilton-Jacobi Equation
The full Hamilton-Jacobi equation is a magnificent machine with one awkward feature: it asks for a function of variables — all the coordinates and the time — and first-order nonlinear PDEs do not forgive extra variables. Yet the systems mechanics cares about most, from planets to pendulums to molecules, share a mercy: their Hamiltonians do not depend explicitly on time. Energy is conserved. And whenever a variable's absence from the Hamiltonian buys a conservation law, Hamilton-Jacobi theory converts that conservation law into a separation: the time dependence of the principal function peels off as the trivial drift , and what remains is an equation over configuration space alone. That remainder — , the time-independent Hamilton-Jacobi equation — is the working form of the theory. Nearly every problem ever actually solved by Hamilton-Jacobi methods begins here, not with the full equation: the Kepler orbit, the symmetric top, the hydrogen atom of the old quantum theory, the geodesics threading a rotating black hole. It is a single scalar PDE in which the conserved energy enters as a parameter labeling a family of solutions — a structure that quietly prefigures the eigenvalue problems of quantum mechanics, where the same letter plays the same role for deeper reasons. This article owns the equation itself: how the time separates (the argument is a template for every separation to come), what a complete integral looks like and where the energy sits among its constants, and the one-dimensional reduction to quadrature that turns any conservative 1D problem — solvable in elementary functions or not — into a definite integral you can always evaluate.
- When , the Hamilton-Jacobi equation separates additively in time: , with the separation constant equal to the conserved value of .
- The remainder is the time-independent Hamilton-Jacobi equation — a first-order PDE over configuration space alone, in which appears as a parameter labeling the solution family.
- A complete integral carries constants with the energy among them — either literally as , or as a function ; both conventions are canonical and the second yields uniform drifts , the germ of frequencies.
- In one dimension the equation is solved outright: , and the timetable reduces any conservative 1D motion to a definite integral.
- The function that solves the equation — its geometry, its role as a generator with — is Hamilton's Characteristic Function; systematic multi-coordinate separation is its own art (Separation of Variables in Hamilton-Jacobi Theory).
- Key idea: conservation of energy lets you peel off the time dependence of the principal function as , converting the time-dependent Hamilton-Jacobi PDE into the time-independent equation for the characteristic function , whose -derivatives give the trajectory by quadrature.
Where this lives today
The time-independent Hamilton-Jacobi equation is the classical half of the WKB approximation: writing in the time-independent Schrödinger equation returns equation (1) at leading order in , which is why semiclassical spectroscopy — computing molecular vibrational levels from classical trajectories and their quadratures — still runs on the machinery of this page. (The full two-way dictionary is a later chapter: Connection to the Schrödinger Equation.) The most spectacular modern employer, though, is general relativity. Geodesics around a rotating black hole are governed by a time-independent HJ equation in the Kerr metric, and Carter's 1968 discovery that it separates — yielding a hidden fourth constant of motion beyond energy, axial angular momentum and rest mass — is the reason black-hole orbits are integrable rather than chaotic. Every ray-traced image of an accretion flow, including the Event Horizon Telescope reconstructions of M87 and Sgr A, and every extreme-mass-ratio inspiral waveform template being prepared in 2026 for the LISA gravitational-wave mission, is built on quadratures of the separated Kerr equation — Jacobi's method, running at the edge of an event horizon.
The physical picture
Picture the principal function as a surface over the plane. For a generic, driven system that surface is genuinely two-dimensional terrain: ridges and valleys that change shape as time runs, with no pattern repeating. Now switch off the explicit time dependence of . The terrain acquires a rigid symmetry: every slice at fixed is the same profile , merely lowered by an amount proportional to how late the slice is taken. The whole surface is one static profile sliding downhill at constant rate . Nothing about the landscape's shape involves time — time only sets how far the sheet has sunk.
That picture is the separation ansatz , and it explains why the time-independent equation deserves its own life. All questions about the motion's geometry — where the system may go, how fast it passes each point, where it must turn back — are questions about the static profile, answerable without ever mentioning time. The profile's slope at each point is the momentum there, , and demanding that kinetic plus potential energy reproduce the same everywhere gives the equation the slope must satisfy. Time re-enters only at the end, through the gentlest possible door: the rate at which the frozen sheet sinks. The second thing to internalize early is where the energy lives in the resulting equation. In Hamilton's equations, is something you compute after solving. In the time-independent Hamilton-Jacobi equation, is promoted to an input: a dial on the equation itself, with each setting selecting a different family of solutions . Some dial settings correspond to bound motion trapped between turning points, others to unbounded escape, and the character of the solution changes qualitatively as the dial crosses special values. A single equation whose solutions are labeled by an energy parameter, with qualitative changes at special energies — any student of quantum mechanics will feel the shape of things to come. Classically every in the allowed range is admissible; what the quantum theory adds is a single-valuedness condition that selects a discrete subset. The full story of that upgrade belongs to a later chapter (Connection to the Schrödinger Equation); here we only note that the classical equation already has the eigenvalue problem's silhouette.
Separating the time
The argument that peels time off is short, and it is worth doing in the general separation-of-variables style, because the same three-move template — assume additive form, substitute, watch the variables disentangle — reappears every time a cyclic coordinate is separated in the chapters ahead.
We are deriving the time-independent Hamilton-Jacobi equation , together with the split , from the full equation under the single hypothesis . The strategy is additive separation: posit that splits into a spatial piece plus a purely temporal piece, substitute, and argue that a function of coordinates alone can equal a function of time alone only if both are the same constant. Watch the logic of that last step — it is the engine of every separation argument in this chapter, and it fails instantly if retains any explicit .
Step 1. Posit the additive ansatz
Why additive rather than multiplicative: only derivatives of enter the Hamilton-Jacobi equation, and a sum cleanly routes to the spatial slots and to the temporal one, with no cross-contamination.
Step 2. Substitute into the full equation. Because carries no explicit , every appearance of time is now confined to the -term:
Step 3. Read the equation as a standoff. The left side is a function of the coordinates only; the right side is a function of time only; and the equation asserts they are equal for all and all independently. Vary holding fixed: the left side cannot change, so the right side is constant. Call it :
Why this is the crux: separation constants are born exactly here, as the referee of a standoff between groups of variables that cannot talk to each other. If depended explicitly on , the left side would change with time at fixed , no standoff would occur, and no constant would exist — the hypothesis is not decorative.
Step 4. Integrate the temporal piece: (the integration constant is additive and can be absorbed into ). Assembling,
Why is the physical energy: along the motion, ; but the full equation says . Hence equals the conserved value of the Hamiltonian — the mechanical energy whenever the coordinates are time-independent (scleronomic). *Note: the identification is consistent with the endpoint-variation relations of the action, and setting recovers energy conservation in the form .*
The output of the separation is worth displaying on its own, since it is the equation the rest of the chapter orbits:
where: — Hamilton's characteristic function, the time-free generator whose geometry (wavefronts, abbreviated action) and dynamics (the canonical transformation) are developed in Hamilton's Characteristic Function; — the conserved energy, entering as a parameter. Structurally, (1) says: replace every momentum in the conservation-of-energy statement by the gradient of one unknown scalar. For a particle in a potential it is — pointwise, purely local, and first-order: no second derivatives, no time, no initial conditions. That locality is what makes the equation solvable coordinate by coordinate when the geometry cooperates.
The complete integral, and where the energy sits
What counts as "solving" equation (1)? As with the full equation, not a general solution but a complete integral: a family with independent constants, . But there is a wrinkle special to the time-independent equation: the energy is already sitting in the equation as a parameter, so one of the constants is supplied before you start. Two bookkeeping conventions coexist in the literature, and confusing them costs real errors:
where: in convention (a) the energy is itself the first new momentum, and the remaining arise as further separation constants; in convention (b) the constants are whatever the solution naturally produces (momentum components, separation constants), and the energy is expressed as a function of them. Both are legitimate canonical choices related by a relabeling of the constants. The dynamics distinguishes them only in how the conjugate coordinates drift: with the transformed Hamiltonian , Hamilton's equations give
where: in convention (a) this is , — one clock, everything else frozen — while in convention (b) each drifts uniformly at its own rate . Those constant drift rates are not a nuisance; they are the first appearance of the frequencies that action-angle theory will extract wholesale (Frequencies from Action-Angle Variables). The following derivation makes convention (b) concrete in the simplest possible setting.
Go deeper · Derivation B · 1 minA complete integral where the energy is a function of the constants
The goal is a worked structural example of convention (b): the free particle in two dimensions, whose complete integral carries two momentum constants with the energy a function of them, and whose conjugate coordinates drift at rates that are visibly the velocity components. The strategy is to solve equation (1) by the most naive ansatz available — linear in the coordinates — and then run the canonical machinery honestly, using the principal function when differentiating with respect to constants. The step to watch is exactly that: once depends on the , the term contributes to , and forgetting it produces frozen coordinates that should be drifting.
Step 1. The time-independent equation for reads
Try with constants . Substituting: . Why this is already complete: two coordinates, two independent constants, and . The energy did not need to be one of the constants — it emerged as a function of them.
Step 2. Identify the physical meaning of the constants: and — the conserved momentum components. The solution family is a plane wavefront family, one plane per direction and magnitude of momentum.
Step 3. Form the principal function and differentiate with respect to the constants:
Why and not here: the frozen coordinates are conjugates in the scheme of the principal function; since depends on both constants, the term feeds each derivative. Using bare would lose the drift terms.
Step 4. Invert: , — uniform straight-line motion, with the drift rates equal to the velocity components, exactly as equation (3) promised. Note: the same computation in convention (a) — constants with — gives and a frozen fixing the line's direction, the same trajectories in different bookkeeping.
One dimension: the equation solved outright
For a single degree of freedom the time-independent Hamilton-Jacobi equation is not merely simplified — it is finished. With , equation (1) is an algebraic condition on the derivative of :
where: the sign is the direction of the momentum, flipping at turning points where ; between turning points the momentum's magnitude at every is fixed by energy conservation alone, before any trajectory is known. One integration delivers the characteristic function, and one differentiation delivers the timetable:
where: the second integral is recognizable as — elapsed time as distance over local speed — but derived here as a transformation equation, the statement that the coordinate conjugate to advances as . Equation (5) is the complete solution of every conservative one-dimensional problem in mechanics: pendulum, quartic well, screened Coulomb, whatever — solvable in elementary functions or not, the motion is this definite integral, ready for exact evaluation when luck allows and numerical quadrature when it does not.
Go deeper · Derivation C · 1 minOne-dimensional motion reduced to a single quadrature
We are deriving the quadrature formulas (5) as canonical-transformation statements — not as a rearrangement of — because the derivation route is what generalizes to degrees of freedom, where no naive rearrangement exists. The strategy: solve equation (4) for , integrate to get with the energy as the single constant (convention (a)), then invoke the transformation equations, in which the coordinate conjugate to the energy advances at unit rate. Watch the branch choice at the square root: it must be made consistently along each leg of the motion, and the two branches join smoothly at turning points, where the integrand of the timetable diverges — integrably, as the last step checks.
Step 1. From equation (4), choose the branch matching the motion's current direction (say , moving right) and integrate:
Why one constant suffices: , so a complete integral needs exactly one nonadditive constant, and the energy parameter already in the equation does the job — nothing else needs inventing.
Step 2. Apply the transformation equations of the -generated map (Hamilton's Characteristic Function, or directly: , so the conjugate coordinate runs at ):
Step 3. Differentiate under the integral sign:
Why differentiation beats integration: itself is often a hard integral, but its -derivative — the physically wanted timetable — has a simpler integrand. In practice one differentiates first and integrates after, evaluating only the easier integral.
Step 4. Check the turning-point behavior. Near a simple turning point (where , ), the integrand diverges as — an integrable singularity, so the arrival time at the turning point is finite, while the momentum branch flips sign there for the return leg. Why this matters: it certifies that bound motion assembled from the two branches is smooth and periodic, with period — the formula the worked examples will exercise. *As a check: for the integral gives , i.e. simple harmonic motion with period , amplitude-independent as required.*
Which equation answers which question
| you want | use | notes |
|---|---|---|
| the time-free PDE itself | eq. (1) | replace each by in |
| where the energy sits among the constants | eq. (2) | convention (a): ; convention (b): |
| drift rates of the conjugate coordinates | eq. (3) | — the germ of frequencies |
| momentum magnitude at each point (1D) | eq. (4) | fixed by and alone, before any solving |
| the full 1D solution | eq. (5) | by one integral; timetable by its -derivative |
| period of bound 1D motion | turning points solve |
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| no separation | the standoff argument fails; retreat to the full equation (Generating Function to a Trivial Hamiltonian) | |
| one degree of freedom | eq. (5) closes the problem | every conservative 1D system reduced to a definite integral — no exceptions |
| free particle | , | linear landscape; complete integral in convention (b); straight lines recovered |
| in a well | turning points merge | motion shrinks to the stable equilibrium; period tends to the harmonic value with |
| at a potential maximum | timetable integral diverges | approach to unstable equilibrium takes infinite time — the separatrix, where period |
| , no further structure | eq. (1) holds but may admit no complete integral | conserved energy alone does not make a system integrable — see the warning below |
Worked examples
1 · A dropped stone, by canonical transformation (confidence builder)
A stone of mass is dropped from rest at height in gravity , with . Solve the time-independent Hamilton-Jacobi equation and find the fall time to the ground and the impact momentum — then check against elementary kinematics.
Step 1. Set the dial. Dropped from rest at : the energy parameter is , and is the turning point of the motion ( there, momentum zero).
Step 2. The equation and its gradient: , so , taking the descending branch ().
Step 3. Timetable from the -derivative, eq. (5), integrating from the start down to height :
using so that .
Step 4. Numbers at the ground : ; impact momentum (downward, speed ).
Step 5. Check: elementary kinematics gives ✓ and ✓. The machinery is overkill here by design — the point is watching the dial (), the branch choice, and the -derivative timetable work on a case where the answer is known cold.
2 · The quartic oscillator — a period no elementary method delivers (exam level)
A particle of mass moves in the quartic well with . Unlike the harmonic oscillator, this system has no closed-form in elementary functions. Use the quadrature (5) to find (a) the oscillation period at energy , (b) the scaling of period with energy, and (c) the period at . The dimensionless integral may be used.
Step 1. Turning points: gives . At : ; the amplitude is .
Step 2. Period as four quarter-swings of the timetable integral:
Step 3. Rescale to the dimensionless variable (so ):
Step 4. (b) Read off the scaling: — the quartic oscillator speeds up with amplitude, in sharp contrast to the harmonic oscillator's amplitude-independent period. Why: the walls steepen faster than linearly, so larger swings meet disproportionately stronger restoring force.
Step 5. (a) Numbers at : .
Step 6. (c) At : the scaling gives — quadrupling the amplitude's fourth power halves the period. Direct evaluation: ✓. No equation of motion was solved at any point; the entire dynamics came out of the static equation (1) and one -derivative.
Origins · 1 minCarl Gustav Jacob Jacobi and how this was discovered
Jacobi read Hamilton's 1834-35 dynamics papers with a mixture of admiration and impatience. Hamilton's own scheme required his function to satisfy two partial differential equations simultaneously — and, as Jacobi pointedly observed, appeared to require knowing the motion before constructing the function that was supposed to deliver it. Jacobi's 1837 repair became the theory taught ever since: a single first-order PDE, any complete integral of which — however obtained, by separation, ansatz or luck — generates the full solution of the dynamics. The shift of emphasis from "the" characteristic function to "any complete integral" turned a beautiful representation theorem into a working method. His Königsberg lectures of 1842-43 (published posthumously as the Vorlesungen über Dynamik) drove the method through the solar system's classic problems, and his separation of the geodesic equation on a triaxial ellipsoid — using the confocal coordinates that now bear his name — remains the standard demonstration that the right coordinates can crack a problem no force of ODE manipulation will open. Analyst first and mechanician second, Jacobi saw the theory as a chapter of PDE theory and elliptic function theory at once; mechanics has been the richer for both allegiances.
Going further
References. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §10.3 · Landau & Lifshitz, Mechanics, 3rd ed., §47-48 · Taylor, Classical Mechanics, Ch. 13 · Morin, Introduction to Classical Mechanics, Ch. 15 (Appendix) · Arnold, Mathematical Methods of Classical Mechanics, §46-47 Key results to keep in mind: yields ; the 1D quadrature gives ; the harmonic-oscillator action evaluates to with frequency . Worked-example numbers on this page (fall time , impact momentum ; quartic period at via , scaling ) follow directly from the displayed formulas.
Builds on: Hamilton-Jacobi Equation · Hamilton's Principal Function · Generating Function to a Trivial Hamiltonian Leads to: Hamilton's Characteristic Function · Separation of Variables in Hamilton-Jacobi Theory · Action-Angle Variables · Liouville Integrable Systems
In the separation argument, why is ∂S/∂t forced to be constant? Couldn't it vary along the motion?
The forcing happens off the motion, which is the subtlety. The Hamilton-Jacobi equation is an identity over the whole domain, not a statement along one trajectory. After substituting the ansatz, the equation says a function of alone equals a function of alone for every pair independently: pick any fixed and vary — the left side cannot respond, so the right side must be flat. That is a much stronger statement than anything a single trajectory could enforce, and it is available only because we are solving for a field rather than an orbit. If carried explicit time, the left side would vary with at fixed , the standoff would collapse, and no separation constant would exist.
Is E always the mechanical energy T plus V?
Only for scleronomic systems — those whose coordinate definitions do not involve time. The separation needs , and the constant it produces is the conserved value of . When the transformation to generalized coordinates is time-independent, and is the mechanical energy. But with moving constraints — a bead on a uniformly rotating wire, a pendulum with a driven pivot rewritten in the co-moving frame — can be time-independent while differing from by centrifugal-type terms; the conserved is then the Jacobi integral. The separation works identically; only the name of changes. The practical rule: compute honestly from the Legendre transformation and never assume it equals without checking the constraints.
For one degree of freedom the complete integral has just one constant. Where did the second constant of motion go?
It is there — it is , hiding in the transformation equations rather than in . A 1D problem needs two constants: the energy fixes which orbit (the shape), and (equivalently ) fixes where on it the system sits at (the phase). The complete integral only ever carries the momentum-like half of the constants; the coordinate-like half is generated by differentiation. Counting both halves, 1D delivers constants, exactly right. The same split persists for all : the 's label the invariant set, the 's locate the system on it.
The equation looks like an eigenvalue problem with E as the eigenvalue. Is that analogy real or cosmetic?
Structurally real, with one honest difference. Real: enters as a spectral-style parameter; solutions change character at special values (bound vs unbounded, separatrix energies); and under the equation is literally the limit of the time-independent Schrödinger equation, with the same in the same slot. The difference: classically every in the allowed range is admissible — the spectrum is continuous — because nothing constrains globally. Quantization enters only when a global single-valuedness condition is imposed on , which selects discrete via . So the classical equation supplies the entire structure of the eigenvalue problem; the quantum theory adds one boundary condition. The full dictionary is the later-chapter article Connection to the Schrödinger Equation.
How do I choose between the plus and minus branches of the momentum square root?
By the direction of motion on the current leg, and consistently along that whole leg. Moving in the direction of increasing means : take the plus branch; on the return leg take minus. The two branches are two sheets of a multivalued that join at the turning points, where and the square root vanishes. For a single transit (scattering, falling) one branch suffices — as in worked example 1, which used the descending branch throughout. For bound motion you alternate sheets each half-period; quantities built from full cycles, like the period integral or , automatically count both branches (hence the factor 2 in , or 4 with quarter-swing symmetry). Choosing one global sign for a bound orbit is the classic error — it describes a particle that never comes back.
If energy is conserved, why can a conservative system still be chaotic? Doesn't this equation solve it?
The equation exists for every conservative system; a complete integral of it does not. Solving the PDE in the useful sense means finding with independent constants, and each constant beyond must come from somewhere — an additional independent conserved quantity in involution with the others. Generic conservative systems with have no such extra conservation laws: for the double pendulum or the three-body problem, energy is the only global constant, the PDE in the remaining coordinates does not separate in any coordinate system, and no smooth family covers phase space. Trajectories then wander over the -dimensional energy surface instead of lying on nice -dimensional sheets — that wandering is chaos. The time-independent HJ equation is thus also a diagnostic: integrability is precisely the situation in which it admits a complete integral.
Why differentiate W with respect to E instead of just using energy conservation to get the speed?
For one degree of freedom the two routes coincide — reproduces exactly, and if 1D were the whole world the canonical detour would be pedantry. The derivative route is taught because it is the one that generalizes. In degrees of freedom there is no "the speed along the path" to invert: the orbit geometry and the schedule tangle across coordinates. The transformation equations untangle them mechanically — for the non-energy constants yields time-free orbit equations (the path's shape), while yields the schedule — with no ingenuity required at the point of use. The 1D case is the training version of a tool whose value appears at and never stops growing.
Can the time-separation trick be repeated for other variables?
Yes — that is exactly the program of the rest of the chapter. The argument needed only this: a variable absent from (here ), an additive ansatz splitting it off, and a standoff forcing a constant. A cyclic coordinate (absent from ) separates identically: , with the conserved momentum as the new constant — for the azimuthal angle in a central field this is conservation of appearing as a separation constant. Non-cyclic coordinates can also separate when the Hamiltonian's structure (not a symmetry visible as absence) permits an additive split with its own standoff argument — the systematic theory of when and how, coordinate system by coordinate system, is Separation of Variables in Hamilton-Jacobi Theory, with the sharp algebraic criterion given by the Staeckel Conditions for Separability.