Hamilton's principle/Mathematics/Action as a function of its endpoints
Every use of the action so far has treated it as a functional to be varied over paths, with the endpoints held fixed. Hamilton's own idea was the opposite: evaluate the action on the actual motion, so that it is no longer a functional at all but an ordinary function of where the motion starts and ends. Its derivatives then reproduce the whole of dynamics. He called it the characteristic function, and he called the result the law of varying action.
This page follows his construction. The 1834 essay is a verified source for this volume, so the equations below are quoted rather than reconstructed.
The characteristic function

Hamilton defines as the accumulated living force of the system, that is, twice the kinetic energy integrated over the motion:
Note what (1) is not. It is not . Hamilton's is the abbreviated action , and the distinction between it and is the subject of Hamilton's principle/Mathematics/Abbreviated action: Maupertuis versus Hamilton. Confusing the two is the most common error in reading Hamilton, and the volume flags it here as well as there.
is evaluated along the true motion. It therefore depends on the initial coordinates , the final coordinates , and the energy constant — in total arguments for a system of points, and not on any path.
The law of varying action
Hamilton's central result is the expression for how changes when the endpoints and the energy are varied:
Reading (2) coefficient by coefficient gives three groups of relations. First, the final momenta:
second, the initial momenta, with the opposite sign:
and third, the time:
In modern notation (3) and (4) read and : the gradient of the action with respect to the final position is the final momentum, and with respect to the initial position is minus the initial momentum.
Why this is the whole solution
Equations (3) are relations connecting the final coordinates, their velocities, the initial coordinates and . Eliminating between them and (5) gives the intermediate integrals. Equations (4) with (5) give the final integrals. Hamilton states the consequence plainly: the general problem of dynamics is reduced to the search and differentiation of a single function.
The value of that reduction is not computational. Hamilton is explicit that it may bring no practical facility, and rests the case elsewhere: on the intellectual pleasure of reducing all researches respecting the forces and motions of body to the study of one characteristic function.[4]
The equations must satisfy
Combining (3) with conservation of energy gives a partial differential equation for in the final coordinates, and combining (4) with the initial form gives a second one in the initial coordinates. These are equations (F.) and (G.), quoted on Hamilton's principle/Mathematics/The Hamilton-Jacobi equation. Hamilton describes them as of the first order and the second degree, and says they furnish the principal means of discovering the form of that function.
So the logical order is: the law of varying action comes first, and the Hamilton-Jacobi equation is derived from it. The modern presentation reverses this, deriving the equation from canonical transformation theory and mentioning the characteristic function afterwards. Both are correct; only Hamilton's shows where the idea came from.
What Hamilton says about least action
Hamilton is precise about the relation between his principle and the older one, and the passage is the source of this volume's terminology. He observes that Lagrange and others, from the vanishing of the variation of the action integral, deduced only the well known law of least action — and then corrects the name in passing, writing of this well known law of least, or as it might be better called, of stationary action.[5]
He goes further, and it is worth stating exactly what he claims. The older principle, applied to determine the motion, serves only to form the differential equations of the second order, which can always be otherwise found — and he notes that Lagrange, Laplace and Poisson had for that reason spoken lightly of its utility. His own law of varying action, by contrast, expresses by means of a single function not the mere differential equations of motion, but their intermediate and their final integrals.[6]
That is the distinction the volume's landing page must carry: varying the path with fixed endpoints gives the equations of motion; varying the endpoints of the actual motion gives their solution.
Relation to the modern
The modern on-shell action is evaluated along the true motion, and its differential is
Equation (6) is (2) with the energy variation traded for a time variation, via the Legendre transform of Hamilton's principle/Mathematics/The Legendre transform. Hamilton's holds as an argument and produces ; the modern holds and produces . They are Legendre transforms of one another in the pair , which is why the same information appears in both and why the sign patterns match.
Hamilton introduced this second function himself in the 1835 second essay, writing for the part of the characteristic function into which the time enters explicitly.
Singularities
fails to be a well-defined function wherever more than one motion connects the given endpoints with the given energy. That is again the conjugate point of Hamilton's principle/Mathematics/The Jacobi condition and conjugate points, and the derivatives (3) and (4) fail there. The great-circle example is the cleanest case: between antipodes, infinitely many motions of the same action exist, and the characteristic function has no gradient.
Next
Hamilton's principle/Mathematics/Noether's first theorem returns to the functional picture and derives conservation laws from symmetry.
References
- ↑ Hamilton, On a General Method in Dynamics (1834), equation (B.). Verbatim. Primes are time derivatives; runs over the points of the system. Hamilton calls this quantity the action of the system, from its initial to its final position. ESTABLISHED source.
- ↑ Hamilton, On a General Method in Dynamics (1834), equation (A.). Verbatim. Hamilton names this the equation of the characteristic function, or the law of varying action. ESTABLISHED source.
- ↑ Hamilton, On a General Method in Dynamics (1834), equations (C.), (D.) and (E.). Verbatim, with Hamilton's denoting partial differentiation. ESTABLISHED source.
- ↑ Hamilton, On a General Method in Dynamics (1834), Introductory Remarks. Verbatim phrases. ESTABLISHED source.
- ↑ Hamilton, On a General Method in Dynamics (1834), §3. Verbatim. ESTABLISHED source.
- ↑ Hamilton, On a General Method in Dynamics (1834), §3. Verbatim phrases. ESTABLISHED source.