Convective instability of a uniform-density star (source code)

= Convective instability of a uniform-density star
{title2=$N^2=-2\omega_d^2r^2/[\gamma(R^2-r^2)]$}

Consider a spherical <uniform-density stellar model> of <mass density> $\rho$, <radius> $R$, negligible surface <pressure> and a fixed-composition <ideal gas> with <adiabatic index> $\gamma>1$. Define $\omega_d^2=4\pi G\rho/3$, so the inward <gravitational acceleration> has magnitude $g(r)=\omega_d^2r$ and $P(r)=\rho\omega_d^2(R^2-r^2)/2$.

For an adiabatically displaced parcel in <pressure> balance with its surroundings, the squared <buoyancy frequency> is
$$
N^2=g\left(\frac1\gamma\frac{d\log P}{dr}-\frac{d\log\rho}{dr}\right)
=-\frac{2\omega_d^2r^2}{\gamma(R^2-r^2)}<0,\qquad0<r<R.
$$
A constant background <mass density> does not mean an incompressible parcel: its <pressure> and <temperature> change during the displacement. The negative $N^2$ means a rising parcel is lighter than its surroundings and continues to rise. Equivalently, the ideal-gas <specific entropy> decreases outward.

Thus this thermally stratified equilibrium has <stellar convective instability> even if a separate test of <homologous adiabatic stellar stability> finds restoring radial compression for $\gamma>4/3$. Mechanical equilibrium, radial compression stability and buoyant stability answer different questions. The singular near-surface expression also reflects the zero-pressure idealized boundary and should not be extrapolated to a realistic photosphere unchanged.