A short note on the boundary term for the Hilbert action
Abstract
One way to make the variational principle based on the Einstein–Hilbert action well-defined (i.e. functionally differentiable) is to add a surface term involving the integral of the trace of the extrinsic curvature. I provide a simple derivation of this result which is constructive in the sense that it starts from the variation of Einstein–Hilbert action and obtains the correct boundary term. This is to be contrasted with the usual derivations in which one first adds this term and then shows that the unwanted parts cancel out in the variation of the total action. The approach described here also clearly identifies the variables that need to be fixed in the boundary as the three-metric, directly from the action principle.