The Einstein–Hilbert action (also referred to as Hilbert action) in general relativity is the action that yields the Einstein field equations through the principle of least action. With the (− + + +) metric signature, the gravitational part of the action is given as
where is the determinant of the metric tensor, is the Ricci scalar, and , where is Newton's gravitational constant and is the speed of light in a vacuum. The integral is taken over the whole spacetime if it converges. If it does not converge, is no longer well-defined, but a modified definition where one integrates over arbitrarily large, relatively compact domains, still yields the Einstein equation as the Euler–Lagrange equation of the Einstein–Hilbert action.
The action was first proposed by David Hilbert in 1915.
The derivation of equations from an action has several advantages. First of all, it allows for easy unification of general relativity with other classical field theories (such as Maxwell theory), which are also formulated in terms of an action. In the process the derivation from an action identifies a natural candidate for the source term coupling the metric to matter fields. Moreover, the action allows for the easy identification of conserved quantities through Noether's theorem by studying symmetries of the action.
In general relativity, the action is usually assumed to be a functional of the metric (and matter fields), and the connection is given by the Levi-Civita connection. The Palatini formulation of general relativity assumes the metric and connection to be independent, and varies with respect to both independently, which makes it possible to include fermionic matter fields with non-integral spin.
The Einstein equations in the presence of matter are given by adding the matter action to the Hilbert–Einstein action.
Derivation of Einstein's field equations
Suppose that the full action of the theory is given by the Einstein–Hilbert term plus a term describing any matter fields appearing in the theory.
The action principle then tells us that the variation of this action with respect to the inverse metric is zero, yielding
Since this equation should hold for any variation , it implies that
To calculate the left hand side of the equation we need the variations of the Ricci scalar R and the determinant of the metric. These can be obtained by standard text book calculations such as the one given below, which is strongly based on the one given in Carroll 2004.
Variation of the Riemann tensor, the Ricci tensor, and the Ricci scalar
To calculate the variation of the Ricci scalar we calculate first the variation of the Riemann curvature tensor, and then the variation of the Ricci tensor. So, the Riemann curvature tensor is defined as,
Since the Riemann curvature depends only on the Levi-Civita connection , the variation of the Riemann tensor can be calculated as,
Now, since is the difference of two connections, it is a tensor and we can thus calculate its covariant derivative,
We can now observe that the expression for the variation of Riemann curvature tensor above is equal to the difference of two such terms,
The Ricci scalar is defined as
Therefore, its variation with respect to the inverse metric is given by
In the second line we used the previously obtained result for the variation of the Ricci curvature and the metric compatibility of the covariant derivative, .
The last term, , multiplied by becomes a total derivative, since
and thus by Stokes' theorem only yields a boundary term when integrated. Hence when the variation of the metric vanishes at infinity, this term does not contribute to the variation of the action. And we thus obtain,
Variation of the determinant
or one could transform to a coordinate system where is diagonal and then apply the product rule to differentiate the product of factors on the main diagonal.
Using this we get
In the last equality we used the fact that
which follows from the rule for differentiating the inverse of a matrix
Thus we conclude that
Equation of motion
Now that we have all the necessary variations at our disposal, we can insert them into the equation of motion for the metric field to obtain,
which is Einstein's field equation and
yields the field equations:
- Belinfante–Rosenfeld tensor
- Brans–Dicke theory (in which the constant k is replaced by a scalar field).
- Einstein–Cartan theory
- Einstein–Maxwell–Dirac equations
- f(R) gravity (in which the Ricci scalar is replaced by a function of the Ricci curvature)
- Gibbons–Hawking–York boundary term
- Palatini action
- Tetradic Palatini action
- Variational methods in general relativity
- Vermeil's theorem
- Richard P. Feynman, Feynman Lectures on Gravitation, Addison-Wesley, 1995, ISBN 0-201-62734-5, p. 136, eq. (10.1.2)
- Carroll, Sean M. (2004), Spacetime and Geometry, Addison Wesley, ISBN 0-8053-8732-3
- Hilbert, D. (1915) Die Grundlagen der Physik (German original for free) (English translation for $25), Konigl. Gesell. d. Wiss. Göttingen, Nachr. Math.-Phys. Kl. 395-407
- Sokolov, D.D. (2001), "Cosmological constant", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer, ISBN 978-1-55608-010-4