Consider a static axisymmetric spacetime that is invariant under translations and reflections along the axis of symmetry. Show that, in general, the line element for such a spacetime can be written in the form
ds2=A(ρ)dt2−dρ2−B(ρ)dϕ2−C(ρ)dz2,
for arbitrary functions A, B and C. Show that the non-zero connection coefficients for this line element are given by
Γ001=2AA′,Γ122=−2B′,Γ133=−2C′,Γ100=2A′,Γ221=2BB′,Γ331=2CC′,
where the primes denote d/dρ. Hence show that the non-zero components of the Ricci tensor are given by
R00=−2A′′+2A′(2AA′−2BB′−2CC′),R11=2AA′′−4A2(A′)2+2BB′′−4B2(B′)2+2CC′′−4C2(C′)2,R22=2B′′−2B′(2BB′−2AA′−2CC′),R33=2C′′−2C′(2CC′−2AA′−2BB′).