Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2013/iii/paper-53/1/b/solution

A nonspherical configuration requires the vector form of hydrostatic equilibrium and the Poisson equation, rather than the spherical mass-coordinate equations:
For the same index-one polytrope, hydrostatic balance inside the positive-density region gives . Thus its interior mass density must obey the Helmholtz equation
A positive separated solution with the required boundary values is
Its maximum is at the centre of the cube and it vanishes on every face. Its Laplacian is , so it satisfies the interior equations when
Together with and , this explicitly constructs the cubic polytropic interior.
The mass integral separates into three elementary sine integrals:
Therefore
This construction satisfies the equations inside the prescribed cube. It does not by itself establish the existence of an isolated self-gravitating star: the interior potential must also match the exterior vacuum field generated by that very mass density. That additional physical requirement is addressed in part (c).

New to topics? Read the docs here!