Solution

ID: past-exam-of-the-theoretical-physics-i-course-of-the-university-of-cambridge/2013/paper-1/2/a/solution

Use the magnetic-coupling convention of the supplied Hamiltonian; electromagnetic unit factors are absorbed into the stated and . Let and , so
The kinetic energy separates into . The symmetric gauge coupling becomes
The scalar triple product identity gives
Discarding times that total derivative, which changes endpoint terms and canonical momenta but not the trajectories, leaves

New to topics? Read the docs here!