Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2005/ii/paper-2/10d/a/solution

Let the surface be at with vanishing external pressure. Multiply hydrostatic equilibrium by and integrate:
The other side is . Building the star one shell at a time identifies this as its negative gravitational potential energy . Therefore
If the star has nonzero surface pressure , the integration instead gives ; the requested form assumes .

New to topics? Read the docs here!