The Maxwell equations in the presence of a medium are given in SI units (m kg s A) as:
Furthermore there are the phenomenological relations between the fields
In vacuum e=m=1, in a medium a microscopic theory is necessary to determine e and m . The propagation of an electromagnetic wave through the medium is determined by the wave equation, which can be derived from the above equations by considering :
The left-hand side simplifies with the help of ÑD = 0 to
The right-hand side can be rewritten as
yielding
with the speed of light in the medium given by
c = 1/sqrt( e e0 m m0).
The refractive index n is then defined as the ratio between the speed of light in vacuum (e=m=1) and the speed of light in the medium:
n = c0 / c = sqrt(e m).
Solutions of the homogeneous wave equation are plane waves
E = E0 exp(i k r - wt)
which have to fulfill the dispersion relation
w = c k = (c0/n) k
where k = || k ||.
The dispersion relation is obtained by inserting the solutions into the
wave equation.
X-ray absorption is the attenuation of an x-ray beam through a layer of thickness x as given by Beer's law:
Both the photoelectric effect and inelastic scattering (Compton scattering) contribute to this loss of intensity. If we are not interested in the detailed nature of the absorption process, we can introduce the absorption as an imaginary part b of the refractive index: If the photon beam in a medium with direction k/k is described as a damped plane wave:I(x) = I0 exp(-mx)
the attenuation of the wave can formally be included in n by settingE(x,t) = E0 exp{i (n kx-wt)} exp(-m (k/k) x/2)
and we obtainb = m/2k
Note that from now on we have to be careful with boundary conditions and choosing the correct sign before ib.E(x,t) = E0 exp{i ( [1-d+ib] kx - wt)}
Finally it should be mentioned that the macroscopic constants d and b are related to the electron density including the dispersive (f ') and absorptive (f '') corrections:
where r and A are the mass density and atomic weight of the atom, respectively, r0 = e2/(4pe0 mc) = 2.818 fm is the classical electron radius, and l= hc/E the x-ray wave length. Z is the number of electrons per atom. For a chemical compound the d and b values can be obtained from the mass density, atomic mass numbers Ai and atomic charges Zi and the dispersion corrections fi', fi" for the individual atoms:d = r0 (l2/2p) (r/A) (Z-f ')
b = r0 (l2/2p) (r/A) f "
Sometimes scattering length densities are introduced, to compare to the formalism as used in neutron scattering. The real and imaginary part of the scattering length density b are given by:
Re(b) = 2p d /l2 Im(b) = 2p b /l2