Put . The near-surface mass density and mean free path from a and b are
A simple local escape estimate sets the remaining distance equal to the mean free path, . It gives
For the Sun's parameters this is .
A more precise operational definition uses the outward radial optical depth. In this varying mass density,
The chance of an outward radial photon escaping without another scattering is . Thus the conventional last-scattering depth gives
There is no sharp escape surface: gives nearly free propagation, and oblique rays have different optical depths. The local estimate actually has in this model, not ; the factor is a convention-dependent order-one correction, not a discrepancy in the Thomson cross-section. Neither scattering criterion establishes a thermalization surface.
For a spherical star in Newtonian hydrostatic equilibrium, the total supporting pressure satisfies
where zero external pressure is the idealized vacuum boundary condition. Substitute the enclosed mass from a, set , and integrate inwards:
The supplied integral follows directly by differentiating . It yields
Thus , about for the Sun's parameters. This is precisely the equation of state of a polytrope of index one.
For nonrelativistic fully ionized hydrogen with electrons and protons at a common temperature, the gas pressure is . If gas pressure dominates, the resulting temperature profile is
Numerically for the Sun's parameters, and tends to zero at the idealized outer edge.
If the photons are additionally assumed to be in local thermodynamic equilibrium with this gas, their radiation pressure is , with . The consistent temperature is instead the unique nonnegative root of
The left side is strictly increasing in for , so the root is unique. Evaluating the radiation pressure at gives at most for the Sun's parameters, at the centre; the ratio decreases approximately as outwards. The gas-only profile is consequently an excellent approximation within this imposed stellar model.
Hydrostatic equilibrium by itself fixes total pressure, not how it is divided between gas and radiation. Thomson scattering alone does not enforce a common gas–radiation temperature or a Planck photon distribution. Without either neglecting radiation pressure or specifying the radiation field and its thermodynamic closure, a unique gas temperature cannot be inferred from the given mass density alone.