Continuity of temperature, pressure and mass density matches the ideal gas envelope pressure to the nonrelativistic electron degeneracy pressure . Substituting this base mass density into the radiative-zero white-dwarf envelope law gives the luminosity-temperature scaling behind Mestel's cooling law. The matched point is a transition approximation; the cold degeneracy law does not represent finite-temperature corrections there exactly.
Write for the specific gas constant, with the printed denoting the atomic mass unit, and for the radiation constant. In the low-mass envelope the enclosed mass is approximately and the outward luminosity is approximately . The stellar hydrostatic equation, stellar radiative diffusion, and ideal gas equation give
The Kramers' opacity law becomes . Dividing the two differential equations eliminates radius and mass density:
Integrating from a surface matching point gives
Deep compared with the photosphere, the surface terms are negligible. The radiative-zero white-dwarf envelope therefore has
This is the leading envelope approximation used in the later parts, rather than an exact atmospheric boundary condition at .
At the base, temperature, mass density and pressure match the isothermal degenerate core. Let , where is the mean molecular weight per electron. Equating the gas and electron degeneracy pressure gives
Hence . Substituting this into the envelope relation at yields
The matching of a white-dwarf envelope to a degenerate core thus gives , the envelope relation underlying Mestel's cooling law. It depends on pressure as well as mass density continuity at the interface; otherwise the supplied core equation would not determine the matching mass density.
At the core-envelope interface, continuity at temperature requires the envelope pressure
to equal the nonrelativistic electron degeneracy pressure
Eliminating gives
Equating the two pressures and solving for luminosity gives Mestel's cooling law
In particular, .