Although connection coefficients are not tensor components, their variation is tensorial: the difference of affine connections is a tensor. Varying the Levi-Civita connection at fixed coordinates gives
In the paper's curvature sign convention, varying the derivative and quadratic-connection terms and grouping them into covariant derivatives gives the Palatini identity
One may verify the grouping in normal coordinates at a point, where the affine connection vanishes and the expression is just the difference of two partial derivatives; both sides are tensors, so it holds in every coordinate frame. Reversing the definition of the Riemann curvature tensor reverses this identity's right-hand side.
For completeness, put and . The contracted variation uses and . After two integrations by parts,
up to the discarded boundary term. Substituting gives the differentiated-scalar terms in the metric variation of a scalar-curvature coupling.
The Brans-Dicke theory couples a scalar field to the Ricci scalar. Assume , constant , matter independent of , and variations of compact support so boundary terms may be discarded. Use the paper's curvature sign convention and signature . Set and . Define the stress-energy tensor consistently by
This convention fixes the sign of the matter term.
Vary with respect to . The variation of metric volume density contributes times each scalar Lagrangian, while . Applying the Palatini identity followed by two rounds of integration by parts gives the metric variation of a scalar-curvature coupling,
The differentiated terms remain because the curvature multiplier is not constant. Varying the kinetic term at fixed gives
Combining these terms with the matter variation, the Euler-Lagrange equation is
Raising both free indices reproduces the contravariant form, because .
The independent scalar variation gives
or . The trace of the metric tensor equation in four dimensions is
Multiplying the scalar equation by eliminates the same combination . Thus the scalar equation of Brans-Dicke theory is
At the degenerate coupling of Brans-Dicke theory, , the combined equations impose instead; division by is unavailable. If matter depended directly on , its scalar variation would add a source and the displayed scalar equation would change.
The following lettered sections justify the supplied variation identities; they are supporting identities in the PDF, rather than three independent field-equation problems.