Solution

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

A thin spherical shell has mass and inward gravitational force . The net outward pressure force is . Their balance gives the hydrostatic equilibrium equation
Since , multiplying by and differentiating yields .
At the centre, require and finite and . Spherical symmetry gives ; indeed makes the pressure gradient for regular density. At the surface require , usually approximated by zero, because pressure matches the surrounding medium. If the stellar mass is prescribed, also impose . An equation of state is needed to close the system. A vanishing surface density is appropriate for some stellar models but is not a universal boundary condition.

New to topics? Read the docs here!