Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/iii/paper-311/1/ii/solution

In the paper's convention, . The Legendre transform in mechanics therefore gives
Indeed , and inversion of the canonical momentum of the spatial metric gives
To integrate the shift term without ambiguity about tensor densities, put . Metric compatibility of the spatial covariant derivative gives, up to a boundary term,
Thus the Hamiltonian formulation of general relativity has
Variation of the lapse function imposes the Hamiltonian constraint , while variation of the shift vector imposes the momentum constraint .

New to topics? Read the docs here!