Hamilton's principle/Mathematics/The Hamilton-Jacobi equation
The Hamilton-Jacobi equation is a single first-order partial differential equation whose complete solution integrates the entire mechanical problem. It completes the sequence second-order equations, then first-order equations, then one partial differential equation — and it is the point at which mechanics acquires a wave description, which is why this page is the ancestor of the Schrödinger equation.
The idea

Hamilton's equations are easy in one case: if , then every coordinate and momentum is constant and the motion is trivial. So look for a change of variables, preserving the canonical form (7) of Hamilton's principle/Mathematics/The Hamiltonian and Hamilton's equations, that transforms the system into that case. All the difficulty moves into finding the transformation.
Such a change is a canonical transformation, and one way to generate one is by a function of the old coordinates and the new momenta. The generating relations are
with the new Hamiltonian. Demanding and substituting the first relation into the third gives the equation.
Statement

This is the Hamilton-Jacobi equation for the function . It is first order in all variables and generally nonlinear, since is typically quadratic in the momenta.
A complete integral is a solution containing non-additive constants . Given one, the motion follows by differentiation alone: setting the new momenta to the , the second relation of (1) gives
which are algebraic relations determining the as functions of and the constants . No integration is required at this stage. That is Jacobi's theorem, and it is the payoff: the entire integration of the mechanical problem is traded for one partial differential equation.
Separation of variables
The trade is worth making only when (2) can be solved, and the practical route is separation. If carries no explicit , put
and (2) reduces to the time-independent form
is Hamilton's characteristic function, and it is the abbreviated action treated on Hamilton's principle/Mathematics/Abbreviated action: Maupertuis versus Hamilton. Each cyclic coordinate separates further, contributing a term to . A system that separates completely is integrable, and the Kepler problem on Hamilton's principle/Applications/Central force and the Kepler problem is the classical instance.
Whether a given system separates depends on the coordinates chosen, and no general procedure finds them. Most systems separate in no coordinates at all.
The optical analogy
Equation (5) with reads
Compare the eikonal equation of geometrical optics, , with the optical path and the refractive index. The two are the same equation with
So surfaces of constant are wavefronts and trajectories are the rays orthogonal to them. Mechanics is geometrical optics for a medium of refractive index (7).
Hamilton saw this before he wrote the mechanics. He notes that the dynamical principle is only another form of the idea already applied to optics in his theory of systems of rays.[1] The optical papers came first and the mechanics is their transcription. This is developed on Hamilton's principle/Applications/The optical-mechanical analogy.
The consequence that matters. Geometrical optics is the short-wavelength limit of wave optics. If mechanics is geometrical optics, then classical mechanics should be the short-wavelength limit of some wave mechanics, and equation (2) should be the limit of a wave equation. Substituting into the Schrödinger equation and keeping the leading order in returns exactly (2). Schrödinger constructed the wave equation by running that argument backwards.
The gap between Hamilton in 1834 and Schrödinger in 1926 was ninety-two years, and the mathematics was in place the whole time. What was missing was any reason to believe the wavelength was not zero.
Conjugate points return
is not globally single-valued. Where extremals through a common starting point refocus, several trajectories reach the same , becomes multivalued, and the derivatives in (1) fail. Those are precisely the conjugate points of Hamilton's principle/Mathematics/The Jacobi condition and conjugate points, seen from the wave side: they are the caustics of the ray family, where the wavefront folds.
The same singularities appear in every setting the analogy touches: a focus in optics, a caustic in the ray picture, a conjugate point in the variational theory, and the location of the phase correction in the path integral on Hamilton's principle/Applications/The Feynman path integral. One phenomenon, four names.
Hamilton's pair
Hamilton derived two partial differential equations rather than one, a final and an initial equation, because his characteristic function depends on both endpoints. In his notation they are
and the same expression in the initial coordinates equal to .[2]
Equation (8) is (5) with for and for , allowing for his sign convention on the force-function. The pairing is the subject of the next page.
Next
Hamilton's principle/Mathematics/Action as a function of its endpoints takes Hamilton's own route: define the action on the actual motion, as a function of where it starts and ends, and read the mechanics off its derivatives.
References
- ↑ Hamilton, On a General Method in Dynamics (1834), Introductory Remarks. Verbatim in substance; ESTABLISHED source.
- ↑ Hamilton, On a General Method in Dynamics (1834), equations (F.) and (G.). Verbatim, with Hamilton's denoting partial differentiation and the force-function. He describes them as two partial differential equations, initial and final, of the first order and the second degree, which the characteristic function must identically satisfy. ESTABLISHED source.