This lecture provides an introduction to diffusive motion from the microscopic and macroscopic point of view. Diffusion is an important process for understanding the behavior of liquids and gases. Analyzing diffusion allows us to deploy various tools of general usefulness: probability and statistiscs, differential equations, connections between micro- and macroscopic descriptions.
Probability reminder: the binomial distribution
In a binomial process each random trial has two possible outcomes
("success" or "failure")
with probabilities p and q, respectively, p + q = 1.
For a set of N independent trials, the probability of m successes is
One-dimensional symmetric random walk
Consider a 1-dimensional random walk along the x axis,
in which the walker starts at the origin (x = 0) and
takes steps of fixed length a at random, either to the right (with
probability p=0.5) or to the left (with pobability q = 1 - p = 0.5).
After taking N steps altogether,
m steps will be to the right and N-m steps to the left.
We can calculate the walker's positon relative to starting point x=0:
Now imagine that we have performed a large number of such random walks and
ask about the statistics of the random variable x.
We can symbolically calculate the averages of x in terms of the random variable
m, when N and a are fixed at some given values:
Our first result is that the average expected position of the walker is x=0.
This makes intuitive sense. As the walker has equal probabilities of moving
right or left, we expect that it its average position will be in the center.
The second result is less intuitive, telling us that the square of the distance
travelled is proportional to the number of steps taken N. Mathematically, we
expect
to be positive, as
is a positive quantity (except at x=0).
Taken together, the results for
and
tell us that while the
probability of finding the walker to the left or right of x=0 are the same,
we should expect to find the walker further and further away from the origin
as the number of steps N increases.
Diffusion as random walk
Consider a molecule moving in a gas (or liquid).
We assume the molecule moves in a series of jumps, moving in straight line
over a short period of time
with average velocity c, then
colliding with another molecule. The collision is "instantaneous", i.e. very
fast compared to
and results in a random change of the velocity
direction (left or right in 1 dimension, more choices in 3-dimensional world).
The collision is followed by motion in straight line
over an average time
with constant average velocity c
in the new direction, leading to another collision, ... etc. etc.
We introduce the quantity called the mean free path a,
,
describing the average distance travelled between collisions.
For motion in 1 dimension, we can treat the molecular motion as a random walk
with step size a, with N steps taken over time t, N = t/
.
Using our random walk results, the mean square of the distance travelled
over time t is then
Nature of diffusive motion.
For a molecule executing ballistic motion, i.e.
moving with a constant velocity c in a straight line,
the distance travelled in time t is
Overall, in a sample of gas (or liquid) we might have three kinds of motions.
Diffusion is an effective mode of transport over short distances, e.g. inside
a cell of size
. To move molecules over the whole human body
(size about 1 m)
it is more efficient to put them in the bloodstream, where they flow
convectively with some average constant rate, powered by pumping of our heart.
Concentration and flux
Consider a fluid in a tube
of cross-section A extending along the x axis.
Our system could be pure gas, pure liquid or a mixture. We introduce
the concentration of our species of interest (gas, solute or solvent)
at time t and point x along the x axis as c(x,t).
We focus
attention on a "slice" of the tube close to point x,
between
and
. Suppose there are n moles in this slice
at time t,
then the concentration c = n/V at point x and time t is defined as
where V is slice volume V = Ab. c(x,t) is our usual molar comcentration in moles per liter. In general c(x,t) may vary with position and with time. The second quantity we need is the flux of matter J(x,t), also called the flow of matter. J(x,t) is defined as the number of moles passing in the x direction through a surface perpendicular to the axis at point x, per unit area and unit time. The flux has a direction - it is positive when matter moves along x and negative when matter moves opposite to x direction.
Suppose the number of moles in our slice changed by a small number
over a short period of time
.
We assume there are no chemical reactions in our system, so matter will
be conserved, i.e. the change of number of moles inside the slice must
be equal to the number of moles which passed through the slice boundaries:
at left boundary (entering slice if J is positive)
and
at right boundary (leaving slice if J is positive):
while the right hand side tells us about variation of the flux function J(x) with position
and finally we get the matter conservation equation:
in words: the rate of change of concentration with time is equal to minus the
gradient of the flux. (A derivative of a function with respect to a position
variable is called a gradient. When a quantity has a non-zero gradient,
that is a complicated way of saying that its value varies with position.)
Fick's first law of diffusion
This law states that the flux of matter is proportional to the concentration
gradient:
The constant D is called the diffusion coefficient.
This law makes sense thermodynamically. If there is a gradient of concentration,
i.e. c(x,t) varies with position, that means there will be a spontaneous flow
of matter from regions of high concentration (high chemical potential) to
regions of low concentration (low chemical potenial). This spotaneous
lowering of the free energy is in accord with the Second Law of thermodynamics.
The minus sign in the above equation is due to the fact that the flux is
directed from high to low concentrations. i.e. opposite the concentration
gradient.
Fick's first law is based on experimental observations.
Fick's second law of diffusion: diffusion equation
Combining Fick's first law with the matter conservation equation leads to
which is called either Fick's second law of diffusion or simply the diffusion equation. This equation relates the rate of change of concentration c(x,t) with time to the rate of change of concentration in space at a given point. The rate of change of concentration with time is proportional to the second derivative of c with respect to x (also called the curvature). In regions of large curvature the concentration undergoes fast changes in time which lead to "flattening" of the c(x) curve, i.e. elimination of the curvature.
Notice that the rate of change of c is zero when the curvature of c
is zero. This is true both when c(x) = const (zero curvature of n and zero
flux J = -D dc/dx = 0)
and when c varies linearly with x, c(x) = ax + b, in which case the curvature
is also zero and the flux is constant J = -D dc/dx = -Da. In this last case
for every "slice" along the x axis the inflow balances the outflow, so c(x,t)
remains constant. This last situation could correspond to two large reservoirs
with different concentrations,
and
, connected by a thin pipe.
In that case the c(x,t)=c(x) in the pipe will be not change in time,
but vary linearly from
to
as we move along the pipe.
Solution of the diffusion equation
Let us prepare our system in a special state, in which all solute molecules
(e.g. glucose) are initially collected in the yz plane (i.e. at x=0) in a disk
of area A, with the rest of the container filled with pure solvent
(e.g. water). The solution of the diffusion equation for the concentration of
the solute as a function of time is
where
is the total amount of solute and D is the diffusion coefficient of
the solute. The c(x,t) plot is a Gaussian or bell-shaped function, with the
height of the peak at x=0 decreasing with time and the width of the bell
increasing with time. We can calculate the mean square displacement of the solute
during time t as
using the well-known integrals
This provides the link between our random walk and diffusion equation treatments.
This document was generated using the LaTeX2HTML translator Version 2002 (1.62)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 0 -link 0 -nonavigation diffusion.tex
The translation was initiated by Krzysztof Kuczera on 2005-10-05