Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-4/15b/a/solution

For a regular Lagrangian, define the canonical momentum and invert this relation for . Its Legendre transform is the Hamiltonian
Since , the action is
For independent variations with ,
Stationarity for arbitrary and gives Hamilton's equations and .

New to topics? Read the docs here!