Let . In the metric variation specified here, the covariant metric tensor is varied while the scalar field is held fixed. Differentiating the inverse and the determinant gives
Thus , and the action varies as
The functional derivative therefore gives . Lowering both indices yields the stress-energy tensor of a canonical scalar field:
The determinant variation has a positive sign because the variable is ; varying the inverse metric tensor instead would reverse that intermediate sign.
Take compactly supported metric variations, or impose boundary conditions that remove the integration by parts terms. Let and . Since , the gravitational action varies as
Applying integration by parts twice to the derivative terms gives
For the usual stress-energy tensor definition , varying the covariant metric tensor gives . Thus the action's stated normalization implies
There is no implicit in this gravitational action. This is the normalization of the metric f(R) field equation, rather than the commonly normalized version with on the right.
Finally, the chain rule gives and . Substitution yields
This is a metric f(R) gravity variation: the connection is always the Levi-Civita connection of the varied metric tensor, not an independent variable.
Define the stress-energy tensor by metric variation with the scalar held fixed:
Use compactly supported variations to remove boundary terms. The first covariant derivative of a scalar field is an ordinary derivative, so it has no connection variation. Varying the kinetic term and the volume form gives
For the curvature term set . Using part (a), its variation is
Applying integration by parts twice moves each pair of derivatives from the metric variation onto . The result is
where is the Einstein tensor and is the d'Alembert operator. Comparing with the defining variation gives the stress-energy tensor of a nonminimally coupled scalar field:
The factor follows from the action's coupling ; a convention using would instead give in that bracket. At this reduces to the massless Klein-Gordon scalar stress-energy tensor.
Write and . Standard metric variation gives
and variation of metric compatibility gives
Put . Varying gives
The determinant identity gives
Finally, varying the formula for the Christoffel symbols and rewriting partial derivatives covariantly gives the tensor
These are the basic metric variation identities.
Stress-energy tensor of a nonminimally coupled scalar field Created 2026-10-05 Updated 2026-10-06
For action , metric variation defines and gives the displayed tensor. The contracted Bianchi identity and the scalar derivative commutator yield , so the stress-energy tensor is conserved on the field equation.