Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-4/36d/b/solution

For the constant density ,
The definition of then gives
Substitution in the Tolman–Oppenheimer–Volkoff equation yields
The minus sign follows both from the stated TOV equation and from the outward decrease of pressure; a version of the requested intermediate formula without that sign is a typographical error.
Set
Separating variables gives
Since
integration and the surface condition give
Writing
one obtains the pressure of the Interior Schwarzschild metric:
In particular, the central pressure of a constant-density relativistic star is
It diverges when
or equivalently
This is the limiting equality case of Buchdahl's theorem.

New to topics? Read the docs here!