Two species
A
1
and
A
2
move in an electrostatic, centrifugal, or velocity field and mix according to the cyclic reaction system:
A
1
k
e
⇆
k
e
A
2
. All reaction rate constants are assumed to be equal to
k
e
.The two governing equations for the concentrations
c
i
of the species
A
i
are:​​
∂
c
i
∂t
=
D
i
2
∂
c
i
∂
2
x
-
v
i
∂
c
i
∂x
-
k
e
c
i
+
k
e
c
j
,​where
{i,j
} are two permutations of
{1,2}
.​The boundary and initial conditions are
lim
x±∞
c
j
(x,t)=0
and
c
j
(x,0)=
f
j
δ(x)
with
f
1
=1
and
f
2
=0
.​All components are assumed to be sufficiently similar to have identical diffusion coefficients
(
D
1
=
D
2
).
The velocities of species
A
1
and
A
2
are such as
v
1
=-
v
2
=v
.​First, expressions for the spatial moments (i.e.,
m
kj
for
k∈{1,2,3,4}andj∈{1,2}
are obtained. Then, we compute the reduced first moment,

μ
1j
as well as the second, third and fourth central moments (
μ
2j
,
μ
3j
and
μ
4j
) .​These spatial moments are used to construct the concentration profile using the following truncated series of the Gram-Charlier expansion:​​
c
j
(x,t)=
m
0j
-
2
X
j

1+
μ
3j
8
3
X
j
-12
X
j
6
1.5
2
μ
2j

+124
μ
4j

2
(
μ
2j
)
-34
4
X
j
-12
2
X
j
+3
2π
μ
2j
,​where
X
j
=
x-

μ
1j

2
μ
2j
.​Here, we plot the concentration profiles of the species
A
1
and
A
2
for the case where
*
t
=
k
e
t=0.96
and
β=2v
k
e
D
2
=10
. The concentrations of the species
A
1
and
A
2
are shown as blue and red peaks, respectively. The green peak corresponds to
2
∑
i=1
c
i
(i.e., the concentration of the combined species). ​​​Finally, our generated concentration distributions are benchmarked against their counterparts from Killalea and McCoy (1980).
In[]:=
Eliminate[{D[
c
1
[t],{t,2}]+d1D[
c
1
[t],{t,1}]-k2D[
c
2
[t],{t,1}]==0,D[
c
1
[t],{t,1}]+d1
c
1
[t]-k2
c
2
[t]==0,D[
c
2
[t],{t,1}]+d2
c
2
[t]-k1
c
1
[t]==0},{D[
c
2
[t],{t,1}],
c
2
[t]}]
Out[]=
′′
c
1
[t]-d1d2
c
1
[t]+k1k2
c
1
[t]-d1
′
c
1
[t]-d2
′
c
1
[t]
In[]:=
roots=Solve[r^2+(d1+d2)r+(d1d2-k1k2)==0,r]
Out[]=
r
1
2
-d1-d2-
2
d1
-2d1d2+
2
d2
+4k1k2
,r
1
2
-d1-d2+
2
d1
-2d1d2+
2
d2
+4k1k2

In[]:=
r1=roots[[1]][[1,2]]
Out[]=
1
2
-d1-d2-
2
d1
-2d1d2+
2
d2
+4k1k2

In[]:=
r2=roots[[2]][[1,2]]
Out[]=
1
2
-d1-d2+
2
d1
-2d1d2+
2
d2
+4k1k2

In[]:=
c
1
[t_]:=C11Exp[r1t]+C22Exp[r2t]
In[]:=
c
2
[t_]:=1/k2(D[
c
1
[t],{t,1}]+d1
c
1
[t])
In[]:=
ConstInteg=Solve[{
c
1
[0]==f1,
c
1
'[0]==f2k2-d1f1},{C11,C22}]
Out[]=
C11-
-d1f1+d2f1+2f2k2-f1
2
d1
-2d1d2+
2
d2
+4k1k2
2
2
d1
-2d1d2+
2
d2
+4k1k2
,C22-
d1f1-d2f1-2f2k2-f1
2
d1
-2d1d2+
2
d2
+4k1k2
2
2
d1
-2d1d2+
2
d2
+4k1k2

In[]:=
C11=ConstInteg[[1]][[1,2]]
Out[]=
-
-d1f1+d2f1+2f2k2-f1
2
d1
-2d1d2+
2
d2
+4k1k2
2
2
d1
-2d1d2+
2
d2
+4k1k2
In[]:=
C22=ConstInteg[[1]][[2,2]]
Out[]=
-
d1f1-d2f1-2f2k2-f1
2
d1
-2d1d2+
2
d2
+4k1k2
2
2
d1
-2d1d2+
2
d2
+4k1k2
In[]:=
d1=D1k^2+v1kI+k1;
In[]:=
d2=D2k^2+v2kI+k2;
In[]:=
k1=k2;D1=D2;v1=v;v2=-v;f1=1;f2=0;
Spatial moments for species 1 and 2
In[]:=
m[0,1]=FullSimplify[Limit[
c
1
[t],k0],k2>0]//Expand
Out[]=
1
2
+
1
2
-2k2t

In[]:=
m[0,2]=FullSimplify[Limit[
c
2
[t],k0],k2>0]//Expand
Out[]=
1
2
-
1
2
-2k2t

In[]:=
m[1,1]=FullSimplify[ILimit[D[
c
1
[t],{k,1}],k0],k2>0]//Expand
Out[]=
v
2k2
-
-2k2t

v
2k2
In[]:=
m[1,2]=FullSimplify[ILimit[D[
c
2
[t],{k,1}],k0],k2>0]//Expand
Out[]=
0
In[]:=
m[2,1]=FullSimplify[I^2Limit[D[
c
1
[t],{k,2}],k0],k2>0]//Expand
Out[]=
2D2
-k2t

tCosh[k2t]+
-k2t

t
2
v
Sinh[k2t]
k2
In[]:=
m[2,2]=FullSimplify[I^2Limit[D[
c
2
[t],{k,2}],k0],k2>0]//Expand
Out[]=
-k2t

t
2
v
Cosh[k2t]
k2
+2D2
-k2t

tSinh[k2t]-
-k2t

2
v
Sinh[k2t]
2
k2
In[]:=
m[3,1]=FullSimplify[I^3Limit[D[
c
1
[t],{k,3}],k0],k2>0]//Expand
Out[]=
3
-k2t

t
3
v
Cosh[k2t]
2
k2
+
6D2
-k2t

tvSinh[k2t]
k2
-
3
-k2t

3
v
Sinh[k2t]
3
k2
In[]:=
m[3,2]=FullSimplify[I^3Limit[D[
c
2
[t],{k,3}],k0],k2>0]//Expand
Out[]=
0
In[]:=
m[4,1]=FullSimplify[I^4Limit[D[
c
1
[t],{k,4}],k0],k2>0]//Expand
Out[]=
12
2
D2
-k2t

2
t
Cosh[k2t]+
3
-k2t

2
t
4
v
Cosh[k2t]
2
k2
+
12D2
-k2t

2
t
2
v
Sinh[k2t]
k2
-
3
-k2t

t
4
v
Sinh[k2t]
3
k2
In[]:=
m[4,2]=FullSimplify[I^4Limit[D[
c
2
[t],{k,4}],k0],k2>0]//Expand
Out[]=
12D2
-k2t

2
t
2
v
Cosh[k2t]
k2
-
9
-k2t

t
4
v
Cosh[k2t]
3
k2
+12
2
D2
-k2t

2
t
Sinh[k2t]-
12D2
-k2t

t
2
v
Sinh[k2t]
2
k2
+
9
-k2t

4
v
Sinh[k2t]
4
k2
+
3
-k2t

2
t
4
v
Sinh[k2t]
2
k2
Reduced moments for species 1 and 2
In[]:=
red[i_,j_]:=m[i,j]/m[0,j]
Central moments for species 1 and 2
In[]:=
cen[i_,j_]:=Sum[Binomial[i,k]red[i-k,j](-red[1,j])^k,{k,0,i}]
Concentration profile using the Gram-Charlier expansion
In[]:=
c1=m[0,j]Exp[-(X)^2](1+cen[3,j](8(X)^3-12(X))/(6(2cen[2,j])^1.5)+1/24(cen[4,j]/cen[2,j]^2-3)(4(X)^4-12(X)^2+3))
2πcen[2,j]
a/.j1;
In[]:=
a=Sqrt[D2t]
Out[]=
D2t
In[]:=
sol=First[Solve[{v-5Sqrt[D2k2],tk20.96},{v,k2}]]
Out[]=
v-4.89898
D2
t
,k2
0.96
t

In[]:=
X[j_]:=(x-red[1,j])/Sqrt[2cen[2,j]];
In[]:=
X1=X[j]/.j1;
In[]:=
c1/.sol/.XX1/.xxoSqrt[D2/k2]/.sol//Expand//FullSimplify
Out[]=
1
3.5
(D2t)
-
0.627135
D2
t
t
D2t
-0.084261xoxo

t0.000639996
D2
t
3.
(D2t)
(-3.95313xo+1.
3
xo
)+0.000353015
3
D2
D2
t
3
t
(23.7443xo+1.
3
xo
)+D2
2.5
(D2t)
(0.0150355+0.00598287
2
xo
+0.0000429945
4
xo
)
In[]:=
c1p=(E^(((-0.6271351215135569)-0.08426099869750073*xo)*xo)*((-0.005193249821722638+0.003941118485202517*xo^2)+0.0006399962877921872*(-3.9531289210574077*xo+1.*xo^3)+0.0003530154487780164*(23.744273843440205*xo+1.*xo^3)+(0.02022875903003083+0.0020417465304259333*xo^2+0.00004299450351458052*xo^4)))
Out[]=
(-0.627135-0.084261xo)xo

(0.0150355+0.00598287
2
xo
+0.0000429945
4
xo
+0.000639996(-3.95313xo+1.
3
xo
)+0.000353015(23.7443xo+1.
3
xo
))
Concentration profile for species 1 plotted in blue
In[]:=
p1=Plot[c1p,{xo,-15,15},PlotRangeAll,PlotStyleDarker@Blue,PlotRange{{-15,15},{0,0.15}}];
In[]:=
c2=m[0,j]Exp[-(X)^2](1+cen[3,j](8(X)^3-12(X))/(6(2cen[2,j])^1.5)+1/24(cen[4,j]/cen[2,j]^2-3)(4(X)^4-12(X)^2+3))
2πcen[2,j]
a/.j2;
In[]:=
X2=X[j]/.j2;
In[]:=
c2p=c2/.sol/.XX2/.xxoSqrt[D2/k2]/.sol//FullSimplify
Concentration profile for species 2 plotted in red
Overall concentration profile plotted in green
Comparison of our concentration distributions with Fig. 2 of Ref. 1
Effect of neglecting the fourth moment on the total concentration profile
In[]:=
c2 = m[0, j] Exp[-(X)^2] (1 + cen[3, j] (8 (X)^3 - 12 (X))/(6 (2 cen[2, j])^1.5))/Sqrt[2 π cen[2, j]] a /. j  2;
X2 = X[j] /. j  2;
c2p = c2 /. sol /. X  X2 /. x  xo Sqrt[D2/k2] /. sol // FullSimplify
Comparison of our concentration distributions with Fig. 3 of Ref. 1

References

[1] Killalea, M.K. and McCoy, B.J. (1980), Concentration distribution and spatial moments of moving macromolecules undergoing isomerization. Biopolymers, 19: 1875-1886. https://doi.org/10.1002/bip.1980.360191014

CITE THIS NOTEBOOK

Concentration distribution of moving macromolecules undergoing isomerization​
by Housam Binous and Ahmed Bellagi
Wolfram Community, STAFF PICKS, June 9, 2025
​https://community.wolfram.com/groups/-/m/t/3476080