# Optical depth (astrophysics)

Optical depth in astrophysics refers to a specific level of transparency. Optical depth and actual depth, $\tau$ and $z$ respectively, can vary widely depending on the absorptivity of the astrophysical environment. Indeed, $\tau$ is able to show the relationship between these two quantities and can lead to a greater understanding of the structure inside a star.
Optical depth is a measure of the extinction coefficient or absorptivity up to a specific 'depth' of a star's makeup.
    $\tau \equiv \int _{0}^{z}\alpha dz=\sigma N.$
The assumption here is that either the extinction coefficient $\alpha$ or the column number density $N$ is known. These can generally be calculated from other equations if a fair amount of information is known about the chemical makeup of the star. From the definition, it is also clear that large optical depths correspond to higher rate of obscuration. Optical depth can therefore be thought of as the opacity of a medium.
The extinction coefficient $\alpha$ can be calculated using the transfer equation. In most astrophysical problems, this is exceptionally difficult to solve since solving the corresponding equations requires the incident radiation as well as the radiation leaving the star. These values are usually theoretical.
In some cases the Beer–Lambert law can be useful in finding $\alpha$.
    $\alpha =e^{4\pi \kappa /\lambda _{0}},$
where $\kappa$ is the refractive index, and $\lambda _{0}$ is the wavelength of the incident light before being absorbed or scattered. The Beer–Lambert law is only appropriate when the absorption occurs at a specific wavelength, $\lambda _{0}$. For a gray atmosphere, for instance, it is most appropriate to use the Eddington Approximation.
Therefore, $\tau$ is simply a constant that depends on the physical distance from the outside of a star. To find $\tau$ at a particular depth $z'$, the above equation may be used with $\alpha$ and integration from $z=0$ to $z=z'$.

## The Eddington approximation and the depth of the photosphere

Since it is difficult to define where the interior of a star ends and the photosphere begins, astrophysicists usually rely on the Eddington Approximation to derive the formal definition of $\tau =2/3$
Devised by Sir Arthur Eddington the approximation takes into account the fact that H$^−$ produces a "gray" absorption in the atmosphere of a star, that is, it is independent of any specific wavelength and absorbs along the entire electromagnetic spectrum. In that case,
    $T^{4}={\frac {3}{4}}T_{e}^{4}\left(\tau +{\frac {2}{3}}\right),$
where $T_{e}$ is the effective temperature at that depth and $\tau$ is the optical depth.
This illustrates not only that the observable temperature and actual temperature at a certain physical depth of a star vary, but that the optical depth plays a crucial role in understanding the stellar structure. It also serves to demonstrate that the depth of the photosphere of a star is highly dependent upon the absorptivity of its environment. The photosphere extends down to a point where $\tau$ is about 2/3, which corresponds to a state where a photon would experience, in general, less than 1 scattering before leaving the star.
The above equation can be rewritten in terms of $\alpha$ in the following way:
    $T^{4}={\frac {3}{4}}T_{e}^{4}\left(\int _{0}^{z}(\alpha )dz+{\frac {2}{3}}\right)$
Which is useful, for example, when $\tau$ is not known but $\alpha$ is.