The sine-product cubic polytropic interior has zero mass density gradient at every corner. Its hydrostatic potential therefore has zero gradient there. In contrast, at a corner of a cube containing a positive mass density, every interior mass element contributes a gravitational-potential gradient pointing into the same coordinate octant. Each component of the gradient is strictly nonzero. This directly proves failure of global isolated gravitational matching, even though the interior hydrostatic and Poisson equations hold.
For the cubic polytropic interior, vanishes at each vertex, so the locally defined potential predicts zero gravitational acceleration there. But at the vertex , the actual self-gravitational acceleration of the positive mass distribution is
whose three components are strictly positive. The fields cannot match continuously. Thus the interior Helmholtz equation and zero density on the faces do not construct an isolated static cubic star. External stresses or an external gravitational field would be needed to realize such a boundary-value construction.
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).
The same polytrope of index one interior equation is . A positive separated solution with zero density on all six cube faces is the cubic polytropic interior
Its Laplacian is , so the required side length is
With and , it satisfies the interior hydrostatic equilibrium and Poisson equation for Newtonian gravity. Integrating each sine factor yields
This formal interior solution is not an isolated physical cubic star. The cubic polytrope fails isolated gravitational matching: at a vertex, the product of sines has , so the interior potential predicts zero gravitational acceleration. At the vertex , however, the field generated by its own positive mass is
and each component is strictly positive. There can be no continuous matching to the isolated external field without additional forces or mass sources. Thus solving the interior density equation and imposing zero face values is insufficient. Fluid stars also have no rigid structure to maintain sharp cubic faces, and observed stellar shapes are approximately spherical or rotationally flattened rather than cubic.