Suppose that the matter distribution in a cosmic string has a uniform density across the string, such that
ρ(r)={ρ00for r≤r0,for r>r0.
By demanding that gϕϕ→−r2 as r→0, so that the spacetime geometry is regular on the axis of the string, show that the line element for r≤r0 is
ds2=c2dt2−dr2−(λrsinλr)2dϕ2−dz2,
where λ=κρ0c2. By demanding that gϕϕ and its derivative with respect to r are both continuous at r=r0, show that the line element for r>r0 is
ds2=c2dt2−dr2−[λrsinλr0+(r−r0)cosλr0]2dϕ2−dz2.
For the interesting case in which λr0≪1, show that for r≫r0 the line element takes the form
ds2=c2dt2−dr2−(1−c28Gμ)r2dϕ2−dz2,
where μ=πr02ρ0 is the 'mass per unit length' of the string. Interpret this line element physically.