Bishal Banjara said:
So far I have understood, we need Ricci tensors and curvature scalar inorder to compute the Einstein tensor.
Yes, and you compute the Ricci tensor and the Ricci scalar from the metric.
Bishal Banjara said:
For Ricci tensors to be calculated we need Riemann tensors.
Yes.
Bishal Banjara said:
And Riemann tensors are evaluated by Christoffel's.
Yes, and to calculate the Christoffel symbols, you need to know the metric.
Bishal Banjara said:
what I am targeting is to obtain the $G_tt$ and $G_rr$ itself.
And to do that for the metric you gave in your OP, you would just calculate them: calculate the Christoffel symbols from the metric, calculate the Riemann tensor from the Christoffel symbols, calculate the Ricci tensor and Ricci scalar and Einstein tensor from the Riemann tensor. Then you know all the components of ##G## for the metric you gave in your OP. Then, as I said, you multiply the Einstein tensor by ##8 \pi## to get the stress-energy tensor that would produce the metric you gave.
Bishal Banjara said:
At pg. 231 Sean Carroll's book, the equations 5.139 and 5.140 could be obtained by following your instructions because, we already have calculated $G_tt$ and $G_rr$ there at equation 5.135.
Yes, and equation 5.135 was calculated from the metric given in equation 5.133. But that that metric is not the Schwarzschild metric you gave in the OP of this thread; it is a general metric for any static, spherically symmetric spacetime, and has two unknown functions in it, ##\alpha## and ##\beta##. So the Einstein tensor computed from it gives differential equations for those unknown functions. Then Carroll
assumes that the stress-energy tensor is a perfect fluid, and writes down the two differential equations to be solved for the two unknown functions, equations 5.139 and 5.140. But he could only
assume a form for the stress-energy tensor because the metric was not completely specified; there were two unknown functions in it. So his solution is not unique; it only applies to the case where the stress-energy tensor is in fact a perfect fluid. There could be other solutions if we made some other assumption about the stress-energy tensor.
But in the other (not Schwarzschild) metric you wrote down in the OP of this thread, the one you are asking questions about, there are
no unknown functions; all of the metric coefficients are completely specified. So there is no freedom to make any assumptions about the stress-energy tensor; the Einstein tensor computed from this metric will not be a set of differential equations for unknown functions, it will just be a set of fixed expressions in terms of the constants that appear in the metric coefficients, and the coordinates. So the stress-energy tensor components can only be whatever those fixed expressions are, multiplied by ##8 \pi##. There is no freedom of choice at all.