The Beer-Lambert law in optics is an empirical relationship that relates the absorption of light by a material, to the properties of the material through which the light is traveling. This is the basis of absorption spectrometry, which allows to measure the concentration of different gases in a chamber.
If the container has a mixture of [latex]n[/latex] ‘‘pure’’ gases in it, the law postulates that the logarithm of the ratio of the light intensities is a linear function of the concentrations of each gas in the mix. The log-ratio of intensities is thus of the form [latex]y=a^Tx[/latex] for some vector [latex]a \in \mathbb{R}^n[/latex], where [latex]x[/latex] is the vector of concentrations. The coefficients [latex]a_j[/latex], [latex]j= 1, \cdots, n[/latex] correspond to the log-ratio of light intensities when [latex]x= e_j[/latex] (the [latex]j[/latex]-th vector of the standard basis, which correspond to the [latex]j[/latex]-th pure gas). The quantity [latex]a_j[/latex] is called the coefficient of absorption of the [latex]j[/latex]-th gas and can be measured in the laboratory.
See also: Absorption spectrometry: using measurements at different light frequencies.