Beer-Lambert law

# Overview
In optics, the BeerLambert law, also known as Beer's law or the LambertBeer law or the BeerLambertBouguer law (in fact, most of the permutations of these three names appear somewhere in literature) is an empirical relationship that relates the absorption of light to the properties of the material through which the light is travelling.

# Equations
The law states that there is a logarithmic dependence between the transmission (or transmissivity),  T \, , of light through a substance and the product of the absorption coefficient of the substance, \alpha \,, and the distance the light travels through the material (i.e. the path length), l \,. The absorption coefficient can, in turn, be written as a product of either a molar absorptivity of the absorber, \epsilon \,, and the concentration of absorbing species in the material, c \,, or an absorption cross section, \sigma  \,, and the (number) density of absorbers, N \,.
For liquids, these relations are usually written as
whereas for gases, and in particular among physicists and for spectroscopy and spectrophotometry, they are normally written
where I_0 \, and I_1 \, are the intensity (or power) of the incident light and that after the material, respectively.
The transmission (or transmissivity) is expressed in terms of an absorbance which for liquids is defined as
whereas it is usually defined as
for gases.
This implies that the absorbance becomes linear with the concentration (or number density of absorbers) according to
and
for the two cases, respectively.
Thus, if the path length and the molar absorptivity (or the absorption cross section) are known and the absorbance is measured, the concentration of the substance (or the number density of absorbers) can be deduced.
Although several of the expressions above often are used as BeerLambert law, the name should strictly speaking only by associated with the latter two. The reason is that historically, the Lambert law states that absorption is proportional to the light path length, whereas the Beer law states that absorption is proportional to the concentration of absorbing species in the material.
If the concentration is expressed as a mole fraction i.e. a dimensionless fraction, the molar absorptivity (\epsilon \,) takes the same dimension as the absorption coefficient, i.e. reciprocal length (e.g. cm1). However, if the concentration is expressed in moles per unit volume, the molar absorptivity (\epsilon \,) is used in Lmol1cm1, or sometimes in converted units of mol1 cm2.
Moreover, the absorption coefficient \alpha' \, can be expressed in term of the imaginary part of the refractive index, \kappa \, , and the wavelength of the light (in free space), \lambda_{0} \,, according to
In molecular absorption spectrometry, the absorption cross section  is expressed in terms of a linestrength, S, and an (area-normalized) lineshape function, . The frequency scale in molecular spectroscopy is often in cm-1, wherefore the lineshape function is expressed in units of 1/cm-1, which can look funny but is strictly correct. Since N is given as a number density in units of 1/cm3, the linestrength is often given in units of cm2cm-1/molecule. A typical linestrength in one of the vibrational overtone bands of smaller molecules, e.g. around 1.5 m in CO or CO2, is around 10-23 cm2cm-1, although it can be larger for species with strong transitions, e.g. C2H2. The linestrengths of various transitions can be found in large databases, e.g. HITRAN. The lineshape function often takes a value around a few 1/cm-1, up to around 10/cm-1 under low pressure conditions, when the transition is Doppler broadened, and below this under atmospheric pressure conditions, when the transition is collision broadened. It has also become commonplace to express the linestrength in units of cm-2/atm since then the concentration is given in terms of a pressure in units of atm. A typical linestrength is then often in the order of 10-3 cm-2/atm. Under these conditions, the detectability of a given technique is often quoted in terms of ppmm.
The fact that there are two commensurate definitions of absorbance (in base 10 or e) implies that the absorbance and the absorption coefficient for the cases with gases,  A'  \,  and \alpha' \,, are ln 10 (approximately 2.3) times larger than the corresponding values for liquids, i.e.  A  \,  and \alpha \,, respectively.  Therefore, care must be taken when interpreting data that the correct form of the law is used.
The law tends to break down at very high concentrations, especially if the material is highly scattering. If the light is especially intense, nonlinear optical processes can also cause variances.

# Derivation
Assume that particles may be described as having an absorption cross section (i.e. area), , perpendicular to the path of light through a solution, such that a photon of light is absorbed if it strikes the particle, and is transmitted if it does not.
Define z as an axis parallel to the direction that photons of light are moving, and A and dz as the area and thickness  (along the z axis) of a  3-dimensional slab of space through which light is passing.  
We assume that dz is sufficiently small that one particle in the slab cannot obscure another particle in the slab when viewed along the z direction. The concentration of particles in the slab is represented by N.
It follows that the fraction of photons absorbed when passing through this slab is equal to the total opaque area of the particles in the slab,  A N dz, divided by the area of the slab A, which yields  N dz.   Expressing the number of photons absorbed by the slab as dIz,  and the total number of photons incident on the slab as  Iz,  the fraction of photons absorbed by the slab is given by
The solution to this simple differential equation is obtained by integrating both sides to obtain Iz as a function of z
The difference of intensity for a slab of real thickness l is I0 at z = 0, and I1 at z = l. Using the previous equation, the difference in intensity can be written as,
rearranging and exponentiating yields,
This implies that
and
It is instructive to consider the consequences of error in an assumption that is implicit in this derivation, namely that every absorbing particle behaves independently with respect to the light. Error is introduced when particles interact by lying along the same optical path such that some particles are in the shadow of others.  The assumption approaches accuracy only in very dilute solutions, 
and it becomes increasingly inaccurate with increasingly concentrated solutions or long optical paths.
In practice, the accuracy of the assumption is better than the accuracy of most spectroscopic measurements up to an absorbance of 1 (or : {I_1} / {I_0} = 0.1)  and to a good approximation, measurements of absorbance in this range are linearly related to the concentration of absorbing substances in solution.  At higher absorbances, concentrations will be underestimated due to this shadow effect unless one employs a nonlinear relationship between absorbance and concentration.

# Prerequisites
There are at least five conditions that need to be fulfilled in order for Beers law to be valid. These are:
- The absorbers must act independently of each other;
- The absorbing medium must be homogeneously distributed in the interaction volume and must not scatter the radiation;
- The incident radiation must consist of parallel rays, each traversing the same length in the absorbing medium;
- The incident radiation should preferably be monochromatic, or have at least a width that is more narrow than the absorbing transition; and
- The incident flux must not influence the atoms or molecules; it should only act as a non-invasive probe of the species under study. In particular, this implies that the light should not cause optical saturation or optical pumping, since such effects will deplete the lower level and possibly give rise to stimulated emission.
If any of these conditions is not fulfilled, there will be deviations from Beers law.

# Chemical analysis
Beer's law can be applied to the analysis of a mixture by spectrophotometry, without the need for extensive pre-processing of the sample. An example is the determination of bilirubin in blood plasma samples. The spectrum of pure bilirubin is known, so the molar absorbance is known. Measurements are made at one wavelength that is nearly unique for bilirubin and at a second wavelength in order to correct for possible interferences.The concentration is given by c = Acorrected / .
For a more complicated example, consider a mixture in solution containing two components at concentrations c1 and c2. The absorbance at any wavelength,  is, for unit path length, given by
Therefore, measurements at two wavelengths yields two equations in two unknowns and will suffice to determine the concentrations c1 and c2 as long as the molar aborbances of the two components, 1 and 1 are known at both wavelengths. In practice it is better to use linear least squares to determine the two concentrations from measurements made at more than two wavelengths. Mixtures containing more than two components can be analysed in the same way, using a minimum of n wavelengths for a mixture containing n components.

# BeerLambert law in the atmosphere
This law is also applied to describe the attenuation of solar or stellar radiation as it travels through the atmosphere. In this case, there is scattering of radiation as well as absorption. The BeerLambert law for the atmosphere is usually written
where each \tau_{x} is the optical depth whose subscript identifies the source of the absorption or scattering it describes:
- a refers to aerosols (that absorb and scatter)
- g are uniformly mixed gases (mainly carbon dioxide (\mathrm{CO}_2)  and molecular oxygen (\mathrm{O}_2) which only absorb)
- \mathrm{NO}_2 is nitrogen dioxide, mainly due to urban pollution (absorption only)
- w is water vapour absorption
- \mathrm{O}_3 is ozone (absorption only)
- r is Rayleigh scattering from molecular oxygen (\mathrm{O}_2) and nitrogen (\mathrm{N}_2) (responsible for the blue color of the sky).
m is the optical mass or airmass factor, a term approximately equal (for small and moderate values of \theta) to 1/\cos(\theta), where \theta is the observed object's zenith angle (the angle measured from
the direction perpendicular to the Earth's surface at the observation site).
This equation can be used to retrieve \tau_{a}, the aerosol optical thickness,
which is necessary for the correction of satellite images and also important in accounting for the role of
aerosols in climate.

# History
The law was discovered by Pierre Bouguer before 1729.  It is often mis-attributed to Johann Heinrich Lambert, who cited Bouguer's Essai d'Optique sur la Gradation de la Lumiere (Claude Jombert, Paris, 1729)  and even quoted from it  in his Photometria in 1760.  Much later, August Beer extended the exponential absorption law in 1852 to include the concentration of solutions in the absorption coefficient.