Chapter 03 - Diffusion
Chapter 03 - Diffusion
Chapter 03 - Diffusion
Chapter 3: Diffusion
3.1 Introduction
1
MPHY2002: Introduction to Biophysics
2
MPHY2002: Introduction to Biophysics
Right away, we can see that if we ask the question: “what is the precise
location of our particle after n collisions,” we’d come up blank, because
we don’t know the positions and velocities of all other particles and
consequently we don’t know in which direction our particle will travel
after each collision. So this is not a particularly useful question to ask!
xn xn −1 + kn L
= (0.1)
1
Pr [kn =−1] =
2 (0.2)
1
Pr [kn= 1=
]
2
Pr [ x2 =
−2 L ] =
0.25
Pr [ x2 =− L] =0
Pr [ x=
2 ] 0.5
0= (0.3)
Pr [ x=
2 ] 0
L=
Pr [= L ] 0.25
x2 2=
3
MPHY2002: Introduction to Biophysics
to the right. The order in which these steps occur does not matter.
Denoting the number of steps to the right as the random variable M,
the total displacement is:
xn = ML + ( n − M )( − L ) = ( 2M − n ) L (0.4)
xn
= xn −1 + kn L (0.5)
xn = ∑ Pr [ x=
n α ]⋅α (0.6)
α
4
MPHY2002: Introduction to Biophysics
∑ Pr [ xn−1 + kn L =α ] ⋅ α
xn −1 + kn L =
α
(0.7)
Using the additive property of the mean, and factoring out the constant
L, we can expand Equation (0.5) as:
xn
= xn −1 + kn L (0.8)
xn = 0 (0.10)
( xn−1 + kn L )
2
xn 2
=
except that it corresponds to the previous step. For the second term,
5
MPHY2002: Introduction to Biophysics
xn −1kn = xn −1 kn . (0.12)
kn 2 = 1 (0.13)
As a result, we have
xn 2
= xn −12 + L2 (0.14)
x12 = L2
(0.15)
x2 2 = 2 L2
so that in general:
xn 2 = nL2 (0.16)
6
MPHY2002: Introduction to Biophysics
2
d n= xn 2 + yn 2 (0.17)
2
d=
n xn 2 + yn 2 (0.18)
2
dn = 2nL2 (0.19)
Using the same type of calculation, we find that for three dimensions,
the mean-squared displacement is given by:
2
dn = 3nL2 (0.20)
t
xn 2 = L2
∆t
(0.21)
L2
=t
∆t
7
MPHY2002: Introduction to Biophysics
L2
D≡ , (0.22)
2∆t
so that we have:
xn 2 = 2 Dt
(0.23)
( Diffusion in 1 dimension )
The factor of 2 in Equation (0.23) may seem like an unnecessary
complication in this derivation, but as we will see later in this chapter,
it actually leads to simpler equations when the diffusion process is
described in terms of differential equations.
2
dn = 4 Dt
(0.24)
( Diffusion in 2 dimensions )
2
dn = 6 Dt
(0.25)
( Diffusion in 3 dimensions )
3.3 Binomial distributions and the discrete diffusion model
In this section we start with the discrete diffusion model in 1-D, and
explore what happens to the probability distributions when there are a
large number of steps.
xn = ML − ( n − M ) L . (0.26)
8
MPHY2002: Introduction to Biophysics
1
=M ( nL + xn ) . (0.27)
2L
In the case where steps to the right and to the left have equal
probabilities, and all steps are independent, the probability of a
particular random walk with M steps to the right is given by:
(1 2 ) ⋅ (1 2 ) (1 2 ) .
M n−M n
=
The number of walks in which there are M steps to the right is given by
the binomial coefficient, which is spoken as “n choose M” and written
as:
n n!
= . (0.28)
M
M !( n − M ) !
It follows that the probability that a random walk has M steps to the
right is:
n
n 1
Pr [ M ] ⋅
= m= (0.29)
M 2
10
10 1
Pr [ x=
n ] Pr [ M= 6=] = 0.205 .
2=
6 2
µM
= M
= np
. (0.30)
σ M 2 =( M − M )
2
npq
=
9
MPHY2002: Introduction to Biophysics
10
MPHY2002: Introduction to Biophysics
1 ( m − µ M )2
=p ( m) exp − (0.31)
2πσ M 2 2σ M 2
Pr [ m < M < m + dm ] =p ( m ) dm .
x = mL − (n − m) L = ( 2m − n ) L (0.32)
11
MPHY2002: Introduction to Biophysics
1 − x2
p ( x) = exp . (0.33)
4π Dt 4 Dt
12
MPHY2002: Introduction to Biophysics
The net number of particles moving from left to right per unit time is a
useful quantity: it is called the flux, j. Based on the above calculations,
we have:
N ( x − L, t ) 2 − N ( x , t ) 2
j=
∆t
(0.34)
1 N ( x − L, t ) − N ( x , t )
=
2 ∆t
c ( x − L, t ) L − c ( x , t ) L
j=
2∆t
(0.35)
L c ( x − L, t ) − c ( x , t )
2
= ⋅
2∆t L
c ( x − L, t ) − c ( x , t ) ∂c
≈− (0.36)
L ∂x
∂c
j = −D (0.37)
∂x
Fick’s law tells us that the flux is directly proportional to the spatial
derivative of the concentration. While this is useful, it is not the end of
the story: it does not say what happens to particles as they flow from
one region to another. In our model, the total number of particles is
13
MPHY2002: Introduction to Biophysics
∂N ( x, t ) L L
= j x − − j x + . (0.38)
∂t 2 2
∂ c ( x, t ) L L L
= j x − − j x + (0.39)
∂t 2 2
Once again, we may take the bins to be narrow, whereupon the right-
hand side of this formula becomes (-L) times a derivative. Dividing by
L then gives:
∂c ∂j
= − (0.40)
∂t ∂x
∂c ∂ 2c
=D 2 (0.41)
∂t ∂x
∂c 2 ∂ 2c ∂ 2c ∂ 2c
=∇ c= 2 + 2 + 2 (0.42)
∂t ∂x ∂y ∂z
14
MPHY2002: Introduction to Biophysics
n
c ( x, t ) =
2
/4 Dt
e− x . (0.43)
4π Dt
1 − ( x − µ )2
p ( x) = exp
2πσ 2 2σ 2
we find that:
σ 2 = 2Dt ,
which tells us that the concentration spreads out with time at a rate
that is proportional to the diffusion constant D. Once again, we find
D L2 2∆t and
agreement with the Binomial model: substituting =
n= t ∆t , we obtain once again σ 2 = nL2 .
µ =0,
Questions
15
MPHY2002: Introduction to Biophysics
16
MPHY2002: Introduction to Biophysics
Solution to 2) above
2 i)
𝜕𝜕𝜕𝜕 𝜕𝜕 2 𝑐𝑐
= 𝐷𝐷 2
𝜕𝜕𝜕𝜕 𝜕𝜕𝑥𝑥
Using the chain rule, we have:
3
1 𝑛𝑛 2 ⁄4𝐷𝐷𝐷𝐷 𝑛𝑛 2 ⁄4𝐷𝐷𝐷𝐷 𝑥𝑥 2 −2
LHS = − 𝑡𝑡 −2 𝑒𝑒 −𝑥𝑥 + 𝑒𝑒 −𝑥𝑥 � 𝑡𝑡 �
2 √4𝜋𝜋𝜋𝜋 √4𝜋𝜋𝜋𝜋𝜋𝜋 4𝐷𝐷
𝑛𝑛 2 ⁄4𝐷𝐷𝐷𝐷 1 𝑥𝑥 2 −2
= 𝑒𝑒 −𝑥𝑥 �− 𝑡𝑡 −1 + 𝑡𝑡 �
√4𝜋𝜋𝜋𝜋𝜋𝜋 2 4𝐷𝐷
𝑛𝑛 2 ⁄4𝐷𝐷𝐷𝐷 1 𝑥𝑥 2 −2
= 𝑒𝑒 −𝑥𝑥 �− 𝑡𝑡 −1 + 𝑡𝑡 �
√4𝜋𝜋𝜋𝜋𝜋𝜋 2 4𝐷𝐷
For the sketch, note that at any time, the maximum value of c, cmax, occurs
at x=0. We therefore have:
𝑛𝑛
cmax = .
√4𝜋𝜋𝜋𝜋𝜋𝜋
When the function reaches 1/e2 = e-2 of its maximum value we have:
e-2cmax = c(x,t)
𝑛𝑛 𝒏𝒏 𝟐𝟐 ⁄𝟒𝟒𝟒𝟒𝟒𝟒
e-2 = 𝒆𝒆−𝒙𝒙
√4𝜋𝜋𝜋𝜋𝜋𝜋 √𝟒𝟒𝟒𝟒𝟒𝟒𝟒𝟒
−2 = − 𝑥𝑥 2 ⁄4𝐷𝐷𝐷𝐷
17
MPHY2002: Introduction to Biophysics
2 ii)
Note that if c-1(x,t) and c1(x,t) are solutions to the diffusion equation, then
c-1(x,t) + c1(x,t) is also a solution. This is because of the linearity of the
differentiation process, and it should be consistent with your intuition:
c(x,t) is just a measure of how many particles there are per unit distance
(per unit volume in three dimensions), and we can add up counts of
different particles to get the total number of particles.
𝑛𝑛/2 2 ⁄4𝐷𝐷𝐷𝐷
𝑐𝑐−1 (𝑥𝑥, 𝑡𝑡) = 𝑒𝑒 −(𝑥𝑥+1)
√4𝜋𝜋𝜋𝜋𝜋𝜋
18
MPHY2002: Introduction to Biophysics
𝑛𝑛/2 2 ⁄4𝐷𝐷𝐷𝐷
𝑐𝑐1 (𝑥𝑥, 𝑡𝑡) = 𝑒𝑒 −(𝑥𝑥−1)
√4𝜋𝜋𝜋𝜋𝜋𝜋
So the required expression for the total number of particles c(x,t) is:
To find tblurred, note that initially, for small times, the concentration as a
function of x consists of two peaks. Moreover, the concentration increases
with increasing distance from x=0 (just sketch a solution to convince
yourself of this). This means that for small times,
𝜕𝜕2 𝑐𝑐
> 0.
𝜕𝜕𝑥𝑥 2
After time tblurred, the concentration as a function of x consists of just one
peak, so that
𝜕𝜕2 𝑐𝑐
< 0.
𝜕𝜕𝑥𝑥 2
So for tblurred, we seek a time t such that
𝜕𝜕2 𝑐𝑐
= 0.
𝜕𝜕𝑥𝑥 2
We could calculate the second derivative of c-1(x,t)+c1(x,t), but by
𝜕𝜕2 𝑐𝑐
symmetry we know that if = 0, each of the terms should equal zero.
𝜕𝜕𝑥𝑥 2
𝜕𝜕2 𝑐𝑐
By symmetry we also know that = 0 occurs for x=0.
𝜕𝜕𝑥𝑥 2
So we set:
𝜕𝜕 2 𝑐𝑐1
=0
𝜕𝜕𝑥𝑥 2
Using the result from part i), we have:
𝑛𝑛 2 1 (𝑥𝑥 − 1)2 −2
𝑒𝑒 −(𝑥𝑥−1) ⁄4𝐷𝐷𝐷𝐷 �− 𝑡𝑡 −1 + 𝑡𝑡 �� =0
√4𝜋𝜋𝜋𝜋𝜋𝜋 2 4𝐷𝐷 𝑥𝑥=0
1 −1 1 −2
− 𝑡𝑡 + 𝑡𝑡 = 0
2 4𝐷𝐷
19