Hamiltonian mechanics
Alternatively, as described below, the Hamilton–Jacobi equation may be derived from Hamiltonian mechanics by treating formula_64 as the generating function for a canonical transformation of the classical Hamiltonian