physics2u
Tier
⌕ Search ⌘K
Derivation

Field Equations from the Einstein-Hilbert Action

D-391 Home PU-403 Threads energy · fields · symmetry Depends on Contracted Bianchi Identity and the Einstein Tensor, euler-lagrange-from-stationary-action, Stress-Energy Tensor as the Conserved Source
Statement

Requiring the total action \(S=\frac{1}{2\kappa}\int R\sqrt{-g}\,d^4x + S_M\), with \(\kappa=8\pi G/c^4\), to be stationary under arbitrary variations of the inverse metric \(g^{\mu\nu}\) (with the variation vanishing on the boundary) yields the Einstein field equations \(R_{\mu\nu}-\tfrac12 R\,g_{\mu\nu}=\kappa\,T_{\mu\nu}\), where the matter source is identified as \(T_{\mu\nu}=-\dfrac{2}{\sqrt{-g}}\dfrac{\delta S_M}{\delta g^{\mu\nu}}\).

Why it matters

This is the variational foundation of general relativity: it shows that the entire dynamics of spacetime curvature follows from a single scalar Lagrangian, the Ricci scalar \(R\), the simplest generally-covariant density built from the metric and its derivatives. The field equations are not postulated but derived as the Euler–Lagrange equations of that action.

The construction fixes the coupling constant \(\kappa=8\pi G/c^4\) by demanding the Newtonian limit, unifies the geometric and matter sectors through one metric variable, and makes local energy–momentum conservation \(\nabla^\mu T_{\mu\nu}=0\) an automatic consequence of the contracted Bianchi identity rather than an independent assumption. It is the template for every modified-gravity theory.

Assumptions
Spacetime is a 4D pseudo-Riemannian manifold with a metric \(g_{\mu\nu}\) of Lorentzian signature.Without a non-degenerate metric there is no volume element \(\sqrt{-g}\,d^4x\), no Levi-Civita connection, and no Ricci scalar to vary. The connection is the metric-compatible, torsion-free Levi-Civita connection (metric formulation).If the connection were varied independently (Palatini formulation) one obtains the field equations plus the metricity condition; treating a general connection changes both the boundary analysis and the identification of \(T_{\mu\nu}\). The metric variation \(\delta g^{\mu\nu}\) and its first derivatives vanish on the boundary \(\partial\mathcal{M}\), or a Gibbons–Hawking–York term is added.The Ricci scalar contains second derivatives of the metric, so its variation leaves a boundary term \(\int_{\partial\mathcal M}\!\nabla_\sigma v^\sigma\); if \(\delta g\) is not fixed there and no GHY counterterm is present, the variational problem is not well posed and the bulk equations do not follow cleanly. The matter action \(S_M\) depends on the metric only algebraically and through minimal coupling, not on derivatives of \(g_{\mu\nu}\).If \(S_M\) contains curvature or metric derivatives (non-minimal coupling), the source acquires extra terms and \(T_{\mu\nu}\) defined by the metric variation is no longer the flat-space canonical tensor.
Derivation
1
\[ S[g^{\mu\nu}] = \underbrace{\frac{1}{2\kappa}\int_{\mathcal M} R\,\sqrt{-g}\,d^4x}_{S_{\text{EH}}} + S_M[g^{\mu\nu},\psi],\qquad \kappa=\frac{8\pi G}{c^4} \]
Total action: Einstein–Hilbert geometric part plus matter action for fields \(\psi\); \(g=\det g_{\mu\nu}\), and \(-g>0\) for Lorentzian signature. A
2
\[ \delta S = 0 \quad\text{for arbitrary } \delta g^{\mu\nu},\ \ \delta g^{\mu\nu}\big|_{\partial\mathcal M}=0 \]
Principle of stationary action: the physical metric is a stationary point of \(S\). This is the Euler–Lagrange condition specialised to a field variable that is the metric itself. A
3
\[ \delta\!\left(R\sqrt{-g}\right) = \delta R\,\sqrt{-g} + R\,\delta\sqrt{-g} \]
Product rule on the integrand of \(S_{\text{EH}}\); \(R=g^{\mu\nu}R_{\mu\nu}\) and \(\sqrt{-g}\) both depend on the metric. A
4
\[ \delta g = g\,g^{\mu\nu}\delta g_{\mu\nu} = -\,g\,g_{\mu\nu}\delta g^{\mu\nu} \;\Rightarrow\; \delta\sqrt{-g} = -\frac{1}{2}\sqrt{-g}\,g_{\mu\nu}\,\delta g^{\mu\nu} \]
Jacobi's formula for the determinant, \(\delta g = g\,g^{\mu\nu}\delta g_{\mu\nu}\), combined with \(g^{\mu\nu}\delta g_{\mu\nu}=-g_{\mu\nu}\delta g^{\mu\nu}\) (from \(\delta(g^{\mu\nu}g_{\nu\rho})=0\)); then \(\delta\sqrt{-g}=-\delta g/(2\sqrt{-g})\). B
5
\[ \delta R = \delta\!\left(g^{\mu\nu}R_{\mu\nu}\right) = R_{\mu\nu}\,\delta g^{\mu\nu} + g^{\mu\nu}\,\delta R_{\mu\nu} \]
Product rule on the contraction defining the Ricci scalar. The first term is already proportional to \(\delta g^{\mu\nu}\); the second must be shown to be a boundary term. B
6
\[ g^{\mu\nu}\,\delta R_{\mu\nu} = \nabla_\sigma v^\sigma,\qquad v^\sigma = g^{\mu\nu}\,\delta\Gamma^{\sigma}_{\mu\nu} - g^{\sigma\nu}\,\delta\Gamma^{\mu}_{\mu\nu} \]
Palatini identity: \(\delta R_{\mu\nu}=\nabla_\sigma\,\delta\Gamma^{\sigma}_{\mu\nu}-\nabla_\nu\,\delta\Gamma^{\sigma}_{\mu\sigma}\), where \(\delta\Gamma^{\sigma}_{\mu\nu}\) is a genuine tensor (difference of two connections). Contracting with the metric, which passes through \(\nabla\) by metric compatibility, gives a pure covariant divergence. C
7
\[ \frac{1}{2\kappa}\int_{\mathcal M} g^{\mu\nu}\,\delta R_{\mu\nu}\,\sqrt{-g}\,d^4x = \frac{1}{2\kappa}\int_{\mathcal M}\nabla_\sigma v^\sigma\,\sqrt{-g}\,d^4x = \frac{1}{2\kappa}\oint_{\partial\mathcal M} v^\sigma\,dS_\sigma = 0 \]
A covariant divergence integrates to a boundary flux (Stokes' theorem on manifolds). Because \(v^\sigma\) is built from \(\delta g^{\mu\nu}\) and its first derivatives, which vanish on \(\partial\mathcal M\) by assumption, the boundary term drops. C
8
\[ \delta S_{\text{EH}} = \frac{1}{2\kappa}\int_{\mathcal M}\left(R_{\mu\nu} - \frac{1}{2}R\,g_{\mu\nu}\right)\delta g^{\mu\nu}\,\sqrt{-g}\,d^4x \]
Insert steps 4, 5, 7 into step 3 and factor the common \(\delta g^{\mu\nu}\,\sqrt{-g}\); the bracket is the Einstein tensor \(G_{\mu\nu}\). B
9
\[ \delta S_M = \int_{\mathcal M}\frac{\delta S_M}{\delta g^{\mu\nu}}\,\delta g^{\mu\nu}\,d^4x \;\equiv\; -\frac{1}{2}\int_{\mathcal M} T_{\mu\nu}\,\delta g^{\mu\nu}\,\sqrt{-g}\,d^4x \]
Definition of the (Hilbert) stress-energy tensor \(T_{\mu\nu}=-\dfrac{2}{\sqrt{-g}}\dfrac{\delta S_M}{\delta g^{\mu\nu}}\); this metric variation reproduces the Noether energy–momentum current for minimally coupled matter and is automatically symmetric. B
10
\[ \delta S = \int_{\mathcal M}\left[\frac{1}{2\kappa}\left(R_{\mu\nu}-\frac{1}{2}R\,g_{\mu\nu}\right) - \frac{1}{2}T_{\mu\nu}\right]\delta g^{\mu\nu}\,\sqrt{-g}\,d^4x = 0 \]
Add the two variations (step 8 + step 9) and impose stationarity from step 2. A
11
\[ \frac{1}{2\kappa}\left(R_{\mu\nu}-\frac{1}{2}R\,g_{\mu\nu}\right) - \frac{1}{2}T_{\mu\nu} = 0 \]
Fundamental lemma of the calculus of variations: the integral vanishes for arbitrary \(\delta g^{\mu\nu}\), so the (symmetric) coefficient must vanish pointwise. B
12
\[ R_{\mu\nu} - \frac{1}{2}R\,g_{\mu\nu} = \kappa\,T_{\mu\nu} = \frac{8\pi G}{c^4}\,T_{\mu\nu} \]
Multiply through by \(2\kappa\). The left side is the Einstein tensor \(G_{\mu\nu}\), which is divergence-free by the contracted Bianchi identity, guaranteeing \(\nabla^\mu T_{\mu\nu}=0\). A
Result
\[ \boxed{\,G_{\mu\nu} \equiv R_{\mu\nu} - \frac{1}{2}R\,g_{\mu\nu} = \frac{8\pi G}{c^4}\,T_{\mu\nu}\,} \]

Reading. Spacetime curvature (the Einstein tensor on the left, a specific combination of the Ricci tensor and scalar) is sourced by the local energy, momentum, and stress of matter (the stress-energy tensor on the right). The proportionality constant \(8\pi G/c^4\) is tiny in SI units, so it takes enormous energy densities to curve spacetime measurably. Because \(\nabla^\mu G_{\mu\nu}=0\) identically, the equation enforces \(\nabla^\mu T_{\mu\nu}=0\): geometry itself conserves energy–momentum.

Units check. \(G_{\mu\nu}\) has dimensions of curvature, \([\text{length}]^{-2}=\text{m}^{-2}\). The coupling \(\kappa=8\pi G/c^4\) has units \(\dfrac{\mathrm{m^3\,kg^{-1}\,s^{-2}}}{\mathrm{m^4\,s^{-4}}}=\mathrm{s^2\,kg^{-1}\,m^{-1}}\), and \(T_{\mu\nu}\) is an energy density, \(\mathrm{J\,m^{-3}=kg\,m^{-1}\,s^{-2}}\). Their product is \(\mathrm{(s^2\,kg^{-1}\,m^{-1})(kg\,m^{-1}\,s^{-2})=m^{-2}}\), matching the left side. Numerically \(\kappa=2.08\times10^{-43}\ \mathrm{s^2\,kg^{-1}\,m^{-1}}\).

Limiting cases
  • Vacuum (\(T_{\mu\nu}=0\)): taking the trace gives \(R=0\), so \(R_{\mu\nu}=0\) — the vacuum Einstein equations, satisfied by Schwarzschild and gravitational-wave spacetimes.
  • Weak, slow, static field: \(g_{00}\approx-(1+2\Phi/c^2)\), \(|T|\ll\rho c^2\) dominated by \(T_{00}=\rho c^2\); the \(00\)-component reduces to the Poisson equation \(\nabla^2\Phi=4\pi G\rho\), fixing \(\kappa=8\pi G/c^4\).
  • Trace-reversed form: contracting with \(g^{\mu\nu}\) in \(D=4\) gives \(R=-\kappa T\), so equivalently \(R_{\mu\nu}=\kappa\!\left(T_{\mu\nu}-\tfrac12 T g_{\mu\nu}\right)\).
  • Cosmological constant: adding \(-\tfrac{1}{\kappa}\Lambda\sqrt{-g}\) to the action shifts the result to \(G_{\mu\nu}+\Lambda g_{\mu\nu}=\kappa T_{\mu\nu}\), equivalent to a vacuum energy \(\rho_\Lambda=\Lambda c^2/(8\pi G)\).
Breaks when
  • Boundary term is not controlled. On a manifold with boundary where \(\delta g^{\mu\nu}\) is not fixed, the Palatini surface term survives; without the Gibbons–Hawking–York counterterm the variational problem is ill-posed and the bulk equations are not the honest stationary condition (crucial for black-hole thermodynamics and any action-based energy definition).
  • Higher-derivative or non-minimal matter coupling. If \(S_M\) depends on \(\nabla g\), on curvature, or on \(R\) itself (e.g. \(f(R)\) gravity, scalar–tensor theories), the metric variation produces extra terms; the equations become fourth-order and \(T_{\mu\nu}\) as defined here is no longer the full source.
  • Planck-scale / quantum-gravity regime. The classical action assumes a smooth metric; near \(l_P\sim10^{-35}\,\mathrm m\) or at curvature singularities the effective-field-theory expansion breaks down and higher-curvature counterterms (\(R^2,\,R_{\mu\nu}R^{\mu\nu}\)) become comparable, so the pure Einstein–Hilbert action is only the leading term.
  • Signature / dimension change. The trace step \(R=-\kappa T\) used \(g^{\mu\nu}g_{\mu\nu}=D=4\); in \(D\ne4\) the trace relation and the Newtonian coupling both change, and in \(D=2\) the Einstein tensor vanishes identically so the action is purely topological.
Failure modes
  • Dropping the \(\delta\sqrt{-g}\) term. Forgetting Jacobi's formula loses the \(-\tfrac12 R g_{\mu\nu}\) piece and yields \(R_{\mu\nu}=\kappa T_{\mu\nu}\), which is not divergence-free and contradicts \(\nabla^\mu T_{\mu\nu}=0\).
  • Treating \(g^{\mu\nu}\delta R_{\mu\nu}\) as generally zero. It is a total covariant divergence, not identically zero; it only integrates away as a boundary term. Confusing "total divergence" with "vanishes locally" is a common slip.
  • Sign/placement of \(T_{\mu\nu}\). Writing \(T_{\mu\nu}=+\tfrac{2}{\sqrt{-g}}\delta S_M/\delta g^{\mu\nu}\) or using \(\delta g_{\mu\nu}\) instead of \(\delta g^{\mu\nu}\) flips the sign, producing a negative energy density.
  • Varying \(g_{\mu\nu}\) and \(g^{\mu\nu}\) as independent while also imposing metricity. One must pick a variable; mixing conventions double-counts and gives wrong index positions.
  • Assuming \(\delta g^{\mu\nu}\) is symmetric-traceless "for simplicity." It is symmetric but has a trace; restricting it illegitimately would only give the traceless part of the equations.
Discussion

The derivation is a striking instance of the power of symmetry and simplicity. Lovelock's theorem sharpens this: in four dimensions, the only divergence-free symmetric two-tensor built from the metric and up to its second derivatives, and linear in those second derivatives, is \(a\,G_{\mu\nu}+b\,g_{\mu\nu}\). So the Einstein tensor plus a cosmological term is essentially forced once you demand a metric theory with second-order field equations — the Einstein–Hilbert action is not a lucky guess but the unique minimal choice.

The identification of \(T_{\mu\nu}\) as the response of the matter action to a metric variation is deeper than the flat-space canonical tensor from Noether's theorem. The Hilbert tensor is automatically symmetric and gauge-invariant, whereas the canonical Noether tensor generally is neither and must be repaired by a Belinfante–Rosenfeld improvement term. On a curved background the metric variation is the natural, coordinate-free definition, and it is exactly the object that couples to gravity.

The automatic conservation \(\nabla^\mu T_{\mu\nu}=0\) is a manifestation of Noether's second theorem: the diffeomorphism invariance of the total action implies an identity (the contracted Bianchi identity on the geometry side) that forces the matter source to be conserved on-shell. Local energy–momentum conservation in GR is thus a consequence of general covariance, not a separate postulate — geometry and conservation are two faces of the same symmetry.

The Palatini (first-order) formulation, in which metric and connection are varied independently, is instructive: varying the connection yields the metricity condition \(\nabla_\sigma g_{\mu\nu}=0\), so the Levi-Civita connection emerges dynamically rather than being assumed, and the boundary term is milder. For pure Einstein–Hilbert the two formulations coincide, but they diverge for \(f(R)\) actions, which is why the distinction matters in modified gravity. The boundary story also underlies the Gibbons–Hawking–York term, whose value on a horizon reproduces the Bekenstein–Hawking entropy — the same surface term that had to be cancelled to make the variational problem well-posed carries the thermodynamic content of the theory.

Common misconceptions. The field equations do not say "mass tells space how to curve" in a simple algebraic way — they are ten coupled nonlinear PDEs for the metric, with the source \(T_{\mu\nu}\) itself depending on the geometry. Also, \(\nabla^\mu T_{\mu\nu}=0\) is not a global conservation law: there is no coordinate-independent notion of total energy in a general curved spacetime, only local balance.

Worked examples

Example 1 — Trace-reversed form and the vacuum equations.

1
\[ g^{\mu\nu}\!\left(R_{\mu\nu}-\frac12 R g_{\mu\nu}\right)=\kappa\, g^{\mu\nu}T_{\mu\nu} \;\Rightarrow\; R-\frac12 R\,(4)=\kappa T \]
Contract the field equations with \(g^{\mu\nu}\); use \(g^{\mu\nu}R_{\mu\nu}=R\), \(g^{\mu\nu}g_{\mu\nu}=4\), \(g^{\mu\nu}T_{\mu\nu}=T\). A
2
\[ R-2R=-R=\kappa T \;\Rightarrow\; R=-\kappa T \]
Solve for the Ricci scalar in terms of the stress-energy trace. A
3
\[ R_{\mu\nu}=\kappa T_{\mu\nu}+\frac12 R g_{\mu\nu}=\kappa\!\left(T_{\mu\nu}-\frac12 T g_{\mu\nu}\right) \]
Substitute \(R=-\kappa T\) back into the original equation. B
4
\[ T_{\mu\nu}=0 \;\Rightarrow\; T=0 \;\Rightarrow\; R_{\mu\nu}=0 \]
Set the vacuum source to zero. Numerically, outside the Sun (\(M_\odot=1.989\times10^{30}\,\mathrm{kg}\)) the Ricci tensor vanishes even though the Riemann tensor does not: the tidal curvature at \(r=R_\odot=6.96\times10^{8}\,\mathrm m\) is \(\sim GM_\odot/(c^2 r^3)=6.674\times10^{-11}\cdot1.989\times10^{30}/(8.99\times10^{16}\cdot3.37\times10^{26})\approx4.4\times10^{-24}\,\mathrm{m^{-2}}\). B
\[ \boxed{\,R_{\mu\nu}=\kappa\!\left(T_{\mu\nu}-\tfrac12 T g_{\mu\nu}\right),\qquad T_{\mu\nu}=0\Rightarrow R_{\mu\nu}=0\,} \]

Reading. Emptiness forces the Ricci tensor to zero, but not the full Riemann tensor — vacuum spacetimes can still curve (Schwarzschild, gravitational waves). The trace-reversed form is the version actually used to solve for metrics.

Units check. \(R_{\mu\nu}\sim\mathrm{m^{-2}}\); the tidal-curvature estimate \(4.4\times10^{-24}\,\mathrm{m^{-2}}\) carries the right dimension.

Example 2 — Newtonian limit fixes \(\kappa\), and a numeric Poisson source.

1
\[ R_{00}=\kappa\!\left(T_{00}-\tfrac12 T g_{00}\right),\qquad T_{\mu\nu}=\rho\,c^2\,u_\mu u_\nu,\ \ T=-\rho c^2 \]
Weak, static dust: energy density dominates, \(u_\mu\approx(-c,0,0,0)\) up to normalisation, \(g_{00}\approx-1\). Then \(T_{00}\approx\rho c^2\), \(T=g^{\mu\nu}T_{\mu\nu}=-\rho c^2\). B
2
\[ T_{00}-\tfrac12 T g_{00}=\rho c^2-\tfrac12(-\rho c^2)(-1)=\rho c^2-\tfrac12\rho c^2=\tfrac12\rho c^2 \]
Insert the trace-reversed source with \(g_{00}\approx-1\). A
3
\[ R_{00}\approx \frac{1}{c^2}\nabla^2\Phi,\qquad g_{00}=-\Big(1+\frac{2\Phi}{c^2}\Big) \]
Linearised Ricci component for a static metric perturbation; \(\Phi\) is the Newtonian potential. C
4
\[ \frac{1}{c^2}\nabla^2\Phi=\kappa\cdot\frac12\rho c^2=\frac{8\pi G}{c^4}\cdot\frac{\rho c^2}{2} \;\Rightarrow\; \nabla^2\Phi=4\pi G\rho \]
Equate steps 2–3; the factors of \(c\) and the \(8\pi\) collapse to give exactly the Poisson equation, which is what fixes \(\kappa=8\pi G/c^4\). B
5
\[ \nabla^2\Phi=4\pi G\rho=4\pi(6.674\times10^{-11})(1408)\approx1.18\times10^{-6}\ \mathrm{s^{-2}} \]
Numeric check for the mean solar density \(\rho=1408\ \mathrm{kg\,m^{-3}}\). A
\[ \boxed{\,\nabla^2\Phi=4\pi G\rho,\qquad \kappa=\frac{8\pi G}{c^4}=2.08\times10^{-43}\ \mathrm{s^2\,kg^{-1}\,m^{-1}}\,} \]

Reading. Demanding that GR reproduce Newtonian gravity for weak, slow, static sources is precisely what pins the coupling constant; the "8π" is the price of the trace-reversal factor. The numeric source term \(1.18\times10^{-6}\,\mathrm{s^{-2}}\) is the Laplacian of the potential at solar mean density.

Units check. \([4\pi G\rho]=\mathrm{(m^3kg^{-1}s^{-2})(kg\,m^{-3})=s^{-2}}\), matching \([\nabla^2\Phi]=\mathrm{(m^2s^{-2})/m^2=s^{-2}}\).

Problems
  1. Trace in general dimension. Contract \(G_{\mu\nu}=\kappa T_{\mu\nu}\) in \(D\) spacetime dimensions and find \(R\) in terms of \(T\). Where does the four-dimensional result break?
    SolutionContracting: \(g^{\mu\nu}G_{\mu\nu}=R-\tfrac12 R\,D=R(1-\tfrac{D}{2})\). So \(R\,\frac{2-D}{2}=\kappa T\Rightarrow R=\dfrac{2\kappa T}{2-D}\). For \(D=4\): \(R=\dfrac{2\kappa T}{-2}=-\kappa T\), recovering the earlier result. For \(D=2\) the coefficient \((2-D)/2\to0\): the equation degenerates because \(G_{\mu\nu}\equiv0\) identically in two dimensions (the Einstein–Hilbert action is a topological invariant, the Euler characteristic), so there is no dynamical field equation.
  2. Cosmological constant from the action. Add a term \(-\dfrac{1}{2\kappa}\int 2\Lambda\sqrt{-g}\,d^4x\) to \(S_{\text{EH}}\) and vary. Derive the modified field equations and the equivalent vacuum energy density for \(\Lambda=1.1\times10^{-52}\,\mathrm{m^{-2}}\).
    SolutionOnly the \(\sqrt{-g}\) variation contributes to the new term: \(\delta(-2\Lambda\sqrt{-g})=-2\Lambda\cdot(-\tfrac12\sqrt{-g}g_{\mu\nu}\delta g^{\mu\nu})=\Lambda\sqrt{-g}g_{\mu\nu}\delta g^{\mu\nu}\). Adding to step 8 gives \(\frac{1}{2\kappa}(G_{\mu\nu}+\Lambda g_{\mu\nu})=\tfrac12 T_{\mu\nu}\), i.e. \(G_{\mu\nu}+\Lambda g_{\mu\nu}=\kappa T_{\mu\nu}\). Moving \(\Lambda\) to the right, \(\Lambda g_{\mu\nu}=-\kappa\rho_\Lambda c^2 g_{\mu\nu}\)-type identification gives \(\rho_\Lambda=\dfrac{\Lambda c^2}{8\pi G}=\dfrac{(1.1\times10^{-52})(8.99\times10^{16})}{8\pi(6.674\times10^{-11})}\approx\dfrac{9.89\times10^{-36}}{1.677\times10^{-9}}\approx5.9\times10^{-27}\,\mathrm{kg\,m^{-3}}\), a few hydrogen atoms per cubic metre — consistent with the observed dark-energy density.
  3. Conservation from Bianchi. Using the contracted Bianchi identity \(\nabla^\mu G_{\mu\nu}=0\), show that the field equations force \(\nabla^\mu T_{\mu\nu}=0\), and explain why this is not an extra assumption.
    SolutionApply \(\nabla^\mu\) to \(G_{\mu\nu}=\kappa T_{\mu\nu}\): the left side is \(\nabla^\mu G_{\mu\nu}=0\) by the (twice-contracted) Bianchi identity, a geometric identity holding for any metric. Since \(\kappa\) is constant, \(0=\kappa\nabla^\mu T_{\mu\nu}\Rightarrow\nabla^\mu T_{\mu\nu}=0\). It is not an independent postulate because it follows from the diffeomorphism invariance of the action (Noether's second theorem): general covariance of \(S\) is what makes \(G_{\mu\nu}\) divergence-free, so conservation is built into the variational structure.
  4. Perfect-fluid trace and radiation. For \(T_{\mu\nu}=\left(\rho+\dfrac{p}{c^2}\right)u_\mu u_\nu+p\,g_{\mu\nu}\) with \(u^\mu u_\mu=-c^2\), compute the trace \(T\). Evaluate it for a radiation fluid with equation of state \(p=\rho c^2/3\).
    Solution\(T=g^{\mu\nu}T_{\mu\nu}=\left(\rho+\tfrac{p}{c^2}\right)u^\mu u_\mu+p\,g^{\mu\nu}g_{\mu\nu}=\left(\rho+\tfrac{p}{c^2}\right)(-c^2)+p(4)=-\rho c^2-p+4p=-\rho c^2+3p\). For radiation \(p=\rho c^2/3\): \(T=-\rho c^2+3(\rho c^2/3)=-\rho c^2+\rho c^2=0\). A traceless stress-energy is the hallmark of conformally invariant (massless) fields; via \(R=-\kappa T\) it means a pure-radiation universe has \(R=0\) even though \(R_{\mu\nu}\ne0\).
  5. Coupling magnitude and nuclear density. Compute \(\kappa=8\pi G/c^4\) numerically, then estimate the curvature scale \(G_{00}\sim\kappa\rho c^2\) sourced by nuclear-matter density \(\rho=2.3\times10^{17}\,\mathrm{kg\,m^{-3}}\), and give the corresponding length scale \(L=G_{00}^{-1/2}\).
    Solution\(\kappa=\dfrac{8\pi(6.674\times10^{-11})}{(2.998\times10^8)^4}=\dfrac{1.677\times10^{-9}}{8.078\times10^{33}}=2.08\times10^{-43}\,\mathrm{s^2\,kg^{-1}\,m^{-1}}\). Energy density \(T_{00}=\rho c^2=(2.3\times10^{17})(8.99\times10^{16})=2.07\times10^{34}\,\mathrm{J\,m^{-3}}\). Then \(G_{00}\sim\kappa T_{00}=(2.08\times10^{-43})(2.07\times10^{34})=4.3\times10^{-9}\,\mathrm{m^{-2}}\), giving \(L=G_{00}^{-1/2}=(4.3\times10^{-9})^{-1/2}\approx1.5\times10^{4}\,\mathrm m\approx15\,\mathrm{km}\). This is the characteristic curvature radius inside a neutron star — comparable to the star's actual radius, confirming that neutron stars are strongly relativistic objects.