Hamilton-Jacobi equation
From Physics wiki
Derivation from variational principle
Instead of varying the action over trajectories with fixed endpoints, consider evaluating the action over a classical path connecting two given endpoints:
,
where
and
are the initial and final configurations of the system. Varying around the classical path, we find
,
,
,
by the Euler-Lagrange equations. Therefore,
.
On the other hand, if we vary
,
then
,
but also
,
,
so that
.
Since our choice of
was arbitrary, we may set it equal to the present time
, to obtain the Hamilton-Jacobi equations
.
The generalization to
degrees of freedom is trivial, and we get
.

