Write the polytropic law as , with constant and . Its pressure potential, or polytropic enthalpy relative to zero density, isHydrostatic balance is . If the surface has zero density and potential , integration gives . At the centre, . ThereforeInsert and into the spherical Poisson equation for Newtonian gravity:The central conditions are and ; the latter follows from a regular spherically symmetric centre. This reproduces the supplied coordinate and potential scaling rather than introducing an unrelated normalization.
For the sound-speed task, the adiabatic sound speed of a perfect polytropic gas isA diatomic gas with active rotational but frozen vibrational degrees of freedom has and . With the requested surface-potential gauge ,The interior potential is then negative. Choosing zero potential at the surface is legitimate; for a finite isolated sphere it is a different additive gauge from setting potential to zero at infinity. Both choices cannot generally be imposed simultaneously.
For the mass-radius task, let be the first zero of the regular Lane-Emden function and . A finite-radius polytrope hasThusAt fixed central temperature, fixed composition and fixed polytropic index, . These are homologous polytropes at fixed central temperature. They do not in general have constant ; imposing constant entropy instead gives a different polytropic mass-radius sequence. If or varies between stars, the displayed dimensionless structure factor and composition factor must be retained: equal alone is not a universal exact proportionality for arbitrary stellar models.
For a dilute linear diatomic gas with fixed molecular number, translation contributes molar . Rotational levels are with degeneracy :At rotational excitation is frozen out; at the partition function is proportional to , giving and . Nuclear-spin populations and molecular symmetry modify detailed low-temperature behaviour. The high-temperature result corresponds to two quadratic rotational degrees of freedom; a nonlinear molecule has three and contributes .
For each independent harmonic vibration, write . Its energy and heat capacity areThe contribution is exponentially small at low temperature and approaches per mode at high temperature. zero-point energy does not contribute to . Typically rotations activate before bond stretching, producing diatomic plateaus as temperature increases within the molecular regime; ideal-gas . Dissociation, electronic excitation and nonideal interactions eventually invalidate this simple sequence. Polyatomic gases sum over their distinct vibrational frequencies; no single activation temperature describes all modes.