Solution

ID: past-exam-of-the-theoretical-physics-i-course-of-the-university-of-cambridge/2014/paper-1/3/b/solution

The assumed relation makes the old and new actions differ by the endpoint term . Fixed endpoint values of both coordinate sets make its variation zero. Therefore stationarity of the old action is equivalent to stationarity of
Varying independent and integrating by parts gives
Both coefficients vanish: the new variables satisfy Hamilton's equations, so a locally invertible transformation with this action identity is canonical.

New to topics? Read the docs here!