Metric Variation Identities
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal additional columns.
Scrollable figure. Use Left and Right arrow keys to inspect hidden content.
Varying a curvature action requires a small set of identities used with one metric variable consistently. The determinant supplies the trace term, the Levi-Civita connection supplies derivatives of the variation, and the Palatini identity separates the Ricci variation into a divergence. Retaining that divergence is essential: it is the source of the gravitational boundary term and presymplectic potential.
Required background. We use covariant variational calculus, the curvature tensor, and hypersurface geometry.
Helpful background. The flat limit comes from special relativity; tensor operations and classical field variations supply the algebraic method.
Direct and inverse metric variations
Section titled “Direct and inverse metric variations”Vary the identity :
Thus and are not related merely by raising indices; there is a minus sign. Choose one as the independent variable and translate every term together.
Jacobi’s determinant formula gives . Since for a Lorentzian metric of signature ,
The two versions are a valuable sign check. Reall derives them before varying the curvature scalar Reall 2013, § 10.2, pp. 116–117, Eqs. (10.8)–(10.13), PDF.
Variation of the Levi-Civita connection
Section titled “Variation of the Levi-Civita connection”Although the connection is not a tensor, the difference between two connections is. Therefore is a tensor under a fixed coordinate identification. Vary metric compatibility or the Christoffel formula to obtain
If is independent, substitute only after taking account of metric compatibility. The result contains one covariant derivative of the metric variation.
This formula can be derived at any chosen event in normal coordinates, where and reduces to at the event. Because both sides are tensors, equality in that frame establishes equality in every frame. Normal coordinates simplify the proof; they do not set to zero.
The connection variation in this convention is given in Reall 2013, § 10.2, p. 117, Eqs. (10.14)–(10.16), PDF.
The Palatini identity
Section titled “The Palatini identity”With
variation and regrouping into covariant derivatives gives
This is the Palatini identity for the site’s curvature convention. It is a divergence before contraction, but it is not zero. The scalar curvature varies as
Define
Metric compatibility turns the last term into . In terms of the inverse metric variation,
The curvature identity, its contraction, and the resulting divergence are developed without discarding the boundary term in Reall 2013, § 10.2, pp. 117–118, Eqs. (10.17)–(10.23), PDF.
Assembling the curvature density
Section titled “Assembling the curvature density”Combine the determinant and scalar-curvature identities:
After integration, Stokes’ theorem converts the divergence into a boundary integral. For compactly supported variations it vanishes. On a finite region it contains normal derivatives of and cannot be removed by merely fixing the induced metric.
The cosmological density provides a separate check:
It contributes to the equation when the action contains .
The integration step assumes that the underlying manifold and the coordinate location of its boundary are held fixed during variation. If the boundary itself moves, its displacement changes both the integration domain and the induced geometric data, producing additional terms. Distributional metrics likewise require more care than the smooth identities given here. Within the stated smooth fixed-domain problem, however, the divergence theorem is exact and the boundary term is part of the result rather than a negligible correction.
It is also useful to distinguish a tensor from a tensor density. The combination appearing after integration by parts has density weight one; an affine covariant derivative acting on it includes the corresponding trace of the connection. In the metric calculation this subtlety is hidden by Levi-Civita compatibility, but it becomes explicit in an independent-connection variation.
Common sign failures
Section titled “Common sign failures”Three errors tend to travel together: forgetting the minus sign between and , using a Palatini identity from the opposite Riemann convention, and discarding before specifying boundary support. A robust check is to redo the determinant and cosmological variations with as the independent field; translating at the end must reproduce the same equation.
A nonconstant conformal variation tests the derivative terms as well. In dimensions set . The identities give
and hence
The constant- limit checks curvature’s inverse-length-squared scaling. Allowing to vary is essential: a constant rescaling would never detect a missing surface divergence. In the curvature-density variation is , which also follows by inserting into the Einstein-tensor formula.
Exercises
Section titled “Exercises”Starting from , derive the inverse-metric variation and use it to show that the two formulas for agree.
Solution
Variation gives . Multiplying by yields . Hence
and substitution into gives the inverse-metric form with a minus sign.
References
Section titled “References”- Reall, Harvey S. General Relativity. Cambridge Part III lecture notes (2013). PDF.