Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-2/14e/b/solution

The canonical momentum is , and the Legendre transform gives
Its Hamilton's equations are
and, componentwise,
Combining the second equation with recovers the Lorentz force law.

New to topics? Read the docs here!