Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/iii/paper-309/3/a/ii/solution

Varying the Ricci tensor and contracting gives
Substitution of part (i), followed by metric compatibility, reduces the divergence to
Thus the metric variation of scalar curvature is
and consequently

New to topics? Read the docs here!