I have the proposed solution stated as:
$R_{\mu \nu} -\frac{1}{2} g_{\mu\nu}R=\kappa T_{\mu\nu}$ (4.43)
Caroll says:"note that contracting both sides of (4.43) yields (in four dimensions)"
$R = - \kappa T$, which I should get to.
But I get it differently. Those are my steps:
$g^{\mu\nu}(R_{\mu \nu} -\frac{1}{2} g_{\mu\nu}R)=\kappa g^{\mu\nu}T_{\mu\nu}$
$g^{\mu\nu}R_{\mu\nu} - \frac{1}{2}g^{\mu\nu}g_{\mu\nu}R=\kappa g^{\mu\nu}T_{\mu\nu} $
Making the tensors contractions:
$R - \frac{1}{2}R = \kappa T$
$R = 2 \kappa T$
Please, what I'm doing wrong?
Thanks in advance!