Hamiltonian formulation of general relativity Created 2026-10-05 Updated 2026-10-06
Using the lapse function , shift vector and spatial metric , the Legendre transform in mechanics of the Einstein-Hilbert action gives, in units ,Here and is the canonical momentum of the spatial metric. Varying lapse and shift imposes the Hamiltonian constraint and momentum constraint. An asymptotic time translation requires an Arnowitt-Deser-Misner energy boundary term. The bulk constraints generate gauge evolution; the nonzero asymptotic energy comes from the boundary.
Initial data in general relativity 2026-10-06
Gravitational initial data on a spatial manifold consist of a Riemannian metric and an extrinsic curvature satisfying the Hamiltonian constraint and momentum constraint. Matter theories require their own data and constraints as well. The data determine a maximal Cauchy development.
For a spatially flat Friedmann-Lemaitre-Robertson-Walker metric, negative extrinsic curvature, and , the Hamiltonian constraint gives the displayed scalar perturbation equation. Indeed and to first order. The spatial Ricci scalar is ; subtract the background equation and divide by four.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 50 3 c Solution Created 2026-10-03 Updated 2026-10-06
With vanishing extrinsic curvature, the momentum constraint is identically satisfied and the vacuum Hamiltonian constraint reduces to . To evaluate that Ricci scalar, write , raise these intermediate indices with , and use . The Levi-Civita connection isSubstitution into the stated curvature convention givesTracing with cancels the gradient-square terms:Here the Laplacian and norm on the right are those of the flat Euclidean metric. Thus the time-symmetric conformally flat vacuum initial data constraints becomeThe equivalence uses . This identity is also the three-dimensional specialization of scalar curvature under conformal rescaling; locally the conformal exponent is , so either fixed nonzero sign of gives the same metric.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 55 1 ii Solution 2026-10-06
Write , and . Since the background scalar has no spatial gradient,Also . These are the linearized scalar-field matter projections; gradient energy first contributes quadratically.
There is a source convention defect in the shear formula. For the stated positive shift and spatial metric with , direct substitution into the extrinsic curvature gives the positive-shift scalar shear conventionThere is no extra Laplacian in the definition of . Equivalently use : then the trace-free term has the printed minus sign and . This latter convention retains the printed momentum-constraint form. The source mixes these two choices.
At first order and . Combining their difference with givesFor the momentum constraint, differentiating the tensor above givesFor nonzero Fourier wavenumber, and absorbing the homogeneous integration mode into the background, the consistent momentum constraint is
Linearizing the scalar equation, the shift-advection term and lapse-gradient times scalar-gradient term vanish at this order because the background is spatially homogeneous. The remaining equation isInsert , differentiate its lapse term, and use . The two background-acceleration terms combine into . Hence the perturbed Klein-Gordon equation with background lapse isThis scalar evolution equation and the Hamiltonian constraint agree with the displayed targets after the shear conventions are repaired.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 55 1 i Solution Created 2026-10-03 Updated 2026-10-06
Use signature , the positive spatial metric , and a future-directed unit normal , so . This fixes the sign of the normal to agree with the specified . The negative normal covector printed in the source would instead give ; its orientation and the displayed derivative cannot both be retained. Use the operational negative-expansion convention for the extrinsic curvature of a spatial hypersurface, , which is the convention giving the requested expanding-universe sign. With this future normal and signature it equals ; the source's identity instead uses its past-pointing normal.
For the scalar-field matter projections, put and . Decomposing the scalar gradient into normal and tangent parts gives . Contracting the Klein-Gordon scalar stress-energy tensor with the normal and the spatial projection tensor therefore yieldsIn particular, the positive spatial metric raises the indices in ; raising them with the four-metric would reverse that spatial sign. These quantities are the energy density, momentum density and spatial stress in the normal frame.
For the homogeneous Spatially flat FLRW metric, , and . Consequently , , , , andThe intrinsic Ricci scalar is zero and . The Hamiltonian constraint thus gives the scalar-field Friedmann equation:The momentum constraint is identically satisfied, since its homogeneous spatial derivatives and vanish. The scalar equation reduces to . Substituting and multiplying by gives the background inflaton equation of motion:No derivation of the supplied gravitational constraints is needed.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 311 3 a iii Solution Created 2026-10-03 Updated 2026-10-06
For a closed universe, the spatial Cauchy hypersurface is compact without boundary. There is consequently no asymptotic surface term in the gravitational Hamiltonian. On solutions, the Hamiltonian constraint and momentum constraint giveThis is the vanishing canonical Hamiltonian of a closed universe: evolution generated by lapse and shift is a gauge transformation, and there is no asymptotic time-translation charge. It does not mean the local stress-energy tensor or Riemann curvature tensor is zero. In an asymptotically flat universe the same bulk constraint equations in field theory hold, but a boundary Arnowitt-Deser-Misner energy can be nonzero.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 311 3 a ii Solution Created 2026-10-03 Updated 2026-10-06
Perform the Legendre transform in mechanics, using . The trace contraction givesTo avoid differentiating a tensor density as though it were an ordinary tensor, set . Integration by parts with the Levi-Civita connection of givesafter dropping the surface term. AlsoTherefore the requested Hamiltonian isVarying the lapse function and shift vector imposes the Hamiltonian constraint and momentum constraint . The total canonical generator also contains multipliers for the vanishing lapse and shift canonical momenta. With an asymptotic boundary, surface terms must be restored to define the Arnowitt-Deser-Misner energy.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 312 1 b ii Solution Created 2026-10-03 Updated 2026-10-06
The result above gives . Since the shear is trace-free and already first order, it cannot contribute linearly to the quadratic tensor contraction . Thereforeup to second-order scalar cosmological perturbations. Combining these with the supplied spatial Ricci scalar gives the Hamiltonian constraintIts background part is the flat Friedmann equation . Subtracting that equation proves the linearized cosmological Hamiltonian constraint:Here is the energy density measured by the hypersurface normal, as required by the normal-normal projection of the Einstein field equations.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 311 1 ii Solution Created 2026-10-03 Updated 2026-10-05
In the paper's convention, . The Legendre transform in mechanics therefore givesIndeed , and inversion of the canonical momentum of the spatial metric givesTo 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 hasVariation of the lapse function imposes the Hamiltonian constraint , while variation of the shift vector imposes the momentum constraint .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 311 1 iv Solution Created 2026-10-03 Updated 2026-10-05
A closed spatial Cauchy hypersurface is compact and has no boundary. Thus there is no asymptotic surface charge, and the complete gravitational Hamiltonian is the integral of the Hamiltonian constraint and momentum constraint derived above. Both constraints vanish on solutions, givingThis is the vanishing canonical Hamiltonian of a closed universe: canonical evolution is generated by constraints and there is no asymptotic time translation whose boundary charge could define an Arnowitt-Deser-Misner energy. It does not require local matter energy densities or local curvature to vanish. With matter included, the corresponding total constraints still vanish.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 311 2 iv Solution Created 2026-10-03 Updated 2026-10-05
Contract the Einstein field equations twice with . Since and ,If is proportional to in three dimensions, tracing gives and . The Scalar Gauss equation gives the Hamiltonian constraintTherefore
For a spatial initial slice with vanishing extrinsic curvature, the vacuum momentum constraint is automatic and the Hamiltonian constraint requires zero Ricci scalar. In three spatial dimensions, the indicated conformally flat metric has , with a nonzero conformal factor. Thus a harmonic function supplies the data on its domain. A positive example is on a punctured or exterior region. There is no nonconstant globally smooth example on all of Euclidean three-space tending to one at infinity, by the maximum principle for harmonic functions. Time symmetry of an initial slice does not imply that its entire evolved spacetime is static.