# Stellar spectra

### Stellar Spectra

\The spectrum that we see from a star gives us information from the photosphere from the star, and contains all the information that we get from stars, aside from neutrinos. Thus, even though it is a very small fraction of the star, it is important observationally. \\The surface (or photosphere) is where the mean free path is comparable to the scale height of the atmosphere. This is given by

Plugging in gas pressure, which dominates the photospheres of stars,

This gives us the pressure and density in the photosphere, with

and

For the Sun, K, giving a number density of cm, which is the central number density of the Sun. The pressure is erg cm atm. The pressure and density, along with the effective temperature, set the observable properties of stars. To first order, we have assumed that the surface of a star is a perfect blackbody emitter. This is not accurate though, as it ignores the presence of spectral lines, the strength of which depends on the density and pressure as well. The spectra of stars are the basis of a classification system, labeling stars O, B, A, F, G, K, M, ranging from the hottest stars to the coolest stars. There are also L and T spectral types, which apply not to stars, but to brown dwarfs. The nice thing about this is that for main sequence stars, the mass maps to an effective temperature, which maps to a spectral type. Our goal is to understand the second fact (since we already understand the first fact). \\The matter on the surface of a star is in thermodynamic equilibrium. This is fundamentally the reason that the temperature determines the spectral lines in a star. The ratio of number of states is just set by the Boltzmann factor, with

For neutral atoms and molecules, this describes the number of electrons in each state. For determining the fraction of neutral and ionized atoms, we can generalize the Boltzmann factor to an expression known as the Saha equation. In thermal equilibrium, the temperature, pressure, and chemical potential () will all come in to equality. These three quantities are the macroscopic properties of a gas. The implication of the chemical potential equilibrium is that for a reaction where

and where

then

The fact that the reaction be able to go both ways is important to remember. This fact is the reason that we cannot apply chemical potential equilibrium to describe fusion in the centers of star. It is so energetically difficult to break apart a helium atom that there are many more reactions producing helium then there are reactions breaking helium apart to provide hydrogen. So, instead, we’ll apply this to ionization balance, which is a problem chemical equilibrium can solve, and is what we want to understand to understand the surfaces of stars. We can start by looking at the ionization/recombination of hydrogen:

We can solve for the balance of this reaction by writing down the chemical potential of each side,

The phase space distribution of particles is

Remember that the plus or minus depends on whether we are dealing with Fermi-Dirac or Bose-Einstein statistics. In the limit of a classical gas, this cannot matter, so we must have the exponential term dominate, leaving

The energy of particles is

The number density of particles in real space is the integral over the momentum of the particle,

Only the last term needs to stay in the integral, and it is a Gaussian integral with a nice solution. The result is

Or, in terms of the quantum number density,

This allows us to finally write down what is, with

Now, we have everything we need to solve for the ionization balance of hydrogen. We can write the chemical potential of the proton, electron, and hydrogen atom with the above expression, and the chemical potential of the photon is zero (we can create this for free, so they cannot have a chemical potential). The difference in the mass between the hydrogen atom and the sum of electon and proton masses is just the binding energy of the hydrogen atom, which we’ll call . Then

Some rearranging, taking advantage of the log rules for adding/subtraction, and then exponentiating both sides, gives the Saha equation,