# Beer–Lambert law

The Beer–Bouguer–Lambert (BBL) extinction law is an empirical relationship describing the attenuation in intensity of a radiation beam passing through a macroscopically homogenous medium with which it interacts. Formally, it states that the intensity of radiation decays exponentially in the absorbance of the medium, and that said absorbance is proportional to the length of beam passing through the medium, the concentration of interacting matter along that path, and a constant representing said matter's propensity to interact.
The extinction law's primary application is in chemical analysis, where it underlies the Beer–Lambert law, commonly called Beer's law. Beer's law states that a beam of visible light passing through a chemical solution of fixed geometry experiences absorption proportional to the solute concentration. Other applications appear in physical optics, where it quantifies astronomical extinction and the absorption of photons, neutrons, or rarefied gases.
Forms of the BBL law date back to the mid-eighteenth century, but it only took its modern form during the early twentieth.

## History

The first work towards the BBL law began with astronomical observations Pierre Bouguer performed in the early eighteenth century and published in 1729. Bouguer needed to compensate for the refraction of light by the earth's atmosphere, and found it necessary to measure the local height of the atmosphere. The latter, he sought to obtain through variations in the observed intensity of known stars. When calibrating this effect, Bouguer discovered that light intensity had an exponential dependence on length traveled through the atmosphere (in Bouguer's terms, a geometric progression).
Bouguer's work was then popularized in Johann Heinrich Lambert's Photometria in 1760. Lambert expressed the law, which states that the loss of light intensity when it propagates in a medium is directly proportional to intensity and path length, in a mathematical form quite similar to that used in modern physics. Lambert began by assuming that the intensity I of light traveling into an absorbing body would be given by the differential equation $-\mathrm {d} I=\mu I\mathrm {d} x,$ which is compatible with Bouguer's observations. The constant of proportionality μ was often termed the "optical density" of the body. As long as μ is constant along a distance d, the exponential attenuation law, $I=I_{0}e^{-\mu d}$ follows from integration.
In 1852, August Beer noticed that colored solutions also appeared to exhibit a similar attenuation relation. In his analysis, Beer does not discuss Bouguer and Lambert's prior work, writing in his introduction that "Concerning the absolute magnitude of the absorption that a particular ray of light suffers during its propagation through an absorbing medium, there is no information available." Beer may have omitted reference to Bouguer's work because there is a subtle physical difference between color absorption in solutions and astronomical contexts. Solutions are homogeneous and do not scatter light at common analytical wavelengths (ultraviolet, visible, or infrared), except at entry and exit. Thus light within a solution is reasonably approximated as due to absorption alone. In Bouguer's context, atmospheric dust or other inhomogeneities could also scatter light away from the detector. Modern texts combine the two laws because scattering and absorption have the same effect. Thus a scattering coefficient μ$_s$ and an absorption coefficient μ$_a$ can be combined into a total extinction coefficient μ = μ$_s$ + μ$_a$.
Importantly, Beer also seems to have conceptualized his result in terms of a given thickness' opacity, writing "If λ is the coefficient (fraction) of diminution, then this coefficient (fraction) will have the value λ$^2$ for double this thickness." Although this geometric progression is mathematically equivalent to the modern law, modern treatments instead emphasize the logarithm of λ, which clarifies that concentration and path length have equivalent effects on the absorption. An early, possibly the first, modern formulation was given by Robert Luther and Andreas Nikolopulos in 1913.

## Mathematical formulations

There are several equivalent formulations of the BBL law, depending on the precise choice of measured quantities. All of them state that, provided that the physical state is held constant, the extinction process is linear in the intensity of radiation and amount of radiatively-active matter, a fact sometimes called the fundamental law of extinction. Many of them then connect the quantity of radiatively-active matter to a length traveled ℓ and a concentration c or number density n. The latter two are related by Avogadro's number: n = N$_A$c.
A collimated beam (directed radiation) with cross-sectional area S will encounter Sℓn particles (on average) during its travel. However, not all of these particles interact with the beam. Propensity to interact is a material-dependent property, typically summarized in absorptivity ϵ or scattering cross-section σ. These almost exhibit another Avogadro-type relationship: ln(10)ε = N$_A$σ. The factor of ln(10) appears because physicists tend to use natural logarithms and chemists decadal logarithms.
Beam intensity can also be described in terms of multiple variables: the intensity I or radiant flux Φ. In the case of a collimated beam, these are related by Φ = IS, but Φ is often used in non-collimated contexts. The ratio of intensity (or flux) in to out is sometimes summarized as a transmittance coefficient T = I⁄I$_0$.
When considering an extinction law, dimensional analysis can verify the consistency of the variables, as logarithms (being nonlinear) must always be dimensionless.

### Formulation

The simplest formulation of Beer's relates the optical attenuation of a physical material containing a single attenuating species of uniform concentration to the optical path length through the sample and absorptivity of the species. This expression is:$\log _{10}(I_{0}/I)=A=\varepsilon \ell c$The quantities so equated are defined to be the absorbance A, which depends on the logarithm base. The Naperian absorbance τ is then given by τ = ln(10)A and satisfies $\ln(I_{0}/I)=\tau =\sigma \ell n.$
If multiple species in the material interact with the radiation, then their absorbances add. Thus a slightly more general formulation is that ${\begin{aligned}\tau &=\ell \sum _{i}\sigma _{i}n_{i},\\[4pt]A&=\ell \sum _{i}\varepsilon _{i}c_{i},\end{aligned}}$where the sum is over all possible radiation-interacting ("translucent") species, and i indexes those species.
In situations where length may vary significantly, absorbance is sometimes summarized in terms of an attenuation coefficient ${\begin{alignedat}{3}\mu _{10}&={\frac {A}{l}}&&=\epsilon c\\\mu &={\frac {\tau }{l}}&&=\sigma n.\end{alignedat}}$
In atmospheric science and radiation shielding applications, the attenuation coefficient may vary significantly through an inhomogenous material. In those situations, the most general form of the Beer–Lambert law states that the total attenuation can be obtained by integrating the attenuation coefficient over small slices dz of the beamline: ${\begin{alignedat}{3}A&=\int {\mu _{10}(z)\,dz}&&=\int {\sum _{i}{\epsilon _{i}(z)c_{i}(z)}\,dz},\\\tau &=\int {\mu (z)\,dz}&&=\int {\sum _{i}{\sigma _{i}(z)n_{i}(z)}\,dz}.\end{alignedat}}$These formulations then reduce to the simpler versions when there is only one active species and the attenuation coefficients are constant.

## Derivation

There are two factors that determine the degree to which a medium containing particles will attenuate a light beam: the number of particles encountered by the light beam, and the degree to which each particle extinguishes the light.
Assume that a beam of light enters a material sample. Define z as an axis parallel to the direction of the beam. Divide the material sample into thin slices, perpendicular to the beam of light, with thickness dz sufficiently small that one particle in a slice cannot obscure another particle in the same slice when viewed along the z direction. The radiant flux of the light that emerges from a slice is reduced, compared to that of the light that entered, by $\mathrm {d\Phi _{e}} (z)=-\mu (z)\Phi _{\mathrm {e} }(z)\mathrm {d} z,$ where μ is the (Napierian) attenuation coefficient, which yields the following first-order linear, ordinary differential equation:${\frac {\mathrm {d} \Phi _{\mathrm {e} }(z)}{\mathrm {d} z}}=-\mu (z)\Phi _{\mathrm {e} }(z).$ The attenuation is caused by the photons that did not make it to the other side of the slice because of scattering or absorption. The solution to this differential equation is obtained by multiplying the integrating factor$\exp \left(\int _{0}^{z}\mu (z')\mathrm {d} z'\right)$throughout to obtain${\frac {\mathrm {d} \Phi _{\mathrm {e} }(z)}{\mathrm {d} z}}\,\exp \left(\int _{0}^{z}\mu (z')\mathrm {d} z'\right)+\mu (z)\Phi _{\mathrm {e} }(z)\,\exp \left(\int _{0}^{z}\mu (z')\mathrm {d} z'\right)=0,$which simplifies due to the product rule (applied backwards) to${\frac {\mathrm {d} }{\mathrm {d} z}}\left[\Phi _{\mathrm {e} }(z)\exp \left(\int _{0}^{z}\mu (z')\mathrm {d} z'\right)\right]=0.$
Integrating both sides and solving for Φ$_e$ for a material of real thickness ℓ, with the incident radiant flux upon the slice $\mathrm {\Phi _{e}^{i}} =\mathrm {\Phi _{e}} (0)$ and the transmitted radiant flux $\mathrm {\Phi _{e}^{t}} =\mathrm {\Phi _{e}} (\ell )$ gives$\mathrm {\Phi _{e}^{t}} =\mathrm {\Phi _{e}^{i}} \exp \left(-\int _{0}^{\ell }\mu (z)\mathrm {d} z\right),$and finally$T=\mathrm {\frac {\Phi _{e}^{t}}{\Phi _{e}^{i}}} =\exp \left(-\int _{0}^{\ell }\mu (z)\mathrm {d} z\right).$
Since the decadic attenuation coefficient μ$_{10}$ is related to the (Napierian) attenuation coefficient by $\mu _{10}={\tfrac {\mu }{\ln 10}},$ we also have${\begin{aligned}T&=\exp \left(-\int _{0}^{\ell }\ln(10)\,\mu _{10}(z)\mathrm {d} z\right)\\[4pt]&=10^{\;\!\wedge }\!\!\left(-\int _{0}^{\ell }\mu _{10}(z)\mathrm {d} z\right).\end{aligned}}$
To describe the attenuation coefficient in a way independent of the number densities n$_i$ of the N attenuating species of the material sample, one introduces the attenuation cross section $\sigma _{i}={\tfrac {\mu _{i}(z)}{n_{i}(z)}}.$ σ$_i$ has the dimension of an area; it expresses the likelihood of interaction between the particles of the beam and the particles of the species i in the material sample:$T=\exp \left(-\sum _{i=1}^{N}\sigma _{i}\int _{0}^{\ell }n_{i}(z)\mathrm {d} z\right).$
One can also use the molar attenuation coefficients $\varepsilon _{i}={\tfrac {\mathrm {N_{A}} }{\ln 10}}\sigma _{i},$ where N$_A$ is the Avogadro constant, to describe the attenuation coefficient in a way independent of the amount concentrations $c_{i}(z)=n_{i}{\tfrac {z}{\mathrm {N_{A}} }}$ of the attenuating species of the material sample:${\begin{aligned}T&=\exp \left(-\sum _{i=1}^{N}{\frac {\ln(10)}{\mathrm {N_{A}} }}\varepsilon _{i}\int _{0}^{\ell }n_{i}(z)\mathrm {d} z\right)\\[4pt]&=\exp \left(-\sum _{i=1}^{N}\varepsilon _{i}\int _{0}^{\ell }{\frac {n_{i}(z)}{\mathrm {N_{A}} }}\mathrm {d} z\right)^{\ln(10)}\\[4pt]&=10^{\;\!\wedge }\!\!\left(-\sum _{i=1}^{N}\varepsilon _{i}\int _{0}^{\ell }c_{i}(z)\mathrm {d} z\right).\end{aligned}}$

### Validity

Under certain conditions the Beer–Lambert law fails to maintain a linear relationship between attenuation and concentration of analyte. These deviations are classified into three categories:
* Real—fundamental deviations due to the limitations of the law itself.
* Chemical—deviations observed due to specific chemical species of the sample which is being analyzed.
* Instrument—deviations which occur due to how the attenuation measurements are made.
There are at least six conditions that need to be fulfilled in order for the Beer–Lambert law to be valid. These are:
* The attenuators must act independently of each other.
* The attenuating medium must be homogeneous in the interaction volume.
* The attenuating medium must not scatter the radiation—no turbidity—unless this is accounted for as in DOAS.
* 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 narrower than that of the attenuating transition. Otherwise a spectrometer as detector for the power is needed instead of a photodiode which cannot discriminate between wavelengths.
* 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 are not fulfilled, there will be deviations from the Beer–Lambert law.
The law tends to break down at very high concentrations, especially if the material is highly scattering. Absorbance within range of 0.2 to 0.5 is ideal to maintain linearity in the Beer–Lambert law. If the radiation is especially intense, nonlinear optical processes can also cause variances. The main reason, however, is that the concentration dependence is in general non-linear and Beer's law is valid only under certain conditions as shown by derivation below. For strong oscillators and at high concentrations the deviations are stronger. If the molecules are closer to each other interactions can set in. These interactions can be roughly divided into physical and chemical interactions. Physical interaction do not alter the polarizability of the molecules as long as the interaction is not so strong that light and molecular quantum state intermix (strong coupling), but cause the attenuation cross sections to be non-additive via electromagnetic coupling. Chemical interactions in contrast change the polarizability and thus absorption.
In solids, attenuation is usually an addition of absorption coefficient $\alpha$ (creation of electron-hole pairs) or scattering (for example Rayleigh scattering if the scattering centers are much smaller than the incident wavelength). Also note that for some systems we can put $1/\lambda$ (1 over inelastic mean free path) in place of $\mu$.

## Applications
### In plasma physics

The BBL extinction law also arises as a solution to the BGK equation.

### Chemical analysis by spectrophotometry

The Beer–Lambert 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 attenuation coefficient ε is known. Measurements of decadic attenuation coefficient μ$_{10}$ are made at one wavelength λ that is nearly unique for bilirubin and at a second wavelength in order to correct for possible interferences. The amount concentration c is then given by $c={\frac {\mu _{10}(\lambda )}{\varepsilon (\lambda )}}.$
For a more complicated example, consider a mixture in solution containing two species at amount concentrations c$_1$ and c$_2$. The decadic attenuation coefficient at any wavelength λ is, given by $\mu _{10}(\lambda )=\varepsilon _{1}(\lambda )c_{1}+\varepsilon _{2}(\lambda )c_{2}.$
Therefore, measurements at two wavelengths yields two equations in two unknowns and will suffice to determine the amount concentrations c$_1$ and c$_2$ as long as the molar attenuation coefficients of the two components, ε$_1$ and ε$_2$ are known at both wavelengths. This two system equation can be solved using Cramer's rule. In practice it is better to use linear least squares to determine the two amount concentrations from measurements made at more than two wavelengths. Mixtures containing more than two components can be analyzed in the same way, using a minimum of N wavelengths for a mixture containing N components.
The law is used widely in infra-red spectroscopy and near-infrared spectroscopy for analysis of polymer degradation and oxidation (also in biological tissue) as well as to measure the concentration of various compounds in different food samples. The carbonyl group attenuation at about 6 micrometres can be detected quite easily, and degree of oxidation of the polymer calculated.

### In-atmosphere astronomy

The Bouguer–Lambert law may be 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 optical depth for a slant path is τ′ = mτ, where τ refers to a vertical path, m is called the relative airmass, and for a plane-parallel atmosphere it is determined as m = sec θ where θ is the zenith angle corresponding to the given path. The Bouguer-Lambert law for the atmosphere is usually written $T=\exp {\big-m(\tau _{\mathrm {a} }+\tau _{\mathrm {g} }+\tau _{\mathrm {RS} }+\tau _{\mathrm {NO_{2}} }+\tau _{\mathrm {w} }+\tau _{\mathrm {O_{3}} }+\tau _{\mathrm {r} }+\cdots ){\bigr )},$ where each τ$_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 (CO$_2$) and molecular oxygen (O$_2$) which only absorb);
* NO$_2$ is nitrogen dioxide, mainly due to urban pollution (absorption only);
* RS are effects due to Raman scattering in the atmosphere;
* w is water vapour absorption;
* O$_3$ is ozone (absorption only);
* r is Rayleigh scattering from molecular oxygen (O$_2$) and nitrogen (N$_2$) (responsible for the blue color of the sky);
* the selection of the attenuators which have to be considered depends on the wavelength range and can include various other compounds. This can include tetraoxygen, HONO, formaldehyde, glyoxal, a series of halogen radicals and others.
m is the optical mass or airmass factor, a term approximately equal (for small and moderate values of θ) to ⁠${\tfrac {1}{\cos \theta }},$⁠ where θ 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 τ$_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.