Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/iii/paper-216/4/c/solution

Invariant distribution of an Itô diffusion, specialized to Underdamped Langevin dynamics, has density
Thus has density proportional to , and conditionally and marginally . The Hamiltonian transport between and preserves this density, while the Ornstein-Uhlenbeck process in momentum has exactly that Gaussian invariant law.
The Euler-Maruyama method with step size and independent is

New to topics? Read the docs here!