Einstein-Hilbert action (source code)

= Einstein-Hilbert action
{c}
{wiki}

The Einstein-Hilbert action is the integral of the <Ricci scalar> against the metric volume form. Varying it with respect to the metric gives the vacuum <Einstein field equations>, up to a boundary term.