# Diffusion

If you grow a layered structure, you want the layers to be exactly as you have deposited them. In particular, you don't want atoms to diffuse into other layers so that the sharp boundary of layers with different compositions becomes smeared out, changing the electronic properties of the material. That is where a good understanding of diffusion processes are necessary: controlling diffusion means controlling the composition of the compound. In this section, a very short derivation of the equation modeling diffusion in general is derived, followed by a description of methods to measure diffusion and finally, a wideley used phenomenological model for fitting real-life data of diffusion will be presented.

Suppose we have a lattice with atoms which can sit on the lattice sites. Let the concentration of atoms of a certain species in the crystal at position and time be . We want to know how the concentration at time . Let the probability that an atom at position will jump to be given by the function (or jump back in the othe other direction if the number is negative). Of course there is mass conservation so the probability that all the atoms are somewhere on the crystal lattice is 1 at all times, so . is a probability distribution function. Now we can express the new concentration at position and time in terms of the old one and the distribution:

let's consider this equation in one dimension first for simplicity. We can expand it in and so that we obtain

Now as explained before, is a probability distribution function and for is an weighted average. Of course, for a distribution not subject to an external force since it the probability should be (on average) evenly distributed over the solid angles. So in terms of this new average notation and this remark, the expansion of upto second order derivatives becomes

we define the diffusion coefficient

with physical dimension area per unit time. We generalise the above differential equation to three dimensions, noting that we can always define the coordinates in such a way that mixed partial derivatives do not occur. The final result is:

This equation is known as the linear diffusion equation and solving it with the initial concentration distribution and diffusion constant predicts the concentration distribution in time.

The next step is of course how to measure the diffusion constant. One can, for instance, do neutron scattering or X-ray (see the measurement techniques section). From first-order scattering theory, one knows that the obtained intensity of whatever wave is used is proportional to the square of the concentration (or density). The most general solution of the diffusion equation can be expressed in terms of a Fourier series

with where is the n-th diffraction Bragg peak order, the wavelength of the particle/wave used and a phase factor. As stated before so inserting the Fourier series in the diffusion equation yields

or, in terms of the diffusion coefficient,

So the diffusion coefficient can be extracted from measured data using this formula.

Of course, D depends on temperature as well as on strain. To express this dependence, one uses the phenomenological Arrhenius relation

one fits this model to a dataset and and are extracted providing a model which can be used for intrapolation or extrapolation outside the known temperature or strain range.

It is basically a Boltzmann factor where is the activation energy for diffusion to occur (the energy), a prefactor for the strain energy and the strain. is the saturation value of the diffusion.