Skip to content

The Einstein-Hilbert Action

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.

The Einstein–Hilbert action is the lowest-derivative local scalar action built from a Lorentzian metric that produces nontrivial gravitational dynamics in four dimensions. Its Ricci scalar contains second derivatives of the metric, yet those derivatives combine into a boundary divergence; the bulk Euler–Lagrange equation is second order. This economy is powerful, but a finite region requires explicit boundary data and a boundary completion.

Required background. We use presymplectic potentials and variational boundary terms, the Riemann and Ricci tensors, and hypersurface normals and projectors.

Helpful background. Familiarity with special-relativistic field theory, tensor fields, and classical field actions helps separate bulk equations from boundary conditions.

The gravitational action and its normalization

Section titled “The gravitational action and its normalization”

For a four-dimensional region M\mathcal M,

Sgrav[g]=116πG∫Md4x −g (R−2Λ).S_{\mathrm{grav}}[g] =\frac{1}{16\pi G} \int_{\mathcal M}d^4x\,\sqrt{-g}\,(R-2\Lambda).

The measure d4x−gd^4x\sqrt{-g} and scalar RR make the integral invariant under orientation-preserving coordinate changes. For a metric with fixed dimension and Lorentzian signature, a derivative-free natural scalar can only be a constant, so its action contribution is the cosmological term. The factor 1/(16πG)1/(16\pi G) is fixed by matching the resulting field equation to Newtonian gravity.

In units with c=1c=1 but GG explicit, GG has dimension L2L^2 in action units with ℏ=1\hbar=1, RR and Λ\Lambda have dimension L−2L^{-2}, and d4x−gd^4x\sqrt{-g} has dimension L4L^4. The action is dimensionless. This check catches missing factors of GG or an incorrectly dimensioned cosmological parameter.

Reall introduces the action with this normalization and derives its metric variation Reall 2013, § 10.2, pp. 116–119, Eqs. (10.8)–(10.26), PDF.

A local diffeomorphism-covariant metric Lagrangian must be a scalar built naturally from the metric and its derivatives. At a chosen event, any Lorentzian metric can be carried to the same Minkowski matrix by a linear change of frame. Covariance therefore prevents a derivative-free scalar from depending on particular metric components: after the dimension and signature are fixed, only a constant remains, giving the cosmological term.

Normal coordinates make the first metric derivatives vanish at that event. A purported natural scalar made only from gabg_{ab} and ∂cgab\partial_cg_{ab} would therefore vanish there in every coordinate system, so first derivatives alone supply no nontrivial term. At second derivative order, the tensorial information is curvature. The algebraic symmetries of RabcdR_{abcd} make every complete contraction linear in curvature proportional to gacgbdRabcd=Rg^{ac}g^{bd}R_{abcd}=R, up to the curvature-sign convention. Adding a total divergence changes the boundary action rather than the interior Euler–Lagrange coefficient.

This is a local naturality argument under a fixed field content and derivative expansion, not the full Lovelock uniqueness theorem. It explains why RR is the first nontrivial scalar term; it does not classify every generally covariant action.

“Minimal” is not “uniquely compelled by covariance.” Scalars such as R2R^2, RabRabR_{ab}R^{ab}, and RabcdRabcdR_{abcd}R^{abcd} are also covariant, but generally produce higher-derivative metric equations or, in special combinations and dimensions, boundary/topological or Lovelock contributions. Extra fields allow further terms. Selecting Einstein–Hilbert therefore uses a derivative-order and field-content restriction in addition to covariance.

Expanding RR in a coordinate chart gives the exact identity

−g R=−g gab(ΓcadΓdbc−ΓcabΓdcd)+∂cVc,\sqrt{-g}\,R =\sqrt{-g}\,g^{ab} \left( \Gamma^c{}_{ad}\Gamma^d{}_{bc} -\Gamma^c{}_{ab}\Gamma^d{}_{cd} \right) +\partial_c V^c,

with

Vc=−g(gabΓcab−gacΓbab).V^c=\sqrt{-g}\left(g^{ab}\Gamma^c{}_{ab} -g^{ac}\Gamma^b{}_{ab}\right).

To obtain it, first collect the two ∂Γ\partial\Gamma terms in the Ricci scalar into ∂cVc\partial_cV^c, then differentiate −ggab\sqrt{-g}g^{ab} in the product rule. Metric compatibility turns the remaining terms into the displayed quadratic combination. The terms with second derivatives of gabg_{ab} are therefore confined to the divergence. Neither the connection-quadratic density nor VcV^c is separately a covariant tensor density; their sum has the required covariance. This distinction is why dropping the divergence changes the boundary problem even though it preserves the interior equations.

Consequently, varying the action gives

δ(−gR)=−g Gab δgab+−g ∇aΘa(g,δg).\delta(\sqrt{-g}R) =\sqrt{-g}\,G_{ab}\,\delta g^{ab} +\sqrt{-g}\,\nabla_a\Theta^a(g,\delta g).

The bulk equation contains at most second metric derivatives. The boundary term contains normal derivatives of δgab\delta g_{ab}, so fixing only the induced metric does not make the bare action differentiable. One may use compactly supported variations, fix excessive boundary data, or add the Gibbons–Hawking–York term for a non-null Dirichlet boundary. These are different variational problems and must not be interchanged silently.

Add a generally covariant matter action Sm[g,ψ]S_{\mathrm m}[g,\psi] and define

Tab=−2−gδSmδgab.T_{ab}=-\frac{2}{\sqrt{-g}} \frac{\delta S_{\mathrm m}}{\delta g^{ab}}.

For compactly supported metric variations, or after a suitable boundary completion,

δ(Sgrav+Sm)=116πG∫−g(Gab+Λgab)δgab−12∫−g Tabδgab.\delta(S_{\mathrm{grav}}+S_{\mathrm m}) =\frac{1}{16\pi G}\int\sqrt{-g} (G_{ab}+\Lambda g_{ab})\delta g^{ab} -\frac12\int\sqrt{-g}\,T_{ab}\delta g^{ab}.

Stationarity for arbitrary interior δgab\delta g^{ab} yields

Gab+Λgab=8πG Tab.G_{ab}+\Lambda g_{ab}=8\pi G\,T_{ab}.

This derivation establishes the bulk dynamics. It does not select the allowed boundary geometry, establish a path integral, or prove that every solution is globally admissible.

Explain why −g R\sqrt{-g}\,R may contain second metric derivatives even though the Einstein equation contains no derivatives higher than second order.

Solution

The curvature scalar contains ∂Γ∼∂2g\partial\Gamma\sim\partial^2g and ΓΓ∼(∂g)2\Gamma\Gamma\sim(\partial g)^2. In the density −gR\sqrt{-g}R, the second-derivative terms can be reorganized into a total divergence. Variation of that divergence contributes at the boundary, while the interior Euler–Lagrange coefficient is the Einstein tensor and contains at most second derivatives. Discarding the divergence is harmless only for compactly supported variations or after the boundary problem has been completed.

  • Reall, Harvey S. General Relativity. Cambridge Part III lecture notes (2013). PDF.