Mathematical Methods in Chemical Engineering
Mathematical Methods in Chemical Engineering
Mathematical
Methods
in
Chemical
Engineering
2011
littp://www.arcliive.org/details/matliematicalmetliOOjens
Mathematica
Methods
in
Chemical
Engineering
V. G.
JENSON
Lecturer
and
G. V.
JEFFREYS
Senior Lecturer
1963
ACADEMIC PRESS
LONDON
and
NEW YORK
ACADEMIC PRESS
INC.
(LONDON) LTD
LONDON, W.l
ACADEMIC PRESS
1 1 1
INC.
FIFTH AVENUE
Copyright
10003
Printed in U.S.A.
PREFACE
The development of new
more complex and
is becoming
and development
increasingly expensive.
If the research
of the process can be carried out with confidence, the ultimate design will be
exact, and therefore the plant will operate more economically. In all
facets of such a project, mathematics, which is the language of the quantitative, plays a vital role. Therefore training in mathematical methods is of the
utmost importance to chemical engineers. The present text has been written
with these ideas in mind, and we would emphasize that our aim is to present
mathematics in a form suitable for the engineer rather than to teach engineering to mathematicians. To the pure mathematician an elegant proof is an
end in itself, but to the chemical engineer it is merely a means to an end.
Consequently this book only sketches demonstrations of the validity of
theorems, to encourage the reader to have more confidence in the use of the
technique for the solution of engineering problems. In addition, an attempt
has been made to sort out the useful from the trivial and flamboyant of the
wide variety of mathematical techniques available.
The material presented in this book is based on various undergraduate
and post graduate courses given in the Chemical Engineering Department of
the University of Birmingham. Many of the worked examples have been
selected from research work carried out in the department, and these are
supplemented with problems taken from the chemical engineering literature.
Some chapters of the book (notably Chapters 4 and 5) are almost entirely
mathematical, but wherever possible the text has been illustrated with chemical engineering applications.
more
The book was written when both authors were lecturers in the Chemical
Engineering Department of the University of Birmingham. It is hoped that
the text will encourage chemical engineers to make greater use of mathematics in the solution of their problems.
We wish to express our thanks to Professor J. T. Davies for initiating
the venture, and to Professor F. H. Garner, and Professor S. R. M. Ellis for
their interest and advice in the preparation of the text.
Birmingham
July,
1963
CONTENTS
PREFACE
Chapter
1.1
1.2
1.3
1.4
1.5
1.6
1.7
....
....
.
1.8
Conductor
1
1
4
6
8
11
14
16
1.10
1.11
Boundary Conditions
18
1.12
Sign Conventions
Summary OF the Method OF Formulation
21
1.9
1.13
17
19
Chapter 2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
....
23
23
24
33
41
66
72
Chapter 3
SOLUTION BY
SERIES
3.1
Introduction
3.2
Infinite Series
3.3
Power
3.4
3.5
3.6
Bessel's
3.7
Series
Equation
74
74
79
86
90
106
113
CONTENTS
Vlll
Chapter 4
COMPLEX ALGEBRA
4.1
Introduction
4.2
4.3
4.6
Principal Values
Algebraic Operations on the Argand Diagram
Conjugate Numbers
4.7
De Moivre's Theorem
4.4
4.5
4.8
4.9
117
117
118
119
.
123
124
125
126
.128
128
4.11
.130
131
4.14 Singularities
132
.120
137
.142
Chapter 5
5.2
5.3
5.4
5.5
5.6
Introduction
The Error Function
The Gamma Function
The Beta Function
Other Tabulated Functions which are Defined by
Integrals
Evaluation of Definite Integrals
.
149
149
151
154
157
.159
Chapter 6
Introduction
163
6.2
163
6.3
6.4
6.5
167
174
179
6.8
Convolution
Further Elementary Methods of Inversion
Inversion of the Laplace Transform by Contour
6.9
Integration
Application of the Laplace Transform to Automatic
6.6
6.7
Control Theory
.170
.180
182
188
contents
IX
Chapter 7
VECTOR ANALYSIS
7.7
Introduction
Tensors
Addition and Subtraction of Vectors
Multiplication of Vectors
Differentiation of Vectors
Hamilton's Operator,
Integration of Vectors and Scalars
7.8
Standard
7.1
7.2
7.3
7.4
7.5
7.6
Identities
199
200
203
210
216
218
222
227
228
231
236
Chapter 8
PARTIAL DIFFERENTIATION
AND
....
8.1
Introduction
8.2
8.3
8.4
8.5
8.6
8.7
8.9
8.10
Conclusions
8.8
....
238
239
245
252
259
269
272
290
302
306
Chapter 9
FINITE DIFFERENCES
9.1
Introduction
9.2
9.3
9.4
9.5
9.6
9.7
9.8
Interpolation
Finite Difference Equations
Linear Finite Difference Equations
Non-Linear Finite Difference Equations
Differential-Difference Equations
.
307
307
311
315
321
322
331
338
CONTENTS
Chapter 10
10.1
10.2
10.3
10.4
10.5
Curve Fitting
Numerical Integration
10.6
10.7
Chapter
349
349
354
355
356
360
369
NUMERICAL METHODS
11.1
Introduction
11.2
First
11.3
Type)
1 1
.4
11.5
11.6
11.7
380
380
385
....
388
397
406
409
Chapter 12
MATRICES
12.1
Introduction
12.2
The Matrix
Matrix Algebra
12.3
12.4
12.5
12.6
12.7
12.8
12.9
....
.
437
438
439
Matrix
Algebraic Equations
Series
12.12 Differentiation
Lambda-Matrices
12.14 The Characteristic Equation
12.15 Sylvester's Theorem
12.16 Transformation OF Matrices
12.17 Quadratic Form
12.13
....
443
443
444
444
446
448
448
449
451
452
454
457
459
461
contents
xi
463
.
465
472
Chapter 13
OPTIMIZATION
13.1
13.2
13.3
13.4
13.5
13.6
Introduction
Types of Optimization
Analytical Procedures
473
474
475
483
485
486
Chapter 14
COMPUTERS
14.1
Introduction
14.2
Analogue Computers
Active Analogue Computers
14.3
14.4
14.5
Passive
Digital Computers
Comparison of the Uses of Analogue and Digital
Computers
492
493
496
505
509
PROBLEMS
511
APPENDIX
532
SUBJECT INDEX
.543
Chapter
Introduction
Nearly
all
applied
science
ficance.
In this chapter, only the simplest problems will be considered and the
the solutions.
1.2.
vigorously,
then
pumped
into tank
to settle into
are
removed
two
layers.
separately,
Water
q
OO
Benzene
+
benzoic acid
Water
+
benzoic acid
Fig. 1.1.
The problem is idealized in Fig. 1.2 where the two tanks have been combined into a single stage. The various streams have been labelled and two
material balances have already been used, (a) conservation of toluene, and
(b) conservation of water. These flow rates have been expressed on a solute
R ft/min toluene
R ft^nnin toluene
>
X Ib/ft^benzoic acid
water
S ft/min
water
Fig. 1.2.
y
where
is
= mx
(1.1)
The equation
is
now
down
mass
= Re Ib/min
= i?x -f 5y Ib/min
Rc =
The
it
enters,
Kx^Sy
and
(1.2)
contain four
(1.2)
known
quantities
1.
c, m) and two unknown quantities (x, y), and they can be solved
unknowns as follows.
Re = Rx-\-mSx
(R, S,
the
Re
R + mS'
= mRc
R + mS
(1.3)
^
is
-^^
(1.4)
R + mS
= 12R, m =
Re
for
if 5"
1/8, and c = 0-1; then
and the proportion of acid extracted is 60%.
At this stage, it can be seen that even in this simple problem, two dimensionless groups which are characteristic of the problem, have arisen quite
As
a numerical example,
0-04,
0-005,
and
E=
Putting
= RlmS
(1.5)
=
That
1.3.
l/(a
+ l)
(1.6)
is
Solvent Extraction in
Two
Stages
now
R
c
Stage
S
^1
Stage
2
*o
y-,
Fig.
^2
1.3.
have the same meaning as in the previous example, and the diff'erent concentrations in a particular phase are distinguished by suffixes. In accordance
with chemical engineering practice, the suffix denotes the number of the stage
from which the stream is leaving. The assumptions which were made above
are made again, and equation (1.1) is still vahd for each stage separately,
giving
yi
= mxi
is
now
y2
(1.7)
Stage
Input of acid (Ib/min)
= mx2
1
Rc + Sy2
Rx^
+ Sy^
Stage 2
Rx^
Rx2 + Sy2
The
gives the
at the
same
rate,
two equations
Rc + Sy2 = Rx^-hSy^
Rx^
Using equations
(1.7) to
= Rx2 + Sy2
and
Eliminating
>^i
between equations
R{Rc + mSx2)
R^c
.-.
(1.8)
and
(1.8)
(1.9)
(1.9),
""^^
>^l=
R^ + mlLm^S^
mRc(R + mS)
n2^^pe,
^2e2
R^ + mRS + m^S
^'-''^
(1-11)
is
_ mS(R + mS)
Re ~ R^ + mRS + m^S^
Sy^
+a+1
(1.12)
(1.5),
a^-l
a^-1
Using the same numerical example as before, i.e. S = 12R, m = 1/8, and
c = 0-1 then X2 = 0-021, ^^^ = 0-0066, and the proportion extracted is 79%.
A greater degree of extraction has thus been obtained with two stages
than with one stage, everything else being the same.
;
1.4.
Solvent Extraction in
Stages
Chapter 9
will
be used here.
1.
The general arrangement is as shown in Fig. 1.4 where the flow rates of
two streams are still denoted by R and S, and the benzoic acid concentrations by X and y. The suffix notation is again used to distinguish between
the
yj
^2
\y
X,
^n-1
Yn-I
Ym-I 1
^N-2
N-1
^N
^N-1
n
S
Fig.
1.4.
^N
the diff'erent states of each stream, the suffix denoting the stage
which the
applied to
left.
= Rx _ + Sy +
= Rx + Sy
is
Rx.,
The
+ Sy^,=Rx + Sy,
and equation
(1.14)
yn
is
still
(1.14)
valid for
any value of n
'^^^n
becomes
Rx.i
+ mSx+i =
(R + mS)x
(1.5),
x_i+x+i =(oc+l)x
or in standard form,
x +
This
is
i-(a +
l)x,
+ x_i=0
(1.15)
9.
The solution
is
method
completeness,
viz.
y^
and
this
may
extracted, E,
= mx, =
mc(a^^^-a")/(a^-'^-l)
(1.15).
(1.16)
The proportion
given by
Table
1.1.
Proportion Extracted
(S =
60
in
2.
N Stages
1/8)
10
78-9
87-7
95-2
99-4
EiVo)
12/?,
m=
N=
Table 1 1 gives a few values of E for different values of A^ for the parsystem considered. This shows how the proportion extracted increases
with the number of stages, and indicates that more than ten stages are likely
to be wasteful whereas one stage gives a poor degree of extraction. This type
of problem will be continued in Chapter 13, where the most economical
number of stages will be determined by financial considerations.
.
ticular
1.5.
Simple
Water
Still
B
Fig.
1.5.
Water
still
1.
distillation
rate
G Ib/h,
the
investigated.
F=W + G
:.
= F
= W
= G
(1.18)
= H+ {F- W)T
= 212G+LG
=
H + Gr (212 + L)G
(1.19)
where equation (1.18) has been used to eliminate W. Equation (1.19) contains two unknown quantities, G and J, and another equation is needed to
complete the description. This is obtained from a heat balance over the
condenser.
= F{T Tq)
= G{L + 212 T)
Eliminating
between
and
(1.19)
(1.20)
is
cooled to
(1.20),
H
T=To + HIF
F(T-To) =
From
(1.19)
and
(1.21)
(1.21),
H=
G(2n + L-To-HIF)
FH
"
^^ F(212 + L-To)-H
^^'^^^
This equation gives the rate of distillation in terms of the heat input, and the
temperature and flow rate of the coohng water.
If an attempt is made to interpret equation (1.22) for a constant heat
supply rate and constant feed temperature, it is seen that as F is decreased,
G increases. In fact when F = i//(212+L Tq) it appears that G is infinite,
which is a physical impossibility. Reference to equation (1.21) resolves the
difficulty as follows. As F decreases, T increases; but T cannot exceed 212 F
as
it
and
To
.-.
this
+ HIF=T ^212
F^H/(212-To)
inequahty,
will
H = LG
:.
G = HjL
(1.23)
F(212-To)
D = (212-ro)F/L
.*.
The complete
solution
is
for
F^
F(2n + L-To)-H
and
when
i.e.
H 1(212- Tq)
FH
that
F=
(1.24)
D = (212- To)F/L
and
= DL
for
F^HI{2n- To)
This shows
in Fig. 1.6.
is
maximum
H/L.
The above analysis has been made without reference to heat losses, and
an attempt to allow for these would lead to a much more compHcated model.
at a value
the boiler
On
Fig. 1.6.
1.6.
1.6.
In the examples considered so far, the system has been in a steady state,
allowing the material entering the system to be equated to the material leaving
the system and this has always given algebraic equations. In unsteady state
problems, however, time enters as a variable and some properties of the
system become functions of time. In the application of conservation laws it
is no longer true that the rate of entry of material will equal the rate of exit,
since an allowance must be made for material accumulating within the
1.
system.
now
be reconsidered as
it
(1.25)
starts
from the
following situation. Assume that the single stage contains V^ ft^ of toluene,
V2 ft^ of water, and no benzoic acid. Assume, as before, that the mixer is so
efficient that the compositions of the two liquid streams are in equilibrium at
all times, and, in addition, that a stream leaving the stage is of the same
This
ibya^
v,,x
xlb/a^
Sftymin
^2'y
aymin
Ib/ft^
Time dependent
state of the
1.7,
aymin
aymin
Fig. 1.7.
y Ib/ft^
now
is
single-stage extraction
6,
functions of time.
Since the flow rates of water and toluene are constant, V^ and V2 will
remain constant. The conditions are always changing, and so the material
balance must be applied during a small time increment 36. Any function of
6 can be expanded by Taylor's theorem,t and this allows the state of the
system at a time 6 + 36 to be expressed in terms of its state at time 6. In this
case,
it is
helpful to
draw up
Table
1.2.
77?^
in entrance toluene
Cone, of acid in
exit toluene
Cone, of acid in
exit
6+39
Vi
V2
c
'*>
dv
water
Amount
Vix
V.xArV.pe
Amount
Viy
V2y+V2pe
Mathematical functions
shown
in Section 3.3.7,
10
During a time
interval SO,
Input of acid
= Re 39
Output of acid
= r(x +
\
--^^S9)s0 + s( y
Y
J
2de
--^^do]d9
2d9
= Vi-77,S9+V2^S9
Accumulation
d9
Since input output
d9
accumulation
Rcd9-R(x + \%^^y^-^(y +
Taking the
^^^^V =
dx ^^
^1 ~r^^^
d9++
d9
dy
v.
Vi'^.SO
^d9
limit as 59 -^ 0,
Rc-R.-Sy==v/^^+V,f^
(1.26)
In stating the output, the arithmetic mean of the concentrations was taken,
but the later calculations show that this was not necessary; the same equation
(1.26) would have been obtained by using the concentrations at time 9 instead.
Only the first two terms were taken in the Taylor series for x and y,
and these are all that are necessary since the further terms which contain a
factor (S9y will disappear when the hmit 39-^0 is taken.
Equation (1.26) must now be solved in conjunction with the equihbrium
relationship (1.1). Eliminating ;j;,
Rc-Rx-mSx =
dx
+ mFi
dx
Fi
do
do
Rearranging,
dx
dO
Rc-{R + mS)x~
and
V\
+ mV2
integrating,
-\n{Rc-(R + mS)x}
'
R^^
"F. + mF,"^^
^^'^^^
The constant of
state of the
when
= 0,
x =
-\nRc_
" R + mS~
\nRc-]n{Rc-(R + mS)x} = (R + mS)9l(V,-^mV2)
9
:.
(1.28)
or in exponential form:
Re
R + mSW
,,
^^,
I.
11
1.7.
Two
tank
by the following example.
of water. A stream of brine containing 2 Ib/ft^ of salt is fed
into the tank at a rate of 3 ft^/min. Liquid flows from the tank at a rate of
2 ft^/min. If the tank is well agitated, what is the salt concentration in the
tank when the tank contains 30 ft^ of brine ?
further points are illustrated
contains 20
1.7.1.
ft^
Simple Treatment
Using equation
(lb)
=
=
=
60
20 (X/l)
30Jif
(1.25),
60-10X = 30Z
X = l-501b/ft^
(1.30)
.-.
More
The
Detailed Treatment
both
state
V and x
^'mm
3fty,
2lb/ft^
Ib/ft^
_^2ftymin
X Ib/ft^
Fig. 1.8.
Accumulation of
salt in
surge tank
MATHEMATICAL METHODS IN CHEMICAL ENGINEERING
12
Table
1.3.
2
2
2
2
Output
salt
Volume of
concentration
(lb/ft 3)
dV
(- de
Vx
"->
3d
\ /
dx
)\
de
Accumulation of brine
= iv+-SO] V
2>de
259
de
dV
339-239 = -39
.-.
d9
Input of salt
Output of salt
Accumulation of
Since input output
salt
=
=
3.239
2x39
= (^ +
-;i^
^^j (x
+ -^39) - Vx
accumulation,
dV
656-2x50
salt, viz.
dV dx
dx
dV
6-2x =
d9
dVdx
dx
39
+F
+
d9
d9 d9
^^
(1.32)
^
Taking the
1.
of
Fas
13
functions
6.
V = A+e
But when 6
0,
V=
20
V=
:,
and
20 + 9
(1.33)
6~2x =
x + {20 + e) ^
dO
Rearranging,
and
dx
de
6-3x
20 + 6
integrating,
}\n{6-3x) = \n(20 + e) + B
where
is
But when
x
0,
(1.34)
|ln6 = ln20 + B
Eliminating B, and combining the logarithms,
= In (1 + 0-05^)
=
l-0-5x
(1 + 0-050)-^
x = 2-2(l + 0-05^)-2
-iln(l-0-5x)
/.
.-.
(1.35)
salt
.'.
Z=
2-2(2/3)'
X=
1-407 lb/ft'
(1.36)
Comparison of this result with the previous result (1.30), shows that the
first simple model has a significant error of 6-6% due to the additional
assumption of a hnear variation of x with 9; an assumption which is shown
to be incorrect by equation (1.35).
The two treatments of this example illustrate the important point that
the solution of a problem depends upon the choice of model. A simple
model needs many assumptions and yields an approximate answer quickly,
whereas a more complicated model needs fewer assumptions and yields a
more accurate answer by more advanced mathematical techniques. It is
evident that the most accurate result will be obtained by making the minimum
number of assumptions consistent with obtaining a tractable mathematical
problem. In this way the mathematical techniques which are available to an
investigator control the applicability of any theoretical prediction made by
him.
It is therefore desirable that the widest selection of mathematical
techniques should be at his disposal.
14
1.8.
time.
separating material ?
This
is
depend upon the position at which they are measured. In this case, the
temperature (T) and the heat flow rate per unit area (Q) are both functions
of the radius (r), and the heat balance must be related to a space interval
between r and r + dr as shown in Fig. 1.9. Following the same procedure as
before, but considering variations of r instead of 6, Table 1.4 can be compiled
Fig.
Table
1 .9.
1 .4.
77?^ Condition
Temperature
Heat
dr
T + fsr
dr
2n(r
Inr
Sr)
+f"
Q
InrQ
2n(r
Sr)(Q
^r)
1.
dr,
= InrQ
Accumulation of heat
2n{r-\-dr)
I
\Q +
dQ
~T~ ^fj
accumulation,
2nrQ-2n(r + Sr)(Q +
rQ-rQ- r^ 3r -
:.
15
^sA=0
QSr
^-^{drY
Cancelling out rQ, dividing by Sr, and taking the limit Sr-*0,
r^ + Q =
But
is
related to
(1.37)
T by
2=-^^
where k
is
Equation
d^T
dT
d^T
,
becomes,
dT
=
+__
"^
(1.39)
dr
dr^
(1.37)
dr
dr^
or
(1.38)
is
constant.
and
(1.38) in succession.
Equation (1.37)
dQ_
gives,
_dlr
"""^
e"
.*.
or
where In
is
this value
of
--
-k
dr
dr
kdT
\nr= -{kTIA) + B
(1.40)
MATHEMATICAL METHODS
16
CHEMICAL ENGINEERING
IN
At
at
and
T=
T=
a,
b,
B, and these
and
\na-\nb = k{T^-To)IA
A = k(T, - To)/(ln a-\nb)
.-.
B = (T,\na-To\nb)l{T,-To)
.-.
- To) In r
^
=
= {T-To)(\nb-\na) + (T,-To)\na
TTn In r Ina
In 6 - In a
Ti - To
1.9.
^^'^^^
T,}
lna= -{kTolA)-^B
\nb= -(kTJA) + B
.-.
(Ti
=
=
A and
(1.42)
= hA(T,-T)Se
=
Accumulation (Btu)
MC -77.39
accumulation,
hA(T,- T)39 =
MC--39
(1.43)
du
Rearranging,
dT
T,-T
and
hAd9
MC
integrating,
In
(T,-T) = (hAIMC)9 + B
(1.44)
1.
known
fact that
= 0,T =
when
17
Tq
-\n{T,-To) = B
.-.
MC
T.-To
In this problem, equation (1.43) could have been written down immediately from the definition of the heat transfer coefficient, thus avoiding
the necessity of taking a heat balance.
1.10.
Any
symbols.
(b)
1.10.1.
Independent Variables
These are quantities describing the system which can be varied by choice
during a particular experiment independently of one another. Examples
are time and coordinate variables.
1.10.2.
Dependent Variables
These are properties of the system which change when the independent
variables are altered in value. There is no direct control over a dependent
variable during an experiment. The relationship between independent and
dependent variables is one of cause and effect; the independent variable
measures the cause and the dependent variable measures the effect of a
particular action. Examples of dependent variables are temperature, concentration,
1.10.3.
and
efficiency.
Parameters
This
is
by
^c
and by ehminating
= mx
exp
I-
(1.1)
R + mS
\1
e]
(1.29)
x,
mRc
R + mS
X]
MATHEMATICAL METHODS
18
IN
CHEMICAL ENGINEERING
classified as follows
Independent variable
Dependent variables
x,
Parameters
m, R,
y
S,
c,
V^, V2
The parameters
We
of the differen-
By
1.11.
Boundary Conditions
An
1.
19
was derived, and its solution (1.40) contains two arbitrary constants
B. The independent variable in this problem is r, and the boundaries
The boundary conditions are given by
are given by r = a, and r = b.
equations (1.41) in the form of restrictions on the dependent variable (T) at
the boundaries defined by values of the independent variable (r).
In the other examples in Sections 1.6, 1.7, and 1.9, 6 was the independent
variable, all of the equations were of first order, and each solution only
contained one arbitrary constant. When time is the independent variable,
the boundary condition is frequently called the " initial condition ". This
(1.39)
A and
is
because
it
of the apparatus.
The
three
the surroundings.
Boundary conditions
be described
will
in
when they
1.12.
Most
differential equations
Sign Conventions
sign difficulties are a result of trying to think too deeply about them,
is
mended, but it is best in the first instance to do just this because it completely
eliminates any possibiHty of anticipating properties of the solution, and
ensures that the signs are correct. The resulting equation can frequently be
subjected to a physical sign check after it has been estabHshed.
All terms must be treated as positive during the formulation, and negative
signs will only occur due to two causes.
(a) The first cause is the negative sign in the general conservation law
(1.25), viz.
Input Output
Accumulation
(b)
When an
independent variable
is
20
problem so
serious
direction
is
far,
since
when time
is
and
its
origin
is
its
always
taken as the instant when the initial conditions are estabhshed. The radial
coordinate (r) the other independent variable which has occurred is measured
outwards from the axis of the body of revolution, the axis being the origin.
In other cases it is always necessary to specify the origin of the independent
f + ve/
-^-ve
\^^
1
1
O + ve
O-ve
^x
Sign convention in heat transfer
Fig. 1.10.
On
the
left
and as a
hand
left and is
diagram where the
temperature gradient is negative and the heat flow positive. In both cases,
the equation can be written in the consistent form
gradient
is
negative.
positive
The
reverse
is
result, the
hand
side of the
(1.48)
dx
where k
the conductivity.
is
now
1.
21
dxjdO without
artificially
changing
its
sign.
In this
is
now
Table
is
identical until
=5
-|ln(-9) = ln20 + 5
when
.-.
0,
(1.49
J( 1), and B
is
:.
\n(^^) = -3 In (1 + 0-05^)
.-.
This
how
is
= 2 + 3/(1 + 0-050)^
and it illustrates
and how the diff'erent
appropriate particular solutions from the general
boundary conditions
select
1.13.
(1)
about
(2)
its
investigated.
(3) Define one or more independent variables in terms of which the
dependent variables can be expressed.
(4) Define the parameters of the system which particularize the general
relationship between the dependent and independent variables.
(5) Establish the state of the system at a typical point defined in terms
of the independent variables.
(6) Take an infinitesimal increment in each of the independent variables,
and establish the state of the system at neighbouring points in terms of the
state at the typical point by using Taylor's theorem.
(7) Apply the relevant conservation laws and
ment of the system defined by (6).
22
(9)
Take
Chapter 2
2.1.
An
is
an ordinary
differential
equation whereas
;
"^
"*"
<'''^Te='
is
dx^
dy"-
(2.2)
5z^
a partial differential equation. Equation (2.2) contains the partial differenof T with respect to each of the independent variables 0, x,
tial coefficients
y,
and
z.
Chapter
8,
whilst in
2.2.
The order of a
differential
it
contains.
is
three
is
The degree of a
24
^y
+
.
dx
,2
>'^
2,.n
sinA:
(2.3)
dy
-+y=
(2.4)
dx'
2.3.
First
no
but
Unfortunately there is no general method of solution of these equations because of
their different degrees of complexity, but it is possible to classify the different
types of first order equations so that each can be solved by a particular
procedure. These are
relate the first order differential coef!icient to the
(a)
(b)
Of
two
first,
variables.
Exact equations.
Equations in which the variables can be separated.
(c)
Homogeneous
(d)
these (d)
is
the
equations.
(a), (b)
and
(c) will
be
treated briefly.
2.3.1.
Exact Equations
df(x,y)
where
is
df(x,y)
is
an exact
(2.5)
differential coefficient of
some
function.
When
this
f(x,y)
where
C is
(2.6)
an exact
=C
Frequently
differential coefficient
it is
possible to
by inspection. Thus
x^
+y=
dx
show
that df{x,y)
is
in the equation,
(2.7)
xy
=C
2.
25
+ 2v)-/ =
A''-3sinx + (cosx
(2.8)
cix
d^Jldx + ^-^dy
Comparing
this
with equation
(2.9)
cy
dx
(2.8),
C(j)
- = x 3 jsmx
ex
C(f)
z^ = cosx + 2y
and
cy
A'
to give the
first
of these expressions
cl>
ix^ + ycosx+f(y)
(2.10)
= cos x
cd)
4- /'(>')
cos X
y gives
2y
cy
.*.
(2.8)
x'^
2.3.2.
Equations
in
/(>')
is
y^
constant
therefore
+ 4ycosx +
4y^
=C
(2.11)
variable
2.3.3.
and
its
first
differential
Homogeneous Equations
differential
MATHEMATICAL METHODS
26
IN
CHEMICAL ENGINEERING
Thus
let
vx
(2.13)
and therefore
dy
dv
lnx=
\-^ + C
(2.15)
correct.
Homogeneous
reactor analyses
when
batch chemical
simultaneous second order reaction paths. A typical example is the halogenation of a hydrocarbon and the method of treating such a problem is
illustrated in the example below.
Example
1.
Liquid benzene
is
to be chlorinated batchwise
all
by sparging
If the reactor
reactor undergoes chemical reaction, and only the hydrogen chloride gas
liberated escapes
to give the
from the
maximum
vessel, estimate
yield of
^ = 8-0
as published
reaction
I,
and
^ = 30-0
refers to
k2 to reaction
II
III
Solution
Take a basis of 1 -0 mole of benzene fed to the reactor and introduce the
following variables to represent the state of the system at time 6,
p mole
q
r
s
t
=
=
=
=
mole
mole
mole
mole
monochlorbenzene present.
2.
Then,
q-\-r
and the
total
27
amount of
+ s + t=l
consumed
chlorine
IV
given by
is
= r + 2s + 3r
volume V is constant.
>'
Now
reaction of benzene
and the
product
is
vfg = k,pq-k,pr
VII
VYQ = k,pr-k,ps
VIII
V%^k,ps
IX
The time
k^q
dq
Sq
Let
dr
=
dq
and therefore
Substitution of
XI and XII
K is
Removing
XI
dv
+ Q-r
XII
dq
result gives
XIII
But when ^
0,
and
fir
-+8
K[-
=
=
.-.
and
= vq
into
In q
where
differential
8/7
XIV
0;
K=
8/^
after rearrangement,
r
Similarly,
S{q'^^-q)ll
it
XV
ds
dq
240q
Sq
XVI
28
When
has been eliminated by using equation XV, equation XVI beorder Hnear differential equation which can be solved by the
integrating factor method given in Section 2.3.4. The result is
comes a
first
240
(29g-239g^/
l/240>
+ 210^^/^^")
XVII
7 X 29 X 239
0-6
0-8
1-0
1-2
1-4
2.1,
dy
dx
where
P and Q
are functions of
+ Py = Q
only.
(2.16)
29
2.
The basis of the solution of equations of this type is that there exists a factor
by which equation (2.16) can be multiplied so that the left-hand side becomes
This factor
a complete differential coefficient.
Assume that the integrating factor R is
factor".
is
a.
function, of
only,
and
R^-^
ax
when
+ RPy = RQ
efficient
(2.17)
is
Then
^iRy) =
dx
R'f^yf
ax
ax
(2.18)
if
dR
- = PR
(2.19)
dx
The
variables
in this equation,
R = QxpnPdx)
That
is,
(2.20)
equation (2.16)
tial
first
exp (jPdx).
is
is
Example
dy
2.
Solve
(1
+ x^)- + xy =
dx
X
dy
+ 7r2y-,
dx
+ x^^ ~ +
oi'
The
integrating factor
.2
x'
is
xdx
exp
= exp[iln(l+x-)]
(l
+ x')"
II
(^+-^^>*i +
"'
(T^^ = (T;W
Integrating,
('-^^^^^ =
1(1^
ln[x
+ V(^' + l)] + C
V(i+^')
^^
tan
0,
or
30
Occasionally, a
solved in which
order,
first
and
first
and the independent variable. When this arises it is often possible to linearize the equation by changing the dependent variable.
Thus, consider the following
example.
Example
3.
xy
Solve
y'^
exp
ax
X
l/y^ thus
/-3x^'
dy
exp
y^dx
y"^
Let z
--4: =
-3
or
dz
dz
dy
=--/
y dx
3
-7-=--i and dx
dy
y
Substitution of II into
gives
3.z
Equation
III
is
II
a Hnear
first
dz
/-3x^
= 3exp(^
^
III
solution,
3\
pexp^j
3x +
:.
dx
3x +
/(3x + C) = exp(^
4.
An
is
illustrated
ft
diameter and
= 2", and is
employed as a maturing vessel for a batch chemical process. Liquid at
200F is charged into the tank and allowed to mature over 5 days. If the
data below applies, calculate the final temperature of the liquid and give a
12
ft
long
is
(k)
=
=
25-0 Btu/h
0-1 Btu/h
ft^ F.
ft^
F ft" ^
and radiation
=1-8
(/^i)
(s)
=
=
Btu/h
ft^ F.
62-4 lb/ft^
0-6.
2.
31
Rate of heat
loss
Rate of heat
loss
through lagging
where
72-57r ft^
-j- (7^,-7^).
T^^,
Rate of heat
loss
h,A{T,-t)
Now,
Rate of heat
Rate of heat
loss
from
Rate of heat
transfer through
loss
from
'
liquid
:.
Rearranging the
first
lagging
h,A{T-
surface
kA
r.)
II
-(.,
last part
or,
+7
+
T,
/j,
r+
of equation
r.
III
II gives
kh^
(T-l)
IV
0-2467 + 0-754r
=
=
Input rate
Output
rate
Accumulation
rate
h2A{T^-i)
= Vps
dO
h2A{Z-t)=Vps
dT
VI
'dO
Using the numerical values given above, and substituting for T^ from
equation V,
J'TI
VII
32
or in standard form,
dT
- +
0-01147
0-0114/
0-628
ad
+ 0-171
cos(7i0/12)
VIII
Equation VIII is a first order linear differential equation which can be solved
by means of the integrating factor e^'^^^"^^. The solution is
Tei^^^
^^|l^|^^[0.0114cos0.262e +
Hence, the complete solution of equation VIII
r=
55
IX
is
.*.
T=
55
Inspection of equation
by
0-028F
is
at
most.
XI shows
Similarly,
the third
term
will
200
20
40
60
80
100
Time (hr)
Fig. 2.2.
XI
only contribute
2.
33
0-653F at most. Both of these terms are neghgible from a practical point
of view, consequently it is justifiable to express equation XI as
r=
Figure 2.2. gives a plot
120 h, T = 92F.
2.4.
As already
55
ofTwsd
+ 145e--^^^'
in
XII
stated, a
is
is
one in which
However,
the second.
may contain other terms involving first order differential coaddition to functions of the independent and dependent variables.
the equation
efficients in
5^=/W
(2.21)
is
integrations.
classes.
Non-linear
(b)
(c)
Homogeneous
(a)
equations.
B. Linear
(a)
(b)
The
The
coefficients in the
34
They
substitution.
When
is
the
substitution
replaced by the
ducing a
first
first
is
made
p and
x.
dy
d'-y
Example
1.
Solve
dx^^'^dx^'
Let
dx
dp
and therefore
dx
Substitution into equation
d^y
Jx^
gives
dp
--{-
xp
ax
II
dx
II is a first order linear differential equation which can be solved by
using the integrating factor exp
x^).
Equation
pQxp(^x^)
.'.
aexp(ix^) +
.*.
= ax + C
.-.
.'.
xQxp(ix^)dx
+ Cexp(-ix^)
i
C
dy
dx
Qxp( ^x^)dx
III
ax + AQd(-^j+B
IV
where A and B are the two constants of integration. The integration of the
last term in equation III involving the "error function" will be treated in
Chapter 5. Here, it is sufficient to quote the result.
2.4.2.
same substitution of p
for the
is
first
derivative
is
made, but
obtained as follows.
2.
35
Let
J
dx
(2.24)
JA^JL = /-I
J^
dy
dx
dx
il
(2.25)
dy
dx^
Hence, when the independent variable does not appear expHcitly, make the
by equations (2.24) and (2.25). The following example
will make the procedure quite clear.
substitutions as given
Example
2.
d^y
y
+
SoUc
fdyV
^-j
dp
dy
Separating the variables,
dy
pdp
r-i
Integrating,
lny
This
is
""
= iln(p'-l)
ay
or
where a and
c are the
=
=
II
^y
Jv(^V+i)
2.4.3.
lna
is
{\la)sm\i~^ {ay) + b
sm\i{ax + c)
Homogeneous Equations.
first
dx"
36
=/.(;
ff
The
substitution for a
first
y
If this substitution
is
("
s)
made
vx
(2.13)
again,
dy
dv
^2.14)
Tr'^'-'T.
as before,
and
is
- + X-5
^2-22
dx
dx^
(2.27)
dx
dv
d^v
dv\
In equation (2.28), a factor x^ is associated with the second differential coof V, a factor x with the first differential coefficient of v on both sides
of the equation, and v occurs alone. Equation (2.28) can therefore be written
efficient
It is to
be noted that
equation (2.26)
if
same form
dv\
is
However, the right-hand sides only take the same form if the right-hand side
of equation (2.26) is a Hnear homogeneous function of its two arguments. A
short cut from equation (2.26) to (2.29) is therefore possible if the given
differential equation is both homogeneous and Hnear.
Equation (2.29) is solved by using the second substitution
X = e
or
dv
\nx
(2.30)
dv dt
dx"'"dtlx
X
(2.31)
-T,
X dt
dv
dv
=
dx
dt
12
dx^~
x^ dt
x"^
dt
xdx\dt)
X dx
dt \dt^
2.
dh
^d^v
dv
-n=-7^--r
dx^
dt^
dt
I.e.
37
(2.33)
dh
dv
dv\
^^^^^
^'-''^
-dr^-jt=f\'^dt)
equation (2.26) has now
The
original differential
(2.34)
Example
3.
Solve
-''j*''"i:)
homogeneous since it can be expressed in the form (2.26)
after division by 2xy. Use the first substitution y = vx and its differentiated
forms (2.14) and (2.27).
This equation
is
2vx^
x-4) +
(2-^ +
dx
2vx^
x^ (v + x-^)
(2.29),
,(dvV
-.+2vx =
x^l-]
dx
substitution
II
dxj
dv
dx
Now
v^x^
dx^l
III
\dx/
e^
and simphfying
.^=(|V
\dtj
dt""
it
can
dv
This has two solutions,
viz.
. dp
2v-
p,
or
dv
The second
y
which undoubtedly
satisfies
= Ax
VI
I.
The
first
solution can
= x(B\nx + Cy
VII
MATHEMATICAL METHODS
38
IN
CHEMICAL ENGINEERING
Example 4.
graphite electrode 6-0 in in diameter passes through a
furnace wall into a water cooler which takes the form of a water sleeve.
The length of the electrode between the outside of the furnace wall and its
entry into the cooling jacket is 1-0 ft; and as a safety precaution the electrode
is insulated thermally and electrically in this section, so that the outside
surface temperature of the insulation does not exceed 120F. If the lagging
is of uniform thickness and the mean overall coefficient of heat transfer
from the electrode to the surrounding atmosphere is taken to be 0-3
Btu/hFft^ of surface of electrode; and the temperature of the electrode
just outside the furnace is 2700F, estimate the duty of the water cooler if
the temperature of the electrode at the entrance to the cooler is to be 300F.
The following additional information is given.
Surrounding temperature
70F.
kQ cuT
The
HotX
1
i
Fig. 2.3.
'
T*g<^xf Cold
(5i
New
York.
2.
39
is
T'T-t
Input
= kjA-j-
(3X
Output
dT
.dT
d
= -^r^- + - [ -kjAdx
dx
dx\
^
d_
= !^(T-To)5x
^l5.
A
dxj
dx
U=
II
Accumulation
where
dx + nDU(T-To)Sx
III
to the sur-
roundings
and
D=
electrode diameter.
Substituting for kj
letting
nDUIA =
p,
equation
d^T
fdTV
dx
\dx
(/co-aT)--^-a(
-^{T-T,) =
IV
dT
^
dx
d^T
dp
dx^
dT
dp
..7
=
(ko-o^T)p^ - ap'-l^(T-To)
V shows that the variables p and T cannot be separaand one might be tempted to introduce simplifying assumptions at this
stage; or attempt to solve equation IV by some other method. However,
the way in which p occurs in equation V suggests the substitution p^ z.
Putting y = {T Tq) also, gives
Inspection of equation
ted,
dz
[(ko-oiTo)-ay-]- laz-l^y =
VI
dy
which
is
first
The
integrating factor
2(f.dy
is
,,
ocyy
I
ko-ccTo-ccyj
to
(ko-oiT)dT
=/ V[C +
/?(fco
VII
40
Equation VII cannot be integrated analytically because of the cubic polynomial under the square root sign, or graphically because the arbitrary
constant C is completely unknown.
Furthermore there is no way of
evaluating C other than perhaps by trial and error which would not be very
accurate.
Hence in order to obtain an estimate of the heat load on the
cooler it will be assumed that the heat lost to the atmosphere per ft^ of
electrode surface (0 is constant, and equal to 400 Btu/h ft^. Equation III
then simplifies to
d_
dx
dx
K=
-dx
TiDQ
VIII
fdTV
d^T
or
where
dx
nDQ/A,
is
dT
= -r
dx
dp
p -
and
dT
d^T
= -r^
dx^
which gives
a{ko-(xTf
,2_
= -
(x(kn-(xTy
XI
The
result
a^'
where
is
at the
2700
at
XII
i:^ - = ^0-1
- - KaC^
more convenient
XIV
a\ K
to determine
how B and C
XIII
/:
/
^/co_l
Ib
= ^ - -^/ - - Ka(i + Cy
a
cooler
oLTf
1,
300
It is
(Jcq
and
is
The duty of
which
is
given by,
2.
H=
-(ko-300a)A-dx
^=
-(ko-300(x)AK(l +
by
differentiating equation
41
C)
this expression,
H=-AK(1 + C)
XV
Substituting into
XV gives
H = ^X[2400 (fco - 1500a)/X - i]
=
and
this is the
XVI
28800 Btu/h
2.5.
This type of equation is frequently encountered in most chemical engineering fields of study, ranging from heat, mass and momentum transfer to
apphed chemical reaction kinetics. It is one of the most important types of
The general
coefficients
may
d"v
where
having constant
be written
dv
d"~^v
any function of x.
to be described below for the second order equation
applies equally well to linear equations of any other order. However, in the
case of a higher order equation, the mathematical manipulations may be
cumbersome as the reader will soon appreciate, but since no new principles
are involved, further discussion will be restricted to the second order case.
(f)(x) is
The treatment
2.5.1.
in the form,
P^2 + Q^_ + Ry =
dx^
^dx
(t^(x)
(2.36)
+v
(2.37)
42
dhi
P-j:^
If V
du
'l^^-^T.^^"'
^W
(2.38)
is
d^v
P -7-2 +
dx
^dv
Q
+ Rv =
dx
Ppi +
(2.38)
Q'JL
Jx^
That
dv
d'v
+ Q-\-Ru +
is,
dx
it
4>{x)
(2.39)
+ Ru =
is
the
(2.40)
same
That
sum
in
mind when
2.5.2.
problem
^dy
d^y
+ Ry = ^
P^2
^ + Q-r.
dx^
^dx
Initially let
it
^e'"^
(2.41)
is
(2.42)
2.
43
^^yl^me""
Then
dx
--^
and
A^m^e'"''
and simpHfying
first
and second
differential
gives
A^ e'"* {Pm^ + Qm + R) =
Equation (2.43)
zero. That is
will
be
satisfied if either
(2.43)
if
is
Pm^ + Qm + R =
(2.44)
Equation (2.45)
is
A^e'"'''
+ A2e'"'''
be
(2.45)
arbitrary constants as
tial
(2.41) will
equation.
written
Pm^ + Qm + R =
and the solution of the reduced equation
y
(2.46)
is
Ae""""
(2.47)
But as this only contains one term and one arbitrary constant it is not the
complete complementary function of a second order equation. Therefore
let
y
be a second
and
trial
solution in which
dy
dV
dx
dx
^ =
dx^
e"**
Fe'"^
F is
(2.48)
a function of x. Then
- + 2me'"*- +
r-
dx^
dx
m^Ve'"''
MATHEMATICAL METHODS
44
CHEMICAL ENGINEERING
IN
first and second differential coequation (2.41), using (2.46) and simphfying gives
-^ = '
Double integration of
this gives
V = Cx + D
and the complementary function becomes
y
The above
= {Cx + D)e'"''
(2.49)
it
Example
1.
Solve
-j:^
- 5 3^ +
The
auxiliary equation
6>'
dx
dx^
is
m 2_5m + 6 =
and the roots of
this are
mi =
The
solution to equation I
is
A and B
Example
2.
are the
-^ +
Solve
auxiliary equation
m2 =
Ae^''
+ Be^''
6-^ + 9y =
dx
is
m^^-6m + 9 =
and the roots of
III
dx^
The
2,
therefore
where
II
II
this are
mj = m2 = 3
The
solution of equation
I is
therefore
where
A and B
are the
(A + Bx)e-^'
III
Complex Roots
to Auxiliary Equation.
Example
Solve
3.
tt^
- 4^^ +
auxiliary equation
5>'
dx
dx""
The
45
2.
is
m^-4m + 5 =
II
m = 2i
Therefore the complementary function
y
or the solution
may
is
III
be written as
e^""
(E cos x
+ F sin x)
IV
Either
Ae'"'''
+ Be'"'''
(2.50)
Or
(A + Bx)e'"''
(2.51)
equation.
2.5.3.
Particular Integrals
To
it is
necessary to find
d^'y
^dy
^dx
P-^, + Q-^ + Ry =
dx""
where
4>(x)
(2.36)
may
(/)(x)
(/)(x)
(a)
(b)
(c)
is
Method
46
2.5.4.
ENGINfEERI>iG
Method of Undetermined
Coefficients
(i)
essentially a trial
is
Then obviously a
constant, say C.
is
</)(x)
equation (2.36)
= CIR
y
because
(2.52)
all
particular integral of
is
be
will therefore
Ae"''''
+ Be"'''' + CIR
(2.53)
This rule apphes to any order hnear differential equation with constant
coefficients.
(ii)
all
(i){x) is
The form of
{ ....
^x";
where
a iX-\-a2X^
aQ-\-
a are constants.
differen-
<XQ
+ oiiX + (X2X^+
'
+ccx"
(2.54)
Furthermore the degree of the particular integral must equal the degree of
in (pix), otherwise the degree of x on each side of the differential equation
will be unequal and this is impossible in a linear differential equation with
constant coefficients.
The solution procedure is therefore to assume a polynomial of the type
shown in equation (2.54) and obtain the first, second, etc., differential coefficients of this expression.
These differentiated expressions must then be
substituted into the original differential equation and the coefficients ao to
a evaluated by equating coefficients. The following example will make the
procedure
clear.
Example
4.
Solve
4 - 4 -^ + 4;; = 4x + 8x^
dx
d
ax
dx"Because the degree of
(^(x) is 3, let
p-\-qx-\-rx^
+ sx^
II
Then
and
=
^
dx
d^y
-^
dx^
+ 2rx-\-2>sx^
2r + 6sx
III
IV
2.
47
4x + 8x^
x,
2r-4q + 4p =
6s-8r + 4^ = 4
4r 12s =
4s
.'.
yp
.-.
6,
y
(iii)
(/)(x) /5
y^ + y^
or
and
10,
integral
is
of
e'"''
{A +
The
first
where
VI
is
VII
Bx)e''''
J and
be multiples of
will
VIII
The form of
are constants.
form because
e''"'.
Therefore,
all
if
the
the differen-
the particular
to be
Hence
ar^/"".
(2.55)
oce^^
be
be
y,
coefficient will
is
assumed
3s
=
=
or
are''^,
differential
or
(f)(x) is
of the form
+ Qr + Ryue''' = Te'''
T
a = WZTTT^:^^
Pr'^ + Qr + R
known
sin
(2.56)
(2-57)
nx +
The
= L sin nx +
-
dx
and the second
M cos nx
= nL cos nx nM sm nx
differential coefficient
d^
d^y
dx
= n(L sin nx +
,
M cos nx)
(2.58)
48
L=
{R-n^P)G + nQH
(2.59)
M = {R-n^P)H-nQG
{R-n'^Pf + n^Q''
(2.60)
Table
2.1.
Right-Hand Side of
Equation ^{x)
Particular
Coefficient
Integral
Values
Differential
constant
Integrals
constant
To
polynomial
a^-^a^x^- ... +G,j.T"
polynomial
be
in
An
exponential
coefficients.
exponential
J^rx
the
equation
differential
and equating
An
by
determined
substituting
"^
Pr'-^Qr-rR
(R-n'P)G+nQH
Trigonometrical
Trigonometrical
sin
nx+H cos nx
P, Q, and
sin
nx^-M cos nx
(R-n^Py+n'Q^
(R-n'P)H-nQG
(R-n'Py+n'Q'
term
in the
2.
49
can
arise in
trial
form
many
ways.
(pix) is
a constant, the
first
If in addition,
is
Hence
the modified
trial
Example
The
5.
+ 6^ = 18
3^
dx^
dx
Solve
auxiliary equation
is
3m^-6m =
II
m=
The complementary function
y,
m=
and
is
Ae"''''
+ Be"'''' = A + Be^""
is
III
contains a constant.
Therefore
let
the
integral be
= Cx
IV
=-C
dx
Then
^=
and
dx"^
Substitution in equation
gives
3x + A + Be^''
VI
C=
or
is
18
(3xO) + 6(C)
3
3x.
is
The above complication can arise also when a root of the auxihary
equation is equal to the coefficient of the independent variable in the exponential term on the right-hand side of the equation. In this case too, an example will make the procedure clear. Therefore consider
Example
6.
Solve
3^ +
dx"^
10-^ - 8v
dx
7e"^*
50
The
auxiliary equation
is
= (3m-2)(m + 4) =
m = 2/3 or 4
3m^ + 10m-
.*.
II
jjj
is
Cxe"^^
IV
ax
-^ = (16x-8)Ce-^"
and
ax
Substitution in equation
solution of equation
Another way
C gives C = - J,
I is
y^ + y^
Ae^""^
+ Be-'^'' -^xe-"^""
examples.
Finally, when the roots of the auxiliary equation are complex and the
right-hand side of the diiferential equation contains the terms
{A
the modified trial
sin
nx
j5 is
The symbol
+ B cos nx)e^^
(2.61)
integral will be
+ P cos nx)e^''
(2.62)
as above.
independent variable x. In fact if there is no doubt whatever of the independent variable, it is acceptable to write simply "/)>'" for the differential
coefficient implying that the differentiation process has been carried out.
Hence it is convenient to refer to the symbol *'i)" as the "differential operator", and prefixing it to a variable means that a differentiation has been
2.
51
Dy = dyjdx
I.e.
D{Dy)
Similarly
D{D^y)
and
D"y
so that
It
= D^y = d^yjdx^
= D^y = d^yjdx^
= d'^yjdx''
{Dyf = {dyldxf
without ambiguity.
may be
written
latter
may
(2.64)
also be factorized,
{p + l){D + l)y
(2.65)
can be treated as an
it appears that the differential operator
ordinary algebraic quantity with certain Umitations.
The three basic laws of algebra are the following.
(a) The Distributive Law. This states that,
Hence
A(B + C) = AB + AC
which also appHes to the
differential operator
D(w +
t;
+ w)
D,
(2.66)
viz.
= Du + Dv + Dw
(2.67)
In fact the distributive law was appHed to the operator in equation (2.64).
(b) The Commutative Law. This states that,
AB = BA
which does not in general apply to the
(2.68)
Dxy
but
it is
xDy
true that the expression (2.65) can be given the equivalent forms,
{D + \){D-\-2)y
The operator
(c)
7^
differential operator
will thus
commute with
{D-\-2){D + \)y
itself
states that,
{AB)C = A{BC)
(2.69)
MATHEMATICAL METHODS
52
CHEMICAL ENGINEERING
IN
how
far the
is
D. The follow-
obeyed.
= (DD)y
= {Dx)y + xDy
D{Dy)
D{xy)
but
law
(2.70)
In the first term on the right-hand side of equation (2.70) the closing of the
bracket cuts y off from the operator thus destroying the simple equality.
The basic laws of algebra thus apply to the pure operators, but the
relative order of operators and variables must be maintained. Also, the
influence of the operator must not be hindered by brackets as in equation
(2.70) unless this is specifically desired. Consequently these properties can
be utilized particularly in the solution of linear differential equations thus
simplifying the solving procedure. Some of these properties will be illustrated in order to familiarize the reader with the techniques.
Application of the Differential Operator to Exponentials. Let the differential coefficient of e^"" be required. This expression could be written
De^^
(2.71)
differential coefficient,
D^eP""
and
pe'""
p^e^^
(2.72)
In general,
if
/(i))
pn^px
some polynomial of
is
(2.73)
it
is
possible to write
/(D)6^-=/(p)e^I.e.
the coefficient of
iff(D)
is
replaces
and the
D in the function.
differentiated
equation (2.64) y
will
This
is
4)
by
e^"",
form similar
e^"",
(D^
+ 3D + 2)e^^ =
(2.
For example,
if
(p'
to
+ 3p + 2)e^^
if in
(2.75)
is
required,
then
D(ye''')
e'^'Dy
+ yDe^"" =
D^yeP"")
Similarly
it
^^^(D
+ p)y
(2.76)
would be
(2.77)
e'^'iD
+ pfy
(2.78)
2.
or in even
is
53
a polynomial in D,
f{D)(yen==e'J(D + p)y
The above property of
most important as will be seen
the differential
(2.79)
is
later.
Finally, the operation performed on the exponential function in equations (2.71) to (2.79) can be extended to trigonometrical functions by using
required.
Now
where "
Im
= d" Im e'^^
= ImZ)V^^
= Im(ip)"e'^"
(2.80)
(2.81)
(2.81)
and because
e'^""
:.
D^'"(smpx)
= cos x + sin x
= (-p^)"'smpx
i
(2.82)
= (-p^Tpcospx
^(sinpx)
(2.83)
which can be
D^'^^'icospx)
= (- p^y" cos px
= -{-p^Tpsinpx
(2.84)
(2.85)
signifies differentiation,
i.e.
Z)[J/(x)Jx] =/(x)
(2.86)
so that
jf(x)dx
(2.87)
D-^f(x)
54
Example
7.
Solve
II
-'
-m c-
4(1
:.
III
D-4
IV
3^=-ie'^[i+K(i)'+(i)' + ..-]
The
sum
to infinity
is 2.
is
VI
3^=-ie'"
.-.
I.
'
2-4
D-4
as before.
In the above example, equation (2.74) has been used in the form,
e^^
KD)
e^^
(2.88)
^
f(p)
where n
is
to be
made
makes
(/>(/?)
to the
When
difficulty.
= (D-pn(D)
(2.89)
finite
and not
zero.
Then
^px
^px
(D-py^(D)
f(D)
eP""
(D-pyct^ip)
by applying equation
(2.74).
AppHcation of equation
(2.79) with
gives
1
e^"
1
f(D)
(t>{p)
D"
(2.90)
2.
is
raised to a negative
in equation (2.90),
and
55
tion.
JeP^ =
It is
--
(2.91)
Example
8.
complementary function.
Solve
^- 8^
+
dx
16>'
6xe
dx^
{D^-W + i6)y
and the particular
integral
6xe^^
II
4.
x^g^*
(yH-Bx)e^^
III
is
j,
becomes
is
= (Z)-4)V =
IV
is
= yc+yp = (^+bx+x>'^^
Application of the Inverse Operator to Trigonometrical Functions. Trigonometrical functions can be written as the real or imaginary parts of e'^"" in
which case they can be treated in that form by the inverse operator. The
analytical procedure to follow would be very similar to that given above for
real exponential functions combined with the principles presented in equations (2.80) to (2.85). Therefore no further discussion need be given to this
particular topic.
Example
9.
Solve
d^y
.2
dx^
"
dy
J-
dx
^y
4x''
+ 3x^
becomes
4x^
+ 3x2
II
MATHEMATICAL METHODS
56
and the
particular integral
is
(4x-*
(D-3)(D + 2)
+ 3x^)
D^
"^27
9
yp=
-7
3"^
+ 243
35 ^2
36
216
4x^ + 3x2
D^
12x^
"^
4+T
(4x^
65
(4x^
+ 3x2)
+ 3x2)
IV
7776
1296
7(24x + 6)
13x24
216
1296
36
III
+
"^32
16
+ 6x
(4x^+3x2)
D^
D +
(2 + Z)).
(3-D)
partial fractions
144x^
CHEMICAL ENGINEERING
1
>';
IN
-0
VI
+ 36x2 + 132x-10
216
is
Ae^^' +
y,
yc
+ yp =
Be
VII
is
Ae^'' + Be~^''
(72x3
+ 18x2 + 66x-5)/108
Method of
VIII
Variation of Parameters
dy
d'y
-^^-\-Q{x)~+R{x)y =
and
let
(j>{x)
(2.92)
= Au + Bv
(2.93)
where A and B are the arbitrary constants and u and v are functions of the
independent variable x.
Now assume that the particular integral can be expressed,
yp=f,{x)u+f,{x)v
(2.94)
2.
57
where the functions of the independent variable /^(x) and/2(x) are called the
parameters. There will be two parameters for a second order, three for a
third order and so on. Then
-p=nix)u+Mx)u'+n(x)v+f2(x)v'
(2.95)
dx
where/',
and
u'
v'
and
v with
f[{x)u+n(x)v
in order to reduce the complexity of the
equation (2.94).
(2.96)
second
differential coefficient
of
Hence,
^V._
(2.97)
dx-
and
and rearranging
gives
+
+ Q(x)u' + R(x)u] and
But
[u"
and
[v"
u'fi(x)
+
+ v'n(x) =
+ Q(x)v' + R(x)v]
cP(x)
(2.98)
taken to be zero.
Therefore,
u'fi{x)
(2.96)
and
+ vyi(x) =
(2.99)
(l)(x)
dfiix)
dx
v(t)(x)
(2.100)
uv'
vu'
djp^-u^
and
dx
vu
uv
ufi(x)
+ vf2(x) + Aii + Bv
Example
10.
these equations by
(2.102)
(2.93).
Solve
2x^
d^_^
dx^
dy
X -^
dx
x^e
""
integral
tion
e^
58
the solution of
is
fl_.d_y + y =
2-^-3-^
i.e.
= Ae^ + Be^^
= Ax + Bx^
y^
y^
:.
II
dt
dt^
III
yp
where u and
let
ux + vx^
IV
v are functions of x.
dy
_,
dx
du
,dv
dx
dx
du
,dv
X
+ x^ =
dx
Put
VI
dx
d^y
du
dx^
dx
_^,,
_,dv
VII
Substituting V,
VI and VII
dx
into equation
xu
\vx^-\-x^'^--
Ix'^
dx
gives
hvx^
-\-
ux -\- vx^
x^e~*
dx
to,
2;C^ +
dx
x4" = Xe-'
VIII
dx
du
x- = xe
dx
M
:.
= -e-*
IX
xdv
xe
''
+ X'-- =
dx
v=
.-.
-jx^e-^'dx
The
Putting equations
IX and XI
IV
The complete
solution
XI
XII
is
= Ax + Bx''- i Vttx
erfVx
XIII
2.
59
Illustrative
Problems
Problem
1.
in
a Tubular
Reactor
is
L and
-0 ft^ in
cross section
is
first
A-^B
and the
k h"^.
is u ft^/h, the
of A is assumed to be constant at D ft^/h, determine the concentration of ^ as a function of length
along the reactor. It may be assumed that there is no volume change during
the reaction, and that steady state conditions are established.
feed concentration of
is Cq,
and the
diffusivity
Solution
Take a coordinate x to specify the distance of any point from the inlet
of the reactor section, let c denote the variable concentration of A in the
entry section (x<0), and y denote the concentration of A in the reactor
section (x>0), as
shown
in Fig. 2.4.
The concentration
Reaction section
vary in the
Entry section
will
|_
6x
Fig. 2.4.
entry section due to diffusion, but will not vary in the section following the
reactor, t
t Wehner,
J.
F.
Set.
6 ,89 (1956).
60
distance
X
Bulk flow of
x-\-5x
uy+u
dy
-D^
dx
Diff'usionof^
The accumulation
in this case
is
dy
-y dx
dx
-D'^+^[
-D'^
dx dx\
Sx
Rate of removal of
A by
= ky dx
reaction
uy-D-ldx
is
[uy
\
+ u-^dx] dx
dx
dx\
dxj
dy
dx^
dx
D-j^^-u-{:-ky =
II
dc
_ d^c
=
D
^-M
dx
dx
III
which can also be obtained from II by removing the reaction term. Equations II and III are both second order Hnear differential equations with zero
right-hand side, thus the complementary function is the complete solution
in both cases.
The
.'.
where
is
Dm^-um-k =
m = u{la)l2D
a
= Vl + 4/cD/w^
IV
V
VI
and
= ^expg(l + a)]+Bexpg(l-a)]
c^a + pexpiuxjD)
VII
VIII
2.
p.
61
conditions are
at
at
= 00,
= 0,
at
c
c
IX
Co
dc
y
dy
dx
dx
X
XI
0,
dy
at
=
=
XII
dx
The
first
condition specifies the state of the feed stream, and the second
The third condition, taken with equation
X,
is
diffusivities are
out of the reactor and is necessary as a conservation law for the section
following the reactor. A full argument supporting the last condition is given
in the reference quoted at the start of the problem. Equations IX to XII
give respectively,
= Co
+p = A+B
2p = A(i + a) + B(l-a)
a
oi
+ a) exp
[uL
XIII
XIV
XV
(1
+ fl) +B(l-fl)exp
[i"-">]
XVI
Solving
2co(a-l)
XVII
uLa\
XVIII
K
B
where
+ l)
2co(a
/uLa\
XIX
XX
r'^p
(a
A and B
+ l)exp<|
ua
(L-x)^ + (a-l)exp
-i<^-"}]
XXI
is
neglected, the
first
exp ( - kLjii)
XXII
3.3.8).
62
Problem
2.
in
a Spray Column
fat
is
Solution
Consider Fig.
2.5.
which
L Ib/h
G Ib/h
Vh
x+(5x
y+<5y
'z + dz
6h
H
t:
'
',
U
i
,^0
yo
Fig. 2,5.
2.
=
=
y* =
z =
S =
a =
K=
X
y
m =
=
=
h =
w =
H=
k
p
Weight
Weight
Weight
Weight
63
volume of tower.
Overall mass transfer coefficient expressed in terms of extract
Interfacial area per unit
compositions.
Distribution ratio.
Specific reaction rate constant.
Mass of fat per unit volume of column.
Distance coordinate from base of column,
lb fat per lb glycerine.
Effective height of column.
from
in the
fat to
water phase,
KaS(y*-y)Sh
(b) rate
kpSzdh
and therefore the
is
kpSzShi'w
Then a
II
is
by
Fig. 2.5,
Sh
an
an
J
III
Lzq
Lz
From
is
= mx
and equation
V it can be
KaSmx = KaSy - G -^
kpS
shown
that
VI
ah
and substitution of IV
is
[^ + j{y-yo)-x] Sh-L^3h =
L
Iw
dh
J
-G^Sh
dh
VII
64
kpS^Ka [mzQ
fmzo
mG
kpS\KaS
dy~\
LG
KaS
dy
_d^
~
dh'i
KaSm
dy
'
mG
KaS
kpS
d^
dh^
Equation
is
(P
+ ^)jT + M>^ =
on rearranging
7 \ryo
coefficients.
The
auxiliary equation
The
roots of
is
fnl
XI
+ {p + q)mi-{-pq =
XI
are
mi =
or
is
y.^Ae-^'^ + Be-"''
XII
The right-hand
side of equation
is a constant and therefore the particular
a constant and equal to the right-hand side of equation X divided
by the coefficient of >^, as given in Section 2.5.4.
integral
is
yp=
ryo-mzo/w
^_i
=^
^^^^
^AAi
is
= Ae~ .^ + Be-^ +
''^^-'"'^/"
r-1
XIV
and
at
From
H,
equation VI,
r-ldy
q
dh
= -pAe-^'-qBe-''
XV
2.
(\pA + qB) + C =
A+B +
and
Therefore at
65
=H
at
XVI
Ae-P^ + Be-^^ + C =
XVII
are
= iZZ:i =
q
A{ve-^"-re-''')
A and B
y(ve-''"-re-'")
XVIII
Bive'^^'-re-'")
and
i+^
KaL
solving gives
= C(e-^^-i;)
= qr-e"^'^)
XIX
XX
XXI
C in
>'-w(r-e-)
,-,-V-...(^)
and then
XXI
XXII
into equation
gives
mz
XXIII
Equation XXIII gives the weight fraction of glycerine
in the extract
L=
.-.
4-544,
flow rates,
G=
8540,
mean
phase as
0-198,
Ka
with
3760,
q
H=
>;o
0-188
0-00348 Ka,
72-0
ft,
?^
Ka
mass
transfer coefficient as
XXIV
66
73-5c
67-5
cerine at interfoce
O'l
in
extract
10
Weight fraction
Fig. 2.6.
2.6.
and consequently
The
is
alge-
braic ehmination of the variables until only one differential equation relating
two of the variables remains. The final differential equation is solved in the
ordinary way by one of the conventional methods. If the equation is Hnear
with constant coefficients, one of the methods already presented in this
chapter will be suitable, otherwise a method to be given later must be
employed.
t Jeffreys, Jenson
Inst.
(1961).
2.
67
now
be considered.
and
dx
^=/i(^,>')
(2.103)
^^^^(^'^'^
^^-^^^
is the independent
which x and y are the dependent variables and
two functions oi x and y. Equations of this
kind can be solved by ehminating the independent variable by dividing one
equation by the other, say equation (2.104) by equation (2.103) to give
in
(2.105)
T=^tF\
which
is
an ordinary
differential
as such.
Example 1 solved in paragraph 2.3.3 was really one of the above type.
EUmination of the time gave a homogeneous equation which was solved by
standard solution methods for homogeneous equations.
The above method of ehminating the independent variable is restricted
to first order first degree equations in which the independent variable appears
only in the derivative. Consequently its scope is very Hmited.
2.6.2.
Elimination of
One
or
More Dependent
Variables
By Use of the
(a)
operator
Differential Operator.
Example
1.
Solve
and
II
MATHEMATICAL METHODS
68
Equations
and
II
IN
CHEMICAL ENGINEERING
can be written
=
(D-2)(D-h5)y + iD-2){D-l)z=0
by (D + 5) and IV by iD + 3) to give
(D + 3)(D + 5)(D-2)>' + (D + 5)(D + 3)^z =
(D + 3)(D + 5)(D-2)>' + (D + 3)(D-2)(D-l)2 =
(D-b3)(D-2)y + {D + 3yz
and
Multiply
III
and
III
IV
V
VI
whose solution
where
A and B
VII
is
(D2 + D-6)y
to zero.
D' + D-6
IX
e-^^^/'^
^"^
yp
gives
r/13\2
E=
where
'
13X/11
D-2
D + 3j
XI
Ge-'''^''
G= -^E^^A
where
is
y,
He^''+Je-^''
XII
is
He^''+Je-^''+^Ae-^^''^^^
This term
is
to a minimum.
method consists of setting up a table indicating the number
of times and in what form each variable appears in the simultaneous equations. Then the variable that appears in the simplest manner is first eliminated by making the appropriate substitution. Following this the second least
frequent variable is removed from the remaining equations by the appropriate substitution, and the substitution process is continued until only one
Birmingham.
by W.
M. Crooks, Dept.
of Chemical
Engineering,
University
of
2.
69
at 174C is fed to a tank where it is well stirred in contact with cooUng coils.
The continuous discharge from this tank at 88C flows to a second stirred
tank and leaves at 45C. CooHng water at 20C flows into the coil of the
second tank and thence to the coil of the first tank. The water is at 80C as
To what temperatures would the
it leaves the coil of the hot acid tank.
if due to trouble in the supply, the cooling water
suddenly stopped for one hour?
On restoration of the water supply, water is put on the system at the rate
Calculate the acid discharge temperature after one hour.
of 10000 Ib/h.
The capacity of each tank is 10000 lb of acid and the overall coefficient of
heat transfer in the hot tank is 200 C.H.U./h ft^ C and in the colder tank
130 C.H.U./h ft^ C. These coefficients may be assumed constant.
Solution
The steady
and the steady
80
40^*
20
^
7740
Ib/h.
40C.
69-3 ft^.f
95-8
ft^.
_
/
88
i
Fig. 2.7.
=
=
=
=
45
Water Fails
Water flow
is
zero.
M Ib/h
=
=
=
let.
10000
0-36
174
C
acid discharge temperature be T2 C
capacity of each tank be
time be 6 hours.
V lb
10000
t In practice, these figures would be rounded off to 70 and 96 but to reduce errors of
calculation the extra figure has been retained (see Chapter 10).
70
Then
Output Accumulation
Input
Tank
MCTq - MCT^ =
FC
dO
AT'
Tank 2
II
dO
These are simultaneous first order
=
solved in succession. Because
becomes
differential equations,
V in
To-Ti =
and when 6
T^
0,
Ke-'=n4-Ti
Therefore when 9
state temperature.
K=
.-.
IV
S6
1*0,
from equation
II,
174-86^-^-72 =
d_T2
-^
VI
dO
This
is
factor
first
e^.
T2
gives
= 174-(860 + 129>-^
VII
1-0,
T2
VIII
94-9C
Water flow
derivation
be
^3
rate
let
is
now
C.
Then
Accumulation
Input
Output
Wt2 + MCTo
- (Wt^+MCT^) =
Tank 2
Wt^ + MCT^
rl'T
Tank
(Wt2 + MCT2)
KC
du
dT.
= VC--^
du
IX
2.
The heat
71
{T,-t,)-{J,-h) 1
A r
^('-'^)^ = n
^'^'
[ln(r.-r,)-ln(r,-J
vv(,
and
^'
<
^^(^,-.3)
C;,^,
''"
[i(r,-r,)-ln(r,-d
to,
exp
-^-^ ==a(say)
(-^)
XIII
and
Equations XIII and
XIV
XV
= ti-at2
U^-P) = t2-Ph
T,{l-a)
XVI
Equations IX, X,
simultaneously.
The
table,
Table
Table
difficulty is that
Ti
Ti
^1
3 plus
2 plus
From Table
'*
+"
its
2.2, t^
V, gives
t2
+ CTo-CT,-(l-(x)T,-oit2 = C--^
XVII
au
Now
eliminate
equations
^2
XVII and
C^
do
+ CT,-CT^-{\-P)T,-pt, = C^
into
X thus,
t,
XVIII
XIX
72
^'^'^^Id^
and
XX
(i-^+c)r2-(i-^)r3
differentiating,
^-37r
= ^-j;^ + (i-^+0-^
XXI
differential coefficient
its
XXII
is
factors
and
it is
advantageous
.-.
U^A^
200x69-3
10000
U2A2
130x95-8
10000
(l-a)(l-i5)
1-386,
/.
0-250
1-245,
/.
0-288
and
0-534
(1-a/?)
0-928
-# +
6-06
dO
ad
7-7072
XXIII
308
The
XXIV
Ae-^-^^^ + Be'^-^^^-^AQ-O
conditions for this solution are the final temperatures from the
previous operation given by equations V and VIII. Before these can be
initial
from equations
+B =
-1-27/1 + 1-175 =
yl
and
Solving for
A and
B,
and
T2
2.7.
XXIV
gives
XXVII
+ 54-3e-^-^^^ + 40-0
XXVI
62-8
substituting in equation
0-6e-''-2^^
XXV
54-9
is
48-9C.
Conclusions
in this chapter for solving the simpler types
is
likely to encounter.
2.
There
solve
73
Chapter 3
SOLUTION BY
SERIES
3.1.
Methods of
Introduction
number of
order equations were
Most
first
solved in principle, and higher order equations were classified into linear and
non-Hnear differential equations. It was shown that non-linear equations
can be solved in the special cases where either jc or >^ is absent, or the equation
the equation.
form of
Methods given
infinite series
many
show
with variable coefficients. Of the series that arise, only a few can be summed
allowing the solution to be expressed in closed form, but the other series can
be accepted as solutions provided that they are convergent. For practical
purposes, the series will be useful only if they are rapidly convergent. It is
therefore necessary to consider the convergence of series, before differential
equations can be solved by their use.
3.2.
A series
Infinite Series
of numbers
'^n
(3.1)
SOLUTION BY SERIES
3.
S^S some
(a) If
finite
number
75
is
termed "conver-
gent".
distinction.
The
series (3.1)
is
u.
is
absolute value of
|"2|
|"3|
-..
(3.2)
lWn|.
convergent.
Example
1.
w;,
.*.
This series
is
z"
= z + z^ + z^ +
S-
ratio z.
II
1-z
|z|<l, z''-'^-^Oasn-^oo,
(a) If
.-.
Hence the
S-^z/l-z
series is convergent.
^oo,
(c) If
^_^
1-z
and
+ z"
common
..
,.,
Hence the
1,
of
is
real
z.
series is divergent.
of Infinite Series
The following
If
76
/.
fli
+ fl2 + 3 +
...
+ fl ^
|wi|
+ |w2| +
..-
+ |Wn| ^ S
Since the series a only contains positive or zero terms, and the sum cannot
exceed S, then statement (i) above proves that ^a is convergent.
Similarly,
^b
is
convergent.
finite limit
3.2.2.
Comparison Test
it is
not necessarily
The comparison
(i)
convergent, then ^u
(ii)
is
n>N
where
of
this
does
all
is
is
absolutely convergent.
n>N, and
^v
is
is
also
divergent.
This test involves comparing the series under investigation with known
convergent or divergent series, on a term by term basis, and it becomes more
useful as the behaviour of more series becomes known. Comparison with the
simple geometrical progression with a suitable common ratio as in example 1
is very useful for part (i) of the test, and the divergent series given in example
2 (b) below is useful in part (ii) of the test.
Example
The above
(a)
series
= n~^ (p real)
= 1 + 2-^ + 3-^ + + n"^ =
u
2,
..
X ''
p>\.
=1
(ir+HY
{iy+iiyHiYH^y
etc.
SOLUTION BY SERIES
3.
The
77
(1)'^
The right-hand
2n
nk
+k
series as
-k'
>
the above
Xj_J.4.i4.i4.i4._l_4.J^
L._I_4.JL-
= (i+iV)+(i+iV)+(i+TV)+(i+TV)+*
>i + i4--2-4-^4-J- = 1
(l)
.-.
The
the
i{3'' 1)
can be made
on
3^
"'".
By taking
r.
finite value,
Therefore, the
...
sum of
sum
series is
divergent.
(c)
p<L
IV
The
Section 3.2.2
3.2.3.
>
for
n>
of
(ii).
Ratio Test
(i)If
for all
(ii)
n>N,
is
k>l
absolutely convergent.
<1
If
'n+l
n>N,
for
all
Regarding the
78
Example
S=l+i + i + i +
n+1
^n+l
.*.
this
3.2.4.
+-1
|w/w +
i|>
that part
but
(i)
Raabe's Test
The
The
when k =
test is
is
designed
^1 +
(i)if
^n+l
where a >
(ii)
for all
> A^,
is
convergent.
If
is
divergent.
Example
is
divergent.
a case which
(i),
is
Gauss' Test
There
is
u
If
test.
^^i^
'+i
where \f(n)
This
test
successive
power, each one testing the behaviour of the ratio of successive terms in
greater detail. As mentioned in Section 3.1, a series is of little practical value
unless it is rapidly convergent; consequently, the more powerful tests are
rarely necessary.
3.2.6.
If /(x)
x>N,
if
is
where
and only
if
SOLUTION BY SERIES
3.
79
Example 4
The
3
2'
3'
where
16
9'
4>
2 7'
27
8
>
and
less
than unity.
Therefore, the ratio test "proves" the series to be alternately convergent and
divergent.
The
the
value
3.2.7.
is
series
sum of
of odd terms
is
is 3.
5.
Alternating Series
an alternating
series if
all
(3-3)
series is convergent.
Proof
S'2
^2m+l
J^iust
be
= Ui-{U2-U^)-(u^-U5)-...-(U2m-U2,n+l)
Again, each term in the brackets is positive, and removing the last term to
obtain S2m reduces the value further. Therefore, 5*2^ and Sj^ + i are both
less than Wj.
.*.
for all n.
Wi
m increases
(3.3) is convergent.
3.3.
Power
Series
series
00
ao
If
\aJa+i\^R
+ aiZ + a2Z^+
...
(3-4)
Y.^n^"
|w+i
a + iz"-'^
a+i
\z\
\z\
80
|z|
< R,
\uju +
(i)
R-e
where
some small
e is
positive
number
less
than R,
R=
>
R-
(s/R)
Taking k
3.3.1.
Binomial Series
The
series
obtained by expanding
(1
+z)^
is
H.,, + (zi),.^Kzll(zlV^
1.2.3
1.2
where
real.
signifies the
binomial
coefficient, z
be complex, but p
p(p-l)(p-2)(...)(p-n +
1.2.3.
n+l
Therefore, the binomial series
+1
1
p-n
is
l)
...n
as M -> 00
convergent for
|z|
<
1.
Exponential Series
z'
^z"
z'
^=^^^^2-^3-!^- = ?T!
Here,^=
(3.7)
\/(n\)
.'.\aja +
i\
is
In this case
a
3.3.2.
may
=
is
+ 1-^
as -> oo.
oo
always convergent.
Logarithmic Series
ln(l
+ z) = z-^z^ + iz'-JiZ*+
...
(-1)"
(3.8)
3.
SOLUTION BY SERIES
+l
81
>
as n -> 00.
'n+l
is
(a) z
1.
Equation
(3.8) gives
ln2=l-i + i-i +
(3.9)
...
1. Equation
(3.8) gives
lnO=-(l+i + i + i +
...)
Trigonometric Series
sinz
= i:^-f-
- + --...
5!
(2n + l)!
= z-
cos.
These two
series are
z^
r-iyz^"
l-_.--...=i:L_l_
z"^
convergent for
values of
all
(3.11)
z.
Hyperbolic Series
3
These two
If z
^2+l
00
- + - + ...=i;^^^^
sinhz
coshz
z^
z^"
l++ -+...=!
series are
convergent for
all
(3.12)
z"^
Inverse Trigonometric
3.3.6.
values of
(3.13)
z.
That
(3.10)
3!
3.3.5.
(3.9) is thus
is
defined by
tan"^z.
is
similarly.
The
two
tan-'z
oo/_-iy
z-^3 + \-...=I^
5
Q
^3
tah-z =
These two
series are
convergent for
|z|
<
2n +
(3.14)
l
oo^2n+l
^5
-+- +
2n +
;^'
...
1.
12-^
(3.15)
82
sin"^z, cos~^
Taylor's Theorem
3.3.7.
If
:3C
is
a,
then
Aa + h)
+ -+
+ ^^f"\^) + ^l
^^Z^y,^'""'^''^
(3.16)
x,
^^0
and
as h-^0.
3.3.8.
It is
form
0/0.
in a case such as
.=^
(3.17)
where f{x) and g{x) are differentiable n times, and f{a) =g(a) = 0. A
value of y can be calculated for all values of x except x = a. Expanding
f(x) and g(x) about the point x = ahy Taylor's theorem,
f(x)=f(a)H^-a)r(aHi(x-arr(a) +
g(x) = g(a) + (x-a)gXa) + Kx-a)'g'Xa) +
...
..,
>^-
If /(a)
g{a)
.3 ^g.
,..
be taken out of
(3.18), giving
naHi(x-a)f"(aH...
^
g'ia) + i(x-a)g"(a)+...
f'(a)
(3.20)
3.
SOLUTION BY SERIES
83
-{'44->
x^
X"
which
and
The
g(a)
first
k terms
in
g'(a)
...
g^'-'Ka)
0.
as
x^a
will give
y=P'\aWKa)
(3.21)
2.
Find the
limit as
x^O
of
x^ sin X
1
.'
and
and
cosx
x^ sin x, g(x)
= ^(0) =
I'M = 2x sin X + x^ cos x
g'{x) = sinx
fXx) = 2 sin X + 4x cos x
g'X^) cosx
COSX'.
/(0)
as X
When
- 0,
/'(O)
g'(0)
x^ sin x
/"(O)
ff"(0)
fM
/"(O)
=
=
=
=
3.3.9.
first
is
zero,
Some
difficult
84
mistake.
developed.
A = a + ^ + 2-
B = a + (l-)(l + i5)
C = 4l + 2(l-)/a]
D = /l(l-)[l + (l-^)/a]
E = X/a
kGH
GmE''
kKH^
a= ;
^ =
P = -7Y7r
where
UV
L'V
L and G
the
Murphree
plate efficiency,
>'n
and
...
II
3.
like
SOLUTION BY SERIES
85
Ca^-Eal-D
A a^ ai
a->,
A-a,-al
= Ca2 + (a2-E)(2a^a2 + ^al) + 3ala2a^
A-a^-aj
Ca + (a2-E)Y,aiaj-\-a2Y.aiaja,, + a^Y^i^j^kai +
-"
+ ^nnai"~^a2
III
was
difficult to subject it to
the
test,
therefore
two particular
simplifica-
.*.
A^-AB =
^-^oo, yl-^oo.
{a
+ p-Ey + 4pE^
- l- + ^(4a-3^)/4j5
.-.
fli
.'.
a2->^''(4a-3)/4^2
.-.
a3->l2(4a-3)/4j5'
early terms.
aJa,^,:^PIX<l
IV
and each of the terms in^flj^y will equal a^a. Similarly, all terms in^flja^flfc
will equal firi^a_i, and so on.
With this approximation, equation III
MATHEMATICAL METHODS
86
IN
CHEMICAL ENGINEERING
becomes
Ca + (a2-E)na^a-hia2n{n-l)ala_i
+ 4
n(n-l)(n-2)
aia_2
j-y-^
+
+ - + anna"i
^a^
V
and the number of terms on the
right-hand side of equation V also increases as n increases. Each term tends
to infinity, and the central term approaches infinity as (w)^", which is a very
rapid rate of growth. In view of these considerations, it is most unhkely
that the series will converge inside any circle of finite radius. It must be
emphasized here that no proof has been provided, but the evidence indicates
Equation IV shows that
a^ increases with n,
probable divergence.
(b)
= 1, P^O, X^O.
A = a+i-p
B=
(x
A-^A^-4B = 2+
:.
y p
a~l
+...
OL\P
But since
jS
is
small, if
a>
then ^i
>
This result
1.
is
physically
wrong
as
may be
seen by inspecting equation II. For small values of ;^_i, >^ will be
greater than y_^ and the column must therefore be generating the transferable gas rather than absorbing
it.
'
1,
and k
small,
3.4.
was solved and shown to have solutions for the complementary function of
the types
>;
and
By
=
=
=
in ascending
power
A{\
series
.lie'"^^
+ yl2e'"^"
(2.45)
{A + Bx)e'"''
{A cos a.x
and
of x.
-\-
B sin ax)e^''
3.3.4, all
Thus
(2.49)
for the
first
case,
(3.22)
3.
SOLUTION BY SERIES
87
This series form of y can be accepted as a solution of the equation provided that the differential equation is satisfied by it and the series is convergent. It can be shown that the first condition is satisfied by differentiating
the series term by term and substituting the result into the differential equation when all terms will cancel out. The series can be checked for convergence by any of the tests given in Section 3.3.
Because the linear differential equation with constant coefficients always
vaHd series solution, it is natural to expect at least some differenequations with variable coefficients to possess series solutions. Since the
majority of series cannot be summed, it is to be expected that some solutions
must be left in series form.
The general second order linear differential equation can be expressed in
possesses a
tial
the
form
dv
d^y
-^ + PW^_ +
QW>; =
(3.23)
X,
P(x)
eW
Put
y
.*.
ax
= Po + PiX + P2^2 +
= Qo + QiX-\-Q2X^ +
= ao + aiX + a2X^ +
(3.25)
...
(3.26)
...
ai
+ 2a2X + 3a2X^ +
d^y
.*.
(3.24)
..-
"2 =
2(22
ux
...
and
(2fl2
(3.27)
+ Poa, + Qoao =
+ 2Pofl2 + i'ifli + Qoi + Qio =
12a4 + 3Pofl3 + 2Pia2 + P2ai + eo2 + 6ii + 62o =
.-.
and
and
2a2
6fl3
(3.28)
(3.29)
(3.30)
etc.
ci2=-iPoa,-iQoao
Substituting equation (3.31) into equation (3.29)
of <3i and Qq gives
(3.31)
and solving
a3=i{Pl-Pi-Qo)ai+i{PoQo-Qi)cio
for a^ in terms
(3.32)
42
MATHEMATICAL METHODS
88
CHEMICAL ENGINEERING
IN
By substituting equations (3.31) and (3.32) into equation (3.30), a^. can be
determined in terms of ^^ and ag. This process can be continued indefinitely,
and thus each a can be determined in terms of a^ and Oq only. Treating a^
and Gq as the two arbitrary constants, equation (3.26) together with equations
(3.31), (3.32), etc., can be accepted as the complete solution of equation (3.23).
This method is only valid when P(x) and Q{x) can be expanded in series
of ascending powers of x which have a radius of convergence R. If P{x)
and Q{x) can be so expanded then the simple series method will give a series
solution which is convergent within a radius R. The next example illustrates
what happens when these convergence conditions are not satisfied.
Example
^x-j^ +
1.
6-/-
series
of ascending
Nevertheless, put
00
4x(2a2
+ 6^3 X + 12a4X^ +
Equating coefficients of
..
.)
like
I.
x,
+ aQ==0
Sa2 + l2a2 + a^=0
24a2 + lSa^ + a2=0
6a^
= aol6
.'.
a^
:.
a2=-aJ20
.'.
^3
II
= -^2/42
etc.
4nin
III
.-.
'n+l
{2n
IV
+ 3)(2n + 2)
Equation IV must be true for all n^O. The result of equating coefficients of
x""^ can be obtained by replacing n in equation IV by (n\). Thus,
{2n
a_i
+ l)2n
Go
is
3.2
a^i_ (-l)"^'
oo
(2
+ 3)!
II.
Multiplying the
last set
SOLUTION BY SERIES
3.
alternatively,
-
(2n
The
89
+ l)!
^ (-1)X
V(2 + l)!
The
alternating signs
this series
and the
and odd
o(sin
between
Equation VI can be written
VII
v^)/V^
But the method has given a solution containing only one arbitrary
Comparing equation II with the general equation (3.28), it can be
seen that the term containing ^2 is absent due to the second derivative in
equation I being multiplied by x. Thus equation II determines fl^ in terms
of Uq leaving Gq as the only arbitrary constant, whereas equation (3.28)
leaves both Qq and aj as arbitrary constants.
The second solution may be found by using the method given in
Section 2.5.2 because one part of the complementary function is now known;
constant.
equation VII.
Put
VIII
v(s'my/x)lyjx
Differentiating twice,
V x dv
Vx dx
dy
sin
dx
dx""
v sin yjx
2x
2xVx
yjxcos^/x
s'm\/xd^v
d^y
v cos v:^
sm\/x
dv
fsinV^.^
"^
^x
dx^
/-d^v
2x sm Jx -T
Jx^
^
Jx"^4xVx
xy/x
and
"^ ~
3i;cos\/^
4x2
X
X into equation I and simpHfying gives
/-
/-
r^dv
,^
+ {2Jx cos Jx + smJx)- =
.
dx
which
is
(A
sin \/x
+ B cos \/x)l\/x
XI
The second part of the solution can also be expressed in series form by
using equation (3.11), thus
y
= B(x-^-ix^ + ^x^'^-...)
XII
90
now
why
method used so far does not give the comeven though a series solution does exist. The
fundamental series substitution (3.26) only allows positive integer powers of
.Y, and if this restriction could be relaxed, a more general type of equation
could be solved. In the above example, equation XII shows that the successive powers of x still increase by integers even though they are all fractional, and that this series can be represented by the previous series if the latter
is multiplied by x~^. This means that instead of the first term being a constant Oq, it is GqX'^. The series substitution is therefore modified to include
this type of series.
It is
clear
plete solution of
the series
example
1,
Method
3.5.
If the general
second order
of Frobenius
differential
form
G(x)y
(3.33)
Fo + FiX + F2X^ +
...
(3.34)
x^--i
xF{x) -f
where
F(x)
and
G(x)
= Go + GiX + G2X^ +
...
(3.35)
with equations (3.34) and (3.35) having a radius of convergence R\ then the
equation can be solved completely by the method of Frobenius in the form
of a power series which is also convergent for |x| <i?.
By comparing equations (3.33) and (3.23) it can be shown that equation
(3.33) includes equation (3.23) as the special case i^o = ^o = ^i = ^- The
method of Frobenius will therefore always apply when the simple series
method appHes, but it will also solve equations which the simple method
leaves unsolved. Thus, the simple series method has been superseded by
the
.-.
Y.^^x^^'
(o#0)
= ^a> + c)x"^-^
^
ax
(3.36)
(3.37)
d'y
dx
(3 38)
series for
(3.33)
(3.39)
in the
SOLUTION BY SERIES
3.
91
of
x'^
in equation (3.39)
can therefore be equated, giving
=
c2 + (Fo-l)c + Go =
is x*^,
and co-
(3.40)
(c) is
called the
ai(l
.'.
(3.41)
c.
The coefficient of a^ in equation (3.41) can be obtained from the lefthand side of equation (3.40) by replacing c by (c+1). In general, the coefficient of Gj in the equation obtained by equating coefficients of x'^^^ can
be obtained from equation (3.40) by replacing c by {c-\-j). If the two roots
of equation (3.40) are denoted by c^ and C2 and they differ by a positive
integer 7 so that C2 = Cy +j; when the root c = c^ is used, the coefficient of
Gj on the first occasion that it appears will be zero by the above explanation
since (cj +j) satisfies equation (3.40). But this equation should determine
aj, which is impossible when aj is not present in the equation. The method
thus encounters difficulties if the roots of equation (3.40) diff*er by an integer.
The general solution cannot be considered further, since the methods
diverge into four channels depending upon the properties of the roots of the
indicial equation (3.40). The treatment of each case will now be pursued
separately.
3.5.1.
Case
I.
the
'^^^2 + ^^. + y = ^
dx
dx^
The
ax
aox' + a^x'-^^
...
and
its
differentiated
X^n^""^^
forms are
92
ax
+ ai(c +
into equation
l)cx'
...']
to give
+ 6[aoCx'-'+a^(c +
l)x'
+ laox' + aix'''^ +
Equating coefficients of
like
powers of
x, starting
4aoc(c-l) + 6aoC
+ l)c + 6ai(c + l) + ao
4fl2(c + 2)(c+l) + 6a2(c + 2) + ai =0
.-.
=0
=
=
:.
II
x'^~^,
III
IV
The
...']
...']
4a^(c
.-.
and
VI
two roots
or
0,
c= -i
VII
However, when
and
fl,
Rearranging,
(2r+l)(2r + 2)
a,
-1
similarly,
(2r-l)2r
a,_i
etc.
a,
-1
ao
1-2
until
n
'
IX
(2r + 2)!
yi
The general
= o^
J(-l)"ax"-*
solution of equation
I is
(A sin V^
(2n + 2)!
thus
+ B cos \/x)l\/x
XI
3.
SOLUTION BY SERIES
93
should
The coefficient Gq which appears in both equations VIII and
be different in the two solutions which are independent. It is good practice
to change both of these coefficients to new arbitrary constants as in equation
XL
Equation VI, which was obtained by equating coefficients of a general
X, is called the "recurrence relation" because it enables any coefficient a^ to be determined in terms of the earher coefficients in the series.
When only two coefficients are involved in the recurrence relation it is a
simple matter to find the general term such as equation IX, whereas when
more than two are involved it is virtually impossible to develop an analytical
power of
3.5.2.
Case
II.
The first part of the complementary function can be found by using the
method described above, but only one series containing one arbitrary constant can be determined because the indicial equation has equal roots. The
second solution can be found by assuming that the two roots are different
and taking the limit as the second root approaches the first through variable
values of c. The complete solution for different roots can be written
y
Au(x,
Ci)
+ Bu(x, C2)
A and
+P
Ci)"
B, in terms of a and p,
W(X, C2)
au(x,Ci)
W(X, Cj)
(3.42)
C9-C1
thus
au(x,c,) +
p{^)
An
Example
(3.43)
more
clearly
by
2.
d'-y
r.
Jy
^7r^ + (1-^)3^-^ =
Put
Ycix"^'
(3.36)
94
and
and
its
/.
Equate
aoC{c-l) + aoC
II
.-.
III
.-.
Equate
coefficients of x'^"^^
fl,+ i(r
Since
r is
value of
zero, (r +
is
c+
1)
r,
a, +
.-.
a,/(r
+ c+l)
IV
Equation IV
as a check
r times,
+ c+l)(r + c)(...)(c+l)
(n
+ c)(n + c-l)(...)(c + l)
u{x,c)
is
now
''''
The function
(r
^^
series (3.36).
"^'''
'^
When
0, w(x,c) satisfies
y,
To determine
+1
(c
equation
w(x,0)
o [1
aoe'
and
+ l)(c + 2)
is
the
x^
+^ +
first
x^
I.
solution,
1
^ + ^ + -J
side of equation
^^
? ( + c)(n + c-l)(...)(c+l)
VII
x^ +
:.
{l-x)-
95
3.
SOLUTION BY SERIES
aoc(c-l)x^ '+^0^'^
+^0^
dx
dx'^
..,
(c+l)(c + 2)
c+1
...
because all terms after the first are identically zero. This must necessarily
be so because the terms in brackets are the recurrence relationships, and the
The function
first term is the left-hand side of the indicial equation II.
w(x,c) defined by equation VI thus satisfies the modified differential equation
x^
+ (1-x)^ -u = a^c^x'-^
dx^
dx
VIII
d^ /du\
,^
d (du\
du
^^
_,,
d (du\
/du\
du
I.e.
It
The following two points of technique are useful in order to perform the
required differentiation efficiently.
^n + c^g( + c)lnx
(i)
which may be
(ii)
then
If
verified
(3 44)
Inj;
ln/i(c)
sides.
...fXc)
+ ln/2(c) +
...
+ lnX(c)
(3.45)
MATHEMATICAL METHODS
96
IN
CHEMICAL ENGINEERING
Differentiating,
dy
fi(c)^n(c)_^
dc
flic)
y,
(3.46)
hie)
/,(c).
/,(c)
l/(c
+ l),.../(c)=
c+V
/i(c)
+ n),/+,(c) = e<"^^>'"'
-1
fnic)
/nVl(c)
= Inx
c
n
+
Uc)
fn+lic)
l/(c
"oZ
^(c + l)(c + 2)(...)(c + n)\c + l
yi
o"-\
o!
+2
+n
Inx
c
^oe^lnx
n
71
Au(x,0) + B(duldc), = o
Ae^'
3.5.3.
Case
Ilia.
This case
is
it
+B
XI
e^lnx
on\\
nj.
II in that the
c,
The
function u{x,c) has to be defined as before such that the recurrence relation
is satisfied but not the indicial equation. The solution can be shown to take
the form
Au(x,C2) + B--l(c-c,)u{x,
cc
The reason
for the
)], = ,
(3.47)
best visualized
by
as
is
reference to an example.
Example
dy
d^v
x(l-x)--^ + (2-5x)/-4>' =
dx
dx
is
aoc(c-\) + 2aoC
II
the
first
recurrence relation
is
a,(c+l)
97
SOLUTION BY SERIES
3.
relation
ao{c + 2)
III
is
+c+2
'^^^~r + c + l
r
The
As mentioned
tion differ
which
= 1
When
from
is
still
first
1,
recurrence relation in
and equation
equa-
III gives
CO
term becomes
solution with c
fl,+
y^
.-.
by the binomial
when
0.
equation
1,
a^
.'.
series arising
In this example, 7
which a^ occurs.
or C2
by an integer 7,
aj appears.
tion in
The
IV
=
=
+c+2
c+ l
0, this simplifies to
+ 2)ao
ao{l + 2x + 3x^ + ...)
^ao(l~xr'
(r
VI
series (3.6).
Define the function u{x,c) again, which satisfies the recurrence relation
IV and its solution V, but not necessarily the indicial equation II.
u(x,c)
= f:^^^^^aox"^^
VII
c-\- 1
is substituted into the left-hand side of the differential equaterms cancel out as in Section 3.5.2 with the exception of the term
identical with the indicial equation. Thus,
If this function
tion
I, all
x(l-x)^ + (2-5x)^-4u =
ax
ax
aoc{c + l)x'-^
VIII
common
is
98
MATHEMATICAL METHODS
transfer the
awkward
throughout by
By a
CHEMICAL ENGINEERING
it.
argument
similar
>'2
But,
IN
it
form
= [(c+l)"(x,c)L=_i
IX
|-(c+l)u(x,c)
.-.
CC
y2
.-.
f^(n
x{\-x)
{\-xY
I is
l]
solution of equation
+ c+l)aox"^'^
= faoX"+^[(n + c+l)ln.x +
ao(\nx)(l-\-2x
^ aplnx
Once
is
the
first
solution.
The complete
thus
B\nx
^^^
y-{i-xf^{i-xf^^^(x^)
3.5.4.
Case
There
in the
is
Illb.
just
and when
= 1,
became
last
infinite.
example, equation
Had
III
arise
gave
equation
III
Example
4.
^^>'
+ (,_l)^_,=0
is
flo
c(c
1) flo c =
relation
11
is
first
III
of equations III
IV
SOLUTION BY SERIES
3.
99
When
a,+ i{r + c +
.*.
The
first
solution
is
given by c
l)= -a,
2,
fl,+ i(r
and by successive
(unless c
0, r
1)
thus
+ 3)= -a,
substitution,
_(-ir^
"'*'-
(r+3)!
/x^
.3
x^
x'
The second
solution, v^hen
yi
= 2ao(e"*-l + x)
c = 0, becomes
= ao-aoX-ha2X^2
^41--)
^2^^
- +
ao(i-x) + 2a2(e-''-l
VI
^2^"^
3.4
+ x)
VII
All coefficients after the first two can be found in terms of ^2 and there are
thus two arbitrary constants in the second solution making three in all.
Inspection shows that the series associated with ^2 in equation VII is
identical with the first solution as given
One
by equation VI.
when a
coefficient
complete solution.
The complete
solution of equation
is
solution has
becomes
in-
in fact the
can therefore be
written
Iqi, and B =
= A{.-x) + Be-''
where
A =
3.5.5.
VIII
The examples given above have been specially selected so that the series
solutions could all be summed. The solutions can be checked quite easily
by differentiation and substitution, thus demonstrating that the series
method gives correct results. It must be emphasized that the methods of
Chapter 2 should always be tried before resorting to the method of
Frobenius.
to trying to
sum
the
100
the
new origin.
The differential equation
^ + xt{x)+
^^W:r:
dx
z^
dx^
^My = ^
(3.33)
(ao^O)
I.ax"^^
(3.36)
if
If the
Ci
+j andy>0, then
Case I
(7
with C2
c^
and
C2
Two
Cj
The
the form
Case Ilia
appears.
(j is
When
the equation
is
an
Au(x,c,) + B(duldcX=,^
integer).
c^,
Find the
first
(3.43)
where
Au(x,C2)
5^[(c-ci)(x,c)],=,,
(3.47)
u(x,c) satisfies the recurrence relation but not necessarily the indicial
equation.
Illustrative
Example
5.
Cross-section.
Examples
SOLUTION BY SERIES
3.
is
in,
101
is
6 in,
and the coordinate x (measured in feet) is measured inwards from the rim
of the fin. There are two natural origins for the coordinate, but since the
temperature distribution in the vicinity of the pipe axis is of no interest, the
origin is taken on the rim instead. Assuming that the fin is thin, temperature
Transverse cooling
Fig. 3.1.
fin
normal to the central plane of the fin will be neglected. The thermal conductivity of the fin (k) is 220 Btu/h ft^ F ft~\ and the surface heat
transfer coefficient {h) is 2 Btu/h ft^ F. Denoting temperature by rF with
T^ F representing the air temperature, the heat balance can be taken as follows.
The area available for heat conduction is
variations
2n{h
Anx{h x) tan a
x) {2x tan a) =
= H7ix(Z? x)tana-
Input
ax
riT'
/7
ax
-
ax
= - k4nx{b - x) tan a +
Output
k4nx{b x) tan a
dT
Sx
dx
k4nx{b x)i2Lncc
dx
Accumulation,
dT
Sx-2h2n(b-x)(dxsQcoi){T-T^) =
dx
x(b-x)
ksinoc
dx
Putting
K=
h/k sin
a,
dx
-Kb-x){T-T^) =
II
= T-T^,
and y
dy
d'y
dT
x(b-x)j^^ + (b-2x)-^-K{b-x)y
at
III
are,
= 0, y
= b-a,
remains
T=
finite
IV
Tb
V
where T^
is
102
(3.36), (3.37),
and
(3.38) in equation
III gives
bY,a{n + c)x"^'-'
+ c)(n + c-l)x"^' +
+ c)x"'-' - KbY,a,x"^' +
2Y,a{n
-{-KY.a^x"'-'^^
The
VI
by equating
coefficients of ;c^~^
baoc(c-l) + baoc
c'
.-.
Equation
III
II
violating
=
=
VII
is
may
it
Equating
ba^
power of x which
is x*^,
KbaQ =
fli = Kao
.*.
The recurrence
relation
bar+i(r + l)r-a,r(r-l)-\-ba,+i(r +
ba,+ ,(r+iy
.-.
VIII
is
l)-2a,r-Kba, + Ka,_i^ =
a,lr(r
+ l) + Kb']-Ka,.,
IX
This recurrence relation is different from all previous ones since it relates
three of the original coefficients a^+i, a^, and a^-^.
It is thus difficult to
determine a general formula for a^ in terms of ^Q) although a solution may be
possible by the methods of Chapter 9. Unless such a solution is possible,
the second part of the complementary function in this example of equal
roots cannot be found by the method of Section 3.5.3 even if it is required.
The appropriate first solution can be found however on a term by term basis.
Introducing the numerical values given in the problem, together with T^ =
60, Tg = 212, and a = 5 gives
A:= 2/220x0-0872 =
0-1043.
= 0-1043ao
a,+ i(r + l)2 = fl,[2r(r + l) + 0-1043]-0-2086^,_i
^2(2)^ = 0-1043ao(4- 1043) -0-2086^0
= 0-2195^0
/.
^2 = 0-0549^0
fli
.'.
Using equation
again,
^3(3)2
.-.
etc.
^3
= 0-0549flo(12-1043)-0-2086x 0-1043^0
= 0-6424^0
= 0-0714flo
3.
SOLUTION BY SERIES
103
a.+
.'.
are the
first
2r
XI
fl.
flo(l
.-.
Equation XII gives the temperature distribution throughout the fin, and
equation XIII shows that the rim temperature is 205 3F.
The rate of removal of heat by the fin can be calculated from the temperature gradient at the base.
Thus
by differentiating equation XII, and using equation XI to estimate the continuation of the series to infinity.
(Q
Thermal conductivity
{k)
Density (p)
Flow
(the
rate (w)
above are
all
mean
Inlet temperature
Assuming
=
=
=
0-24 Btu/lb F
0-020 Btu/h ft^ F ft~^
0-050 Ib/ft^
1000 ft^h
values)
=
(/?)
70F.
= 5x~*
Btu/h
ft^
F where x
is
the
inlet.
in
104
an axial direction, mass flow of the gas in an axial direction, and by the
above variable heat transfer coefficient from the walls of the tube, find the
temperature of the exit gas.
Solution
70
F^
>
4 ft
U
tn
T-^
'
t.;t
^"
Jl
Gas preheater
Fig. 3.2.
Output
Input
-kA
By conduction
is
dT
dx
dx
d /
is
dT\
dx
upC^[
T+
Sx
dx
ndh{T^ -T)Sx
where
dT
upC^T
By mass flow
4in dia
its
diameter.
Since in
zero,
T'T-i
-kA- + upCT
+ 7idh(T^-T)3x
^
dx
kA
dx
dx
dT\
dT
d^T
dT
ndh(T^-T)= -kA-^ + upC -
^
dx
dx"-
Rearranging,
upC.dT
d^T
ndh^^
^^
II
dx'
Putting
= T^-T,
d^t
dx^
upC^
dt
kA dx
4/2
kd
III
4 -688o4^-3000x-^r =
dx"^
dx
IV
3.
Put X
SOLUTION BY SERIES
an attempt
is
made
first
dz
dz"^
t,
z,-il + 13160z^)^-12000zh =
:.
If
105
few terms
are,
Taking
a^=0
a^
2
^3
3440^0
=
=
800^0
7-9
x lO^ao
The
+ 0'436x-^t =
^
dx
VI
= aexp(-0-872x^)
= 600 70 = 530.
at x = 0, is
= 530exp(-0-872x^)
T = 600-530exp(-0-872x")
VII
VIII
.-.
-^= -23Mx-^exp(-0-872x^)
dx
-4 = 23M(ix-3/2 + 0-436x-^)exp(-0-872x^)
dx
d^t Lc.r.r.dt
'6880
dx^l
which
ix-3/2-0-436x-'
^
dx
6880x""
1
13760X
15780;c"
is
If X =
The error has thus been made over a
justifies the
above
result.
and
this
106
3.6.
The
differential
equation
x^4^ +
known
Equation
Bessel's
^+
(x^
- k^)y =
(3.48)
constant.
and
its
The
indicial equation
differential
= ^ax"^^
(3.36)
(3.48).
is
aQc{c
l)
+ aQC k^aQ =
The
difference
/c
is
or
-k
(3.49)
Because c
/:
!,
+ l)cH-ai(c + l)-k^fli =0
a^(c + l + k)(c+l-k)=0
= k, and k^O,
c= ^, c+1 =
relation
is
unless
The recurrence
0.
/:
andc=-i,
ai=0
(3.50)
^r 2
^'~
(r
(3.51)
(3-52)
/"3
c-jA
+ c + k){r + c-k)
t For example, Jahnke and Emde, 'Tables of Functions with Formulae and Curves,"
Dover Publications, New York. Or Watson, "Theory of Bessel Functions," Cambridge
SOLUTION BY SERIES
3.
The
first
relation
solution for c
k, will
be normal in
Combining equations
(3.51)
and
ai
r
all
cases
becomes
r(r
and
107
can be replaced by 2
(3.53) gives
^3
by
(w- 1),
^5
...
=0
(3.55)
^""
Replacing
+ 2/c)
(w 2),
2m(2m + 2/c)
etc.,
before,
^2m
(-ir^o
m!r(m + + l)
/c
where r(A:+l) is the Gamma function or generalized factorial whose properties will be discussed in Chapter 5.
The
first
is
thus
rom!r(m + /c+l)
The
Defining a
new
first
kind of order k
first
is
defined as
is
thus
y,=AUx)
The form of
(3.57)
A:,
Case I (2k
is
y
3.6.2.
Case II (k
first
by replacing k
AJ,(x) + BJ.,(x)
(3.58)
0)
= -r-2
(r + c)'j
A:
0,
108
^""
2m
(-ir^o
"^""'"^
^^"^^^
gives the
second solution,
l^\2m
"-'^
(-irao(ix)
,n-,-l-l-...-i
(m !)
=-H'"'-i/"sr(-^-^)]
The expression in brackets is the Neumann form of the second solution, but
an alternative form named after Weber is more frequently used. The Weber
form is obtained by adding (y In 2) Jo{x) to the Neumann form and multiplying the result by (2/n). Thus
y2
BYo(x)
where
l^oW
2ri...i..x
.
[ln(ix) + 7] Jo(x)
.
....
..-,
7r,=
71
is
the
and
Weber form of
is
which
+- +
lim (1
m-coV
is,
Case Ilia {k
is
is
-+...
= k,
+:;+
+.2.
Inm
=0-5772...
is
thus
(3.60)
an integer)
first
-2fc-2
ci2]ik-^c){2>k-^c)=
-ajk-i
is
is
not zero
because a2k-2
Section 3.5.4
AJo(x) + BYo(x)
a2ji2k-^cf-a2kk^
When
( 1
defined by
or
/
(mi;
3.6.3.
(-l)'"(ix)''"/,
Euler's constant
The complete
2
-- ^
E
is
in
SOLUTION BY SERIES
3.
The eventual
109
solution using
IS
y,
= -Bl\nix + y]Ux)--
BY,{x)
^TT^^tt^)"""'
y [2
1+am + k
^^
nj^o
m\(m + k)\
...
ml
+ +-+
1
...
m + kj
where y is again Euler's constant, and the Weber form has been found by
adding agiy In 2) J^ix) to the Neumann form and multiplying by (2/7r).
Ykix) is the Weber form of the Bessel function of the second kind of order k.
The complete solution of equation (3.48) is thus
= AUx) + BY,{x)
when k
3.6.4.
is
an
The
first
(3.61)
integer.
is
an odd integer)
is,
from equation
(3.52),
(3.62)
= k,
coefficient
3(T + c)(f+c)=
and
-a,
normal
series.
The general
is
(3.63)
AJk(x)
+ BJ.k(x)
(3.58,63)
AJk(x) + BJ_ki^)
y
if
AJk(x) + BYk(x)
(3.60,61)
an integer or zero.
Examples of the use of the above Bessel functions occur quite frequently in chemical engineering when the problem involves partial differen-
if
is
to
Example
3 in Section 8.7.5
in the solution
and Section
8.7.3,
110
3.6.5.
Bessel functions
it is
+ ^^.-i^''^ ^^)y =
^^-J^
dx'^
dx
(3.64)
X with ix where
written
y
if
is
AJk{ix) + BJ_,,{ix)
(3.65)
AJ(ix) + BY^(ix)
(3.66)
is an integer or zero.
In Section 2.5.2 it was found that the solution of the second order linear
differential equation with constant coefficients could be expressed more
conveniently in terms of real trigonometric functions than complex exponential functions when the auxiliary equation had complex roots. Here, instead
of using the Bessel functions of a complex variable, it is similarly convenient
to define modified Bessel functions of a real variable so that the above
solutions can be expressed in real form. The necessary definitions are
if
/,(x)
e-*""A(ix)
(3.67)
\2-^J
_ y
~ %m\r(m + k+l)
K,{x)
(3.68)
*-,^
(-l)'^i[ln(ix) + v]/,(x) + i
2=
(-l)'"(/c-m-l)!
^
'
m
,
^J^o
The
(-ir(ixy'"^^[^
y
if
is
is
is
'-(ixy
1,1
ml
m-\-k\
thus
= Ah(x) + BI.,(x)
(3.69)
y
if
[2
m\im-\-k)\
\,
fn\
AI,(x) + BK,(x)
(3.70)
an integer or zero.
and KfXx)
is
first
kind of order
k,
SOLUTION BY SERIES
3.
111
Example, Heat Loss Through Pipe Flanges. Two thin wall metal pipes of 1 in
and joined by flanges | in thick and 4 in diameter, are carrying steam at 250F. If the conductivity of the flange metal k = 11^ Btu/h ft^
F ft~^ and the exposed surfaces of the flanges lose heat to the surroundings
at Ti = 60F according to a heat transfer coefficient h = 1 Btu/h ft^ F,
find the rate of heat loss from the pipe, and the proportion which leaves the
rim of the flange.
external diameter
Solution.
circular face
is
It is
more convenient
Because
all
it
from the
axis of the
pipe and consider the heat balance over an element of width dr, as
shown
in Fig. 3.3.
Pipe flange
Fig. 3.3.
^
= -2n\r
^
^
Input
^
The
of
dT
nkr
dT
dr
12
dr
^ , ,
Output
nkrdT
dTl
=-__
+
_^___J,, + __(T-r,)
Accumulation
factors 12,
nkr
Inrhdr ^
in
terms
feet.
dT
d'-T
Putting y
equation.
= T-T^, and x
-=
dx^
(3.64)
X -^
dx
V=
II
II is
a modified Bessel
MATHEMATICAL METHODS
112
According to equation
at
is
thus
AIo(x) + BKo{x)
III
i,T = 250
IV
are,
at
and
CHEMICAL ENGINEERING
IN
"
2,
k dT
h
=
J^"^ J^^CT-TJ
^
where equation V states that the heat conducted through the metal to the rim
must equal the heat lost from the rim surface to the surrounding air.
Changing the variables, and introducing the numerical values, equations
IV and V become
X = 00195,
at
VI
y = 190
and
at
dy
0-078,
-f-
-0-0195y
VII
ax
and
-^
ax
Substituting equations VIII
= AI,{x)-BK,(x)
and
A/i(0-078)-BXi(0-078)
(3.90),
III into
III into
(3.91),
VIII
-0-0195[/4/o(0-078) + BKo(0-078)]
IX
equation VI gives
yl/o(0-0195) + BKo(0-0195) =
190
Finding the values of the various Bessel functions from tables! and solving
gives
equations IX and
A=
B=
186-5,
0-8636
Putting these values into equation III and reverting to the original variables
gives the temperature distribution
T=
60+186-5/o(0-039r) + 0-8636Ko(0-039r)
is
XI
given by
nk (dT\
=
=
and the heat
lost
M27[BXi(0-0195)-^/i(00195)_,
47-81 Btu/h
6
t "British Association
(1937).
is
given by
\drj, = 2
3.
=
=
4-507
SOLUTION BY SERIES
113
16-62 Btu/h
35% of this
through the rim.
The above problem is similar to the problem of a flat circular cooling
fin, which has been solved by Gardner! who presents solutions in the form
of Bessel functions for the efficiencies of a variety of shapes of extended
Therefore, the pipe loses 47-8 Btu/h through each flange, and
is
lost
cooHng
surfaces.
3.7.
known properties and relationdo Bessel functions, although these are not so widely known. Only
a few of the more useful properties will be listed here, and the reader is
referred to any of the specialized books on Bessel functions given at the end
of the chapter, for a more comprehensive Hst. The formulae will be given
in sections on limiting behaviour, differential properties, and integral proJust as trigonometric functions have well
ships, so
perties.
3.7.1.
As x-^O,
Jk{x)
and
IJ^x) start at x^
Therefore,
when
/c
Jo(0)
0,
^.(0)
when
/c>
The ambiguous
0,
=
=
/o(0)
/,(0)
=
=
(3.71)
(3.72)
J-,(0)=/_,(0)=oo
(3.73)
resolved in any particular case by reference to equawhere the sign is determined by the sign of r(A:+l)
given in Section
In
sign
5.3.
is
all
physical cases,
if
x =
is
no physical property can be infinite and the part of the solution containing
J-ilx) or I-u.{x) must be eHminated anyway. The above physical argument
also appHes to Y^{x) and K^{x) which are both infinite at the origin for all
values of k. If k is not zero, the infinity is due to a negative power of x; if
k is zero, the infinity is due to the term In x. Therefore, for all values of k,
-y,(0)
X,(0)
(X)
(3.74)
field,
If x>/:, then the term k'^ in Bessel's equation (3.48) can be neglected
comparison with x^ in the last term. Equation (3.48) becomes
,
d^d
Gardner, K. A.
dy
in
114
first
x\v
ax
d'z
*
^
Substituting (3.76)
dx^
'
and
-r2
two terms
,d'y
= x'-^ +
dx^
'
_,dy
ijZ.
X
"
dx
1V--3/2
-A + ^-r-ly
(3.77)
d^z
dx^
is
(3.76)
ax
x--^ +
Again, IjAx
is
(ix
^+x)z =
d^
+
^
x^\.
z
(3.78)
dx'
This
is
= ^cosx + 5sinx
= ^x~^cosx + 5x~^sinx
(3.79)
With the above simple treatment, it has been shown that for x>l and
x'^k, the Bessel functions behave as damped oscillations of period 271. The
evaluation of A and B to simulate the behaviour of the defined Bessel
functions is an involved matching procedure, the result of which is
A similar procedure may be adopted with equation (3.64) for the modified
Bessel functions.
Thus, 4(x)
as
is
The
result
is
I,{x)--^e^
(3.82)
e-^
k.m-Jy,
2x
(3.83)
3.
SOLUTION BY SERIES
115
Differential Properties
3.7.3.
By
Jk{(xx)
term by term
it
kJk{ccx)-(xxJk + i(ccxy
(XX Jk -
(ax) kJ,,(ccx)
Yk(ax)
kYk(ccx)
-ccxYk+ i(ax)
axy,_i(ax)-/c7^(ax)
(3 84)
Ikiocx)
kI^{ccx)-^ccxIk+i(ocx)
kl^iccx)
+ ccxlk+ i(ocx)
ax/fc_
X - K^(ax)
dx
(3.85)
i(ax)- /c/fc(ax)
(3.86)
OLxKk
axKj^ + i(ax)
kKjJioix)
kKk((xx)
-axKk.i{oix)-kK,,(ax)
(3.87)
Integral Properties
3.7.4.
axV^_ i(ax) dx =
x^J^iax)
(3.88)
oix%_ i(ax) dx =
x'Y,(ax)
(3.89)
ax'^/fc.
i(ax)
dx
xH^iax)
Jax%_i(ax) Jx = -x%(ax)
(3.90)
(3.91)
Uctx)J,{px)xdx
-^^ [<xJ,(Jix)J,^,(ax)-pJ,{<xx)J,^,{M']
(3-92)
lJ,iccx)yx dx
(3.93)
J
X
jl,iax)I,{px)xdx
= -^^^ [ccI,(Px)I,^,(ax)-l}I^{ax)h^,(fixy]
(3.94)
(3.95)
116
3.7.5.
Tables of Bessel functions are only given for zero and positive order, the
negative order Bessel functions have to be evaluated using recursion formulae
as follows. By rearranging equation (3.84).
axJj^_i(ax)
2kJi^(ccx)-(xxJf^+i{x)
(3.96)
Similar formulae can be obtained for the other Bessel functions by rearranging
equations (3.85), (3.86), and (3.87). If the Bessel functions of order k and
k+l
If
are
is
^'"^^^'^^^
J_,(ax)
(-l)V,(ax)
(3.97)
Y.,(ax)
= (-l)%(ax)
= h((xx)
= Kkioix)
(3.99)
I., (ax)
X_fc(ax)
(3.98)
(3.100)
k,
by substituting
z
as in Section 3.7.2.
x^y
(3.76)
This gives
= Asinx + Bcosx
= (Asinx + B cos x)/x^
Writing out the first few terms of the series for J^(x) from equation (3.56)
it can be verified that
J^(x)
and
Similarly,
J-^{^)=kI
it
(3.101)
cosx
(3.102)
nx
I,{x)=
^/ sinhx
'V
and
sinx
I.Jx)
^
(3.103)
nx
/
coshx
nx
(3.104)
y/
Equation (3.96) and the similar equation estabhshed from equation (3.86)
allow the J ov I functions of half integer order to be expressed in terms of
trigonometric or hyperbohc functions.
Chapter 4
COMPLEX ALGEBRA
4.1.
Introduction
4.2.
A complex number is
y are
real
/ is
number and
V^
is
(4.1)
number
will
Zj
= Xi + i>i
and
Z2
X2 + iyz
Z1+Z2 =
Xi
+ I>i+X2 +
(xi+X2) + 1(^1
is
(4.2)
as follows.
l>2
+ ^2)
(4.3)
Subtraction gives
Z1-Z2 =
+ i>i-X2-iy2
= (xi-X2) + /(yi->^2)
M.M.C.E.
Xi
117
(4.4)
5
MATHEMATICAL METHODS
18
IN
CHEMICAL ENGINEERING
Multiplication gives
(4.5)
Division gives
Zi
Z2
(4.6)
The first three operations are quite straightforward but in the division
operation the complex number was eHminated from the denominator by
multiplying both numerator and denominator by a specially chosen complex
number. This number which is obtained by reversing the sign of the imaginary part of the denominator, is called the "complex conjugate" of the denominator, and Section 4.6 is devoted to the further properties of conjugate
numbers.
zero,
number was
in general
real
and an imaginary
4.3
T
1
,1
-5 -4 -3
-2
-1
Fig. 4.1.
N 5/1
q1
<
111.
4
>
COMPLEX ALGEBRA
4.
119
lines
OP
and OQ,
x/42
+ 3^ = V(-3)2 + 42 =
(4.7)
The value of the length of the line representing the complex number is
called the "modulus" or "absolute value" of the number and is usually
written in the alternative forms,
and
is
|z|
= mod z = V^^ + y^
(4.8)
is
usually written,
= amp z =
arg z
From
the above
it
rcos6
tan" ^ (y/x)
(4.9)
x and y gives
2indy = rsin6
(4.10)
where
cis
is
rcosO
ir sin
r(cos
sin 9)
r cis 9
(4.11)
4.4.
Principal Values
When
9q
If the angle is
equal to (0-645
=
=
tan- \3I4)
tan"
H- 4/3)
=
=
37
143
=
=
0-645 radians
2-495 radians
not restricted to
+ 27c)
radians,
52
MATHEMATICAL METHODS
120
CHEMICAL ENGINEERING
IN
the range
to choose
to
71
71
as
Fig. 4.2.
a different range of values for 9 but the range is chosen here for consistency
with the definitions to be used in the theory of complex variables at the end
of this chapter.
4.5.
two complex numbers were carried out. If the Argand diagram describes
all the properties of complex numbers it should be possible to carry out the
above algebraic operations on the diagram. Thus consider Fig. 4.3a in which
the complex numbers represented by the lines OP and OQ in Fig. 4.1 are
redrawn. If z^ is the sum of Zj represented by OP and Z2 represented by
OQ
then,
or
Z3
Zi
+ 22 =
(xi
X3
xi
+ X2
and
(4-12)
j;i+>^2
X3
= 4-3 =
.*.
It is easily
shown
Z3
the parallelogram
OPQR
and y^
X3
= 3+4 =
+ i>3 = l +
R can be located
as in Fig. 4.3a.
'7i'
7
(4.13)
geometrically by completing
COMPLEX ALGEBRA
4.
121
In the same way, the subtraction of two complex numbers can be expressed in the form of the addition of Zj to minus Z2 where
(4.14)
--6
Addition and subtraction on the Argand diagram
Fig. 4.3.
is
obtained.
The co-ordinates of
thus,
Z4
From
Zi4-(-Z2)
(4
+ 3) + i(3-4) =
7-i.
two
sides of a triangle
important
|^i
sum of
result,
+ ^2h|^i| + |^2|
(4.15)
Argand diagram,
and division of two
terms of polar coordinates. Thus
is
first
necessary to
or
Z5
where
ZiZ2
Tj r2 [(cos ^1
=
=
ri r2
rir2(cos0i
[cos (01
r5(cos05
cos 62
in
multiplication
+ 62) +
sin (O^
(4.16)
+ ^2)]
isin^s)
r.5-/1,2
r, r-
and
65
9^
+ 62
(4.17)
122
f\ a\
^
^1
u"
Fig. 4.4.
The
^2
"^
division of z^
by
Zj
as follows.
Zi
ri(cos0i
4-
isin^i)
Z2
r2(cos02
isin02)
ri(cosOi
r2(cos^02
^'sin02)
sin^02)
sin {6^
- ^2)]
(4.18)
where the denominator was again made real by multiplying numerator and
denominator by the complex conjugate of the denominator.
Therefore, to divide two complex numbers it is necessary to divide the
moduli and subtract the arguments. Hence the division of two complex
numbers can be expressed on the Argand diagram by dividing the real
number r^ by the real number ^2, to give an absolute length of r^, then
drawing the line OV at an angle {0^ 9 2) with the positive real axis. This
is
unless there
is
some
COMPLEX ALGEBRA
4.
It
123
it is
multiplication
Conjugate Numbers
4.6.
However
zero.
Thus,
number by
w=
then
vv
also let
then
z
.*.
.'.
But
=
=
=
ri(cos e
ri(cos 6
r2(cos
(f)
r2(cos
(j)
= ri(cos 9 +
= (r^ cos 9 +
+
+
sin 9)
(4.21)
sin 9)
(4.22)
sin
0)
(4.23)
sin
(j>)
(4.24)
+ r2(cos + sin 0)
r2 cos 0) + i{r^ sin 9 + r2 sin
w + z = (r cos 9 r2 cos i{r^ sin 9 + r2 sin
sin
w-{-z = r i(cos 9 sin 9) + r2(cos
= (ri cos + r2 cos - i(ri sin 9 + r2 sin
w-\-z
-{
sin 9)
(j)
(/>)
(j)
(/>)
(4.26)
(j))
(4.27)
w+z = w+z
That
(4.25)
(j))
(/>)
From
(j))
(4.28)
is equal to the
conjugates of the complex numbers. In fact this principle can be
extended to any number of complex numbers.
is,
sum of the
124
In a similar manner
product of wz. That is
it
jP
p
Also
if
number q
the complex
is
q
q
number p
= wz
= wz
=
=
is
the
(4.29)
(4.30)
related to
then
the complex
if
>v
and
by
v^lz
(4.31)
vv/z
(4.32)
It is left
De Moivre's Theorem
4.7.
ri
r2[cos(0i
and there
in Section 4.5,
+ ^2) +
i'
sin (^i
+ ^2)]
it
Z1Z2Z3
=
=
rir2...r[cos(0i
Z2-...
+ 02+
...
+0)
to n
ism(0i
complex numbers
+ 02+
...0)]
(4.35)
z,
or
(cos
where
If
is
is
r"(cos
sin 0)"
a positive integer.
a negative integer, say
(cos
"
But using
De
m,
sin 0)"
sin 0)"
r"(cos
n6
cos nO
+
sin
sin 0)
nO
(4.36)
(4.37
then
sin 0)"'"
(cos
(cos0
isin0)"'
^"^'^^^
(4.37),
(cos
'
1
/
sin 0)"*
cos
m0 +
sin
m0
(4.39
COMPLEX ALGEBRA
4.
By a
125
by equation
cos
mO +
cos
mO
sin
(-me) +
and
sin
(4.18),
- mO)
(4.40)
result,
(cos 9
sin 6)"
cos nO
n9
sin
(4.41)
De
which proves
Finally, if
for
an
is
integer,
'
Pn
COS -9
\
q
+
.
P ^'
isin-9
cos p9
(cos9
cos- 9
p9
sin
sin- 9
9y
sin
(4.42)
(4.42) gives
(cos 9
sin
9)^^^^
(4.43)
The
4.8.
mn
Roots of Unity
9 + 2s7i
sin 9y^"
cos
sm
9 + 2snl
^^ ^^^
(4.44)
1^/"
cos
sm
n
or
more
specifically,
(4.45)
by substituting values of
cos
+ sm
z
271
1 -0,
cos
sm
2{n-\)n
cos -^
2n
n
.
cos
An
+
n
.An
2{n-\)n
+ sm -^^
sm
...
^^ ^^^
(4.46)
Inspection of equation (4.46) shows that all the n roots are different, and are
situated at the n corners of a regular -sided polygon centred at the origin.
126
De
r^
+ (3^/5y = 16 + 9x5 = 61
r = 7-81
and r^ = 2-195
4^
.-.
=
.*.
Using equation
tan-^(3V5/4)
cos iO
(4.44), the
tan"
1-6771
and
0-8695,
59 12'
III
0-4939
IV
are
2-795(0-8695 + 0-49390
or
+(2-43
+ 1-380
Complex Number
4.9.
If the
II
iO
sin
Series
as
Pm = ^m + iv
(4.45)
Zn=
t,
m=l
The summations
Pm=
t,
u^
m=l
z is
t, v
Mm
and
^n>
(4.46)
m=l
equal to the
^m
m=
yn
and
if
(4-47)
00
z=\imz= Y
n-oo
m=
^m
1
Y. v^
m=
= x + iy
(4.48)
Therefore, for a complex series to be convergent, both the real part and the
imaginary part of the series must each be convergent.
The convergence of complex series is usually discussed by referring to the
associated series consisting of the absolute values of the individual terms.
That
is,
is
= Pi+P2+... +Pn
(4.46)
|Pi|
+ |p2|+...+|p|
(4.49)
COMPLEX ALGEBRA
4.
But equation
absolutely convergent.
(4.
IPi-rPi]
.*.
is
said to be
5) gives
\Pi\-^\P2\
+ P2 + P3I ^
IP1
127
+ |p2l + |P3|
|Pl|
etc.
N^|Pl| + b2|+...|Pn|
.-.
and
it
follows that
if
is
(4.50)
it
must
also be convergent.
= l+z +
+
^
n
^'+...
2
,...,
values of
all
(3.7)
...
In particular,
z.
.L.i + L +
if
z>,
equation
(4.51)
...
more
e'^
e^
+ >
cos y
sin
(4.53)
generally
e^
e^(cos
sin y)
(4.54)
Equation (4.53) can also be proved in the following neat fashion. Consider
f(y)
and
e" '^(cos y
sin y)
(4.55)
.*.
-
dy
e~'y( siny
icosy)
=
=
e~'^( sin>'
icosy
ie~'y(cosy
icos>'
= ^ (constant)
(4.55) gives /(>^) = 1.
e~'^(cosy + isiny) = A =
but when
^^
0,
equation
/.
f(y)
(4.53).
cos
>'
sin
>'
e'^
isinj;)
siny)
Integrating,
*.
mathematical methods in chemical engineering
128
4.10.
It
Trigonometrical
Identities
and
Exponential
similarly
it
= cosy +
isiny
(4.53)
isiny
(4.56)
= cosy
+ e-'y = 2cosy
g-'y
e'^ +
cos>^ =
e^y
or
(4.57)
or
sin>'
(4.58)
cos IX
+ =
e^^
cosh X
(4.59)
Similarly,
-;2,
sin ix
sinh x
(4.60)
2i
sin ix
cos ix
.*.
tan ix
sinh x
tanh x
cosh X
tanh X
(4.61)
4.
COMPLEX ALGEBRA
129
variable
complex variable z
is
complex
so that
\^=f{z)
(4.62)
so that
vv
Example. If z
= x + iy,
and w
w + /i;, where
w=
express u and y in terms of
Substitute x, y, u,
.*.
and
u
x and
v for
+ iv
z2
y.
w and
(x
z in equation
+ iyy =
I.
x^ + 2ixy y^
II
x^ y^
and
t;
III
2x>'
(4.63)
If/(z) = z"^ and the point/? is the origin, the value of/(z) at the origin
depends upon the way in which the origin is approached. For instance, if
z approaches zero along the positive real axis,
lim z"^
whereas
if
00
(4.64)
lim
z-^= -00
(4.65)
However,
if
w is
z,
related to z
and w
is
by w
z^, vv
can have
then said to be a
"many
130
variables, but
4.12.
w=f(z)
and
to be a continuous function,
Then
(4.62)
w =
let
u+
iv
with respect to
and z = x + iy sls
x can be obtained
before.
in
two
ways, thus
dw
rdx
du
dx
(4.66)^
dx
dw^dldz^df
and
^^^^^
dx
since dz/dx
,dv
+ i^
-z-
dz dx
dz
Similarly, differentiating
df
du
dz
dx
cv
dx
dw
du
dv
dy
dy
dy
,, ,^,
dw
df dz
df
= _
= j
dz
dy
dz dy
.
and
(4.70)
since dz/dy
,df
_du
,dv
dz
dy
dy
"
(Ai\\
,du
dv
,df
du
,dv
dx
dx
dz
dy
dy
all real,
the real
=
^
dx
dy
??!
'
'
engineering problems.
certain restrictions
and
=-
dy
(4.72)
(4 73)
dx
Hence the
derivative of a
which derivatives of
real variables
COMPLEX ALGEBRA
4.
131
"Cauchy-
as the
of a com-
Analytic Functions
4.13.
it
satisfies
(i)
It is single
(ii)
It
(iii)
It
Riemann
satisfies
the Cauchy-
conditions.
Only functions which satisfy these conditions can be utilized in pure and
applied mathematics, and therefore the whole of the following treatment
with analytic functions. However, when a mathematical analysis
of an engineering problem involving complex functions is being undertaken,
care should be exercised to confirm that the function satisfies the criteria
stated above.
The following examples illustrate the application of these
will deal
rules.
Example 1. If w =
Riemann conditions and
But
w =
z^
w =
=
+
,.
J^
ox
show
z^,
(x
/v,
+ iyY =
3xy^
real
and
= 3x^-3/
du
dy
z,
is finite;
w =
parts,
II
= 3x^-3/
?
dy
III
^
ox
-^
and imaginary
3x^y y^
dv
= 6xy
and
Cauchy-
analytic.
x^
and equating
x^
is
IV
6xy
^
size.
Example
2.
If
iv
= z"^ show
w=
i = -^^^^
x-\-iy
x^
X
x^
+ y^
and
V
^
x^ + y^
^
analytic.
+ y^
is
'
II
MATHEMATICAL METHODS
132
From
equations
CHEMICAL ENGINEERING
IN
II,
du
x^
v^
y^-x"-
dv
III
dx~ dy~{x' + yy
Equations
III
du
dv
dy
dx
Ixy
{x^
+ y^f
satis-
=-
-=-
:.
dx
infinity as
X^
x tends
negative values.
II
when x =
0.
Equation
_ -1
y
'-^
dy
y tends
infinity as
1
/
VI
diverge to opposite extremes at the origin, and one half of the Cauchy-
Riemann conditions
the condition
is
not
satisfied.
du
Xdy
= -
It
is satisfied, i.e.
dv^
=
VII
dx
are not fully satisfied at the origin,
= z"Ms
4.14.
therefore analytic
0.
Singularities
COMPLEX ALGEBRA
4.
(a) Poles
133
or unessential singularities.
Branch points.
(c)
The
4.14.1.
(c) arises
A pole
becomes
tion
singularities (a)
whereas
infinite.
w =
bourhood of the
is finite
it
ceases to be analytic.
^(z)
in
(z-a)"/(z)
(4.74)
where n
is
an
integer.
g{z) analytic at z
g{z).
The pole
which
g(z)
is
If
a,
analytic at z
The function
w=
-^
(4.75)
where p and q are both positive and finite, is a function containing multiple
That is, it contains a pole of order/? at the origin, and a pole of order
^ at z = ^. If either p ox q'ls not an integer, the order of the pole is the next
higher integer than p ox q respectively.
poles.
4. 1 4.2.
Essential Singularities
singularity cannot be
essential singularity at z
0.
/(^)
= Tw^-)"''
=
(4.76)
w=
e^l'
(AJl)
134
Using equation
(3.7) to
w=
+-+
z
Since
is
is
some
,\
...
(4.78)
...
n\z"
2!z^
remove the
by z^ where p
The
-^ +
singularity
by multiplying
finite integer.
z^w
= zP+z^-^ +
J- +
...
j-
(4.79)
...
greater than p.
Branchpoints
4.14.3.
The
w=
and
let
z vary in such a
way
that
it
z^
(4.80)
where
r is
1)
and
(4.81)
re''
is
(4.53),
w=
y/re^''
(4.82)
Hence, when the variable z makes one traverse of the circumference of the
circle in the z plane, 6 passes through 2n radians, but w with a constant
modulus of V^
will
If z
p.
16.
4.
makes a second
to
47r,
circuit
the function
of Fig.
4.5.
135
COMPLEX ALGEBRA
will
plane
Vhn
Tri
\
Fig. 4.5.
Branch point of
vv
r*
w
u
..
u-\-iv
\lrQos\Q
\lr e^'^
and
\lrs\n\9
^cosi^
T-=
dr
dv
du
dv
/-
/-sm
2Vr
/-
and
which gives
du
du
dv
dv
dr
cO
dr^ ~rd9
(4.83)
The
136
let
the function
vv
Fig. 4.6.
On
this
Contour of w
9.
point, the angle 9 can only have one value at each point
+ 77
-rr
Fig. 4.7.
4.
COMPLEX ALGEBRA
137
z plane, and
4.15
may be
it
can go to
infinity in
Y,Mz)Sz=
\f(z)dz
(4.83)
where the suffix C under the integral sign specifies the curve in the z plane
along which the integration is performed. However, if w = u + iv = f(z),
and z = x + iy are substituted into equation (4.83),
jf(z) dz
dy)
= j(udx-
vdy) + ij(vdx
+ udy)
(4.84)
J
since the values of v
of real functions
4.15.1
is
and y would be
u dx
zero,
Cauchy's Theorem
any function is analytic within and upon a closed contour, the integral
taken around the contour is zero.
The above theorem can be proved using a very concise procedure by
referring to Stokes' theorem, which is
If
138
J(P.x + e^.) =
/J(g-^)ixi,
A
where
P and Q
hand
(4.85)
are functions of
x and
y,
integral
on the
side
is
KLMN
Positive
direction
Fig. 4.8.
is
on the
jiud.-vdy)=-jj[^y^),.,y
C
and
J(...
(4.86)
+ ..) = J|(^^-|).x..
(4.87)
(4.88)
KLMN
KNM
J
KNM
mdz
(4.89)
COMPLEX ALGEBRA
4.
139
This will be positive by the conventional order of the suffices of the integral
corresponding with the description of the path of integration. If the integrafollowing the positive direction of the arrow in
tion is continued along
Fig. 4.8, the value of the second integral is
MLK
f{z)dz
(4.90)
MLK
However, the value of the integral around the closed contour
zero by Cauchy's theorem and therefore
J
KNM
f(z)dz+
J
MLK
f(z)dz
KNMLK
is
(4.91)
or reversing the order of the suffices of the second integral and therefore
its
sign,
J
KNM
That
is,
f(z)dz==
J
KLM
f(z)dz
(4.92)
two points
in the
complex
is
Example
6/ is the
1.
Show
ACDB
AB
is
is
z^ dz between z
and z
AB
+
or
in Fig. 4.9.
Fig. 4.9.
The path
Two
equivalent contours
y
.-.
z^
ix
{x + iixy
7 + 24i
16
II
140
and
dz
8
= dx + ^idx
+ 6i
III
x^ dx
IV
-44+117/ fx^r
[ii:
64
-352 + 936/
ACDB
Along AC, x
and thus z
in parts,
iy.
1000/
~3~
L
(b)
The
CDB
arc
is
of constant radius
8
+ 6i
-lOi
lOOe^'HOie'^dO
VII
-in
= tan'^ =
a
8
lOe'^.
j z^dz= j
where
10, :.z
VI
JO
-^
36 52'
+ 6i
r
z2jz
= lOOO/TigsJ'
L3/
ioi
lOt
1000
(cos 3a
-in
sin
3a
/)
1000
(-0-352 + 0-936/-/)
-352-64/
VIII
The complete
integral
round
ACDB
is
the
which gives
-352 + 936/
as before.
The
integral of z^
from z
to z
+ 6/ is
thus independent of
Example
2.
Evaluate
z~^ dz around a
circle
with
Let z
re'^,
then dz
ire'^dO since r
is
constant.
its
4.
COMPLEX ALGEBRA
141
dO
'mi
=
That
is,
z~^dz =
is
z"" Jz
Similarly,
is
Cdz
Example
As
Evaluate
3.
around a
c
in the previous example, put z
''
J
c
circle
r e'^
"J
with
with
its
r constant.
re''
= ml''
This result
4.15.2.
is
Consider Fig. 4.10 and let a complex function /(z) be analytic upon and
within the solid hne contour C. Let be a point within the closed contour
Fig. 4.10.
such
that/(fif) is
new
f(z)
-^^ dz
function g{z) by
fiz)
9(z)
za
(4.93)
142
This function is analytic within the contour C except at the point a where
a simple pole will exist. If this pole is isolated by drawing a small circle y
around a and joining y to C as shown dotted in Fig. 4.10, the value of the
integral around the complete modified contour will be zero by Cauchy's
theorem. The straight dotted Hnes joining the outside contour C and the
inner circle y are drawn very close together and their paths will be synonymous. Since integration along them will be in opposite directions and g{z)
is analytic in the region containing them, the net value of the integral along
the straight dotted lines will be zero.
K^-^^ =
{-^-^
.*.
J
C
z-a
(4.94)
za
J
y
/W =/() +
where
e is
.-.
Since f(d)
z
(4.95)
a small quantity.
is
a-\-r e^^,
rM^_
za
r/i^^_
z-a
ri^=o
z-a
(4.96)
and
as 6 varies
m-*'A
y is described.
re'Ue
re''
=
As
2nif{a)
(4.97)
the radius of the circle y tends to zero, also tends to zero and the
.-.
becomes
/(.)
insignificant.
^r^
2ni J
za
(4.98)
which
4.16.
COMPLEX ALGEBRA
4.
143
Fig. 4.11 where the two circles are also joined by two straight dotted lines
which connect the circular contours into one simple continuous closed
curve, /(z) is analytic within and upon the complete contour and thus
Fig. 4.11.
valid.
is
Therefore
if
is
located between C^
and C2, and the two dotted Hnes are superposed, then
M ^V^-IV^
=
2ni J
2ni J
is
(4.99)
za
wise direction.
In the
first
az\
L,
a\-^
zj
|z|>|a|
in descending
a"
(4.100)
n+l
-1
z\-'
z
z'"-^
1/^
-1-=-+
+... + ^ +
1
aa\
...
(4.101)
m=l
Substituting the expansions (4.100)
()
and
^.J|/^^" + ^J|^z-V(.)c^.a-"
(4.102)
MATHEMATICAL METHODS
144
CHEMICAL ENGINEERING
IN
is
and putting
m =
-,the two
series
/(a)=
f;
n=
.
(4.104)
CO
(4.105)
1-Jf#
c
which
is
Cz"
:?!
n=0
^+
Z
...
(4.106)
where B = Z?_ is given by equation (4.105), and a has been replaced in the
expansion by z.
Equation (4.106) can be used to obtain the integral of /(z) round any
contour C enclosing the singularity as follows. The infinite series of positive
powers of z is analytic within and upon C and the integral of these terms will
be zero by Cauchy's theorem. Referring to Example 2 in Section 4.15.1,
the integral of each of the other terms on the right hand side of equation
(4.106) will also be zero except for the term {BJz). Example 3 of Section
4.15.1 shows that this integral will be IniB^, or
jf(z)dz
2niBi
(4.107)
integral of a complex function is 2ni multiz"^ in the Laurent expansion of the complex
This coefficient is known as the "residue" of the function at the
by the
function.
coefficient of
pole.
The above
when
thus
if
analysis
the pole
is
at z
is
valid
Zq, the
4.
COMPLEX ALGEBRA
Ce'dz
Example
145
Evaluate
the origin.
V.3;i + ^ + ^+-
=M
111
+ -^ + +
^
2z
z^
z^
=
Equation
II is the
cient of z"^
is J.
II
...
2ni{i)
coeffi-
ni
III
Example
2.
Evaluate
-^
around a
circle
0-
c
If
|z|
<
the function
|<3|,
is
e'dz
J iz-ay
and
by Cauchy's theorem.
If
|z|
>
||,
there
is
Then
r
e'dz
r
c
All integrals
on the
right
hand
term which
re^^^dX
c
4.16.1.
e'dz
,,
,,
With a
large
in
apphed
science, the
Laurent expansion
is
146
singularities.
That
is
f(^)
^^
(4-108)
then (z a)
and
if
^,
is
f(z)
-^
+ bo + b,(z-a) +
...
+ bXz-a)"+...
(4.109)
B,
a.
(z-a)/(z)|,=,
F(a)!G(a)
(4.110)
^<"-
<""'
(z-.,(.-''l..),.-..)
Example
^
3.
f(z)
=
+ z-12
and z = 4.
z^
= -4
is
-4/(-7) =
-r-
+ z-12
+ 4)(z-3)
(z
at z
is
3/7;
at
4/7.
residues
is
^4-^=1
Example
4.
=
(z
The
at z
= +
+ w^
+ iw)(z iw)
iw.
iw
is
z + iw
II
2iw
COMPLEX ALGEBRA
4.
The
= w
is
iw
of e'l(z^ + w^)
III
2iw
residues
147
is
IV
2iw
when
If /(z)
is
expressed as in equa-
and the denominator ^(z) does not factorize, the same procedure
be followed. Thus the residue of /(z) at z = a is
tion (4.108)
may
still
(z-a)F(2)
^'-'''^
g(z)
which
is
_ F(z) + iz-a)F'{z)
~
d{z-a)F(z)ldz
^W
dg{z)ldz
where g\a)
at z
is
^-^
''''''
z,
evaluated
a.
C e'dz
Example
5.
Evaluate
J
c
around a
sm nz
B.=^^''
is
'
dsmnzldz\^ = Q
4.
6.2.
sm nz
circle
n cos nz
\n/
/W =
where n is a finite integer, and F(z)
by the Taylor series to give
F(z)
F(a) + {z-a)FXa)
is
(^
analytic dXz
+ ^-^^F'Xa) +
z
(4.114)
...
a,
+ ^I^lF\a) +
n
...
(4.115)
148
Dividing throughout by
^(^>
which
is
is
(z
a)"
= (I^" +
gives
+ - + (-l)!(z-a) + -
(7^^-
is
Evaluate
c:
given by
6.
at z
^'=(;r^^^K-a)"/(z)]
Example
^'-'"'^
f cos 2z dz
rj-
around a
when
circle
(4.117)
1.
of radius
|z|>|a|.
cos 2z
,
TT
(z-aY
a,
- i_ii \(z-afcos2z\
^'-2\dz^[ {z-af J_
= K-4cos2z)|,.,
= 2 cos 2a
''
cos 2z dz
/
C
{2
-ay
27c/(
2cos2fl) =
4711 COS 2a
Chapter 5
Introduction
The study of differential equations is one of the many branches of mathematics in which the object is to determine a functional relationship between
twq or more variables. The symbohsm which is used to describe these
functional relationships is largely a matter of convention when a particular
symbol is found convenient, it enters general usage and its properties are
Elementary functions such as polynomials, powers, logainvestigated.
rithms, exponentials, trigonometric and hyperbolic functions should be
famihar to the reader already, and in Chapter 3 it was shown that the four
kinds of Bessel function were useful for expressing the solutions of a particular class of differential equations. Other functions have been defined as
the solutions of differential equations, and the Legendre polynomials which
will be introduced in Chapter 8 is one such group.
Functions are also defined by integrals which cannot be evaluated in
terms of the above elementary functions, and the purpose of this present
chapter is to introduce some of these functions, enunciate their properties,
and draw attention to their tabulated values as an aid to calculation. It will
be shown that a variety of integrals can be expressed in terms of these new
functions and thus be evaluated from tables.
Methods for evaluating some definite integrals by contour integration
were presented in Chapter 4, and a further method by differentiating with
respect to a parameter will be included in the present chapter
;
5.2
erfx
The
error function
is
= ^=
e~'^dz
illustrated in Fig. 5.
(5.1)
149
MATHEMATICAL METHODS
150
CHEMICAL ENGINEERING
IN
The
Fig. 5.1.
leaving
The
error function
factor l/yjn
is
so that
erf 00
The
(5.2)
To
/=
{e-'^'dx^ je-y"dy
(5.3)
Considering that x and y are two independent cartesian coordinates, equation (5.3) can be written
R R
/2
|Je-('^-^^^>rfxJy
Fig. 5.2.
5.2.
If the variables
Evaluation of erf oo
(5.4)
rcos6,
rsin6
(5.5)
then the element of area (dx dy) has to be replaced by (r dr dO). Also, the
range of integration has to be altered from the square OABC, to the quadrant
which results in an error denoted by e. Thus, equation (5.4) can
OAC
5.
151
be written
Rnll
P = \]
The volume represented by
maximum
height of exp
and as R-*co,
e-'-'rdrdO
(5.6)
is less
R^). Thus
e<iR^exp(-R^)
than J R^ and a
(5.7)
s-^0.
is
equation
(5.8)
(5.2).
-^erfx
dx
Using
erfx^x
= ^e-^'
xerfx
= xQdx +
where
(5.9)
yjn
x-j:ze~^^ dx + C
-j^Qxp(-x^) + C
(5.10)
C=
erfcx
erf X
00
tJ'5.3.
This
is
dz
(5.11)
T(n)
jt"-^e-'dt
(5.12)
is
62
MATHEMATICAL METHODS
152
case n
],
CHEMICAL ENGINEERING
IN
thus
r(i)=
r(i)
:.
which
independent of
is
e-'dt
\
(5.13)
/.
the
gamma
r()=
t"-'e-'dt
OC
'
.-.
since the
first
term
T{u)
is
= {n-\)Y{n-\)
(5.14)
n>\.
(n-l)(^i-2)(...)(2)(l)r(l)
= {n-l)\
(5.15)
The
gamma
defining integral (5.12) is not valid for negative values of /?, but the
function of a negative quantity can be found by using equation
(5.14),
r(u-\) = r(n)i{n-i)
r(
+ l)/n(n-l)
(5.16)
etc.
This process can be repeated until the gamma function on the right hand
side has an argument lying in the range 1 to 2. However, if n is zero or a
negative integer, the gamma function becomes infinite. An example of this
can be seen by putting n = 1 into equation (5.14), thus
= Or(0)
r(l) = 1. Therefore,
r(l)
It is
the
gamma
function
is
whenever
ri
is
how
alternatively positive
(5.17)
5.
Asymptotes
153
l)
Fig. 5.3.
minimum
value of 0-8856
Sit
1-4616.
By
definition, equa-
r(i)= \t-ie-^dt
The negative square root can be removed by making the
'
dt
r(i)
.-.
(5.19)
and
dx
=V
7t
(5.19)
erf 00
= V^
x^,
(5.1) gives
r(i)
Example
= Jx-^e-^'2xJx
T{\)
substitution
2x dx.
-^
Comparing equations
(5.18)
Evaluate r(3i).
r(3i)
|r(2i)
(5.20)
(5.14)
MATHEMATICAL METHODS
154
=
by equation
CHEMICAL ENGINEERING
IN
|.|.ir(i)
(5.20).
r(3i)
.-.
J/v/7r
r(-2i) = ^--r(-u)
-2 -2 -2
-8
,-
From
tables,
it
=
=
=
2-7r(2-7)
2-7(l-7)r(l-7)
4-59r(l-7)
.-.
5.4.
= 0-90864
= 4-1707
This is yet another function which is defined by an integral, but the beta
function contains two parameters instead of one, and the integral is taken
between fixed
finite limits.
Viz.
1
B(p,g)
jr''-'(l-0'-'rfr
(5.21)
at its
limits.
An
alternative
the substitution
sin^ 0,
\-t =
B(p,g)
cos^
0,
.'.
dt
2 sin
integral
by making
cos OdO.
Thus
71/2
By
substituting
cos^
in
sm^p-^ecos^^'-'ede
(5.22)
similar to equation (5.22) but with/7 and q interchanged, thus showing that the beta function is symmetrical in its two arguments p and q.
which
is
5.
A further
1
1
+ x'
dt
+ x'
155
is
dx
=
(1
+ x) 2
which gives
x^-^dx
B(p
5.4.1.
(5.23)
Evaluation of B{\ q, q)
For the
special
case/7+^
1,
/^
B{\-q,q)
(5.24)
R/'^
y\
K/
Barrier
is
Fig. 5.4.
because q
not an integer.
The contour
consists of a circle
C^ of
large
this
pole
contour
is
separately.
OnC^,
<
K-\
z-'^dz
nR l-q
\-z
R-1
and
if
as
>
0,
i? ->
00
(5.25)
156
On C
<:;
1-r
l-z|
andif^<l,
z-Uz
/ 1-z
as r ->
1-r
(5.26)
Cr
On
/',
= x
e'"
and x
varies
from R to
form
r
+
1
dx
{521)
side of the
= x
e''""
and x
varies
from
--dx
1+x
(5.28)
Putting these four parts of the contour integral together and equating
them
to 2ni (residue at z
gives
1)
00
(^e'^--e-'n
J
where the
limits r->0
and
R^oo
x~^ dx
-= Ini
1
(5.29)
+^
Using equation
(4.58)
rx-^^_^
1
(5.30)
+x
sin ^71
Putting this value for the integral into equation (5.24) gives
B{\-q,q)
^^^
(5.31)
sm^Ti
<^<
for
5.4.2.
Make
the substitution
and
x^
Gamma
Functions
gamma
function
(5.12)
00
T{p)
.-.
Define a second
gamma
2^x^'-^e-''"dx
two
gamma
no
T{p)Y{q)
dummy
(5.32)
variable
y and con-
functions.
00
= A^ ^ x^'-'
y^^-' e-^'^'^'^Uxdy
(5.33)
5.
157
T{p)T{q)
= 2^
CO
(5.34)
Comparing the
r(p)nq) = B(p,q)T(p + q)
and
p+q =
(5.35)
q.
1,
r(^)r(l -^)
which
is
valid for
<^ <
7r/sin
qn
(5.36)
1.
q.
5.5.
Integrals
There are many other functions arising in engineering which cannot be
integrated analytically in terms of elementary functions.
many
5.5.1.
integrals
The
This
Elliptic Integral
usually defined by
is
d^
V(l-P~sin2a>)
where k
k and
k only and
for
(j).
is
The complete
elliptic integral
of the
first
kind
is
a function of
defined by
F(k,in)
K(k)
(5.38)
MATHEMATICAL METHODS
158
5.5.2.
The
This
is
Elliptic Integral
CHEMICAL ENGINEERING
IN
defined in a similar
manner by
<t>
E{k,(t))
= ^^\-k^s\n^^d(b
(5.39)
defined as
E(k,^n)
5.5.3.
E(k)
(5.40
Si(x)
= j^-^dt
(5.41)
Ci(x)^
C cos t
-- -dt
(5.42)
00
(-dt
Ei(x)=
(5.43)
00
00
-Ei(-x)=
Of this group of functions, only
/t'
dt
(5.44)
All of the other functions are infinite at the origin; also, Ei(x)
is
infinite as
x-> oo.
Although the sine integral cannot be evaluated in terms of elementary
functions, it is possible to evaluate 5/(oo). The integrand of equation (5.41)
is an even function, so that
is
infinite as
S/(oo)
and integrating a
1
_
=
~2^
suitable function
r
I
sm t
'-^^dt
(5.45)
~r
in the
complex
I((x)
[cc)=
dt
(5.46)
5.
and
159
^=
da
(5.47)
-]mle-''e''dt
dec
lm[
e-^-H"
icc-i
Jo
^-^"[^l^^'c^^l]
dl
On
da
a'
(5.48)
+l
da
r
/
.-.
where
result at
""J 0^1
= A-tan-^a
= ^-^71
,-.
The
= i7r-tan"^a
therefore
(5.49)
from equation
(5.50)
0,
(5.50),
m=
in
oo
^.^
and
Si(oo)
5.6.
fsinf
dt
= in
(5.51
The method used above to evaluate 5/(00) is of wider apphcation, parsome of the transform methods given in Chapter 8. It is often
ticularly in
160
Example
1.
Evaluate
00
^
/(a)
As
^ dx
C sin^
ax
in the
so that /(a)
dl
C 2 sin
d(x
ax cos ax
J
uu
sm2ax
dx
II
X
But with a simple change of variable
given by equation (5.51) as
(/
is
5/(oo)
^n
=*'
Integration of equation III gives
where
is
known
the
gives, /(a)
a constant of integration.
result for
0.
Hence the
2.
and
is
a.
Thus
j!!^^, = ^,
IV
Evaluate
\
/(a)
This
before,
final result,
;()
Example
As
much more
difficult
r e -x2sin2ax
""
dx
\
.'.
dl
=
dec
The primary
"r
\
2e
_ ^^2
cos 2ax dx
II
thus.
5.
-^
dec'
161
4xe~^^ sin2(xxdx
III
4a
e"""^
IV
On the right hand side of equation IV, the first term vanishes at both Hmits,
and the second term is a constant multiple of the right hand side of equation
II.
Therefore,
d'l
dl
in equation
and the
^^
VT
VI
da
separate the variables, and obtain the solution for
p
where
case a
=V
-da
= ^ne-''
^
da
71
a.
Viz.
erf 00
yjn
VIII
terms of
VII
in
Ae-''"
.-.
i7cerfa + B
(5.1),
IX
when a =
0.
Thus,
a
if
The evaluation of
0, I
0;
.-.
^=
0.
I is
thus
00
r,
/(a)
_^2sin2ax
r
e
dx
inQTta
was shown
MATHEMATICAL METHODS
162
IN
CHEMICAL ENGINEERING
first order differential equation III; and in the previous section, Si(oo) was
shown to be a solution of equation (5.48). In all three cases therefore, the
method is the same but the details are different. It is not always possible to
by equation
many
definite integrals.
this
in:
Company
An
(1957).
Rosenhead.t
t Fletcher, A.,
Tables," Scientific
Miller,
J.
Computing
C. P. and Rosenhead,
Services,
London
(1946).
L.
"An
Index of Mathematical
Chapter 6
is
Introduction
the
name
Essentially, an operational
method" of solving differential equations.
method is a technique whereby an ordinary differential equation is converted into an equivalent algebraic form w^hich can be solved by the laws
of elementary algebra. The method will also convert a partial differential
solution.
a'
00
Je-/(Orff
if[/(0]
(6.1)
For the present, the only conditions that will be placed on the integral in
equation (6.1) are that the parameter s must be large enough to make the
integral convergent at the upper hmit, and t must be positive.
The Laplace transform of a function can be denoted by placing "^"
before the function as shown in equation (6.1). To be exact, this signifies that
163
MATHEMATICAL METHODS
164
CHEMICAL ENGINEERING
IN
the operation of the Laplace transformation has been carried out on the funcand the modern practice is to write J{s) for the transform of the
tion f(t)
its
transform
J{s).
^[/(0]=/(5)
To
will
now
(6.2)
be derived.
=
=
From
stant
(6.3)
JO
or f{s)
Thus
lis.
equation (6.3)
it
is
^[K] = K^li] =
KIs
(6.4)
since the constant can be inside or outside the integral in equation (6.3).
This simple result follows from the fact that the Laplace transformation is
a linear operation.
To
illustrate the
required.
procedure further,
let
/"
be
Thus
00
^\_t"']
The
=j
t"e-''dt
(6.5)
.'.
St
dz
sdt
00
^lt"]
.-.
s-"-^
z"e-'dz
(6.6)
is
gamma
gamma
function,
(6.7)
function given by
e^;
(6.8)
00
J(s)= (e"'e-''dt=
i
n\ls"^^
00
( e-^''''^'dt
is
=
s
(6.9)
In the same
obtained.
is
6.
Table
6.1.
165
Elementary Transforms
fit)
f(s)
K/s
nl
/"
-^^:j:Y
(n
an integer)
not an integer)
p/\
t"
-^p^
5*^
1
gat
a
sin
(xt
cos at
V7
\/ S^
1
V7
6.2.1.
\J
~S
The method given in Section 6.2 for determining the Laplace transform
of a function can be appUed to the differential coefficient of any continuous
function. Thus let the derivative of a function be df(t)/dt, then the Laplace
transform of this derivative
is
j~e-^-dt =
[/(r)e-]o"
is
sjme-^t
f(s),
(6.10)
^\^] = sKs)-m
(6.11)
where /(O) and /'(O) are the values of the function and
the independent variable
is
its
derivative
when
zero.
is
The
166
^ [^]
s"J(s)-ls'^-'m + s"-'f'{0)...+sf"-'\0)+f"-'\0)-]
(6.13)
f(t)
=
=
sincct
Then
f'{t)
and
f"{t)= -a^sinar
Also
/(O
and
=o
/'(O|t = o
^[r(0] =
Since
.-.
=
=
acosar
sinar ,=o
acosar ,=o
s^/(s)-s/(0)-/'(0)
s^ ^[sin
<xt\
(6.12)
if[siaO=^3^^.
or
(6.14)
is
reported in
This theorem is most valuable in obtaining the transform of an exponential type of function and also in carrying out the inverse transformation
which will be described later. The shifting theorem may be enunciated as
follows
e~'^ f{t)
is
6.
167
s/is^'
e''"'
cos ^t.
+ p^).
which
Thus
is
However,
this will
CO
00
be verified by integration.
e-''cospte-''dt
^je-''e'^'e-''dt
II
00
^-(a + s-ifi)t
"100
^[l/(a + 5-ii5)]
Using the division rule for complex numbers, and discarding the imaginary
part confirms the result given in equation I.
6.3.
^-'im=m
(6.15)
of this book.
illustrated
Some manipulation of
the constants
is
often necessary as
Example
1.
5/(5^
25 + 5).
Completing
MATHEMATICAL METHODS
168
6.3.1.
CHEMICAL ENGINEERING
the
II is
sum
of transforms
+ ism2t
:.
f(t) = e'(cos2t + ism2t)
of f(s) = s/(s^ 2s + 5).
.-.
is
IN
e~'f(t)
number
15
oos2t
III
The Laplace transform of a function is an expression involving the parameter s which may be very complex. When the expression is of the form
where
6{s)
6(s),f{s)
Alternatively,
Example
2.
Expanding by
Determine /(r)
if
/W =
l/is
+ a)(s-\-by.
B
+ b~^
C
+ b)^
A(s + by + B(s + a)(s + b)-\- C(s + a) = l
putting s = b gives
C = ll{a-b)
putting s = a gives
A = ll(a-by
^^^
(s
"^
(s
.-.
Evaluating
Evaluating
Evaluating
by
A by
by equating
III
IV
B=-ll(a-by
,.
II
(,-6)7(s)
+ 7^^2
^-4t
+
+
+
fl
(s
b)
VI
6.
number
hand
side of equation
and
(a-b)V(O =
m=^
169
9) gives
e-'''-e-'' + (a-b)te-^'
VII
{s
+ a)(s + by
VIII
{a-bf
is
6.3.2.
Example
3.
Solve -ry
Using equation
4>^
3,
where y{0)
/(O)
1.
tables gives
3/5
Substituting these transforms into the differential equation gives the subsidiary equation
s'Ks)-5-l + 4Ks) =
III
3/s
v(s)
Inverting equation
-^ +
IV
16, 15,
and
170
19 respectively
which
will
at the
coslt
isinlt
isin2f
|(1
cos
20
simpHfy to
6.4.
icos2r
VI
Ks)
by
definition,
and
jf(t)e-^^dt
(6.17)
Yl(s)-]==l-tf(t)e-^^dt
ds
(6.18)
I
is
proved.
^ jmdt =j
jf(t)dt
The
right
hand
side
and then
jf(t)dt
du=f(t)dt
dv
so that
e-''dt
Lo
v=
e-''dt
-e-^'ls
letting
(6.19)
6.
171
/
LO
\mdt
j{i)dt
+^J/(Oe-*'Jr
(6.20)
The
first term is zero at the upper limit because of the exponential term, and
zero at the lower limit because of the range of integration. Therefore
-Ks)
dx
(6.21)
.0
The results of Sections 6.4.1 and 6.4.2 are of great value in the solution of
engineering problems. They find extensive use in the solution of differential
equations with variable coefficients and the method of solution will be
by the next example.
Example. Using the data given below obtain a preliminary estimate of
the diameter of the tubes to be installed in a fixed bed catalytic reactor which
is to be used for the synthesis of vinyl chloride from acetylene and hydrogen chloride.
The tubes are to contain the mercuric chloride catalyst
deposited on 0-1 inch particles of carbon and the heat of the reaction is to
be employed to generate steam at 250F for the remainder of the process.
To do this, the temperature of the inside surface of the tubes should be
illustrated
constant at 300F.
Effective thermal conductivity of
Heat of reaction
at
(fc^)
The
bed
(p)
Btu
4-0
=
=
It
^ oi^/rx
r/it
is
To
(l+AT) lb moles/h
lb catalyst.
Consider Fig.
6.1,
which
illustrates the
G =
R
Flow
Tube
radius in
X = Radial
ft.
coordinate.
t Calculated
MATHEMATICAL METHODS
172
z
C-
CHEMICAL ENGINEERING
IN
F.
\aP
6z
r
G
Fig. 6.1.
Input
dx
Output =
2nx krir-oz
-^
ox
^
ox
dT
2nx /c - Sz
dx
ox
+ 2nxdxGC,
Accumulation
0,
is
(-s^-)
at steady state.
But,
II
(1.25)
d^T
dx-
Equation
III is
a well
IdT
dx
known
=0
kr
dz
III
kr
reaches a maximum at all radii, at the same distance z from the reactor
entrance; then at this radial section of the bed dT/dz will be zero even
though the actual temperatures will vary with x. The temperature will be a
maximum
axis
dT/dx
than zero.
6.
differential
d^T
IdT
dx^
X dx
pAHvo
z.
That
+ AT) =
(1
173
is
IV
Using equations
d^T
dT
dx^
dx
(6.12)
and
pAHro
(l+^r);c
(6.18)
j^r
= --[s^r(5)-5r(0)-r'(0)]
if
dx^
= -s'r'(s)+2sT(s)-r(0)
and using equation
VI
(6.11)
dT
^ rdT
[d^
VII
sT(s)-T(0)
Also,
pAHvo
VIII
k^s^
^E
(6.18) again,
^[pAHroA
xT
and simpHfying
ds
IX
gives
~
dT
Q = pAH Vq Ajk^,
/Cf
T= -
s\s' + Q)
+Q
=
and P
pAH VqIU^. Equation X
s^
where
can be solved
by using an integrating factor as shown in Section 2.3.4 giving the result
P_
XI
where
is
T=
KJo(xs/q)
1.
-\
XII
follows.
When
0,
^(xVQ) =1,
.-.
285
and
X-1M
T=
285
XIII
174
A=
lM =
but
.-.
Q=
Now
.-.
Ve =
0-024
41-7,
and
K=
326-7
599
4-0
24-5
At the boundary,
x =
R,
.-.
or
Use of a
T = 326-7Jo(24-5x)-41-7
T = 100;
100 = 326-7yo(24-5K)-41-7
Jo(24-5R) = 0-4337
XIV
=
R=
24-5K
or
1-64
0-80 inches
For
safety, the
should be
less
mended.
6.5.
and equipment to undergo sudden changes in their operating conditions; for example the steam
supply could suddenly change, or a vacuum pump or compressor could
fail.
It is desirable to be able to predict what effects these sudden changes
will have on the process and quality of the product; and this can be accomplished by means of the step functions which will be considered below.
It is
6.5.1.
This
is
Sb(t)
<
b
Fig. 6.2.
The
zero for values of the independent variable less than b, and unity for
values of the independent variable greater than b. The Laplace transform
of the unit step function can be obtained in the usual way by integration.
is
6.
175
Thus
^lS,{t)]
jOe-^'dt
jl.e-''dt
e-''ls
(6.22)
If the value of b is zero, the transform would reduce to l/s which is the
transform of unity. Thus multiplication of the transform of unity by e~^^
to ^ and unity for
indicates that the function is zero over the interval
values of / greater than b. This concept can be extended to any other functions which are zero for specific intervals or which undergo sudden changes
as illustrated by the unit impulse function below.
6.5.2.
The
values of
i(t-b)
1
i
'1
1
L^
'b'
The
Fig. 6.3.
"c
and
lit-b)
impulse function as
lim[S,(0-S,^,(0]/c
(6.23)
c-*0
b)']
lim
sides,
\-
cs
By
^U(t-b)']
e-''
(6.25)
Frequently, the unit impulse function is called the "Dirac delta function'*
and is written S(t b). It expresses the rate of change of the unit step
function.
6.5.3.
is shown in Fig. 6.4 where it can be seen that the function is formed
by the successive addition of unit step functions at 0, b, 2b, 3b, .... etc.
This
MATHEMATICAL METHODS
176
CHEMICAL ENGINEERING
IN
S(b.t)
32
1
2b
1b
Fig. 6.4.
The
3b
staircase function
bs
The
be
infinite series in
summed
(l
will
be
...
nbs
+ e-^' + e-^^' +
equation (6.26)
is
+ ...)ls
(6.26)
^[5(^0] =
Use
obtained by adding
nbs
+
=
is
made of
(6.27)
^^^::^
these functions later in the text but the use of the unit
Air
^^
Spring
Diaphragm
Becking
Valve stem
plote
Fig. 6.5.
Control valve
dead weight of the moving parts of the valve,' allowing for the
is estimated to be 300 lb weight, the stiffness of
the spring is 600 lb/in and the damping constant is estimated to be 17-0 lb
effective
If the total
sec/in.
valve
if
lift
of the valve
is
2-0
in,
12 Ib/in^ gauge.
from 6
Ib/in^
to
6.
177
Solution
force balance
Input force
= AP A
on the valve
is
So(t)
Output force
,2
= m -rj.
movable parts
(a) to
overcome
(b) to
kx.
to
^~T'
(c)
inertia of
dx
Therefore at equilibrium
dx
d^x
m -^ +
di^^'dt
Let a
c/2mco where
Then equation
co
/ex
= APASo(t)
s/k/m
becomes
^ + 2aco + co^x =
dt
The Laplace transform of equation
(s^
sx(0)
ms
let
x(0)
+ 2acox(0) + x'(0)
the origin of
=
=
of 6 Ib/in^ corresponds to x
.-.
11
II is
APA
+ loiws + a)^)x =
So(0
dt
x'(0)
111
x be changed so that an
0,
and therefore
APA
ms(s^ + 2acos + co^)
The
APA
where
tan(/)
APAlk =
m=
"
a/Vl
as a function of
partial fractions as
1
a^
VI
V
"
IV can be obtained by
e~*"^
IV
2mco
"
300
32x12
0-781 lb sec^/in
0-'
2 X 0-781 X 27-72
"
'^^^
178
a^
taiKp
0-920
0-393
0-427
0-920
.*.
(j)
0-404 radians
Because x
is
Table
6.2.
Evaluation of Equation
UJt
0-92
2
3
4
5
6
7
8
9
10
0-9196
0-8698
0870
0-7337
0-4953
0-3343
0-2257
0-1523
0-1028
0-0694
0-0469
0-0316
0-0214
01346
-0-7075
-0-9910
-0-4939
1-237
0-3929
0-9697
0-7819
0-960
0-933
0-963
-0-0220
-0-5883
1-013
0-6-
(Ot
Fig. 6.6.
0-000
0-362
0-933
1-224
1-075
1007
yx
1-500
1-138
0-567
0-263
0-276
0-425
0-540
0-567
0-537
0-493
0-487
6.
179
Therefore, the response of the valve is lOjll'll = 0-36 sec. That is, in
0-36 sec the position of the valve alters by one inch and has stabilized at its
new
position.
6.6.
It
Convolution
that the final transform of the equation is a product of two easily identifiable
transforms, but these are difficult to resolve in the form of a summation.
When this arises, the inverse transformation can be accomplished by the
method of "convolution".
Space does not permit the derivation of the convolution integral, and
its use will be explained.
Any reader
Thus
if
factors
advised to consult
is
and
h{s)
whose inverse
Thomson!
or Churchill^.
composed of the
transforms are recognizable from
is
and
J{s)
this is
is
obtained as
follows.
g{t),
h{s)
Then
since
r/ x
/(s)
-/ n r/ ^
g{s) h(s)
(6.28)
fit)
= ^-\g{s)Ks)\ =jgix)Kt-T)dT
=jh(z)git-x)dr
(6.29)
Equation (6.29) gives the convolution integral of /(r) and imphes its symmetry. The convolution integral is frequently given the shorthand form
f(t)
= g(t)h*(t)
(6.30)
an inverse transform
integral to find
will
be
+ ly
775.
(s^
Transform number 16
in the tables
m=
then
g(t)
shows that
nis)
^^
h(t)
cost
if
f(t)
=i
t
X
Thomson, W.
T.
Churchill, R. V.
[cos
COS (2t - 0] dx
II
MATHEMATICAL METHODS
180
/(O
IN
CHEMICAL ENGINEERING
III
IV
directly
in the tables
6.7.
Three further methods for finding the inverse Laplace transform will be
given in this section. These methods will often yield answers more quickly
than either partial fractions or convolution, and they can also be used
when previous methods fail.
6.7.1.
\l{s-\-a),
then f^{t)
e~\
s(s-\-a)
s
t
:.
Mt) =
je-'"dt
1-eII
A further application
^n
s
'^'^'s^s + a)
J
1
t
(at
Therefore,
if j(i)
a Jo
+ e-'^'-l)
m=
(e-''
+ at-l)la
III
6.
Expansion
6.7.2.
in
181
be noted in the tables that as |5|^cx), then/(5)->0 for every transalthough an apphcation of L'Hopital's rule is often necessary to
show this. The first seven transforms in the table also give an inversion for
any negative power of 5; and hence, if/(5) can be expanded in a series containing only negative powers of s, these first few transforms will determine
a series form for/(0.
An ascending power series will always contain positive powers of the
variable after a certain stage, so that to restrict the series to negative powers,
Inspection of transform
a descending power series of s must be used.
numbers 1 to 7 shows that the termwise inversion will lead to an ascending
power series in t. Referring back to Section 3.3, if this series has a finite
radius of convergence, then the result will only be vaHd for small values of t.
Hence, the initial behaviour of a system can be determined by inverting the
The method of obtaining
first few terms of such a power series expansion.
the series will be illustrated by the following examples.
It will
form
pair,
Example
2.
Determine /(O
\ff{s)
(3.8)
In [1
appHed
+ (ajsY].
s. Viz.
{atl_(atl
?[
The
series in
3,
(at)^
(atl
gives
III
result
= -(cosat-l)
f(t)
Example
3,
Determine /(O
if /(^)
IV
tables.
l/s^(s+a^).
a^
/,
o*
a^
a^
S^i
M.M.C.E.
'
s'i
S*i
182
2t^
2~t'^
2't'^
x^Ti
1.3V7r
1.3.5V7r
2^
2^t'^
1.
3.5.7^7:
(20-
_(201
1.3.5
1.3
II gives
III
1.3.5.7
Equation III is likely to be a more useful inversion formula for the given
transform than that shown in the tables as number 41.
Other Series Expansions
6.7.3.
of
(s
+ a) and
Example
4.
In a note published by T.
Woodt,
requires inversion
/(^)
= s + alpe-
'
can be rearranged
as
7(s)
=
s
Provided /?e"'^^<
+a
+
s
II
oc
+a
III
can be expanded using the binomial theorem. But for sufficiently large values of i", equation III will be satisfied, therefore the expansion
will be valid. Thus
equation
II
Ks)
E + cy^'
,%{s
nas
number 63 and
IV
the shifting theorem
gives
where
6.8.
= t-na
Contour Integration
In the above theory of the Laplace transformation, the various methods
given for the inversion of the transform to regenerate a function of the
t
Wood,
T.
6.
183
method
in preparation for
differential equations in
its
Chapter
8.
= \e-^^mdt
a^ip
then
/(0
= T^lim
(6.31)
( e''J(s)ds
J
2nip-yoo
a-ip
where a is a constant greater than the real part of any singularity in the
transform f(s).
The Mellin-Fourier theorem is frequently referred to simply as the
inversion theorem and it can be deduced directly from Fourier's integral
theorem which is comprehensively dealt with in most university texts in
mathematics. Thus Fourier's integral theorem can be expressed
fit)
where /(O
is
any function of
( e-'''f{t)dtd},
e'''
00
(6.32)
00
periodic or otherwise.
/,
In applied mathematics,
f(t)
for r<0, in
00
m=^ J
let
00
e'"j e-'"f{i)dtdX
(6.33)
-00
Put
iX
= 5 a,
where a
is
too
first
integral
OO
(6.34)
7(0 =
00
00
~j
a
which
is
00
^'
^e-" [e'7(0] dt ds
(6.35)
- i 00
e""^
f{t).
72
MATHEMATICAL METHODS
184
IN
CHEMICAL ENGINEERING
Consider the contour shown in Fig. 6.7 where the arc of the circle
R encloses all the singularities. The integral around this contour
is the sum of the integrals along the straight path AB from if] to + //i,
and around the arc BCA. The integration path from A to B as p->oo is
known as the "first Bromwich path". Expressed symbolically,
follows.
of radius
e''j\s)ds=
ABCA
If
+ ip
e''j\s)ds+
('
- ip
e''jls)ds
(6.36)
BCA
R^co. The
points
on the
arc.
e''J{s)ds<&
.-.
Because
right
e^'
hand
between
is
(6.31)
DC
e'^ds
DC
iR and s
paths
iR.
iR
J
DC
on the
all
lis
e''j(s)ds<e
^
sini^r
(6.38)
iR
it
is
\e''j(s)ds<8e'''2oc
.-.
(6.39)
BD
Similarly, the integral along the arc
Adding these
EA
can be shown to be
less
than
2a^e''^
results together,
e^7(s) ds
< s U^ ^.r ^
EGA
^ ^-^ J^^
t
(5 4Q)
As R-^co,
e''J(s)ds-^0
asR->cx)
(6.41)
BCA
Therefore, provided \f(s)\-^0 as |5|->oo in the left hand side half plane, the
last integral in equation (6.36) can be neglected and this gives
a
/(')
= r^
2ni
f
J
73
e^'Ks)ds
= ~2ni
{ e^-J(s)ds
(6.42)
ABCA
The evaluation of
singularity of /(j).
on the type of
6.
6.8.1.
Inversion
when the
185
In this case, the last integral in equation (6.42) can be evaluated by the
theory of residues given in Section 4.16. Thus
(0
= r^
f e''J{s)ds
2ni J
=Y
f e''Ks)ds
J
2ni
(residues of e''J{s))
(6.43)
ABCA
Bri
25+1
Example
by contour integration.
+ 1)
at 5 =
5(5^
Residue at
Using
^,
-2
ls{s-i){s + i)i
II
P-i
6.8.2.
+ l)5 ]
/.
/,
,^i
Residue at
(25
III
-/(e'^-e-'O
IV
i-2i _,
(25+i)(5+o ] ,
e'' =
-e
-2
,__iLs(s-0(s + OJ
lim
f(t)
Po
f(t)
+ Pi + P-i = l-
cos
2 sin
is
a Branch Point
it
First
Bromwich
path
Fig.
6.7.
Contour integration of
equation (6.31)
Fig. 6.8.
186
Other singularities, the value of the integral around the closed contour
RDA
= r^
/(0
jf
271/
e''Ks)ds
= -~
( e^'J(s)ds
J
ZTil
RQP
Example
Br2
2.
In Section 6.4.2
ponded
(6.44)
it
dt
L\5+l
The
inversion of equation I can be done directly from the tables, but here it
be inverted by contour integration. Since the function has no poles but
a branch point at 5 =
1, the origin will be moved to the branch point
by putting ). 5+1, and equation (6.44) will be applied. Thus
will
Ini J
dt
Br 2 for
this
function
is
y'/v
is
The
zero.
RQP
integral along
will
now
integral
be evaluated in
RQ. The
i.
Integration along
varying from oo to 0.
.*.
X e'""
d?.=
.'.
RQ
line
is
A"(cos
defined by
/.
.y
e""" with
= x
sin n)
III
-dx
VX=x"e-"'^'= -/Vx
/.
IV
00
/^(A-i)f
^dA=
J
C e~^^
\/a
RQ
ii.
Let
:.
.-.
.-.
f^dx =
-ie-'
?.
e'^
x-^e-''dx
ie-'
\/x
of radius ^
where
varies
from
nXon.
dA^iSe^'dO
^7 =
(^^r=^dA =
VI
VII
c5^e^''
lim ie-'3^
e'^'''' ^ isine), +
nejQ ^ q
VIII
6.
iii.
QP.
Integration along
By
the
same procedure
187
as in part
(i),
the
is
00
IX
-^e-'^'dx
QP
gives
dm
lie-' r
-^e-'^'dx
dt
The
integral in equation
X can
be evaluated by putting xt
a^.
"
2e-'
df(t)
doL
XI
dt
=
by equation
(5.2).
e-'jyjnt
Integrating gives
XII
m = ^-'
The
last
few stages of
Inversion
When
tion (6.44)
er fV7
XIII
.s\/s+L
of the error
5.
there are pole singularities in addition to the branch point, equais still
Qd
^>
fQ
Fig. 6.9.
of the singularities. This is done by drawing a circle around each singuand connecting it to the main contour with a pair of parallel coincident
straight lines. Figure 6.9 shows the case of a branch point at the origin and
all
larity
188
is
is
the curve
evaluated as follows.
By Cauchy's theorem, the integral of e^^ f(s) round the closed curve
The parts of this contour which have been drawn
is zero.
with dotted lines make no contribution to the integral; the sections EC and
GA because of equation (6.41), and the pairs of parallel Hnes because they
are coincident and are traversed in opposite directions. Thus,
ABCDEFGA
je''Ks)ds=
e'^f(s)ds
GFEDC
Bri
The
(anticlockwise) direction
the residues at
GEC
as for
fit)
-^ f
e''f{s)
Br2
ds=
e''f(s)
Js
+X
(I'esidues
of
e''f(s) )
(6.45)
GEC
6.9.
^J + fif + C>-=/(0
(6.46)
6.
where
y{Qi)
and
this
equation
/(^)
is
= J^^^Br+C^-
time
0.
y{s)
is
^^-^'^
As^ + Bs + C
ture, pressure, at a
189
measured
variable,
i.e.
tempera-
The
and
The
transfer function
is
is
is
Therefore
disturbance of unit impulse from the steady state condition.
referring to equation (6.47) it will be appreciated that the origin of jf can be
chosen so that y{P) and y'{0) are both zero when r = 0. The transfer function
is
now
characterized by
W) = As^ + Bs + C
which defines
it
^^'^^^
is
shown
in Fig. 6.10a.
In Fig. 6.10b the circle represents an algebraic operation and the two
plus signs imply that the output signal /(O is obtained by summing the outputs from the two transfer functions. Each transfer function is enclosed in
a rectangle, and the transfer function together with its block is called a
dynamic function because it indicates a rate of change. In the particular
example it indicates a rate of heat input.
MATHEMATICAL METHODS
190
IN
CHEMICAL ENGINEERING
Electrical
heater
Liquid
In
Liquid
out
.-
As +
JL
B(As +
The only
rules to be
f(t)
(b)
(a)
Fig. 6.10.
1)
Block diagram of
remembered
diagrams
are
(a)
Only one hne may enter, and only one line may leave a block repredynamic function.
Only two lines may enter and one line leave a circle representing an
senting a
(b)
algebraic operation.
(c) If
a control system
equations,
is
6.9.1.
Control Systems
Eckman, D.
P.
&
Sons,
New York
(1958).
6.
191
Liquid
Liquid
rC^C]
Solution of
AinB
Solution of
AinB
(b)
(a)
Open and
Fig. 6.11.
closed loops
-^
f,(s)
fo(5)
fA(s)
G,(s)
TmCs)
C2(s)
Fio. 6.12.
element)
is
shown
in the block
jC-^)-
can be written as
=
Us) =
iMis)
o(s)
Lis)
G,is)Us)
(6.49)
(6.50)
(6.51)
G,{s)Us)
=
l
(6.52)
+ Gi(s)G,(s)
Inverting equation (6.52) gives the value of the output from the controlled
process as a function of time. That is,
/o(0
J_
Gi(s)J
r G,(s)/,(s)e"rfs
Ini J
+ Gi {s)G,(s)
(6.53)
Br,
192
G,(s)/,(5)e'
residues of
l
(6.54)
+ Gi(s)G.(s).
6.9.2.
indication of
(6.54). Thus
any of the poles of the numerator or zeros of the denominator have
positive real parts, then /o(0 will contain a term e^^ which will increase to
infinity as the time / increases and hence lead to instability. Consequently,
all of the relevant poles and zeros must have negative real parts so that any
disturbance will decay exponentially with time and the control system will
this
if
be stable.
must be
(6.53)
all
on the imaginary
system
with other
poles in the negative half plane, indicates that the system will fluctuate
Stability Criteria
6.9.3.
The
cated, containing
may
be very compli-
Neither will
is not necessary.
of a control system to a disturbance;
for a control system could be mathematically stable but functionally useless
because the time required to attain steady state could be very large.
Two methods extensively used to test the stability of a control system
are those of Routh and Hurwitz, and Nyquist.
Essentially the RouthHurwitz criteria of stability has its basis in matrix theory which will be treated
in Chapter 12; here it will suffice to explain the mechanics of the method so
that the section will be complete in itself.
Thus let the denominator be
expressed in the form of a polynomial, viz.
The
stability
sensitivity
+ Gi(5)G,(5) =
pos" + Pis"-^
+ ... + A, =
of the control system will depend upon the roots of the suband it can be assessed as follows. The system will be
unstable
if
(b)
some
(6.55)
6.
193
Ro = Po
Ri=Pi
P0P3
D
R2=P2
Pi
R^
= PiPiPs-PoPI-pIPa + PoPiPs
P1P2-P0P3
etc.
They
are
Ai
Po
A.
Pi
Po
P3
Pi
Pi
Ps
Pa
P3
A2
A4
Pi
Po
P3
Pi
Pi
Po
P3
Pi
Pi
Po
Ps
Pa.
P3
Pi
Pi
Pe
Ps
Pa
be noticed that the order of the determinant is
the same as the suffix of A with the exception that Aq is of first order. In
addition, the elements of each determinant are arranged in ascending order
down the diagonals, and in descending order horizontally from left to right.
The determinants are related to the test functions as follows.
In these determinants
it
will
= Ao
Ri = ^i
Ri = A2/A1
R3 = A3/A2
'"Rn = KIK-l
R = AJA.^ =
i^o
In fact,
that
all
p,
system to be stable
determinants shall be
transfer function of a
of the
test functions,
or
all
of the
positive.
Example
1.
+ 2as^ + (a-2)s-(a-3) =
MATHEMATICAL METHODS
194
Inspection of equation
negative;
and
if
is
IN
CHEMICAL ENGINEERING
shows that
greater than
if
then p^
3,
may
is
less
than
negative.
is
2,
Hence
then
is
pj,
the system
3.
i^i=3(a-l)
and
i?4
6a(a-l)-5(a-2)
p4
= 3
Ro =
II
= 3(a-1)
Ki
3(a
1)
15a^-68a2 + 95a-47
_
~
^^
III
6?-lla + 10
= 3-a
i?4
VI
numerator o[ R^
positive.
.-.
To form an
it
VII
can be differentiated,
viz.
^ = 45a^-136a + 95
VIII
Equation VIII has zeros at a = 1-10 and a = 1-93. The first corresponds to
a maximum and the second to a minimum. Substitution into equation VII
shows that
if
IX
/(a) =-4-8
a =1-10,
Since this
is
maximum
oc
is
now
a
a
=
=
=
all
a<
this
range gives
/(7)=-9-0
2-5
/(c()= -0-125
f(cc)=
31-0
The
<a<3
1-93.
6.
195
<
<
3-0
The Nyquist
criteria
s,
Nyquist contour
Fig. 6.13.
parts.
[Number!
of zeros J
TNumberl _ J_
[ of poles J
2;!
Change
in arg of
(6.56)
Nyquist stated that [Arg/(5)/27r] was equal to the number of times the
contour encircled the origin of /(5)^. If this is A^, the number of zeros is Z,
and the number of poles is P, then equation (6.56) becomes
Z-P = N
In these equations, an nth order zero or pole
poles of first order.
(6.57)
is
considered to be n zeros or
196
have to be located in any case thus determining P, and the number of times
and the
(-1,0) is enclosed by the transfer locus determines
Nyquist criteria can be apphed. Usually it is only necessary to plot the
< co < oo because the locus between and oo
transfer locus of ^ = /w for
the point
is
just
its
The Nyquist criteria can be applied by plotting the function [G^(s) ^2(5)]
from arbitrarily chosen values of co between and 00, or by plotting directly
experimental phase and magnitude data. Since it is not essential to factorize
the open loop transfer function in order to obtain the number of poles, the
stability of the system can be assessed by using the value of A^ obtained from
the transfer locus and the value of
P+N =
P
is
obtained by inspection.
Unless
These principles
unstable.
will
Z=
now
Put
(1-10/co)-
(10/co
+ l)^(l-10/co)^
then
+ iy
ioj
9
(10/co
9/(105+1)^
- 300co^)
(l + lOOco^)^
9(1
II
r9(30co
L
(1
- lOOOco^)
III
>2\3
+ 100(X>')
^-8
Fig. 6.14.
Stability
ly
6.
197
0'Or^porp^oooor<ifS^'7ipp
I
Ooooo^nO>/^oooooow^Oa^rNa^'-'
O'>s^opp-7lr^lfsoor^^or;-'^pp
I
m
o
OS
psOrnoocNcnfMOspP'T'
f*^
w-)
r*-
00
r^
^m
oo <N \o
Tt
r-
o
m
On
"^
rr,
-h
<;j
Cj
^
5^
m o_ oo
(NfOTtooTfrNooovr^
o
o
<N o
en
^-^
f<-i
Tt fN
'*-'
s:
Omrsir-cojorvjro
^
pr^qswpvo(Nr:>(NfO^^^Ofqcrs
,-^
ryy
aNoor^voTtr40'^oo-iir^ON^^-^r1
r^
cn \n
ooooooooiri^ooinTt
O O O -^ ^ -H
oxxxxxxxxppppp'o
^OOr^TtmvOfOfNOOOOOO
<N ^ rN ^ '^
I
T^
Tj-
Tt
Tt
Trt-
fNl
en 0
rf
Tt
Tj-
ooooooooSInoJn
I
1-1
(S
'^ vo
oooooo
pppppppp'T'-Tir^fS'^oo
198
Nyquist diagram for the transfer function 9/(105+1)^. This function does
not have any poles in the right half plane as can be seen by inspection; however, the transfer locus encircles the point (1,0) twice.
.-.
iV
IV
Z=N+P=2
and the control system is unstable.
In the example given, the Laplace transform could have been inverted
and the stability checked as a function of time just as rapidly as Table 6.3
and Fig. 6.14 were prepared. However, it must be remembered that with an
actual control system, the transfer function would be very complicated, and
it would then be advantageous to prepare the transfer locus and use the
Nyquist criteria to test stability.
Chapter 7
VECTOR ANALYSIS
Introduction
7.1.
it was shown that a complex number consisted of two independent parts, a real part and an imaginary part. The one symbol z was
used to represent a combination of two symbols x and y so that manipulations with a single symbol were much quicker than the corresponding
elementary operations on the separate variables. It is natural to enquire
whether this principle can be extended so that more than two variables can
be combined into a single symbol thus shortening the work m multi-variable
systems. The Argand diagram is a plane, two-dimensional representation of
the two parts of a complex number which he along two orthogonal axes,
and a natural extension is to represent three parts of a "number" along three
In Chapter 4
IdT
2+-
=
dr
d^T
dr^
It is
a simple matter to
in a flat
(7.1)
d^T
199
200
Both of the above equations relate to the one process, heat transfer, but to
systems having different geometrical shapes. The utihty of vector analysis
is that the following equation in vector form will represent all steady state
heat conduction processes with constant thermal conductivity in any
number of dimensions and for any shape of solid. Thus
W^T =
The
(7.3)
chapter, so that the second half of the chapter can be devoted to the use
which
is
and
Tensors
numbers.
= x + iy =
Zj^
+ iz2
(7.4)
where z
is
to specify
referred to as a tensor of
it.
It is
^22
is
The symboHsm
is
now
obvious,
it
consists of a
z,"
main
symbol such as z with any number of associated indices which may be subEach index is allowed to take any integer value up
scripts or superscripts.
is
called the
The number of
indices associated
7.
VECTOR ANALYSIS
201
7.2.1.
If the tensor has no index, then it only consists of one quantity independent of the number of dimensions of the system. The value of this
quantity is independent of the complexity of the system, possesses magnitude
only and is called a "scalar". No direction can be associated with a scalar
since direction can only be specified in a system of known dimensionaUty.
All physical properties are examples of scalars. For example, density, mass,
specific heat, coefficient of viscosity, diffusion coefficient, thermal conductivity, etc. Other examples are the scalar point functions such as temperature, concentration, and pressure which are all signified by a number which
may vary with position but not depend upon direction. Energy and time
fluid
may
7.2.2.
When
the
it
consists of as
many
elements as
number
and the tensor has three elements which are normally called components. The tensor of first rank is alternatively named a "vector". Vectors
have both magnitude and direction and can be represented in three dimensions
by a straight Hne in space. The most common examples of vectors are force,
velocity, momentum, angular velocity, weight, and area.
The above classification of scalars and vectors should help to clear some
common misconceptions about the nature of the properties Hsted. For
instance, mass is a scalar and depends only upon the substance involved
and not upon its environment, whereas weight is a force resulting from the
action of gravity upon the mass. Weight is thus a vector since it acts in a
direction chosen by the gravitational field in which the scalar mass is situated. Newton's second law of motion is a vector equation relating the two
vectors force and acceleration by means of a proportionaHty constant, mass.
Pressure is a scalar quantity because it acts equally in all directions and
thus has no special direction. Scalar pressure becomes vector force when a
is
three
surface
The
results of various
understood
is
a scalar.
7.2.3.
in engineering is
This of course has a double subscript and has both a
202
magnitude and two directions associated with it. In three dimensions the
stress tensor consists of nine quantities which can be arranged in a matrix
form thus,
7^11
T,2
T,,
21
22
23
31
32
33.
(7.5)
is
as follows.
zL
'iy
/]
/-r^y
/^
y/^
'I?
Xq
x'
-I
C
The
Fig. 7.1.
stress tensor
components have been labelled with p and the shear components with t.
To distinguish between these various forces it is necessary to specify both the
direction of the plane and the line of action. The nine elements of the stress
tensor (7.5) can be associated with these individual forces by using the first
subscript to denote the plane and the second subscript to denote the direction of the force. Thus
xy
T =
'yx
T.,
yy
(7.6)
yz
'zy
to three dimensions.
1, 2,
Xj,y is
all
reversed in direction.
For
this reason,
7.
the
components of
ABED)
(e.g.
all
VECTOR ANALYSIS
stress acting
on a plane facing
203
in a positive axis direction
denote the shear forces. Also, the normal forces include the pressure, but
with reversed sign because the force due to pressure acts inwards towards
the element.
is
little
interpreta-
manipulation of tensors he is referred to Craig or Sokolnikoff'tIn the subsequent discussion, all quantities will be referred to as either
vectors or scalars and all further remarks will apply to three dimensions.
The subscripts will be labelled by the coordinate variables rather than by
numbers for extra clarity. Bold face type will be used for vectors, and ordinary type for scalars.
7.3.
Any
A
Fig. 7.2.
vector.
start
Addition of vectors
The sum of
of the
first
t Craig,
204
it is
only necessary
A-B
Subtraction of vectors
Fig. 7.3.
7.3.1.
Components
components of a vector are added together using the above rule, the
is returned. A vector can be resolved into components in an
infinite variety of ways but the resolution into components in three specified
non-coplanar directions is unique. This fundamental property is ultilized by
If all
original vector
Define the three cartesian coordinate axes x, y, z as shown in Fig. 7.4, and
Aj+A
Ax
Fig. 7.4.
parallel edges
Ay^-\-
Ay-T A^
(7.7)
Since vectors are frequently resolved into components along the coordinate axes, it is convenient to define a set of unit vectors having unit
magnitudes and the directions of the coordinate axes. Any vector can then
be expressed as the sum of scalar multiples of these unit vectors. The
standard set of unit vectors which define the cartesian coordinate system is
VECTOR ANALYSIS
7.
1,
7,
205
Equation
(7.7)
can
now be
re-
written as
A = AJ + Ayj + A,k
(7.8)
where A^, Ay, A^ are the scalar lengths of the edges of the box, and the unit
vectors i, j, k define the directions. Two applications of the theorem of
Pythagoras in Fig. 7.4 shows that the magnitude of A, which is denoted by
1^1 or A by analogy with complex numbers, is given by
= ^(Al + A'y+A',)
\A\
(7.9)
sum
of the squares of
Position Vectors
The
Such a vector
is called a
independent of any
coordinate system and only requires the definition of an origin. An analogy
which may be helpful in grasping this point is the reply to a stranger who
The above
"position vector".
definition of position
500 yards in a
NNE
is
is
The
if
first
the information
much more
direct
and
is
is
is
useful.
xi
-h
yj -\-
(7.10)
zk
(7.11)
therefore be specified by
and
then
also
A = AJ + Ayj + A,k
(7.12)
(7.13)
(7.14)
(7.15)
206
A can only
A^-B^ = 0,
equal
equation (7.15),
Thus a
Ay-By =
zero,
and from
0,
andA,-B, =
(7.16)
Ax
Fig. 7.5.
7.3.3.
must be
B if
Properties of Addition
Both the associative law and the commutative law of algebra are valid
That is,
A + (B + C) = {A + B) + C
A +B = B+A
and
The
distributive
law
vectors by a scalar.
is
(lAl)
(7.18)
sum of two
Thus
m(A + B) =
There
is
7.3.4.
Geometrical Applications
mA + niB
(7.19)
rules of algebra
when
been added together, they must have the same direction as the third vector.
1. If ^ and B are two position vectors, find the equation of the
Hne passing through the end points of A and B.
Referring to Fig. 7.6 where the origin is O and C is the position vector of
any other point on the Hne through A and B, the vector joining A to B is
Example
straight
B-A.
line,
C-B = miB-A)
VECTOR ANALYSIS
7.
where
w is
C is
207
Equation
can be
rearranged to give
C = {m + \)B-mA
m^-(m + l)B + C =
or
Equation
II is the
and
III
Equation of a straight
Fig. 7.6.
variable,
II
m the independent
line
linear relationship
pA-^qB + rC =
IV
Comparison of equations III and IV shows that equation III is the special
case in which p+q-\-r = 0. Thus the general result that if three position
vectors are related by a linear equation then they are coplanar. If the sum
of the three coefficients
coHnear.
Example
2.
is
where L, M,
ABC,
BM
and
CN
Medians of a
Fig. 7.7.
triangle
(s+l)B-s(i/l)
208
BM.
Since
is
is
given by a
a',
AL
is
= (r+lM-Ki^)
AL
II
or
(s
.-.
+ 1)B - is A =
(t + l + is)A =
+ 1)A -itB
{s + \ + it)B
III
{t
IV
Equation IV relates two vectors which have different directions and the
equahty can only be satisfied by both vectors having zero magnitude.
/.
The
+ 1 + 15 =
solution of equations
ands + l + ir =
is
t=-i
B + i(A-B) = i(A + B)
CN and CP have the same
direction
(A+B) and
thus
CN
OM
where
is the vector
can be represented by
II
OR =
Thus
OR
III
8,
214 (1962)
7.
VECTOR ANALYSIS
209
OM
ON
or
is deterwhen either of the streams
mined, the other is obtained by subtraction from the constant OR. It will
now be shown that the intersection of these vectors with the plane x = I,
as illustrated in Fig. 7.8, gives the usual enthalpy-concentration diagram
for the Ponchon-Savarit method.
to perform a calculation,
M/
^^
/
^
Fig. 7.8.
Plane t = 1
The constant Hne OR will cross the plane x = 1 at point P which will be
and ON will also cross the plane at
The variable vectors
and B respectively, and since OMRN is a parallelogram, APB will be a
OM
a fixed point.
straight Hne.
Let
AP_b
IV
'PB~~a
as illustrated in Fig. 7.8.
aOA
Then by
ah
tBA
a-\-b
ab
and
parts of equations
aOA + bOB =
and VI
(a
+b
AB
gives
+ b)OP
VII
aOA =
Since
OR,
OB is
in the
same
direction as
VI
b,
OM
ON and OP
the magnitude of
VIII
is
in the
same direction
as
and
it
bOB = ON
(a + b)OP = OR
IX
210
Similarly,
and substituting
into equation
IV
= M,
OM
XI
XII
gives
AP
PB
XIII
Ml
Using equations
points A, B, and
I,
II, III,
P can be determined
pomtAis
point
^1,
Hi
Ci
^^,
^^
H1 + //2
is
1,
as
M1 + M2
Ci
+C
M1+M2
Comparing these with the original interpretation of the coordinate axes, the
appropriate two-dimensional coordinates are the enthalpy, and the mass
fraction of the important component.
Thus the normal constructions in the enthalpy-concentration diagram
are vaHd as a special case of a more general vector method. By taking the
intersections of the vectors with different planes, different two-dimensional
diagrams can be obtained. If the chosen plane is symmetrically inchned to
all axes, then the familiar triangular diagram is obtained.
The work of
Lemlich and Leonard is extended to these cases and also to four dimensions.
Suggested extension to higher orders is difficult to visuaHze and matrix
methods may be more appropriate. The example is, however, sufficient
indication of the generality of the vectorial approach which gives a clearer
insight into the connection between related problems.
7.4.
Multiplication of Vectors
In multiplication, the
because
it is
7.
7.4.1.
VECTOR ANALYSIS
211
The scalar product of two vectors is defined as the product of the magnitude of the one vector with the magnitude of the component of the other
vector resolved along it. This product is signified by placing a dot between
the vectors to be multiphed together. Symbolically,
A.B =
where 6
is
\A\\B\cose
= B.A
(1.20)
the angle between the vectors as shown in Fig. 7.9. The result of
is a scalar quantity, hence the name for the product.
the operation
7
J
A'
|A
/
s n
-/
-/.e
0\^
/
/
A cos 6
Fig. 7.9.
A,A = A'-^A'The
(7.21)
If
is
an equation such as
^.B =
is satisfied,
(a)
(b)
(c)
The
It is
(7.22)
two vectors
may
be zero.
to be zero
when
both vectors are finite. Division thus has no meaning, for if equation (7.22)
could be divided by a non-zero A, the inevitable conclusion would be that
B is zero which is not necessarily true.
212
7.4.2.
Referring to Fig. 7.9 again in which 9 is the angle between the two
A and B, then the vector product oi A and B is defined by
vectors
A/\B = \A\\B\smQn
{122>)
Bh
AaB=-BaA
(7.24)
and the order of terms in the product is important. The magnitude of the
A and B is equal to the area of the parallelogram formed
by A and B. This is also illustrated in Fig. 7.9 which shows the base of the
parallelogram of length B, and height A sin 6, giving an area of AB sin 9
vector product of
or 1^1
\B\ sin 9.
The moment of a
manner.
relative to
about
force
is
If there is a force
is
an origin O as
defined by
acting at a point
P with
position vector r
L = fAF
Or-
moment
of
(7.25)
^v7p
/
\
rsin
Fig. 7.10.
Moments
of a force
common
origin.
If
is
\L\
iFlrsin^
7.
213
VECTOR ANALYSIS
which checks with equation (7.25) and the definition (7.23). The direction
of the vector L which is outwards from the plane of the paper also
corresponds with the fundamental definition of a moment.
Again, vector division
is
impossible, since
if
AaB =
(7.26)
then either
(a)
(b)
or
(c)
7.4.3.
B are
parallel.
Properties of Multiplication
Although the
associative, distributive,
sidered
more
and subtraction of
It
A.B = B.A
(7.20)
AaB= -BaA
but
in a vector product
(7.24)
if
the sign
is
reversed.
The
distributive law
is
A.(B + C)
Aa{B + C)
all
vector products.
= A.B + A.C
= AaB + AaC
That is,
(7.27)
(7.28)
A.BC.D = (A.B)(C.D)
A.BC = {A.B)C
AaB.C = (AaB).C
(7.29)
(7.30)
(7.31)
In equations (7.29) and (7.30) each dot product yields a scalar which can be
treated as any other scalar, so that equation (7.29) is a product of two
scalars, and in equation (7.30) the magnitude of the vector Cis increased by
the scalar multipher (A.B). In equation (7.31) the vector product must be
taken first because a vector product cannot be formed between the vector
A and the scalar (B.C). Brackets are usually essential when more than one
vector product is involved, and then the associative law is not vahd because
^ A (J5 A
as will be
shown
in Section 7.4.6.
C)
7^
(^ A B) A
MATHEMATICAL METHODS
214
CHEMICAL ENGINEERING
IN
7.4.4.
It is
because
sinO
and
cos7r/2
ij=jk =
and
Because
/,
Ai
k.i==0
(7.32)
=j aj = kAk =
(7.33)
ii=jj^k.k=
By
(7.34)
normal
a 7
is
a vector
of/ and 7 and hence must lie in the k direction. A connow needed which determines whether 1 a j is in the positive or
to the plane
vention is
negative k direction.
If i a j = k, the set of axes is said to be "right
handed", since k is defined by the right hand screw rule from the vector
product of / andy; whereas if i a j = k, the set of axes is left handed. It
is normal to use a right handed set of axes and it can easily be verified that
Ak = kAi=j
JAi=k, kAJ=i, iAk=j
i
and
The use of
AJ
k,
these relationships
is
Thus,
and
(7.36)
illustrated
and
(7.35)
i,
A = AJ + Ayj + A,k
B = BJ + Byj + B,k
A.B = (A J + A J + A,k). (BJ + BJ + B, k)
AaB
(7.12)
(7.13)
Rearrangement of the
last
(7.37)
line
in a
more
useful
gives
(7.38)
expressing the right hand side as a determinant. The evaluation of determinants is considered in elementary mathematical texts, thus
AaB =
(7.39)
VECTOR ANALYSIS
7.
215
7.4.5.
Because
vector.
^aB.C
a scalar whose magnitude is the magnitude of {A a B) multipUed by the
component of the vector C resolved along {A a B). But the magnitude of
{A A B) is the area of the parallelogram formed on A and B, and since the
is
^-^ -^
^ '' /
^ "^
y ^^-^
/^
AaB
q/
/
m^^--
~~
~~~-~--^
/
Lj
A
Fig. 7.11.
**
^^^
^ -~
^^
^-^
^'^'^"^-"-ii.^^
Sy
/^^/^"^'^
--"^
/
/
~"~^
^^
*^''
Scalar triple product
resolved part of
epiped can be expressed as the product of any base with the corresponding
height, and the order of vectors in a dot product is irrelevant, the scalar
triple product can be written in six equivalent ways, thus
(7.40)
where the three vectors remain in the cyclic order A, B, C and the positions
of the dot and cross are arbitrary. The other six ways of writing this triple
product have the same numerical value as the expressions in (7.40) but have the
opposite sign due to reversing the order of terms in the vector product. Thus
[^,B,C]=-[^,C,B]
7.4.6.
(7.41)
AaB
MATHEMATICAL METHODS
216
CHEMICAL ENGINEERING
IN
(AAB)AC = mA + nB
(7.42)
where
Multiplying through-
Considering
(7.43)
the
is
combined
o.
side
mC.A + nC.B =
m = aC.B
or
is
zero.
is
.-.
which
hand
left
a.s
(7.43)
and
n=(xC. A
(7.44)
equivalent.
(AaB)aC =
- (C
a[(C B)A
.
A)B']
(7.45)
Since each term in equation (7.45) contains the three vectors, a must be just
a number. Also, because equation (7.45) is valid for any vectors A, B, and
C,
it
A =
must be
B = C = j,
i,
(7.35)
and
and C. Thus
letting
(7.36) gives
(AAB)AC = (iAJ)AJ
= kAJ
= i
But using equations
(7.32)
and
(7.34),
C.B=jJ =
C.A=j.i =
Using these
results in
=
i
.-.
(xi
a=-l
(AaB)aC = (A.C)B-(B.C)A
and
Similarly
it
(7.46)
remember equations
(7.46)
and
(7.47)
is
helpful.
The terms appearing outside the brackets on the right-hand side are the
terms appearing inside the brackets on the left-hand side. The positive
term is the dot product of the extreme vectors multiplied by the central
vector.
7.5.
If a vector r
varies
is
by an increment
calculus, 5r
is
Differentiation of Vectors
dt, r will
VECTOR ANALYSIS
7.
magnitude or direction as
defines the
first
217
r.
hm - =
5r
dr
dt^o ot
at
(7.48)
/.
==xi + yj-\-zk
and
dr
(7.11)
Sz
Sy
= Sx
1 + J + k
,
St
St
dr
dx
St
St
as St-^0,
dy
dz
components, then
dr
.*.
then
and the
rules as
apphed
is
viz.
As
varies, the
in space.
Taking
5 as a variable
dr
dy
dx,
+
^=-r'
ds
ds
Applying equation
v-7
ds-^
dz
^^ ^^^
(7.52)
+ -r^
ds
(7.9),
dr
ds
^/{dxy+(dyy+(dzy
ds
But,
(dsf
Therefore, dr/ds
is
(dx)^
+ (dyy + (dzy
dt
dt
MATHEMATICAL METHODS
218
IN
CHEMICAL ENGINEERING
is a unit vector and hence differentiand using equation (7.53), then d^rjds^ must be
perpendicular to the tangent drjds. The direction of d^r/ds^ is the normal
to the curve, and the two vectors defined as the tangent and normal define
what is called the "osculating plane" of the curve.
7.5.1.
upon
and a fourth independent variable time.
An increment 3T can arise from an increment in any of the four independent
variables, or from a combination of such increments.
The increment 3T
arising from a single space increment, say Sx, can be expressed as a ratio to
Sx and in the hmit as Sx^O, the ratio becomes a derivative. This particular
derivative is denoted by dT/dx which implies that the other independent
variables remain constant during the limiting process, and in this respect,
dT/cx is a "partial derivative". cT/dx is the temperature gradient in the x
direction and is a vector quantity; similarly, dT/dy and dT/dz are also vector
gradients. As will be shown in the next section, these three vectors can be
Temperature
is
compounded
Examples are
is
7.6.
Hamilton's Operator
7.
219
VECTOR ANALYSIS
OX
cy
oz
which defines the operator V for determining the complete vector gradient
of a scalar point function. The operator V is pronounced "del" or "nabla",
and the vector VT is often written "grad T" for obvious reasons.
V can operate upon any scalar quantity as above and yield a vector
gradient. Written out in an abstract manner,
The nature of
Vr with
iV+i-^'+^^i
oz
dx
cy
(7-56)
(7.32)
and
(7.34), this
simplifies to
^T'
r^T
r^T'
dr.WT = --dx +
ox
dy + dz
cy
(8.9)
dr.VT = dT
If vector division
(7.57)
oz
it
(7.58)
T(x,y,z)
With
=C
shows that
dr.VT = dT =
and thus
vr must
'
220
is
it.
concerned, and as a
Thus, if A is resolved
V.A = li\
ex
+j + k-]
cy
ozj
{AJ + AJ + A,k)
Since 7,y and k are constant both in magnitude and direction, the differential
Using the unit vector
operators only take effect upon A^, Ay, and A^.
relationships (7.32) and (7.34), therefore
dA^
dA^
dA,
^
V.^ = -^ +
+ -
^
ox
cy
(7.59)
oz
dx
where p
is
the density,
the velocity.
(7.60)
ct
and
u
is
cz
ui
+ vj-\-wk
(7.61)
Thus
V.pM +
=
^
dt
(7.62)
is
V.A = d\wA
7.6.2.
(7.63)
Va^.
Ex-
VECTOR ANALYSIS
7.
221
panding into components and using equation (7.39) to express the vector
product gives
k
i
J
VaA =
curl
dx
The
rot
(7.64)
For simplicity, it
zero and that the flow
A =
cz
dy
{\v) is
is
is
to
Vam
'dv
du\
dx
dy)
(7.65)
dx
dy
In Fig. 7.12, an element of fluid is defined from an origin O by taking increments 3x and Sy along the axes. Using Taylor's theorem, the ;; component
of velocity at
velocity at
will
be as shown.
u-^^^y
B
6y
,
Fig. 7.12.
'
d^i
OA
hand screw
of
OA
direction.
velocity
dv
is
IT-.
dx
The angular
OB
du
is
k^.
co/r,
is
two
values,
then
"-4 I'M)'
(7.66)
222
Comparing equations
(7.65)
and
(7,66)
VAii
which defines
C,
shows that
2cofc
(7.67)
The
vorticity
twice the angular velocity of the fluid element and this explains
is
is
thus
why (V a )
7.7.
Line Integrals
7.7.1.
An
its
as
shown
in Fig. 7.13.
vector
Fig. 7.13.
Line integrals
resolved
A, dz)
(7.68)
A.dr=d(j)
(7.69)
= d(j)
(A-W(l)).di' =
(IJO)
(7.58),
dr.V(i)
.-.
(7.71)
7.
223
VECTOR ANALYSIS
by subtraction of equations (7.69) and (7.70). Since the result is to be independent of the path of integration, dr can have any direction at a point, and
{A V(j)) cannot be perpendicular to all directions. Hence,
/4-V(/)
(7.72)
d,,.
d (d<i>\
^ from
d (d<i>\
equation (7.64)
is
^(dAy_dA\
dy)
\dx
which
is
are zero
equation (7.72)
components of V a ^
is satisfied.
Hence the general result that the line integral of equation (7.68) is independent of the path of integration if V a ^ = 0. Also, if this is true, then
A can be represented as the gradient of some scalar point function (j).
An example of the use of line integrals is the following. If the vector
field ^ is a force field so that a particle at a point r experiences a force A,
then the work done in moving the particle a distance dr from r is defined as
the displacement times the component of force opposing the displacement.
Therefore, the incremental work done (S W) is given by
dW = A.5r
{1.1 A)
Referring to Fig. 7.13, the total work done in moving the particle from P to
Q is the sum of the increments along the path. As the size of the increments
tends to zero, the sum becomes an integral, or
Q
= JA.dr
(7.75)
When
work done
is
in Section 7.10.2.
is
said to be "conservative",
MATHEMATICAL METHODS
224
IN
CHEMICAL ENGINEERING
7.7.2.
or
dS
Fig. 7.14.
When two
Vector area
common
ing the
combined area
is
common
part of
complete cancellation.
When
it is
to be specified.
To
integrate a
and
although the dot product is used again, the physical interpretation is different.
If there is a vector field denoted by A and the element of surface is
denoted by dS = n dS where n is the unit vector normal to the surface
element, then the surface integral is usually defined as
JA.dS = JA.ndS
When ^
is
a force
field,
(1.16)
is
on the
tion (7.76) gives the net volumetric flow across the surface.
It is
very
little
7.7.3.
practical value
and
is
Volume Integrals
A and
usually ignored.
is
its
7.
VECTOR ANALYSIS
225
There are relationships between these three types of integration and the
following sub-sections will be devoted to them. If the three integrals are
considered in terms of cartesian coordinates, it can be seen that a surface
two
integration involves
It
volume integration
number
Stokes' Theorem
can now be seen that the result of Section 7.7.1 is a special case of the
above theorem. That is, if V a ^ = 0, then the line integral of A around
any closed curve is zero. Equation (7.77) is much more general than this
previous result, and is frequently used in vector analysis. Similar results are
available for other Hne and surface integrals but they are of rarer occurrence.
The formulae are:
^
It
/.
Udr = jttAVUdS
(7.78)
JA.dr = jnAV.AdS
(7.79)
- JAAdr = j(nAV)AAdS
(7.80)
where
of the surface
A=Pi + Q
where
P and Q
are functions of
dr
The normal
to the
xy plane
is
dxi
-\-
dyj
in the z direction,
ndS = dxdyk
and using equation
(7.64) gives
fdQ
~''\dx
Va^ _
dP\
dy)
hence
226
Putting these various forms into equation (7.77) and simplifying gives
jiP,.^Q,y)=.jj(^-')d.dy
c
(7.81)
in Section 4.15 to
7.7.5.
When
shown
that W.pu
is
stated in Section 7.7.2 that the surface integral of the velocity vector u gives
If these
j pu.dS
Equation (7.82)
is
valid for
= jv.puda
any vector
(7.82)
giving
JA.dS = jW.Ad(7
5
(7.83)
which
jnUdS = jVUda
(7.84)
jn.AdS = jV.Ada
(7.85)
\nAAdS = jVAAda
(7.86)
where the surface integrals are taken over the surface S enclosing the volume
(7 over which the volume integrals are taken.
7.7.6.
Green's Theorem
f/VK
gives
UVV.dS =
The right-hand
side
V.(L/VK)t/c7
V)
= {VU).{VV)+UV^V
Interchanging
(7.87)
and rearranging
(7.88)
gives
(7.89)
(7.90)
7.
227
VECTOR ANALYSIS
Equating equations (7.89) and (7.90) and rearranging the integrals gives
j(UWV-VVU).dS = j{UW^V-VV^U)d(T
(7.91)
Equations (7.89, 90, 91) are known as various forms of "Green's theorem".
will be appreciated in the next chapter, the differential equation
As
V2f = V.VF =
(7.92)
of frequent occurrence, and equation (7.91) can be very useful for dealing
with such systems. It is of even more use in the theory of electricity and
magnetism because both the electric and magnetic potentials satisfy equation
is
(7.92).
7.8.
Standard
Identities
Any
(7.93)
(7.94)
(7.95)
(7.96)
In the derivation of the next useful formula, the dual nature of V causes
some difficulty in the notation, but if it is understood that when no symbol
follov/s V, the
it is
to be differentiated, then
^ A (V A B) = ABV-A^B
Ba(WaA) = B.AV-B.VA
VA.B = B.AV + A.BV
and
(7.97)
(7.98)
(7.99)
now B =
(7.100)
is
(7.101)
second derivatives.
Va(Va^) = VV.^-V^^
VaV.^ = V.Va^ =0
VaVL/ =
(7.102)
(7.103)
(7.104)
These last two equations are only valid when the order of differentiation
not important in the second mixed derivative.
is
228
7.9.
So far in this chapter, vector equations have been developed which are
independent of the coordinate system used. Position vectors only require
an origin to be defined as stated in Section 7.3.2 and thus the vector equations
are very general. On occasions, a vector relationship has been illustrated by
resolving the vectors into a cartesian coordinate system by using the unit
vectors /, y, and k. This particular set consists of unit vectors which remain
constant in both magnitude and direction, but in many problems the cartesian set of coordinates is not the most convenient. Both cylindrical polar
coordinates and spherical polar coordinates are frequently used in chemical
engineering problems and it is therefore necessary to be able to express a
vector relationship in terms of other coordinate systems. Books devoted to
vector analysis! invariably derive the necessary equations for a general coordinate system and the reader is referred to these, but all of the necessary
equations will be developed here for spherical polar coordinates, and quoted
for cylindrical polar coordinates.
One important point which must be
accepted here is that in any coordinate system other than cartesian, the
unit vectors are variable in direction. For example, when a radial coordinate
is used, the value of the variable increases in opposite directions at the
opposite ends of a diameter, and comparing the two positions the unit radial
vector is also reversed. Hence extra terms arise as a result of differentiating
the unit vectors.
7.9.1.
relative to
The
Fig. 7.15.
P from
the origin
denoted by
the polar angle of OP relative to the z axis is denoted by 0,
and the azimuthal angle of the plane containing OP and the z axis relative
to the xz plane is denoted by cj). Care must be taken to ensure that (r, 6, (p)
is
is
/*,
&
Sons,
London
The
(1951).
VECTOR ANALYSIS
7.
volume element
is
229
d(j)
in the coordi-
nates as before, but now, the edges of the element are in general curved
their lengths are not equal to the simple increments.
r sin 66(f)
<5
^^v
and
soM^XXl'
Fig. 7.16.
a, b, c are
Volume element
dr
now
3ra
P can be
written
rS9b-\- rsmed(l)c
(7.105)
possible to
dr.V
(7.106)
Equation (7.105) gives an expression for dr in the limit as Sr-^Q, and the
expression for (V) which satisfies the identity (7.106) is
d
or
h d
r
00
(7.107)
sm
dcj)
The various differential operations, grad, div, and curl, can now be
expressed in terms of spherical polar coordinates by using this identity. The
gradient of a scalar point function U, is simply obtained by placing U after
each term in equation (7.107). Thus
Vl/
dU bdU
= a + - +
dr
cU
dU
-^-
c
sm 9
(7.108)
d(p
vector,
V0 =
because
r,
and
(/>
are independent.
= VAV0 =
-(VAfc)
= -(VAfe)
r
bir
(7.109)
VA(6/r)
fcAV
.
Aa
5
dr
(7.110)
230
where equation (7.108) has been used again in the last line. Provided (r, 6, (j))
and hence (a, b, c) is a right-handed set of axes, equation (7.110) can be
simplified and rearranged as follows.
= -(VA6) + c(-l/r2)
VA6 =
.-.
Similarly,
it
c/r
(7.111)
VAa =
VAC = (acote-b)lr
in
(7.112)
(7.113)
To find the divergence of the unit vectors, the above expressions are used
conjunction with equation (7.95). Thus
= V.(6ac)
= c.Va 6. Vac
V.a
.-.
Similarly,
=-+
V.a
2/r
(7.114)
V.ft
(cot0)/r
(7.115)
V.c
(7.116)
terms of
in
fl,
(7.117)
V.A =
dA,
dA.
IdAe
A + Aocote
+ +
+
rsinO
dr
dO
d(j)
(^sin0)
and
WaA = -Aq +
,
acotO
dAr
dO
dA^
rsinQ
d(j)
(7.118)
dA,
-\
rsmO
dAc
dr
d(f)
dA,
rsmO
VaA
dr
dcj)
dO
(A^smO)
rsinO
dO
dA,
rsinO
d(t)
^ 5
dr
(rAe)
dr
dO]
(7.119)
7.
By applying equation
VECTOR ANALYSIS
d /
V^U
dr
231
.dU\
d /
V^C^can be obtained.
.
.
ac/^
^dU\
d^U
(-f)
^^^^^^
sin^ e 50'
is
(7.120)
and
is
not
ing equation (7.102) by two appHcations of equation (7.119) and one application of each of equations (7.118) and (7.108).
7.9.2.
Fig. 7.17.
is
(co,
</),
z)
the
(p is
+ coS(j)b + dzc
dU b dU
dU
dcoa
(7.121)
(7.122)
OCO
oz
CO C(j)
(7.123)
CO ceo
Va^ =a
CO
oz
d(p
l^dA,
+
do)
CO dcj)
m dco\
Again,
OCO/
'
7.10.
engineering
[i^-it] "-'
(7.125)
dcp-'
One of
oz
moving
As
is
232
Ignoring the heating effect due to the friction in a moving fluid, and assuming
no mass transfer is taking place, there are nine scalar variables related
by the fluid flow equations. There are three coordinates and time which are
the four independent variables; and in addition to the three velocity compothat
That is, the external forces, the pressure forces, and the viscous forces are
combined and equated to the product of the mass of the element and its
acceleration. The details of the derivation are given in many books devoted
to fluid flowt and in any text book devoted to theoretical hydrodynamics.
For an incompressible fluid, the equation of motion can be written
-^
+ u.Vu= -
ot
-Vi? + vV^ii + F
(7.126)
V.M
F representing
is
(7.127)
and
gives rise to
the hydrostatic pressure in the system, and if this is the case, F can be
expressed as the gradient of a scalar point function and combined with the
pressure term. It wiU therefore be ignored in the remainder of this work.
There
and
is
(7.127)
7.10.1.
Stokes' Approximation
7.
233
VECTOR ANALYSIS
velocity (U).
becomes
now
^=
_lvp + vV'ii
ct
(7.129)
Without vectors, the system of equations (7.127) and (7.129) would contain
four dependent variables, and a lengthy piece of algebra would be required
to find a single differential equation involving only one dependent variable.
However, a simple vector method is available. Operating on equation (7.129)
with (V.) gives
r)
(7.130)
0.
V^p =
.-.
(7.131)
ot
Vaii
and equation
(7.104)
is
(7.67)
I
which
vV^f
is
identically zero.
Hence
(7.132)
MATHEMATICAL METHODS IN CHEMICAL ENGINEERING
234
Equation (7.132)
will
now
case of fluid flow with an axis of symmetry by introducing the stream function ip so that the continuity equation (7.127) is automatically satisfied.
Taking spherical polar coordinates and assuming that the problem has an
symmetry (the z axis) then from any point P, curves Q^ and Q2 can
be drawn to a point on the z axis as illustrated in Fig. 7.18. By rotating the
plane of the diagram about the z axis, the curves 2i and Q2 become surfaces.
Now the total volume of fluid crossing the surface Q^ from right to left
must equal the volume crossing Q2 in the same direction. Also, because
there is no flow across the axis of symmetry, there will be an equal volumetric flow across any other surface such as Q^. This volumetric flow is deThis definition shows that
is Stokes' stream function.
noted by 271 \l/ where
= at all points on the z axis, and elsewhere it is a scalar point function.
axis of
ij/
i//
Fig. 7.18.
ij/
in Fig. 7.18
Va^
(7.133)
-,
^ ^^T-,
--
(7.134)
where u and
^^
c
deWsinOdO
r[dr\smedr)
raV
rsin^L^''^
.-.
sin^ a /
'
r^
#Y
Crsin0
Thus
= cV
'
(7.136)
235
VECTOR ANALYSIS
7.
VAC = -^-^(Csin0)--|-(Cr)
r sin 6
dO
(7.137)
or
Combining equations
steady
(i.e. d(,ldt
is
0) gives
dr^
dO [sm 9 dO
E^
iCr sin 6)
V =
or
(7.139)
which
numbers.
The above equation
past a sohd sphere.
7. 10.2.
It is
will
assumed
the Reynolds
number
is
large.
is
small,
i.e.
that
+ ii.Vw=--Vp
^
dt
p
Using equation (7.101) to
alter the
(7.140)
gives
V^(i"'
+ ^) =
A (V
A II)
(7.141)
If the flow is steady, and the vorticity is zero, then the right-hand side of
equation (7.141) vanishes and the equation reduces to BernoulU's theorem.
p + ^u^
From
strictly true
when
it
const.
is
(7.142)
is
only
and
irrotational.
= Va(iiaC)-^
236
triple
V.;
= V.Vam =
+ ii.VC =
^
ot
gives
(7.143)
the vorticity
is
zero.
VA
/.
11
(7.144)
However, it was shown in Section 7.7.1 that if the curl of a vector is zero,
then the vector itself can be expressed as the gradient of a scalar point
function called a potential function. Thus, for an inviscid irrotational fluid,
the velocity can be expressed as the gradient of the ''velocity potential" </>.
Thus
u=
Combining equation
,^
Ars
(7.145)
-Vcf)
shows
V^0 =
(7.146)
This second order linear partial differential equation will also be solved in
Section 8.5.4 for the case of ideal fluid flow past a sohd sphere.
It is possible to express ideal fluid flow in terms of the stream function
i/^, and in the axi-symmetrical case equation (7.136) becomes
V =
(7.147)
because the flow is irrotational. Although the stream function representation is vaHd for both Stokes' flow and ideal fluid flow, the velocity potential
can only be used in ideal fluid flow. In viscous flow, equation (7.144) is not
valid, the system is not conservative, and energy is dissipated by the action
of viscosity. Therefore, for comparison of the two solutions, both must be
expressed in terms of the stream function.
7.11.
The
derived from
first
will be
be derived
it
will
by a vector method for comparison. The rate of flow of heat per unit area at
any point is proportional to the temperature gradient at that point; the
constant of proportionality being the thermal conductivity.
Using the
generalized gradient from Section 7.6 gives
^=-/cVr
(7.148)
ot
The
is
VECTOR ANALYSIS
7.
unit
volume
is
pCpT where Cp
is
Thus
237
--(pC,T) = -(V.Q)
(7.149)
Since space derivatives and time derivatives are independent, they are
Hence, operating upon equation (7.148) with (V.), assuming
that the physical properties remain constant, and substituting into equation
commutable.
(7.149) gives
^T
dt
Cpp
.^
= aV'r
or
(7.150)
ct
where a
is
is
dN
=-DVc
(7.151)
dt
where A^
is
concentration.
shown
is
is
the molar
it
can be
that
^ = DVh
(7.152)
Equations (7.150) and (7.152) have been derived for systems without
bulk motion, if a bulk flow is included in the derivation the time derivatives
have to be replaced by the substantive time derivatives (see Section 8.2.3)
and collecting the equations (7.126, 150, 152) together, the equations governing the transport processes are
+ M.Vr = aV^r
(7.153)
~ + u.Vc = DVh
(7.154)
-?
dt
+ M.Vw = vV'i/--Vp + F
(7.155)
These equations are seen to be very similar in vector form, yet equation
(7.155) is quite different, having two extra terms, and being the only vector
equation. The analogy between heat and mass transfer however is complete
if a and D have the same value. These points are discussed more fully in the
literature, t
t Klinkenberg, A. and Mooy, H. H. Chem. Engng Prog., 44, 17 (1948). Garner, F. H.,
Jenson, V. G. and Keey, R. B. Trans. Instn Chem. Engrs, 37, 191 (1959).
Chapter 8
PARTIAL DIFFERENTIATION
AND
PARTIAL
DIFFERENTIAL EQUATIONS
8.1.
Introduction
1,
the
to systems
Thus
described by an independent variable, either a distance or time.
ordinary differential equations were derived by considering the equihbrium
of an infinitesimal element and using Taylor's theorem to introduce the
In this chapter, problems requiring the specification of more
than one independent variable will be considered. An example of such a
problem is the change of the temperature distribution within a system as the
steady state condition is approached; when the temperature is a function
both of position and time. The diflferentiation process can be performed
relative to an incremental change in the space variable giving a temperature
gradient, or with respect to an increment of the time variable giving a rate of
temperature rise. These two first derivatives of the temperature have to be
distinguished from each other, and the first part of this chapter clarifies the
meaning of a derivative in a multi-variable system.
The formulation of partial differential equations follows the same rules
as given in Chapter 1, but the formulation of boundary conditions requires
more attention. The second half of this chapter is devoted to the solution of
partial differential equations by three methods.
Studying the boundary
conditions will often suggest a special kind of solution and this is the first
method. The more fundamental methods of separation of variables and
operators form the major part of this chapter and in chemical engineering
there are probably more examples of the use of these methods than any
other mathematical method.
In difficult problems, such as fluid flow, it is often advisable to formulate
the problem in cartesian coordinates or find the vector form of the differential equation directly. The vector equation can then be expanded into a coordinate system which better suits the shape of the boundaries of the problem.
For example, it is easier to specify a spherical surface by r = a in spherical
polar coordinates than by x^+y^ + z^ = a^ in cartesian coordinates. Thus
it can be seen that in problems involving more than one independent variable, the boundary conditions play an important part in determining the
coordinate system for the problem.
It will be shown later that the boundary conditions also influence the
derivative.
238
8.
239
choice of
equations.
tial
8.2.
u=f(x,y)
(8.1)
Fig. 8.1.
= /(jc, y)
map where
contour
plane. If
also
This derivative
is
written
fX
where y
is
is
written
du\
(8.3)
dyjx
is
MATHEMATICAL METHODS
240
CHEMICAL ENGINEERING
IN
Vw =
the gradient in the
du
du
ex
oy
i +7 =
gradu
(8.4)
(8.4)
in the
by taking
direction.
Thus
i.^u
du\dx
(8.5)
Using the appropriate unit vector the gradient can be found in any direction.
If br is an incremental displacement from P so that
br=^ibx^-jby
(8.6)
^"
= (r:)^-(|)*'
0-0
= {--]dx +
]dy
(8.8)
In general,
if
is
a function of
du\
= f -
which
is
Jxi
many
du\
-c/x2
x,
then
/ cu
+...+
is
8.2.1.
y=f(x)
then dy, the infinitesimal change in y,
''
is
related to
[i)'^
(8.10)
dx by
(8.11)
(8.12)
8.
241
(8.13)
(8.11) to give
d_f^_{^gldx)^dy
dx
dx
(dg/dy)
'
One important
separately.
To demonstrate
lowing example.
Example
1.
If
x^-hy^
for
giving
(a^-x^)^
dy
^ K-2x) ^
-X
dx
(a^-x^f
(fl2-x')^~
x2
+ /-fl2 =
III
x keeping y constant
gives
2x
IV
2y
8x
dg
Similarly,
dy
IV and
gives
dy
_
dx"
and eliminating y by using equation
Thus, equations
(8.14).
II
and VI are
2y
I,
dy_
dx
2x
(a-
'-x^f
VI
of equation
242
The above
two independent
9(x,y)
(8.15)
and hence
(8.17)
and thus
^^=0^^^ (1)^^+0^^=
(-i^>
(8.16)
and
(dFldy)
(8.19) gives
dg
dF/dx
dg
df/dy
dx^ ~
dF/dz'
dy^ "
df/dz
(8.20)
is
obtained,
it is
clear
that
0(1)='
and ehminating (df/dz) from the two equations
dxj \dgj
If z
is
(8.20) gives
(8.22)
\dxj \dF
d_y__ (dF/dx)
dx~ ~(dFWy)
and
(8.23)
(8.24)
(i)(i)(l)=-'
giving further indication that partial derivative signs cannot be cancelled out.
8.
8.2.2.
243
variables,
<t>{u,v)
(8.9) to
dx
(8.26)
= z-du + ^dv
du
dv
(8.27)
dy
^
du
-r-
+ - dv
du
dv
(8.16), thus
\dx/
\dy/
The
dv
\_du
stant,
and hence dv
is
^Jw + ^jJ
du
dv
(8.28)
^
in equation (8.28).
dz
dg
du
dx du
dg
d(j)
d\j/
dy du
dz
= dz dx + dz dy
c-
du
dx du
dy du
^^
dz dx
dzdy
(8.29)
, ^x
Thus
if
Z =/(Xi,X2,X3,
...
xj
Xi=gi(Ui,U2,U2,...uJ
^2
^2("l.2.W3.---0
etc.
dz
dz dx.
dz
dx-y
dz dx
cui
oxiOUi
0X2 du^
dxdui
The number of
variables
variables n, but
m=
8.2.3.
On
is
pendent variables.
244
Applying equation
(8.9) to
y=f(x,ZP)
(8.32)
T=
(8.33)
g(x,P)
dT =
and
-^ dx
ox
Substituting for
dT from
df
df
-:^dP
(8.35)
oP
equation (8.35)
into
(8.34)
and
rearranging
gives
and here it is not advisable to replace (dg/dx) with (dT/dx) because the latter
term is ambiguous. It could be obtained from equation (8.32) at constant
y and P, or from equation (8.33) at constant P, yielding different results. If
the data is collected at constant pressure, dP = 0, and equation (8.36)
becomes
\Sx)
or
where the derivatives with one variable held constant are obtained from
equation (8.33), and the others from equation (8.32).
The above system is sometimes studied at constant temperature which
precludes the ehmination of dT between equations (8.34) and (8.35) because
dT = 0. However, a similar method will show that
'dy\
FxjT
A
perty
time
If a
fdy\
/dy\
.
fdP\
C4,r-(ik.e-:).
(/).
path
is
become functions
8.
245
dT
/dT\dx
/dT\dz
fdT\dy
/dT\
^^
^^'
where dx/dt,
of fluid velocity.
D/Dt named
The
u,
dy/dt
v,
and dz/dt
is
w, are the
components
Thus
DT _ /dT
~Dt
\dx^
='-'-(f)-(g)-f
<-'
or in vector form,
DT dT
+ .Vr
-=^
(8.43)
v are functions of
uv
(8.44)
dy
dy du
dy dv
dx
du dx
dv dx
dy
dx
8.3.
du
dv
dx
dx
diff'erential
needed to specify the system. The normal maximum number is four; three
coordinates defining position, and time. If the problem contains either a
246
inventory of inputs and outputs must include the behaviour at all six faces
of the space element, and not just two of the faces. The space element in
spherical polar coordinates has already been illustrated in Fig. 7.16 where
it can be seen that each face of the element is defined by keeping one of the
coordinate variables constant, and each edge of the element is defined by
keeping two coordinates constant. Thus, a version of Taylor's theorem can
be applied along each edge of the element, and the value of the dependent
variable can be estabHshed at each corner of the space element in terms of
its value at one corner and the three partial derivatives constituting the
Laplace operator.
These ideas can be better understood from actual examples, and in the
following sub-sections a few of the more common partial differential equations will be derived. The first derivation will be given in full to clarify the
method, but the later derivations will include many of the short cuts anticipating the result.
8.3.1.
in
One Dimension
Fig. 8.2.
One dimensional
heat transfer
one surface, it is required to determine the temperature as a function of position and time.
rate per unit area to the
Since the original temperature is uniform, and every part of each wall
is subjected to the same conditions, no heat will travel parallel to the
surface
8.
247
surface
surface.
single
dT
at distance
x and time
k ^
+ ^/
is
ar
dT
d
-/c + -
{<>
dx
t is
dt
dT
-k
dx
_ dT
d_
dx
dx
/
^A
+ -(-/c
^
dt\
c
<5r
dx/
dx
d
at time
at time
is
dT
d /
dx
dt\
-/c-- + --(
dT\-k)dt
dx
dx)
pCpTdx
is
/ is
Heat input
and time t+ St
at distance x-\-dx
.'.
(-1) dx
pCp
-z- St
Sx
=
,dT
d /
dT\l
St
Heat output
dx
dx
{<)
Sx
dx
dt
(1.25),
dx
iO
Sx styst
simplicity,
d /
dx
,dT\^
d^
dT\
dT
dt
92
MATHEMATICAL METHODS
248
IN
CHEMICAL ENGINEERING
is
constant gives
(8.46)
Taking the Hmit of equation (8.46) as 6t^0, the central term vanishes, and
introducing the thermal diffusivity (a) as in equation (7.150) gives
d^T
dT
-
dx-
dt
--^ =
which
is
It
(8.47)
vector equation (7.150) by expanding (V^) in cartesian coordinates and deleting all y and z derivatives.
8.3.2.
Mass
it
will
and output
Symmetry
Fig. 8.3.
Mass
symmetry
system is taken with its origin at the centre of the droplet. During its fall
through the column, the droplet moves into contact with liquid of stronger
composition so that allowance must be made for the time variation of the
system. The concentration will also be a function of both the radial co-
8.
249
due
(r) and the angular coordinate (6) but will not depend upon
symmetry provided that the z axis is vertical. Denoting concentration
by c, diffusivity by D and the r and 6 components of the continuous phase
velocity by u and v respectively, a material balance can be taken over the
element ABCD shown in Fig. 8.3. The element is defined in the normal
manner by allowing one independent variable to vary at a time, and the
diagram shows a section through what is in fact a ring-shaped element,
ordinate
(j)
to the
axis.
Area of face
AB
is
2nr^ sin 9 39
(8.48)
Area of face
AD
is
2nr sin 9 Sr
(8.49)
Volume of element
Material
is
2nr^ sin 9 39 3r
(8.50)
is
and molecular
diff"usion.
Thus the
two mechan-
It
AB =
luc
AD =
ivc
D] Inr^ sin 9 39
:j2nrsm93r
is
dc
39
- ^7;
from the expansion of Vc in spherical polar coordinates, equation (7.108). The output rates across CD and BC are obtained from the
corresponding input rates by using Taylor's theorem as in Chapter 1.
as obtained
CD =
rate across
Ddc\
(vc
\
BC =
27cr
sm93r
-\-
d9J
Accumulation
rate
d
-- \f
[vc
39 l\
dc\
1
- 2nr sin 93r\39
39
J
= 2'Kr^%m93r39-^
3t
Using the general conservation law (1.25) and cancelling the obvious terms
gives
5
uc
-t
D^]27ir^s'm939\3r-
3r
-3
[/
(
t;c
3c\
1
J27rrsin0(5r 39
2nr^ sin 9 3r 39
dc
MATHEMATICAL METHODS
250
CHEMICAL ENGINEERING
IN
dr
sin 6
rsmOdeW
dOj
velocity terms
(8.51)
from the
dc
V dc
+ -
+ C 11 (r^w) +
dc
rde
dr
dt
'?Jr
r sin
_D^d^
Ode
Vdr
~7dr K
\
(v sin 9)
/ ,dc\
dc\
d
sin
^
r^smOdeX
^0/
2
(8.52)^
But the term in square brackets is the expression for V.i/ given by equation
and is thus zero because of the continuity equation.
(7.118)
dc
V dc
dc
d ( ,dc\
dt'^^d'r'^rde
d /
^dc\
dr
which
is
8.3.3.
This important yet simple equation expresses the fact that in a flowing
fluid the mass of the fluid is conserved.
Figure 8.4 shows a rectangular
element of space the lengths of whose edges parallel to the three cartesian
Bl_.
-I
Volume element
Fig. 8.4.
by
w, V
and w
directions of u,
as shown,
v,
and
vv
6x
in cartesian coordinates
is
ABCD
8.
251
and
all
it
be ignored.
will
velocity
ABCD =
ADHE =
ABFE =^pwdxdy
Once
rates
pu dy Sz
pv dx Sz
Output
rate
d (pu Sy Sz) Sx
BCGF =p..x.z.i(p..x..)..
EFGH = puSySz +
through
dy
d (pw Sx Sy) Sz
CDHG ^ py^dxdy + oz
The mass of fluid contained
.'.
rate of increase of
mass contained
in element
Input Output
/ is
is t-
pSx Sy
(pSx Sy
Sz.
Sz).
Because
.*.
Accumulation
dp
ox
dy
oz
ot
(P) + |;M+|(p.)-h|=0
Taking the Hmit of equation
leaves
it
(8.55)
an
earlier
Since p
is
dv
a function of x, y,
dw
z,
dp
and
t,
its
dp
dp
dp
Dp
dp
dp
dp
dp
-Dr''Yx'"Yy^''dz^-dt
(''')
252
Combining equations
(8.56)
1
and
Dp
--TT
p Dt
which
is
(8.57) gives
du
7-
dx
dw
dv
+ T- =
^
dy
dz
(8.58)
^
8.4.
Boundary Conditions
In the last section the differential equation was found by taking a balance
The boundary
over an arbitrary element within the region of interest.
conditions can always be obtained in a similar manner by considering the
equiUbrium of the particular element which contains the boundary. The
variety of possible
boundary conditions
is
quite small
If values of the
dependent variable
itself
is
are given at
said to be of the
all
first
points on a
type.
Con-
x and
/,
at
= 0,
= 0,
t.
Two boundary
r=/(x)
(8.59)
T=
(8.60)
^(0
Equation (8.59) gives the temperature at all values of x for one value of /,
whilst equation (8.60) restricts the behaviour of the temperature at all times
at one value of x.
In the case of steady heat conduction in a cyHndrical conductor of finite
size, it is usual to use cyhndrical polar coordinates so that z = a defines
the end faces and r = Kq defines the curved surface. Hence both boundaries
8.
are defined
253
conditions of the
at
at
fl.
T=f(r,0)
(8.61)
r o
T=
(8.62)
9(z,e)
thermally insulated surface. It can be seen in these cases that the heat flow
rate is known but not the surface temperature. Because the heat flow rate
is related to the temperature gradient, this boundary condition is of the
second type, and two examples will now be considered.
Example
1.
is
subject to temperature
is thermally insulated.
Express this condition by an equation.
It is convenient to use cartesian coordinates in this problem, and the
boundary condition is derived by considering the infinitesimal element
I
Fig. 8.5.
Boundary element
residing at the boundary as shown in Fig. 8.5. Heat can only pass through
the faces of the element by conduction, and the rates can be found for five
of the surfaces using the same method as that used to determine the diff'erential equation for a general volume element.
254
dT
ADHE = -k SxSz
Output
BCGF = -k
rate
through
dT
dT
dxdz + i-k-SxSzjSy
d /
dT
ABFE = -k--Sxdy
oz
dT
5x ^y
DCGH = -
Output
\
EFGH = -k-Sy3z-\-l-k-dySzjdx
/c
(5x ^>;
dT
rate
through
dT
A:
(5z
dT
d /
is
The
dT
is
(after
some
SySzSx = pCp^^SxSySz
pC,+ k^^^SySzSx
d^T
-^ Sx
SzSy
-^
dy^
d^T
k -^ SxSySz
dz^
"
dT
+ k^ Sy^ Sz
4-
dx
dT
d^T
Due
it is
giving
,
Taking the
/d^T
d^T
d^T\
,dT
^ dT
becomes
^=
atx
III
dx
and
Example
2.
boundary condition.
cylindrical furnace
is
'
8.
255
metry, no heat will flow across the faces of the element given by 6 = constant, but allowances will be made for heat flow in the z direction.
One boundary condition, which is of the first type, is that the temperature
at
is.
Ti
The second boundary condition is that the law of conservation of heat must
be satisfied for the element shown in Fig. 8.6. The rate of flow of heat just
Fig. 8.6.
dTy
inside the
boundary of the
first
layer
is
k^aQdz-^, and
using Taylor's
theorem, the rate of flow of heat into the element across the face
Input across
a.i
CD
is
a.
CD =
= -k.aOdz^ +ikiedrdz-(r--^]
dr
dr\
dr /
dr\
drj
Similarly,
Output across
AB
dr
(z)
can be written:
Output
at face (z
<5z)
= -iaeSr-ikiT, + k,T^) +
Accumulation within the element
= y,C,,ae drSz -^ +
-iaBSr-ik^Tl + k^T^^d:
ip, C,2 a
&r5z
256
Completing the heat balance and cancelling the obvious terms gives
-k,a93z-^-[-ik,eSrSz-(r^] + k2aedz-^ +
dr\
dr
or
cr /
d ( dT,\
+ ik2e3rdz-{r^]+iaeSrSz^{k,T, + k2T2)
dr
= iaeSrSz-{pj^CpiT^+P2Cp2T2)
II
aTi
-ki-^ +
^
dr
,,
iki
^
Sr d / arA
8X2
{r--^] + k2^
dr
a dr\ dr
,,
\-
ik2^
^
Sr d / dT2\
r-r^ +
a dr\ dr
[
d^
+ iSr,(k,T, + k2T2)
dz-
= iSr-{p,C,,T,+p2C,2T2)
In the limit as (5r->0, most of the terms in equation
III
III
disappear leaving
1^/
dT\
rdr\ dr)
)2>
d^T
dz^
pCpdT
dt
Third Type,
Mixed
Conditions
8.
257
temperature (Tq) through a gas film giving a resistance which can be expressed
(/z), the boundary condition can be
stated thus.
Rate at which heat is removed from the surface = h{TTQ) per unit area.
Also, the rate at which heat is conducted to the surface internally = kdT/dx
per unit area. These two rates must be equal, and hence
k^-I
ox
= h(T-To)
(8.63)
The above derivation assumes that curvature, time, and other space variations do not affect the balance, thus using the results of the previous section.
Equation
(8.63)
is
direc-
tion of the
axis,
nate direction.
8.4.4.
is
correct as written.
Boundary Condition
by
stirring
is
-4na^D^^\
where
is
an
effective diffusivity,
and c
dC
V=
-ANna^D
dt
where A^
Sit
a,
is
the
number of
and equation
-,
is
the
is
the
dc
dr
at
4NnDa^
c=-\^^-
dc
a,
dt
II
258
8.4.5.
Initial
So
far,
has not been defined. For ordinary differential equations, it was stated that
number of boundary conditions was equal to the order of the differential
equation, but no corresponding rule has yet been discovered for partial
differential equations. It is possible, however, to give a guiding hint which
will help in the more usual problems.
Considering any one independent variable, say x, and assuming that the
dependent variable is a function of x only so that all derivatives with respect
to the other variables are zero, then the partial differential equation becomes
an ordinary differential equation in terms of x. This simplified problem will
require as many boundary conditions as its order and these must be given
at fixed values of x. This number of boundary conditions is frequently the
same as the number required by the corresponding partial differential
equation at fixed values of x. Treating the other independent variables in
the same manner gives the number of conditions needed at the boundaries
of the other variables. Thus, for the equation of heat conduction in one
dimension derived in Section 8.3.1,
the
d^T _ dT
=
a^
two boundary conditions are needed
(8.47)
at fixed values of
This rule cannot be relied upon in every
case but is meant as a guide for common problems. For example, if it is
applied to equation (8.55) it indicates that one boundary condition is
required at fixed t, two at fixed r, and two at fixed 9, and yet it is not normally necessary to specify any conditions at fixed
except that the solution
should repeat itself at intervals of In.
The boundary conditions lead to an important classification of partial
differential equations as follows. When only one condition is needed in a
particular variable it is specified at one fixed value of that variable, whereas
when two or more conditions are needed, they can all be specified at one
value of the variable, or some can be specified at one value and the rest at
another value. In the latter case, conditions are established at both ends of a
range of values of an independent variable and the range is said to be
"closed" by conditions at the beginning and the end of the range. Alternatively, if only one condition is stated, or all conditions are stated at one fixed
value of the variable, then the behaviour of the dependent variable is
restricted at the beginning of a range but no end is specified and the range
is said to be "open" as far as that independent variable is concerned. If the
range is closed for every independent variable, the problem is alternatively
named a "boundary value" or "jury" problem. If the range of any independent variable is open, the problem is called an "initial value" or "marching" problem. This classification affects the choice of a method of solution.
Thus the method of the Laplace transform, to be given in Section 8.8, can
this rule states that
X,
and one
at a fixed value of
t.
8.
PARTIAL DIFFERENTIATION
259
8.5.
The general solution of a partial differential equation is not often possible, but when the boundary conditions are taken into account useful
particular solutions can often be found. The methods given in this section
for finding such particular solutions are the simplest to follow but the most
difficult to initiate. In Section 8.7, the more powerful method of separation
of variables will be described, but again the resultant expression is a collecbecome of general use only when the
and 8.9 and they will determine general solutions for particular combinations
of boundary conditions classified in Section 8.4. However, a partial differential equation cannot be reduced to an ordinary differential equation by using
the Laplace transform, which is the most useful of the many transform
methods, unless all variables except one have open ranges. Thus the most
that can be obtained in nearly all cases is a particular solution or a combination of particular solutions, and very rarely can a general solution be
obtained. The particular solutions are complete and valid, and will satisfy
practical requirements but an individual solution has to be obtained for
each problem.
8.5.1.
Compounding
One
Variable
d^T _dT
^=
~
dx^
It is
T=f(q)
where
(8-47)
dt
xt"
(8.47)
can be written
(8.64)
(8.65)
n is any unknown constant, and q is the new variable. Equation (8.64) can
be differentiated partially with respect to both x and t as follows.
260
dT
_dfdq_
dx
dq dx
dx^
dT
- =
and
Substituting equations (8.67)
and
dq
(8.67)
T^2
dq^
df dq
=
-f^
dq dt
dt
d,
nxt"-'
df
(8.68)
-f-
dq
oit''"^=nxt"-'^
Using equation
(8.65) to eliminate
x from equation
(8.69)
(8.69) gives
.^"0 = ,r^|
The above
(8.0)
in particular they
n= -i
With this value of n, equation (8.70) becomes independent of
ordinary differential equation
d'f
df
a^=-i^^
di^^^^'^dq
(8.71)
t
giving the
(8.72)
The dependent
hence
it
integration,
df
,
=^e-^'/^
(8.73)
dq
where
is
a constant of integration.
gives
/=Berf(g/2Va) + C
T = B erf (x/2>/^) + C
or
(8.74)
satisfied
by equation
If
and
if
Thus equation
(8.74).
X
/
= 0,
= 0,
T=C
T = B-\-C
The
8.
261
8.5.3.
Superposition of Solutions
/l
2 +/2^^
du
du
+h-. +/5 ^
+/3 T-2
+/6 =
M1
+ W2
(8.75)
U2 are
(8.76)
dui
du2
dx
dx
dx
dx^
dxdy
dx^
dx^
dxdy
(8.77)
dxdy
etc.
Putting u = Uj, into equation (8.75) by using the set of equations (8.77) it
can be seen that = W3 is also a solution when Wj and W2 ^re solutions. This
is only true when the dependent variable u occurs once and once only in
each term of the partial differential equation, and the above argument can
obviously be extended to any number of independent variables and equations
of any order. Thus the important result emerges, that for a Hnear partial
differential equation, an infinite number of particular solutions can be added
together to give a further solution.
One particular solution of the heat conduction equation was found in
Section 8.5.1, and using the same symbols, a more basic particular solution
can be found by differentiating equation (8.47) with respect to x. Thus
^ dx^\dx)
~ dt\di)
262
Combining equations
ex
.*.
r=
Ar-^6-^'/*'
(8.78)
H=\pCpTdx
(8.79)
(8.78),
00
Because
is
performed with
that dx
constant.
dzy/octy
t,
all
2z\/(xt so
hence
00
H = IpCpA^foL^ e-'^ dz
The above
integral has
because
(8.80)
5.2.
H = pCp A\/(xn
a
= kA^/^
= k/pCp
(8.81)
(7.150)
Equation (8.81) shows that the amount of heat in the slab remains constant
for all time.
The
temperature distribution
initial
is
limit, as
t.
How-
ever,
it
8.
263
will
^r =
Using equation
t)
hours and
its
distribution
^(r-T)-*e-"'/''^'-^>
(8.81)
Qdx
kAs/nfa
5T = ^
.-.
Equation
(/
/'(f-T)-^e-^'/'*<'-^><5T
II
n
t which is
and t + ^t.
Hence the
all
sJ~\{t-T)-^e-^'l^'^'-'Ux
Equation
III
substitution
all
III
III
tz=
-mk-
I^
time
8.5.3.
is
of the
first
type.
264
d^T
dT
r=
T=
r=-.0,
at
at
jc
at
=
=
0,
II
To
III
dT
ox
L,
IV
The last condition takes advantage of the symmetry of the problem so that
no heat crosses the central plane. According to Section 8.5.1, the solution
which satisfies conditions II and III for an infinite slab is
Ti
= To-Toerf(x/2V^)
= Toerfc(x/2Va"0
is
= L starts to
rise,
equation IV
T2
is
/,
VI
The
VII
IV but as t
part of equation VII violates equation III. If a heated face at x = 2L causes
the temperature at x =
to rise at a certain rate, then a correspondingly
The
satisfy
distribution given
equation
VIII
III again.
Thus
=L
gives
8.
265
which can be added to equation IX. This process can be continued indefiand x = L Hke a perfectly reflecting
nitely, by treating each face at x =
mirror so that any source to the left of x = L possesses a corresponding
image source to the right of x L. Also, any source to the right of x =
must have a corresponding image sink to the left of x = 0. Thus the insulated face (or plane of symmetry) acts as a perfect reflector as far as sources
and sinks are concerned, and the constant temperature face acts as a reflector
which interchanges sources and sinks upon reflection. The complete solution
is
thus
T=
To
n
f=
XI
8.5.4.
u=-V(j)
and
V^cj)
II
be written
r^^ +
-T
^ ^(sin0-^)=O
r^dr\ drj
r^smede\
dOj
,
III
266
of the sphere is a, and the fluid flows with velocity Uq along the
= towards the origin at the centre of the sphere as
shown in Fig. 8.7, the boundary conditions can be written:
If the radius
axis of
symmetry
at
as
r-)>oo,
where u and
a,
IV
v are the r
v-*UQsmO
u-^ UqQOsO,
velocity u respectively.
Fig. 8.7.
Equation IV prohibits flow through the surface of the sphere, and equation
states that the flow at a large distance from the obstacle, in any direction,
is undisturbed parallel flow.
In order to solve equation III for these boundary conditions, equations V must be expressed in terms of by substituting
into equation I. Thus
<j)
or
Un sin 9
rdO
.'.
(f)
JjQrcosO
as r->>oo,
,'.
(f)-*
UQrcosO
VI
(l>=f(r) cos 9
'
Thus
VIII
dr\
drj
sin 9
39 \
39
{Ism9cos9) =
COS 9
dr \
drJ
d'f
dr^
Equation IX
is
sin 9
df
+ 2r^
" dr -2/=0
IX
'
it is
8.
it
2.5.
The
267
result is
f=Ar-\-Blr^
Substituting into equation VII gives the solution
(j)
To
A =
/.
But w
at
(Ar+Blr^) cos
Uq,
(j)
= (U or +Blr^) cos 9
.*.
gives
g)
satisfies
Xn
B = iUoa^
= L7o(r
^o(r + T^
which
XI
COS0
Xm
is
\l/
= iUor^(^-^) sin^
XIV
which can be checked by differentiating equations XIII and XFV and comparing the two expressions for each velocity component.
It is worth noting that the 9 component of velocity does not vanish at the
surface of the sphere. That is,
which means that there is slipping at the surface of the sphere. This is not
physically reasonable and is caused by neglecting the viscous term in the
equation of motion. The difficulty can be overcome by assuming that there
is a thin layer of fluid near any boundary in which viscous effects are important, and this is the basis of Prandtl's "boundary layer theory". The reader
is
^^ =
where the operator E^
is
ordinates as
'H
^^
dr"-
9\x\9
/
c)\lA
sin^a^/_L_#\
r^ d9\sm9d9)
()
268
xj/^^Uor^sm^e
r-^oo,
as
a which
a,
or at
a,
Equation
0,
=
^
or
0,
t;
-^=0
IV
cO
\l/=f{r)sm^d
Substituting into equation II gives
f 5sin^^\
Te \si^
de )
sin0 ^ (
^~^
VI
jy ~
2/
Denoting -rj
"2
replaced by F.
and VI
will
Therefore
V =
Substituting for
F in
IF
/d^F
(-^--y)sin20
~
\dr^
r
VII
/d^f
d"-
I,
If
dr"- Xdr"-
+
3::^-r234
r^dr^
Equation VIII
is
linear
dr^
3T--4/=o
r
rUr
VIII
IX
is
a solution of equation
(^r^ + Br^
I.
and
.-.
il/
To
+ Cr 4- D/r) sin^ 6
satisfy
boundary condition
A=
B = iUo
= {iUor^ + Cr-^Dlr)sm^9
III
XI
8.
269
I
and
iUoa^ + Ca + Dla =
XII
Uoa + C-Dla^ =
XIII
>l'
= iU.r'(^l-l"+\^ymH
XIV
XIV
into
^sine
XV
8.6.
Orthogonal Functions
is
this set
of functions
Two functions 0(x) and (l)j(x) are said to be orthogonal with respect to
a weighting function r(x) over the interval from a to Z? if
b
r(x)
(l){x) (/),(x)
dx
(for
^ n)
(8.82)
Thus,
Um
270
Example 1. Show that the functions sin nx and sin mx are orthogonal
with respect to unity in the range O^x^tt, for integer values of m and n.
from the trigonometrical
Starting
2 sin nx sin
identity
cos (n
mx =
m)x
cos {n + m)x
sin
nx sin
cos (n
mx dx =
m)x dx
[sin (n
cos (n +
- m)x]S
n
+m
m)x dx
[sin (n
II
+ m)x]5
=
because the sine functions vanish at both limits of integration.
the first integral in equation III becomes
If
m=
n,
jdx =
fO
p
\
sin
mxdx =
nx sin
if
which
is
8.6.1.
n^m
^^
<
[ 7r/2 if
This
III
71
=m
is
differential
ix \^^^^ S]
where A
is
that the
first
"^^^^^
^ ^'^^^^^ ^
^^-^^^
[pW^] +
and
Multiplying the
^p(x) ^]
first
lq(x) + Xr(x)-]cl>
[q(x) + X^ r(x)](/>
from the
first
gives
(/>,
and sub-
8.
x from aio b
iX-uJK^)4>A.dx =
[pix/-^] dx
J^|^
-J4>.l [pwf]
dx
gives
271
(^-'^jj
r(x)(l)<t>dx
(8.85)
Hence the functions (l)(x) and (/>^(x) which correspond to two different
and X) of the constant, will be orthogonal if the right-hand side
of equation (8.85) is zero. It is possible for the function on the right-hand
side of (8.85) to have the same value at both Umits and thus cancel itself out,
but it is more usual for the term in brackets to vanish independently at both
limits. The term is zero when p(x) =
at the Hmit or when the boundary
conditions are suitable. When the same boundary conditions apply to every
values (X
at
A
(ii)
(iii)
at
<l>n
= a.
dx
at
a,
X,
=
= (t>m =
y
^
dx
a.
dcj>m
dx
P<t>m
Therefore,
conjuction with
X.
MATHEMATICAL METHODS
272
IN
CHEMICAL ENGINEERING
It should be noted that the conditions given above for the solutions to be
orthogonal are more restrictive than the three types of boundary conditions
Condition (i) states that the boundary value of the
listed in Section 8.4.
dependent variable must be zero and cannot be a function of another independent variable. This condition can be relaxed a little to allow the dependent variable to have a constant finite value at the boundary by moving the
origin so that the new dependent variable will be zero at the boundary. If
condition (i) is used at both boundaries, the origin cannot be moved to two
different places, but one method of overcoming this difficulty will be described
in Example 2 of Section 8.7. Thus most type 1 boundary conditions will give
rise to an orthogonal set of solutions to a Sturm-Liouville equation, provided
that there is no dependence upon another independent variable.
There is no easy way of extending condition (ii) to include a constant
gradient at the boundary, hence only a vanishing derivative of type 2 boundary conditions will give orthogonal solutions. The same remarks apply to
condition (iii) as to condition (i). That is, any type 3 boundary condition is
suitable provided that only one movement of the origin is required to bring
the condition at both boundaries to one of the forms (i), (ii), or (iii). Condition (iii) does include conditions (i) and (ii) as the special cases ^ = oo, and
respectively.
Finally,
8.4.4
is
equation.
Method of Separation
8.7.
of Variables
When
a dependent variable, say T, is related to two independent variables X and / by means of a partial differential equation, the solution will be
of the form
T = F(x,0
The method of separation of variables looks
(8.86)
form
T=/(x).g(0
where the functional dependence upon x
upon
/.
(8.47)
is
(8.87)
sufficient to
show
The procedure
new
is
is
form
(8.87),
one.
to follow in this
8.
273
The
three
most
common
aV^T =
(8.88)
dt
for convenience.
DV'c =
(8.89)
Equation (8.88)
d^T
form
_dT
0^2=-^
dx^
Assuming
then
and
(8-47)
dt
by
T=f(x).g{t)
(8.87)
^^l=f(x).gV)
(8.90)
:^2=rM-9(t)
(8.91)
dx'
af'g =fg'
The
-V
(8.93)
all
by
ocfg,
thus
is
(8-93)
independent of
time.
and the
ratio /"//
must be
and
r + A/-=0
(8.94)
+ Xocg =
(8.95)
g'
MATHEMATICAL METHODS
274
IN
CHEMICAL ENGINEERING
Equations (8.94) and (8.95) are both linear ordinary differential equations
with constant coefficients and the solutions are
and
if
(8.97)
/=.4o + BoX
(8.98)
g
is
(8.96)
not zero; or
is
and
if
zero.
CQ
(8.99)
solutions
T = Ao^-BqX
T=
and
(^^sin
(8.100)
(8.101)
where the arbitrary constant Cq has been "absorbed" into Aq and ^o^ ^^^
the subscripts X denote that the arbitrary constants in equation (8.101) will
depend upon the choice of X.
Ax, Bx, and X must be chosen to satisfy the boundary conditions
simplest assumption will be made that
at
and
To
at
satisfy
gives
Aq =
= 0,
= L,
T=
T=
and the
(8.102)
(8.103)
and
=
which means that Ax
Ax{sm^/JL)e-^''
unless
y/XL = nn
(8.104)
Hence, the only solutions of equation (8.47) having the form (8.101) which
also satisfy the
T=
/lsin^e-"'''/^'
(8.105)
where n
r= f A^sin'^e-"'^'''^'^'
L
n=l
(8.106)
T=/o(x)
when^ =
Therefore
fo(x)=
f^sin^
(8.107)
(8.108)
8.
275
L.
/o(x)
sm
-^-dx= L
^n sin
sm
dx
L
1^
sin^j
by using the orthogonaUty property
(8.82).
dx
(8.109)
A=-jfo(x)sm
dx
(8.110)
which can be evaluated from the known initial distribution /(a:). Substitution of the value given by equation (8.110) into equation (8.106) gives the
final solution
r=
IJsin^ J/o(x)sin^Jxe-"^"'/^^
(8.111)
convenient to introduce the nomenclature of the method in relationThe method relies upon the feasibility of
separating the variable dependence as in equation (8.93) so that a "separation constant" (-A) can be introduced. This constant can be zero, positive,
negative or even complex, and the choice is usually made on a physical basis.
The A used in the above calculation has to be real and positive to make the
solution of equation (8.95) physically reasonable.
Thus equation (8.97)
gives the time dependence of the particular solution as a decaying exponential for positive values of L If A were complex, its real part would have to
be positive to control the temperature at large times, and its imaginary part
would introduce hyperboHc functions into equation (8.101). The hyperbolic
cosine term would be removed by condition (8.102) and the hyperbolic sine
term by condition (8.103). Hence only real positive values of A are permitted
by the boundary conditions. It is not always possible to substitute the right
form for the constant initially, but the right form is usually apparent at a
later stage. In most of the illustrations of the method in this book, the most
It is
276
convenient form will be chosen at the start for ease of presentation, although
in an actual problem this form would not be known.
Any other constant (such as a in the above problem) is normally transferred to the simpler side of the separated equation (8.93) for algebraic convenience. When the equivalent of equation (8.104) is reached, the separation
constant is usually restricted to an infinite number of discrete values which
can be labelled by an integer suffix. Thus
A
(nnlL)'
(8.112)
called the "eigen- values" of the problem because they are the
only permitted values of the separation constant. The functions arising from
By comparing
the ordinary differential equation and its boundary condiwhich determine the eigen-values with the conditions given in Section
8.6.1, the orthogonaHty of the eigen-functions can be proved without the
necessity of performing the integrations. Hence, the last set of arbitrary
constants is determined by the orthogonaHty property.
tions
8.7.2.
was derived
the
0,
more general
gives
d I
,dT\
,a^T
dT
d /
dT\
d^T
dT
'^^^'Tr^W^''''^ = '
(8-113)
T=f{r)g{e)
(8.114)
+ 2rf'g+fg" + cotefg' =
(8.115)
.jriM'=_^_:^' =
,(,^i)
(8.116)
in this case
is
/(/+!) for
''t^ +
2'-t-
-'('+!)/=
(8-117)
8.
which
is
f=Ar"
(8.118)
n{n-l)Ar" + 2nAr"-l{l+l)Ar"
.-.
:.
.-.
+ n-l^-l =
(n-/)(n + /+l) =
.-.
which
277
n^
f=Ar' + Br-^-'
(8.119)
The second
g + cot0^ + + % =
/(/
(8.120)
m=
and
QOsQ
dm = - sin 9 dO
it is
(8.121)
Hence,
(l-m^)^ - 2m^ +
l{l+\)g
(8.122)
.-.
indicial equation
is
found by equating
c(c
.-.
Equating
1)^0 =
c =
or
coefficients of
(8.123)
nf~^, hence
(8.124)
The recurrence
(s
relation obtained
+ l)cai=0
=
or fli =
by equating
+ c + 2)(5 + c + l)a,+2 =
(s
(8.125)
coefficients o{
nf^^
+ c-/)(s + c + + l)a,
/
is
(8.162)
The
roots of the indicial equation differ by an integer, but since a^ is indeterminate when c = 0, the solution falls into case Illb and the method
yields
3.5.5, the
M.M.C.E.
10
MATHEMATICAL METHODS
278
IN
CHEMICAL ENGINEERING
+ 2)(5 + lK+2 =
(s-/)(s +
+ lK
(8.127)
2p will give the recurrence relation governing the series multipUed by Qq, and putting s = 2/7+1 v^ill give the other series multiplied by
a^. Thus
(8.128)
(2p + 2)(2;7 + l)a2p+2 = (2p-/)(2p + / + l)2p
Putting s
and
(8.129)
space,
(2n-lH2n + l+l)
u^,
"'
where the symbolism of Chapter 3 has been introduced and the terms have
been renumbered. After some algebra, equation (8.130) can be put in a form
suitable for Gauss' test (Section 3.2.5) thus
4n^ + 2n-l^-l
'n+l
where
As
f(n)
==
n^
4n^^2n-l^-l
^'''''^
Gauss'
test.
Similarly,
it
= (0)(3)a,
^3 =
= a-j = ag =
=
(3)(2)a,
i.e.
.*.
a^
...
is
8.
is
thus
g=^APim) + BQim)
where QJim) denotes
grounds and
it is
279
(8.132)
well to
will
T=
(>l,r'
+ B,r-^-i)P,(cos0)
(8.133)
Again, any number of these solutions can be superposed for integer values
of / giving
7
=
1
{Ay + Bir-'-'^)Picose)
f
=
(8.134)
dm <'-''S
which shows that
it is
/(/
+ 1)^ =
(8.135)
= ^.^ni^'-^r
(8.136)
2"n\dx'
which gives
Po(x)
P2W = 3x2-l)
P,{x)
P,{x)
= \{5x'-3x)
^^-^^^^
\
etc.
for the
first
few polynomials.
T = r2+r3cos^ +
T^^cos'^e
How
should Ti, T2, T^, and T^ be plotted against heat input so that the
thermal conductivity of the insulator can be found from a straight line plot
of results for different rates of heat input ?
MATHEMATICAL METHODS
280
IN
CHEMICAL ENGINEERING
7=
(Atr'
a,
T=
Tj^
at
b,
T=
T2
+ Bir-^-')Pi{cosO)
in the
problem
(8.134)
are:
T^PoicosO)
+ T2Cose + T^cos^e
(8.137).
II
(8.134) gives
f=
f= o (Aia'-^Bia-'-')Pi(cose) =
T^PoicosO)
III
(Aib' + Bib-'-')Pi(cose)
(T2
IV
Multiplying both sides of equations III and IV by P(cos 6)d(cos 6), inte0^9 ^n, and using the orthogonahty property of the
Legendre polynomials amounts to the same thing as equating coefficients of
the same polynomials in equations III and IV. For example, multiplying by
Pi (cos 9)d{cos 9) and integrating would remove all terms from both sides
grating over the range
Ao + Boa-' =
Aia' + Bia-^-^
Hence,
9).
T,
(for
^0 + ^0^"' =
7^2
A,b + B,b-^ =
7^
>
VI
0)
+ 17;
VII
VIII
A2b^ + B2b-^=iT^
Aib' + Bib-^-^
IX
(for/>2)
The
a
is
of equations
rate at
which the
to
away from
given by
jt
Q=^ -kilna^'f^)
sin 9
d9
XI
8.
equation
XI
gives
i^
Q=
281
00
llAia'-'-(l + l)Bia-'-^}Pi(cose)smede
-27r/cfl'
I
= -2nka^
[lAia'-'-(l + l)Bia-'-^]
Pi(m)dm
XII
Q=
.-.
47ik
XIII
Bo
Ao + Boa~^ =
of equations
set
to X.
Ti
Ao + Bob-'=:T2+iT4
4
_
Bo(a-'-b-')=T,-T,-\T^
Bo=~(T,-T^-\T^)
:.
XIV
e = ^(r,-r,-iT,)
ba
Therefore,
if
is
plotted as ordinate
XV
as abscissa, for a
from which
d^T
2
do)^
J_^ +
+ 0)^
Z2i^
0) do
d9^
is
]^dT
djj
T:i7:
dz
^=
governed by Laplace's
(8-138)
where there are three independent variables a>, 6, and z. This equation has
to be solved in stages and solutions are first sought in the form
T=f(co,e).g(z)
Substituting this
(8.139)
(8.138) gives
+ -5r,s + -i^9+/9" =
ir^ + i^ + ^]=Z^=_,2
(8140)
MATHEMATICAL METHODS
282
CHEMICAL ENGINEERING
IN
where -v^ is the chosen separation constant. Each side of equation (8.140)
must still be constant because a function of co and 9 is equated to a function
of z only.
The second half of equation (8.140) gives
^2-^9 =
(8.141)
(8.142)
The other
A,e'' + B,e-'"
.2^
co^T-^
^-^
+ co-^+
,
,..
^ + co^vy=0
^ ^
_2,.2
(8.143)
which has only two independent variables. Applying the rr.-thod of separation of variables again, by looking for solutions of the type
f(co,e)
.-.
Dividing by
FG
F(co).G(e)
(8.144)
(8.145)
variables gives
(o^v^
^ = k^
(8.146)
first
(8.
147)
+ ((o^v^-k^)F =
.'.
x^^ + x^
+ (x^-k'')F =
dx
(8.148)
(8.149)
<ix^
which
V real as
chosen.
F=
AJ^(x) + BY,,(x)
(8.150)
but at the axis of the cylinder, Yj^x) = Yk(va)) is infinite and thus B =
on
physical grounds. Combining equations (8.142, 147, 150) gives the particular
solution
T=
(A,e''
+ B,e-'')cos{ke + )J^(va))
(8.151)
8.
283
and
summation.
BesseFs equation (8.149) can be rewritten as
d f dF
(x^-{x-k''x-^)F =
dx\
which is of Sturm-Liouville type with a weighting function {Ijx). The range
of integration is dependent upon v because of equation (8.148) and it is not
However, for suitable
useful to proceed further with the general case.
boundary conditions, the eigen-functions will be orthogonal because equation
(8.149) is of Sturm-Liouville type.
8.7.4.
of Sturm-Liouville type
and the boundary conditions are suitable, the solution of the complete
partial differential equation takes the form
(8.83)
T = aofomoM + aj,m,{x) +
where
t is
. .
+ aJMU^) +
and
<t>(x)
(say
= Ao0oW + ^0i(x)+...+^(^(x)+...
r(x)<t)ix)
ir(x)f{x)<l>Mdx
(8.152)
in the infinite
sum
The
are orthogonal.
f
0,
(8.153)
Act>(x)r(x)(l>Mdx
(8.154)
when n = m.
jr(x)f(x)cl>Mdx
= JArix)l<l>M?dx
or rearranging,
b
!r{x)f(x)^Jx)dx
A =
I
8.7.5.
(8.155)
'-,
r(x)l4>{x)ydx
equation
is
MATHEMATICAL METHODS
284
CHEMICAL ENGINEERING
IN
obtained, but the terms in the infinite sum are not zero. Instead of each
equation (8.154) being solvable for A, each equation contains all of the
^^s and thus an infinite set of equations, each containing an infinite number
of unknowns is obtained. Such a system of equations is normally insoluble
and an approximate solution has to be found by assuming that A-j, A^, ....
etc. are all zero and solving the first six equations for the first six coefficients. The accuracy can be improved by taking an increasing number of
equations and coefficients, but the effort is rarely worth while and six equations
is
Example
2.
A solid rectangular
and maintained
two ways of
find-
still
illustrated below.
face
its
is
Find how
is held constant at Tq.
with time.
Because the edges are insulated, heat will only flow in one direction and
equation (8.47) will describe the process. The solution follows the method
given in Section 8.7.1 identically until the particular solutions (8.100) and
(8.101) arise. The boundary conditions can be written:
face
= 0,
= L,
at
and
at
These do not
satisfy the
r=
T=
To
T^
II
Substituting equations
and
8.6.
To
= Ao
III
T,=Ao + BoL
Hence, the particular solution
IV
is
T=^To + (T,-To)xlL
and
Z=
VI
r-To-(Ti-ro)x/L
dx^
dt
= 0,
x = L,
at
and
at
new equation
T replaced
by Z.
The boundary
Z=
Z=
in
terms of
VIII
IX
are
now
solution
is
T replaced
by Z.
completely
Hence, the
In the present
8.
problem, the
final
is
285
Tq at
all
Z = -(Ti
X with
Comparing equation
when
Tq)xIL
/oW=
XI
-{T,-To)xlL
L
[
J
nnx
nnx
T^-Tol
r
X cos
/oW sin L dx = nn
L
.
cos
J
1^
nnx
dx
L
JQ
Zii::Z2r(_i)"L]
XII
nn
by integrating by parts and simplifying.
Z=
y
=
{-mT,-To)sm'^e-"'^'^'^'^'
XIII
nn
^^:^ =
Ti-Tq
-+
-(-l)"sin
E= onn
L
e-"^'^^-/^^
XIV
the boundary condiand II will not give an orthogonal set of eigen-functions, involves
finding any particular solution (such as V) which satisfies the conditions and
defining a new variable (Z) so that the new solution consists of an orthogonal
set of eigen-functions. In this example, the first eigen-function is given by
equation V and provided it is removed from the others an orthogonal set
remains and the method can be pursued as if it were normal.
tions I
The problem is illustrated in Fig. 8.8. where the vertical velocity C/ ft/sec
considered to be a function of the radial coordinate r and the vertical coordinate z measured from the inlet. It is assumed that a normal diffusion
equation
is
dU
V=-D
dr
appHes to the velocity distribution.
fluid velocity
ties.
will
t Porter,
and
D ft is
F ft/sec
is
the horizontal
component of
K. E. and Jones, M. C.
Trans. Instn.
Chem.
286
Output
dU
= InrU dr D
--Inrbz
dr
= 2nrUdr +
dU
d (InrU Sr)dz '-D-2nrSz
oz
Accumulation
dr
[D
dU
InrSz]
\
=
d / dU
\
- -(D-2nrdz]dr
^Q
{InrU dr)dz
or\dr
dU ^d / dU\
'Tz=''drV^)
dz
"
dz
II
III
[dr^ '^r'di^J
Flow
Fig. 8.8.
At
d /
dr\dr
in a
packed column
are as follows.
0,
<
if
if
r>a,
a,
U = Uq
IV
and
at
0,
U=
must be
finite
The
final
the walls
8.
287
wall.
at
dU
dU
dr
oz
-D-2nb = 2nbk--
b,
dU
dU
= k-^D
oz
or
i.e.
VI
The problem is thus to solve equation III, satisfy the initial condition IV,
and satisfy the boundary conditions V and VI. Trying the method of separation of variables by putting
VII
U=f{r)g{z)
.-.
= D(f"g+f'glr)
fg'
^J.1PL=_,2
Dg
where -a^
is
VIII
f
The
first
gives
^ + a'Dg =
dz
indicating that a
.2*^ J
^^J
+
X
IX
A'e-''"^'
r-f
correctly.
22
+ a^rY=0
=
a
0,
ifa
0.
if
AJo(ar) + Byo(ar)
XI
or
/=^o + ^olnr
Since Yq{0)
Bq
= B=
0.
= oo
The
and InO
= oo,
XII
boundary condition
V asserts
that
if
oi
if
= 0,
# 0,
U = Ao
"'^'^^
1/ = AJoio^r) e
XIII
XIV
XIV
D^a7i(a6)e-"'^^
by using equations
Simplifying equation
(3.88)
and
-kA^oi''DJo((xb)e-
''"'''
XV
XV gives
Ji(a b) + kaJo(oi b)
XVI
MATHEMATICAL METHODS
288
IN
CHEMICAL ENGINEERING
Thus
U = Ao+
XVII
Y. AJo{ocr)e-'^'^'
where the eigen-functions are zero order Bessel functions of the first kind.
It can be shown by rearranging equation X that it is of Sturm-Liouville
type with a weighting function r. Boundary condition VI is not one of the
types Hsted in Section 8.6 and hence the eigen-functions will not be orthogonal. Nevertheless, the usual method can be followed by putting z =
and multiplying equation XVII by r Jo(ocr) and integrating. This gives
b
Ul^orJo(^r.r)dr
''
00
AorJo(cc^r)dr
+
"
X
"
^n
^
Jo(^
r)Jo(of,, r)r
It is
first
term becomes
b
^r
XVIII
Thus
the
^\z = ofJo{^mr)dr=
U qvJ ^i^x^r) dr
=
by using equation (3.88) with k
\.
XIX
U,aJ,{oi^a)loi,
term gives
= AqB
AorJo(<xj)dr
J^(cc^b)lcc^
= AokbJo(oc^b)
Taking a general term with n
equation (3.92) gives
r
An
JoKr)Joi<^mr)rdr
9^
from the
infinite
XX
sum and
using
Ah
-Y^[ocJo(cc^b)J^{ccb)-cc,Jo((xb)Ji(ci^b)]
^"
^
an
-am
in the series
when
XXI
used.
Crank,
J.
Carslaw, H.
S.
Press (1947).
8.
AjlJo(v)yrdr =
289
ifoM[J?(afo) + J?(a^6)]
XXII
by using equations (3.97) and XVI.
Combining equations XIX, XX,
Ji(o:^a)
am
Completing the
infinite series
XXIII
kAbJo{oi,b)Jo(oi^b)
A^b JliccJ))
twice
Ji(a.)
= -A,b
am
XXIV
-kbJoioi^b)tAJo(o^nb)
But when z
and
b,
equations IV and
= ^0+
XVII
give
XXV
t^nJoio^nb)
n=l
Because
all
XXV
occur in equation
XXIV
with a
Una
-Jii^mO) = ^AJb^ + 2bk + b^eal)Jl{oiM
XXVI
It is
all coefficients
U = Ao+ Y
^,
except
IUqU
a
Ji(cca) Jo(ccr)
{b'
,-alDz
+ 2bk + bVoi')Jl(ab)
XXVII
at large values of z,
a^Uo
b{b
+ 2k)Ao
F=
XXVIII
in the packing.
is
given by
27ibkU
noHTo
2k
6
+ 2/c^t^i
Abk
aa {b^
J,(afl)g-''^"
+ 2bk + b^k^al)Jo{^b)
XXIX
mathematical methods
290
in
chemical engineering
8.8.
is
is
must be evaluated
Example
infinite
medium.
Solutions of the linear heat conduction equation in a semiTaking the now familiar form of the conduction equation
(8.47),
initial
at
condition that
r
0,
T=
Because
;c
and
t
are independent variables, then
L^x'J
~ d
II
To
as follows.
8.
I is
a3 = sT-To
Equation
III is
291,
ffl
the solution
T=
q^
where
/le-^ + Be*+ro/s
IV
s/a
at
0,
r=Ti
0,
T = TJs
VI
at
As X approaches
finite.
Therefore
infinity,
B=
EUminating
VII
from equation FV
gives
r = (ri-To)(e-^5) + To/s
Inverting by using transforms 83
and
VIII
movement of a
(8.78)
IX
was the solution
body
the heat is initially concentrated at the surface. This solution will now
be derived from equation IV.
If all of the heat is at the surface initially, then Tq = 0; and since B =
to satisfy conditions at infinity, equation IV becomes
when
r = ^e-^
If the total heat content
H=
'
is
X
constant,
pC.Tdx
(8.79)
XI
MATHEMATICAL METHODS
292
Using equation
for
T and
integrating, therefore
HA
7r-
pCpS
Cs
Eliminating
A from
CHEMICAL ENGINEERING
IN
equation
= -=
a
q
la
Aj\
XII
gives
XIII
pCpsjoL
^i
\ls
r=
XIV
r^e-"'/^-^
pCpVaTT
which
is
In Example
equation
at
dT
Q=-i^
0,
XV
ox
Taking the uniform initial temperature as the datum and applying the
physical Hmitation on the temperature at infinite depth, equation IV simphfies
to
r = ^e-*
XVI
at
Substituting equation
XVI
ks^ = -ox
0,
XVII
gives
-Aqe-^''=
-Aq
into equation
-Q
-^=
XVII
ks
:.
A=
XVIII
Qlkqs
j^Q:l^^-3/2^-^Jiix
XIX
which
is
the
same
J Vtct
by equation
example.
8.
At the surface
(x
0),
XX gives
equation
2Q
lou
'at
k
as in
Example
1,
293
XXI
at
at
Because condition
(8.47)
is
as above,
=
=
=
T=
T=
T=
0,
0,
L,
To
11
T,
III
I is
f=
q^ =
where
at
at
is
^e-^ + 5e^^ +
IV
ro/s
s/cc
=
=
II
and
III gives
T = To/s
T = TJs
0,
A and
IV
To
B,
VI
VII
gives
T=
'
'
VIII
The
the
qL
or
inn
(i.e. s
ccn^n^/l})
The
simplest
is
(Ti
method of evaluating
Section 4.16.1.
Tq)xIL
XI
is
to express equa-
Thus
f^
T,-To sinh(Vs/ax)
s
'
s'mh(yJsl(xL)
Tp
^
^^
294
The
residue at s
is
cosh(\/s/aL)
Sn
or using equation X,
inn
Adding
1
cosh(i7t)
all
mtc
last
term by transform
=7+1 -(-D-sin^e-"^"^-/^^
J^
L
Ti-To L %nn
as in
Example
Example
example
3.
2,
XIII
0,
T=
at
0,
T=
at
L,
dT
- =
II
To
dx
Solving as in Example
above gives
T=
where
q^
/le-* + Be^*
0,
s/cc
IV
are
T=
VI
at
dT
L,
ox
A and B
VII
in equation
IV
gives the
transformed solution
last
it is
example, but
necessary to
The method
is
8.
-^^'^){\-e-
2qL_
4qL^-l
4,L_^^-8.L^
e-^"(l-e--2^^)(l4-e-
= ^-^1-^'-2qL_^^-4gr-_g-6L_^g-8qL_
00
= Z(-i)"'^-(2nL + *)
n
Similarly,
it
y
n
Substituting equations
IX and
r=
IX
/_l\"g-(2nL+2L-x)q
X into
VIII, using
tables, gives
To
XI
^+1^ = 1^
dr^
where
oil
rj
is
dr
,.
the permeability, h
is
is
assumed to be uniform
at Pq.
If
Inrkh dp
\im
r->o
is
dt
where k
rj
/^
II
^r
and
/i is
the
coefficient of viscosity.
t Crank,
J.
Carslaw, H.
S.
Press (1947).
296
Transforming equation
dp
_
po
p=
2+7^--p=-r dr
ni
rV^
IV
d^p
4-
dr^
rj
t]
Putting
X
x^
which
is
- x^p=
x
dx
^ +
dx^
VI
^ =
p=^BKo(x) + pols
Transforming boundary condition
VII
II gives
= lin,2_^l^
r-o
/o(0)
and
1,
VIII
dr
A^
as
IX
Ko(x)^-\nx
Therefore, near the base of the well, equation VII becomes
p^ -B\nx =
-Blnir^Js/rj)
q
-
InrkhB
,.
lim
InkhB
5^^ifi^_
2nkhs
^^
XI
XII
= a Ko(r^/slri)
Po
1
transform by
s,
as
shown by equation
Xlll
(6.21),
t is
equivalent to dividing
its
P--JI-^e-^'"''dt + p,
Putting
and hence
dt
XIV
XV
r^l4rjz
4r]z^
8.
297
20
XVI
dz + pi
where Zq
r^jArjt.
Example
=
4nkh
EK-r^l4r]t) + Po
XVII
falling film.
5.
A wetted
Fig. 8.9.
is
upon
assumed to
parabolic
and
298
dc
Input rate
vcSx Dzr^^
ox
Output
vcdx
rate
Consumption
where
is
rate
dc
d
~-(vcSx)5z D^-dz
ox
dz
d /
t-
dx\
dc
dx
Ddz]Sx
kc dx Sz
the concentration of
in the liquid,
dz
Transforming equation
dx^
svc + D^ =
kc
dx^
D-7^-(/c + st?)c =
II
dx
d^
D-j-:2-(k + sV)c
III
dx'
As x
A'
X'exp(xy^) + Bexp(-xy^)
At
:c
0,
must decrease
to zero,
Cq
Cq/s
c,
6.2.2),
IV
and hence
8.
299
gives
l~V~
fx
x^V
Putting
a^
= x^F/4D
and
p^
kz\
^^
klV
VIII
It is diflScult to
o'^
Co
and hence
r^
its
+ p^z-2aP
z
dr=(^-^^-^)dz
and
into equation
IX
to give
00
/.
Coe-^'^eifcf-^
py/zj
CqP
-p=exp( -
- - P^z\dz
XI
If the sign
altered in
result.
Thus
z
Coe^-'erfc^-^
V^sT^ +
Co;8
-^exp(--^ - jJ^z) dz
XII
by 2 and returning
300
to the original
+
The point absorption
iexp(xy^)erfcg7^Vy)
R=
Transforming equation
final result
XIV
"I
is
given by
XIV
x=
gives
R= -D
dx
and substituting
for c
XIII
from equation
Dco
XV
x=
gives
k\
IV (
XVI
Inverting equation XVI by using transform 38
(Section 6.2.2), therefore
R=
:.
Cos/oVe'
kz/V
and the
shifting
theorem
'k
V
Vt.^JP'"'^^^'^"']
R = Co^/kD [erfV/cz/F + V^/^exp (- fcz/F)]
XVII
arbitrary limit
Fig. 8.10.
chosen as c/cq
Approximation for
erfc
is
002,
shaded area.
8.
301
constant multiple of the area of the triangle formed as shown by the tangent
to the curve. Putting
h=-^e-'"
dh
7'-
dy~
XVIII
-y'
2yh
dh
_ -h
dy
a
:.
XIX
iy
where
K is
XX
= iKha
Substituting for h
erfc3;
Evaluating
K=
1-71.
K by putting y
Hence
= ^e"^'
on both
1-5
XXI
sides of equation
erfcy=^(0-484/3;)e-^'
XXI
gives
XXII
Ify = 2-5, the error in equation XXII is less than J%, and if >^ = 1, erfc y =
0-178 whereas (0-484/;;)e->'' = 0-157. Hence equation XXII should only be
used for >^>1.
Introducing dimensionless coordinates into equation XIII by putting
X = xyjklb
c
and Z^
kzjV
XXIII
ie-erfc(|-z)+i.^erfcg + z)
Co
Co
0-242
2Z
0-242
2Z
0-242Z
is
vahd
+z
(-.?-)
X^
expi-7^-Z'j
(|i-)
which
exp
4Z
for
^>1+Z
XXIV
302
Solving by
Z^
for
trial
is
thus given by
XXV
for
Z<
^^^
gives
0-1
0-5
1-0
1-5
2-0
3-0
0-435
2-130
4-00
5-33
6-00
6-215
which
is
AQ
Fig. 8.11.
8.9.
Other Transforms
shown
to be quite versa-
and although the transform involved introducing an exponential function, this did not influence the type of solution obtained. The chief restriction on its use is that the problem must be of initial value type, but provided
the dependent variable and its derivative remain finitet as the transformed
variable tends to infinity, no analytical difficulties arise.
The inversion
process is often tedious if the method of residues has to be adopted, but in
tile,
The method
infinite to
values so there
is
is still
finite
no
restriction.
8.
303
No
reason has been given for using the function e"*' as the "kernel" of
and attempts have been made to use other functions
as kernels thus giving rise to other transforms. The purpose of the present
section is to give the names and formulae for these other transforms and
indicate their range of applicabihty.
the Laplace transform
8.9.1.
finite Fourier sine transform can be derived from the general formula
developed in Section 8.7.1 for linear heat conduction. Replacing the boundary condition (8.107) into the general solution (8.111) and dropping the
suffix from/o(x) gives the identity
The
which
is
universally true
To
Section 8.7.1.
.*.
The
finite
/W = - E
/()
sin
/(z) sin nz
dz
(8.157)
defined as
is
nz
J/(z) sin
MzJz
(8.158)
which
is
transform
very
much
= -Z/Wsinnz
(8.159)
(6.31).
The most important properties of the finite Fourier sine transform can
be determined by transforming a second derivative. Thus,
}d^v
-T-jSm wzdz
Provided the
first
practical cases)
[dv
= \-sm nz
derivative
and
is finite
at
-cos nzJz y
rev
(8.160)
(as
it
will
be in
71
7t
)2
^r-T
J az^
sm nz dz = n
^- cos nz dz
J dz
= n\Vcosnz +
V sin nzdzl
= -n^V+nlVo-i-iyV^-]
(8.161)
304
S(a)
S(b)
range.
is
finite
range.
J(n)
/(z)
= ^/(O) + ^
jf(z) cos
nzdz
by
(8.162)
and inverted by
71
f Kn) cos nz
71..
(8.163)
8.9.2.
Fourier Transforms
Kx) =
2 sin
jfix) sin
dx 5
g)
(8.164)
where 5n = \. Putting/? = nnIL and taking the limit as L->oo, then S(nK/L)
-^dp and the sum becomes an integral in terms of the "continuous" variable
p.
Thus
00
00
fix)
The Fourier
=-
sin
sine transform
is
px
f(x) sin
px dx dp
(8.165)
defined by
00
(8.166)
/(x)
it.
(8.167)
This transform
is
= ^f/(p)sinpxdp
2/7i) is
8.
305
If an attempt is
it does not overcome all of the difficulties.
equation
with the upper
in
derivative
as
second
(8,160)
remove
a
made
limit changed, the term (dVjdz) sin pz oscillates boundedly as z increases
indefinitely unless {dVldz)^0 as z-*oo. Hence the Fourier sine transform
finite
transform,
to
(iv)
The
variable to be transformed
A type
can be defined by
00
Kp)
= \mcospxdx
(8.168)
and inverted by
f(x)
=-
f(p) COS
px dp
(8.169)
but the same restrictions as given above for the Fourier sine transform
apply, except that the boundary condition at the lower limit must be type 2.
The more general complex Fourier transform is defined by
Kp)=
j f(x)e'^^dx
(8.170)
= l^JKp)e''^dp
(8.171)
and inverted by
f(x)
This transform is not so severely restricted in appHcation because derivaof any order can be removed by its use, but it does not allow boundary
conditions to be used at all! It is thus useful for general problems, but for
tives
specific practical
8.9.3.
problems
it is
virtually useless.
When the next two transforms are used, it is usually to remove the radial
coordinate from a system of cylindrical polar coordinates, and because the
integrals range from zero to infinity, they can only be applied to axisymmetrical disturbances in infinite media.
The Hankel transform
is
defined by
00
Kp) = \Kx)xJ{px)dx
(8.172)
306
fM
where J{px)
is
= jJip)pJ(px)dp
is
first
(8.173)
kind of order
n.
defined by
Kp) = JKx)x''-Ux
(8.174)
and inverted by
y
+ ioo
m ^j
=
Jip)x-^dp
(8.175)
y ico
similarities
transform.
8.10.
Conclusions
in Section 8.5 are useful for finding isolated particuof partial differential equations, but these solutions are unHkely
boundary conditions.
of type
1,
2,
if
he so desires.
Chapter 9
FINITE DIFFERENCES
9.1.
Introduction
separation, purification
should be analysed in such a way that these abrupt finite changes enter into
This is possible by finite difference calculus and in particular
by the solution of finite difference equations; as will be shown in this chapter.
the analysis.
9.2.
Considering an independent variable x which can take a number of discrete values Xq; (xo + h); (xq + IH); etc., then any function y = f(x) will take
a corresponding set of values
y^
a series of differences
yi-yoiyz-yiiys-yii-'-yn-yn-i
This series can be written in the form
Ayo;Ayi;Ay2i'--^yn-i
where
Ay
is
Ajo
>' i
A/(xo)
(9. 1)
function of a given independent variable with reference to a specific increment h. In fact writing A before a variable or function takes a lot on trust.
A more precise representation would be A^ implying that the differencing
x,h
308
fully
9.2.1.
Then
the series of
first
(^(x)
(9.2)
or in difference form
Az^
where
Adding equations
A>^o
or
+ Azo
more
(9.1)
and
Zi
-Zq =
is,
If
Az_i
(9.3)
(9.3) gives
(ji-yo) + (zi-Zo)
(yi
+ Zi)-{yo + Zo) =
AC^'o
+ Zo)
(9.4)
generally
A(>'
That
(p{xo+h)-(l)(xo)
A: is
+ z) =
+ Az
A>^
(9.5)
= ky^,-ky =
kAy
(9.6)
AP+^
A^A^
AA^
is,
(9.7)
Differences of Second
first
(yi-yo)'Ay2-yi)i---'Ayn-yn-i)
The
Ayo',Ayii"-iAyn-i
y = f(x)
(9.8)
Ay,-Ayo = A'yo
But from the relationship of Ay to y
AVo =
A>'i-A3;o
it
(9.9)
(}^2->^i)-(>'i->^o)
>'2-2>'i+>'o
(9.10)
309
FINITE DIFFERENCES
9.
in the
higher order.
difference
third difference of yQ
is
>^3-3y2 + 3>^i-yo
is
AVo =
>'4-4j3
+ 6>^2-4yi + >^o
^""yn^ ym^n-
(9.11)
{Vjym^n-l+
(9.12)
wth
difference
is
(9.
[^
13)
{\-xT.
9.2.3.
Difference Tables
The most convenient way of expressing the first, second and higher order
differences of a function is by means of difference tables. Such a table is
illustrated below for a function y = f{x).
Table
ariable
>'o
xi
yi
xi
yi
Function
xq
9.
A3
A4
^...Ayo
t^yi
A4;;0
i^yi
XI
>'3
^
X4
"
"
A>'3
yA
In the above table, the second column gives the value of the function at
specified values of the variable x. The third column having the heading A
is constructed from the values of y in the second column by subtracting y^
from 3^1, y^ from y2, and so on to give the column of first differences. The
fourth column of second differences is obtained from the first differences in
the third column by subtracting the entry above from the one below. The
difference table is completed by repeating the procedure outlined above.
This will be illustrated by the following example.
M.M.C.E.
11
310
1-0
7-567
M
12-159
1-2
10
7-567
11
12-159
1-3
17-399
23-339
1-4
1-5
30-031
37-527
1-6
45-879
is
Ai
A2
A3
A4
4-592
0-648
0-052
5-240
1-2
17-399
1-3
23-339
1-4
30-031
1-5
37-527
1-6
45-879
0-700
0052
5-940
0-752
0-052
6-692
0-804
0-052
7-496
0-856
8-352
Inspection of this difference table shows that all the 3rd differences have the
same value which from the elementary properties of a polynomial suggests
that the data represents a function of the third degree.
Difference tables are very useful for assessing scientific data whether it
be interpolation, extrapolation or fitting an equation to a curve of experimetal data. These appUcations will be illustrated in Section 9.4 after more
of the background has been established. However, certain properties of
difference tables will be stated at this point. These are
(i) If the value of a function is known at equally spaced values of the
independent variable of the function, or if the difference between successive
values of the function is known, all the columns of higher differences can be
constructed.
(ii) If one complete column of differences of any order, and one item of
each column on the left of the complete column is known, all the columns
of the lower differences and the values of the function itself can be determined within the range of the independent variable.
(iii) If the members of the column of nih. differences have the same
constant value, the data from which the difference table was constructed is
derived from a polynomial of degree n.
These rules can be tested by considering the example given above. Thus
A^jK = 0-052 and the last member of the A^ column is 0-856. Therefore the
last but one member will be (0-856-0-052) = 0-804. In a similar manner
each item in the A^ column can be inserted and thereafter the A^ column can
be completed if one of its members is given.
9.
9.2.4.
311
FINITE DIFFERENCES
On
A[/(n)(/>(n)]
(9.14)
(i>{n
+ \)^f{n)+f{n)^4>{n)
(9.15)
and
two functions.
If the first difference of the quotient of /()
and
</>() is
desired, a similar
procedure gives,
Kn + l) f(n)
L^WJ cPin + 1) <l>(n]
l)j)(n)-(/)(n + l)/(n)
^ /(n +
(/)( + l)0(n)
^ </>() U{n + 1) -/(n)] -/(n)
4)(n + \)(i>(n)
\fin)}
\_ct>{n
+ 1) - 4>{n)\
(l>(nW(n)-f(n)A^(n)
(/>(
+ l)0(n)
which again demonstrates the similarity between finite difference calculus and
infinitesimal calculus. However, it should be observed that the denominator
of equation (9.16) does not contain a squared term and in this respect differs
shghtly from the differential coefficient of a quotient.
9.3.
The
11-2
312
In that table
it
will
be seen that
first
entry in each
^yn
difference
V^y,
It is
in
Table
all
= yn-yn-i =
is
^yn-i
(9.17)
= yn-2y.,+y.2 =
^^yn-i
(9.18)
known
is
symbol-
Thus
<5y
(9.19)
y+i->'n-i
data from the end of a table are to be considered. This is particularly true
and extrapolation purposes. Finally, for interpolation near
the centre of a collection of data central differences should be employed.
There are two further important difference operators which will be
described in the following sub-sections.
for interpolation
The operator
9.3.1.
is
In a similar
EyQ
y^
E(Ey,.2)
E'y.2
(9.20)
manner
y
Ey_,
= >o
(9.21)
Equation (9.21) shows that E" operates on yQ n times to increase the value of
the function corresponding to an increase of /7 increments in the independent
variable.
The exponent n
Thus
in
E-'KxQ)=KxQ-h)
where the exponent (-1)
function
value.
(9.22)
is
9.
tative,
313
FINITE DIFFERENCES
The reader
is
himself.
Since E and A are both finite difference operators that obey the same laws
of algebra, it would be expected that they must be inter-related. The relationship between them can be shown as follows.
yn^,=Ey,
yn^,-yn
(9.23)
(9.24)
^yn
{E-\)y
^y
(9.25)
= 1+A
(9.26)
'^''*'''
/(xo
By
+ ft) =
(9.27)
/(xo)
EKx,)
where
is
^' D'fixo)
^ D'f(xo) +
(9.28)
that
2
/i,n\3
/(xo)
The terms
/(xo)
(l
+ A)/(xo)
(9.29)
E=\ + ^ =
The
(9.30)
e''^
three symbols in equation (9.30) are all operators and they can be treated
In the mathematical relations developed to show
the relationship between them, the analysis has been confined to the first
order of the operator. This was done for convenience only, and for any
value of
.
^
,,
,^^
^ ^..
E"'
{l
+ ^Y =
e'"^^
(9.31)
7(^o)
= (l+A)7(xo)
= /(xo) +
A/(xo) +
A^/(^o) +
(7)
(2)
[i
^'Kxo) +
(3)
...
(9.32)
314
=G-^)'=
and if the last expression
on /(xo) the result is
7(^o)
in
(l-Afi-')-"
equation (9.33)
is
(9.33)
= (l-A-')"7(xo)
+ ...{^^''^~^'^K'f{xo-rh) + ...
Using equations
-/(>.)
backward
(9.34)
differences,
.(7)v.(-')v=.(-^)v ^+
Equation (9.35)
is
known
as
/(^o)
...
(9.35)
9.3.2.
^ /(xo + ft)-/(xo)
On
occasion
it is
(9 3^^
Similarly
A would
A/(x
=A
p+
o
^)-/fa) l
is
written
^^^^^
/(^o)
\f(xo
(2
)/(-^o
(9.38)
9.
315
FINITE DIFFERENCES
Equation (9.38) shows the relationship between the difference operator and
which may be summarized as
difference quotient
AJ(xo)
h^'Afixo)
(9.39)
Thereafter the relationship of the difference quotient with the other finite
difference operators follows from the above sections which may be summarized thus
A"'
= (E-IT =
(e""^
- IT =
h'"A
(9.40)
Finally, it can be shown that the difference quotient obeys the distributive
law for addition, the index law for positive integers and the commutative
law for constants. It is left for the reader to verify this statement.
9.4.
Interpolation
9.4.1.
Newton's Formulae
When
variable,
is
316
Example
Jo(z)
The following
difference table
is
4-0
3-8
-0-4026
-0-3918
-0-3643
-0-3202
3-6
3-4
3-2
-0-3971
^Mz)
.ov^y
A3/o(r)
^'-Mz)
2
3
From the above table it can be seen that Jo{z) can be approximated by a
polynomial of second degree within the range of data supplied.
(a) Using forward differences
and
+ mh) =
ZQ
Zq
3-2
m=
.-.
Jo(zo
+ mh
and h
0-2
1-395
Joizo)
[^j
AJo(zo)
+ (^jA^Joizoj
1-395 X 0-395
x 0-0166
= -0-3771
(b)
For
Using backward
differences.
will give
by the
Thus
Then
Zo
3-8
3-479
3-8
let
.-.
m=
and
+m
0-2
x 0-2
-1-605
(9.35)
9.
+ m/i) =
o(zo
317
FINITE DIFFERENCES
Jo(^o)
1-605
-0-4026
x-O-OlOS]
1
+
=
-0-3772
The value of
with both
results.
Either of the difference formulae can be used for interpolation, but for
Example
2.
Using the data given in the table below, estimate the vapour
ammonia vapour at 167F. Latent heat of ammonia
544 Btu/lb.
Temperature
Pressure Ib/in^
From
70
80
90
128-8
153-0
180-6
100
211-9
110
247-0
^p
70
128-8
80
1530
is
120
286-4
130
330-3
140
379-1
prepared
bJ-p
ts}p
lA'l
3-4
27-6
90
180-6
100
211-9
110
247-0
120
286-4
130
330-3
140
379-1
0-3
3-7
31-3
01
3-8
351
0-5
4-3
39-4
0-2
4-5
43-9
0-4
4.9
48-8
The fourth
make
very
little
Then
t Chistova
E.
318
where
167,
167
.-.
^o
110 +
10m
10
5-7
(9.32) gives
(T)a.o.0AVo + 0A'Po
Po
^.^r.
247-0
5-7
.^,
X 39-4
- x ^^
x ,, + 5-7x4-7x3-7
1x2x3
5-7x4-7
247-0 + 224-58
0-4
4-5
1x2
=
=
=
orm =
and h
110
+ 60-28 + 6-61
538-5 Ib/in^
538.0 Ib/in^.
is
ammonia vapour
it is
convenient to
dp
SH
dT
nv,-vd
where Tis the temperature in degrees Rankine. Assuming that the volume of
the liquid is negUgible compared with the volume of the vapour gives
p
^
=
1
V,
T dp
SH dT
III
dp/dT can be evaluated from the difference table by taking the logarithm of
equation (9.30). Thus
/i)
Interpreting
as
ln(l
+ A) = A-iA2+iA^-...
IV
III gives
= ;J^(Ap-iA^P+iA'p-...)
The values of the differences in the bracket of equation V must be determined at the required temperature of 167F. This can be done by extrapolating each column of differences in the table using the same method as
the extrapolation for/? at 167F.
at
167F,
p =
The
538-5, A/?
results are
70-4,
10 X 544
.-.
This value
t Perry,
is
J.
more
H.
reliable
(Ed.).
6-8,
A^ =
6-8
0-4\
l.r.
___(70.4-+ -)
0-0099
Ib/ft^
(1950).
X
Bransom,
S.
0-4
gives
627
'
A^ =
McGraw
Hill
9.
9.4.2.
319
FINITE DIFFERENCES
This formula
is
It
in alternate columns.
The gaps
(m + l)m(m-l)(m-2)
^^^^
[fiS'f(xo
m-i
,,^
+ "^-^S'Kxo + ih)^
+ ih)
,
4!
+
9.4.3.
(9.41)
...etc.
Quite often, the data are available at unequal intervals of the independent
variable and this precludes the use of a normal difference table.f Lagrange's
method fits a polynomial to the data but otherwise has no connection with
finite difference calculus: it is included in this chapter merely for completeness within this section concerning interpolation.
The fourth degree polynomial which passes through the four points
(xq, yo), (^1, yi), (X2, y2)^ (x^, y^) can be written
(x-Xi)(x-X2)(x-X3)
^(^o-^i) (^0-^2) (^0-^3)
(x-Xo)(x-X2)(x-X^)
_^
\xi-Xo)(Xi-X2)(Xi-X^)
(x-Xo)(x-Xi)(x-X3)
^(X2-Xo)(X2-Xi)(X2-X3)
and
this
form
is
known
The
exten-
obvious the numerator and denominator of each fraction is extended to include the further values of x and the
complete equation is extended by adding further terms to include all values
of >^. It is to be noted that the term corresponding to the appropriate y is
sion to
t It
is
is
is
fairly
possible to calculate in terms of " divided differences " where the first difference
ratio of By to bx, but the method used herein is considered to be more
satisfactory.
320
omitted from each numerator and its counterpart from the denominator.
The use of many more than four points is not recommended due to the
computational
effort.
P(atm)
^(Btu/h ft2.F
96-7
0-0490
131-5
00518
88-9
0-0440
0-0466
154
189
131-8
140-9
0-0402
0-0435
95-3
0-0353
123-0
00376
96-7
222
284
ft-i)
From the graph given in the paper, other results show that in this region the
conductivity varies approximately linearly with pressure so that a linear
interpolation is adequate in this direction.
100-0 -96-7
0-0490
0-0493
(0-0518-0-0490)
154
189
222
284
0493
0-0447
0-0404
0-0357
Substituting these values into equation (9.42) gives the thermal conductivity
of propane at 100 atm. and 210F. Thus
(210-189)(210-222)(210-284)
0-0493
(154-189)(154-222)(154-284)
(210-154)(210-222)(210-284)
0-0447
(189 -154) (189 -222) (189 -284)
W.
I.E.C. 49
(ii),
2042, 1957.
9.
/c
(210-154)(210-189)(210-284)
0-0404
0-0357
(210-154)(210-189)(210-222)
(284 -154) (284 -189) (284 -222)
difference equation
finite
9.5.
321
FINITE DIFFERENCES
is
'30>'0
(9-43)
values Xq, Xq + H,
a finite difference
XQ + nh only. In equation (9.43), Oq, a^, aj, .... a can be constants or
functions of the independent variable, (pix) could be a constant or a function
of X. Equation (9.43) can therefore be written
is
....
o/(^'o)
or
because
.-.
+ i/(^o + /i) +
(pA" + ;7_iA"-^
+ ...+;.o)/K) =
0W
(9.44)
(9.45)
can be classified by "order" and "degree". Thus the order of a finite difference equation is determined by the order of the highest difference. For
example, the equation
(9.46)
yn^i-ciyn = ^
is
of order
because
it
first
difference,
(-a)j = [A-(a-l)]>'
On
the other
(9.47)
is
i.e.
+ by,.2 =
is
of order
(9.48)
2,
thus
(9.49)
should be noted from equations (9.47) and (9.49) that it is the difference
between the highest and lowest members of the dependent variable that
It
member
as
MATHEMATICAL METHODS
322
CHEMICAL ENGINEERING
IN
9.6.
Equation
(9.43)
is
....
a linear
a
may
constants.
shown
and
However, each part of the complete solution
be discussed.
L The Complementary
Solution
yn^2-Ay^, + By =
In the same
way
(t>(n)
when
(j)(n) is
zero,
is
i.e.
yn^2-Ay^,+By =
But equation
(9.50)
complementary solution
(9.51)
(E^-AE + B)y =
(9.52)
it
can be factorized.
.-.
{E-p,)(E-p,)y=^0
(9.53)
The two factors could be in either order since the operator E will commute
with constants such as pj and P2', hence there are two independent solutions
of equation (9.51) satisfying
or
It
(0
{E-p,)y
(ii)
(JE:-P2)>'
=
=
Hence
(i) is
yn
A'pl
(9.54)
>
B'pl
(9.55)
(ii) is
A'p\
is
+ B'pl
given by
(9.56)
9.
323
FINITE DIFFERENCES
where A' and B' are two arbitrary constants that would be evaluated by the
boundary conditions of the problem.
It will be noticed that equation (9.56) is the complementary solution of
the original second order equation and that it contains two arbitrary constants. In a similar manner it can be shown that an nth order equation will
provide a complementary solution containing n arbitrary constants; which
again shows the similarity to the complementary function of a Unear differential
equation.
Equation (9.52)
is
known
roots
Its
may be
com-
The case of
different roots
is
if
equation (9.56) is
they will occur in conjugate pairs thus,
p^
= a+
ij?
p2
re'"^;
(x-ip
re'"'^
(9.57)
r\A' cos
n<t>
when
This
(9.58)
is
the complementary
and
is
when
{A'
+ B'n)p"
(9.59)
again Hke the comparable form of the differential equation (Section 2.5.2b).
9.6.2.
This can invariably be found either by the method of undetermined coor the method of inverse operators both of which are very similar
to the corresponding method for Hnear differential equations. Since these
methods were described in Section 2.5, they will only be repeated briefly here
with reference to the second order finite difference equation
efficients
{E^-AE + B)y =
A particular
(9.50)
<t>{n)
is
l/ipi-Pz)-
Each
partial fraction
(E-p^)
on the right-hand
in
^^'^^^
side of
MATHEMATICAL METHODS
324
IN
CHEMICAL ENGINEERING
-Pi
i-p,/
(1-Pi)
a
+ --,-...
(i-Pi)
1-Pi
and
E-P2
(1-P2)L
(9.62)
(1-Pi)
A^
A
1-^
+ 7^V2--I
I-P2 (I-P2)
(9-63)
The forms
(9.62, 63)
particular solution if
(/)(a?) is
and
Ea"
E^'a"
a"^^
a.a"
a""^"
a'".a"
In general,
f(E)a"=f(a)a"
(9.64)
a"f(aE)y
(9.65)
(E^-AE + B)y =
and using equation
a'^
(9.66)
yn
provided
ka"
Aa + B ^
0.
2
.+ Bo
a^-Aa
(9-67)
cases.
9.
FINITE DIFFERENCES
325
Y
y
where K
is
>4^+l_ A
Y~
A^'^'''
That
is
= K^X^
ym
in the gas
and
liquid
phases respectively.
Y,
Gi
-o/o
V
m-1
(Y
X_',
I'Cu-l
^m
A^
N
1
^N^1 Yn +
Ln X^
Fig. 9.1
Considering Fig.
9.1
plate
m gives
326
But
yrrr
G^=YGs +
and x L
= X^ Lq
= -^"l {^^
''-m{hrya:
or
K.
y _
II
Ill
X^ and X^.^
gives
^m+l+(^ff,-i/-Km-iG^-i)y^_^
l
+ (LJiCGJ
But (L_i/Ar_iG;_i) = ^;-i, the absorption factor for plate m\\ and
^, the absorption factor for plate m. Therefore equation IV
can be written as
(LJKJj^ =
y+i-(i+^)y^+^y^_i = o
vi
is the mean value of the absorption factor between the bottom and
top of the column.
Putting equation VI into operational form and factorizing gives
where
[_E^-{l
VII
y^
Ci
+ C2.4'"
VIII
Now
since
Yq
is
IX
+ C2
+ C2^^"'^
y^+i-yo = C2(A^^^-l)
XI
Yo
y^+j
Similarly,
.-.
and
= KXo
=
=
C,
Ci
Y^+^-Y^
also
=^
C2(A^''^-A)
XII
XIII
y
Y
which
is
the well
known Kremser
AN+i_A
AN+l_i
equation.
t Edmister,
t Horton,
_y
-Y
XIV
9.
327
FINITE DIFFERENCES
9.6.3.
The
Example
A is to
kz
ki
A->B-C
of the vessels that will give the
and k2
0-05
min"^
The
and the
maximum
0-1
min~^
fluid density
constant at 60 Ib/ft^.
Let the concentration of
leaving any vessel n be C^ , the concentration of B be Cfi , and of C be Cc^n- Then a material balance over stage n
is
gives for:
component A,
where 6
is
component
B,
^B,n-l~^B,nk2CB^rfi k^C^nd
Solution of equation II is obtained in the usual way. Thus
k2e = ^. Then
/.
x^
^
(l + a)C^.-C^.-i =
+ a)-l]Q, =
C^,n = K,p'[
constant and pi =
III
let
where K^ is an arbitrary
Cyin from equation VI into equation
[(l
The complementary
The
is
VI
1/(1+ a).
and rearranging
Substituting for
gives
+ i5)-l]Q_i=aXip"i
solution of equation
Cs,n
where K2
III
VII
VU is
K2P"2
and P2
a and
IV
[(l
or
k^O
VIII
1/(1+ fi).
oiKipl
"(l + Pi-l
-T^-
IX
328
by using equation
(9.64).
The complete
CB,n
Since the
initial
K2 =
pure A, at
is
0,
C^ = C^
X gives
XIII
-7r^(p"l-p"2)
to find the
n.
dCB
ccC.Q
dn
jS-a
C^
Pi
Inpi
Pi
lnp2
Pi
1
+a
+P
p2
XV
+ 0-1^
+ 0-05^
and
,llO:05gyjn(l+0.05^)
.hen
XIV
Since
(Pl\np,-pl\np2)
^nd
XII
that
XI
^C^,o
CB,n
thus
= C^
Kj^
and
is
K2p"2+^p\
.'.
\1 + 0'W)
In (1
^^^
+ 0-10)
this
by successive approxima-
.'.
XVII
0-456
Reactor volume
60x60y
10,000
reactor
^ ,^,
0-456
is
l-27ft^.
in a spray
G. and Miles,
F. R.
Trans. Instn.
Chem. Eng.
9.
FINITE DIFFERENCES
329
plate
column
are used.
L
G
X
y
z
w
k
Cj.
^
Ar
n-1
1
FK5. 9.2
Gj_i
and an equivalent
column gives
+ Lx + +
i
kH
Gy^ + Lx^
-Z;v +
+ Gy_i =
G};^
+ Lfx +
II
330
The equilibrium
relation
is
yn
where
is
= ^^n
mG^
mG/L =
Equation
a,
kH/L =
a linear
is
into equation
mG
kH fm
Letting
III
subsidiary equation
The
particular solution
gives
The
equation.
finite difference
and elimination
mG
and rearranging IV
p,
II,
is
VI
is
A(x"
+ B(l + py
VII
is
(E-cc){E-l-P)
C=
where
- ^z^+i
j?^a>;^
Because
is
independent of n and
= + A,
1
"
-C
a-1
The complete
solution of equation
V is
then
and
The
a-1
;[''+ '-(l
+ ^Sf+'J
B = - /?0VZ!!1^>) [..r'^'"\..1
a-1
J[a''*'-(,l+pf*'\
V
final solution after simplifying is
mzjv^i
^"-K^TTDr
(a-l)a^-)?(l+^f ]
(l-a+^)(l + ^rJ
9.
10-32x3760
_kH _
10-2x12200
where 12 200/
gives
^
^,
4'54
_
"
14-6
8540
^~~L~
A^^
XI
mG =
331
FINITE DIFFERENCES
8540
xN
stage.
^.oo
4-54^
+ 14-61 Nf
XII
(^'--)(-W
gives
A^
9.7.
and
error)
Graphical Solution
Consider the
first
y^,-yi + Ay+B =
where
and
B are
constants,
and rearrange
it
(9.68)
Thus
y^,==y'-Ay-B
(9.69)
By
values of ^'^ and y+i can be compiled and the results plotted on rectangular
coordinates in the form yvsy+i.
The curve AB in Fig. 9.3 illustrates
equation (9.69). In order to find the solution, the diagonal jv = y+i shown
by the line PQ is constructed. Starting at the boundary condition yQ at
(of coordinates
>'o,
AB
is
is
located
on
drawn back to
are (y^, y2) by
equation (9.66) and hence y2 is evaluated. By continuing this stepwise procedure to A^ steps, the value of y^+i can be obtained. Thus the value of >^
corresponding to any value of n can be obtained.
This method will work for all first order equations provided that they
can be separated into a simple form such as equation (9.69). It is usually
easier to choose values for the variable on the more complicated side of the
MATHEMATICAL METHODS
332
IN
CHEMICAL ENGINEERING
h +
Graphical solution of a
Fig. 9.3.
finite difference
equation
equation and solve for the other variable. Thus it is simpler to choose a set
of values for y and solve equation (9.69) for y+i, than assume values for
y + and solve the quadratic for y.
i^
where C^,
A + B^C + D
the rate of chemical reaction
r
and
if
is
'A,
^A,m
{^l^A^B^^l^C^Wnfi
IV
If the
amount
III
in the effluent
the vessel.
where
is
= ki^CACB-k2CcCD
assumed to be perfect, the concentration of the comfrom the vessel will be the same as the contents of
Therefore equation I becomes
the agitation
ponents
II
9.
That
is,
in
any reactor
HNITE DIFFERENCES
333
is
(C^^ + c).
By
is
into
initial
850x54
^-'^
^^'
C^^o
c
.-.
^^ ^ lb
= "185^ =
Similarly,
is
_ 24-8x454 ^ ^e moles
p^ ^^^^^^ ^ 6-63
10*18 g moles/1.
10-18-6-63
3-55 g moles/1.
_^
30-0x54x60
'=
=^^-^""'
1850
C^,.-i
V gives
^A,m-t
^A,m
^A,m-i
is
6-6
8-27
60
7-43
5-0
4-0
30
6 05
4-70
3-38
2-0
2 09
plotted against
C^ ^
in Fig. 9.4;
and
sition
.*.
.".
number of
0-40x6-63
is
2-65 g moles/1;
M. Chem.
compo-
is 7.
334
equations.
finite
difference
equation
yn^2-^Pyn^i
where
and
and
+ Qyn = R
P can be a
8
Acetic acid
in
feed
A/
/h
<
//
6-
1'
3
7-
'^
(9.70)
function of >'+i.
1
1
'
Fig. 9.4.
R-(P+0)y
R-Oy
Fig. 9.5.
9.
boundary conditions
will
be
335
FINITE DIFFERENCES
known
from each to the curve AC. The vertical difference between the curves at yi
corresponds to -Py^ and if this is added to (RQyo) at L to give the point
M, the vertical distance from the abscissa to
corresponds to y+2 ^Y
equation (9.70). Drawing a horizontal line to the diagonal at T and a vertical
line to the axis locates y2 in its correct position. It cuts the curves AB and
AC to give Py2 which on adding to the AB curve at y^ gives the value of
y^ which is located in its correct position relative to y2 by drawing a horizontal line from V to the diagonal. This establishes the stepwise procedure and
can be continued to locate y. In Fig. 9.5 the stepwise procedure is indicated
by the arrows.
The graphical procedure given above for second order non-linear difference equations is of limited application. Thus it cannot be applied to the
solution of equations in which product terms appear from more than one
level of >'. For instance, in Example 3, Section 3.3.9, equation I could not
be solved by this graphical method because on rearrangement to the form
y^,-{A-Cy.,+Ey)y + {B-Dy.,)y.,=0
(9.71)
P = A-Cy.,+Ey
(9.72)
the function
9.7.2.
Analytical Solution
2.
Converting equation
to logarithmic form,
log>'+2
logy
II
21og);+i
Letting
"n
equation
II
logy
linear equation
2-2Mn+l+Wn =
or
logy
=
=
+ C2W
Ci + C2n
Ci
IH
is
IV
336
Now
let
then
VI
yn+iyn + Ay^,+By, + C
and
It is
yn
+d
(9.74)
u+,u + (A + d)u + ,
If S is
(9.73)
(u^,
(9.75)
chosen so that
S^-\-(A
and equation
(9.75)
is
+ B)S-\-C =
(9.76)
(B +
S) + (A + d)- +1 =
Putting
lK =
ll(y-3)
(9.77)
(9.78)
x^,+Px, + Q =
which
is
first
order linear
finite difference
P = ^^
B+S
(9.79)
equation with
J-ande=
^ B+S
Equation (9.79) can be solved by the methods already given, to yield the
final solution
y-3
where the constant
problem. This
is
is
A+S
{- B + 3
L
.A
A + B + 23
(9.80)
to be evaluated
illustrated in the
3-0.
9.
and
let
D=
W
D+W
=
=
iOO
.'.
337
FINITE DIFFERENCES
moles
distillate;
moles residue.
I
+ 0-02(100-D)
and W = 39-6 lb moles.
60
II
0-98Z)
stripping section
Lx, + ,
where
L
G
is
is
= Gy-^Wx^
III
X and y on any
plate
is
is
Substituting equation
IV
"^"
y^
IV
aGx
_
Wx
"^^"l+(a-l)x/
-"--" +
,-n-[
L = F + RD =
Now
and
in the
is
L(a-l)
(100 + 3 X 60-4)
^"-L(a-1) =
V
^
VI
281-2 lb moles/h
letting
^=
^~
=
C=
^=-^ =
0-769
1-3
aG + (a-l)Wx^ _
(2-3
L(a-l)
281-2 X 1-3
1-523
x^,x + Ax^,-Bx-C
The
in the
above
text.
Thus
is
let
VIII
X-d
where 3
is
or
VII
+ (A-B)d-C =
(5^-0-754(5 =
0-0022
338
The
The complete
or -0-003
0-757
is
A+d
Selecting the root S
when =
0, x
= 0-003 and
XI
A-B + 26
1>
inserting the
0-02 gives
K = 42-2
The value of corresponding
to x
0-60
is
given by
0-7661"
1-66
42-2
1-32
XII
1-526
as
9.8.
number
gives the
67%.
Differential-Difference Equations
It has been shown in the above sections that chemical engineering equipment consisting of a number of stages can be analysed by means of finite
difference equations when the operating conditions are steady.
However,
when
conditions, or
is
= V (constant).
Solution.
339
FINITE DIFFERENCES
9.
Rx.,-Rx =
v^
no
salt,
Rx.i-Rx =
.-.
finite difference
vsx
II
gives
III
\R + vs/
Because the feed composition
is
constant,
Xq
IV
XqIs
s=^f_^y
'"-7(f5)"
From
[(_!)!
Hence, using equation
(s
+ af
(6.21),
t
[s{s
+ ar\
(N-i)\[
Inverting equation
'
_^N-l^-at
iN-2^-at
fl(N-l)!
a\N-2y.
'
times gives
^1
}'
-t^-^e'"^
+ a(N-2)\J
a{N-l)\
VI by using equation
*''-^o[l
'
(N 1)
t^'-^e-^'dt
^-at
'"
+
a""
VIII,
'
(jv-1)!
-.
a^
VIII
340
^S
^0 ""^0
Rtiv
Rt
,N-1
{Rt/vy
{RtIvY
IX
1 H
In particular,
if
A'^
NRt {NRtVf
^^^ +
+
V
2!
if
A'^
{NRtVf-^
^
{N-\)\
'n
and
...
^o~"^o
Rt/V
XI
4,
>
4Rt
^^^/^ \^
32/Rt\
^/RtY
XII
0-5
h"1h
Fig. 9.6.
It is difficult
Nv
Output from an
to evaluate equation
into equation
VI
A'^
in the limit as
N^oo,
but putting
V=
gives
N + l/Ksy
(iV +l)(iV + 2) /VsV
Vs
/VsV _ {N+1){N
3!iV2
r'^ 2N [rJ
\r)
3!
yj^j
XIII
9.
If
is
341
FINITE DIFFERENCES
give
Vs
/VsV
/VsV3
= ^^-K./K
XIV
The
inversion of equation
Hence
of the book.
as
XIV
is
number
given by
end
N^ oo
XV
x^-^XoS,(t)
k=
where
V/R
Equations X, XI, XII, and XIV have been plotted in Fig. 9.6 to show
the system responds for different values of A''. The important result
emerges that a large number of small stirred tanks in series has approximately the same response to a step change as a single tube of the same volume
with plug flow. The converse is also true, that flow in a tube with a small
amount of back-mixing can be represented by a chain of stirred tanks of the
same total volume.
how
The
Now
V/q
dC
and r^
dt
Since
all
is
kC^.
-cCil")
""'
same
size
'
is
to be operated
isothermally,
- =Q(constant)
M.M.C.E.
III
12
342
II,
by making
use of
^[^]=5C(s)-C,(0)
from Section
6.2.1, gives
5C(s)-C,(0) + eC,(s)
^C,-i(s)
IV
But the vessels all start with the same composition in them, hence C{0) =
Equation IV can be put into the standard form for a first order differ-
0-21.
Solving equation
+ Q)C^is)-C^.,(s) =
0'2ie
where
an arbitrary constant.
is
m=
When
Co
Co(s)
0-137
0-210
0-137
= ^ + e-(^^ePl
0-137
'"^^^
"
sO'^is
+ QT
0-137
'^
0{s
+ Q)-\[
^...r
0-210
0"(5 +
+ ^.
Qt\
...
VIII
by algebraic division.
Each term in the square brackets can be inverted directly by using the
tables at the end of the book (transform number 10), and the first term can
be inverted by using the property of the transform given by equation (6.21).
Hence the solution is
C.=
0-137
0-137
r,
{Qtf
(eO""M
nt
effluent
343
FINITE DIFFERENCES
9.
type have been derived for different kinds of reaction by Mason and Piretj
and the reader is advised to consult these authors for a more extensive
analysis.
In the special example considered here, the last vessel to reach steady
state will be the third,
and since
1800
,
= - = t;^=3-0^
600
^^ =
2=
^ + 0-38
0-713
OQ .-.
C3
C3
2-14
0-014-0-014(l+0-713r + 0-254r^)e--'^^^
final reactor as
I-'
0-20^
0-15
O'lO
-\
0-05 -
^^^-o.^.___
1
?~
?^
10
12
14
16
Time (min)
Fig. 9.7.
Time
Example
3.
1000 Ib/h of a solution containing 0-01 lb nicotine per lb of
being extracted by 1200 Ib/h of kerosine in a counter current
extractor containing 8 stages.
If the concentration of the feed hquor is
suddenly changed to 0-02 lb nicotine per lb of water, how long will it take
for the extractor to settle down to steady state operation under the new
conditions ?
water
is
The equiUbrium
relation
is
y = 0-86X
where
and
Y is
X is lb
of kerosine
400
t
lb nicotine per lb
Mason, D. R. and
lb
Piret. E. L.
MATHEMATICAL METHODS
344
Y.
"
Yn
CHEMICAL ENGINEERING
IN
Y...
r^
<
>
>
Yn+1
>
^1
Fig. 9.8.
K-
Solution
The system
meanings.
is
R Flow
rate of water
Flow
X Nicotine concentration
(8)
Xp New
(0-01 lb/lb)
RX., + SY^,-RX,-SY =
dX.
h-^ + H
dY
^^
The equilibrium
relationship gives
Yn
Eliminating Y, Y +
= mX
between equations
II
and
II
and rearranging,
dX."
The plant
= mSIR,
a
is initially
(h
+ mH)IR
III
IV
aX^,-{a+V,X + X,n-l
The method of Section 9-6
X
The boundary conditions
at
0,
iV
VI
A^-B(x-''
problem are
^0 = ^0
VII
at
+ l,
Ys^,^mX^^,^0
9.
^=
Hence,
345
FINITE DIFFERENCES
^^
^=
a^
initial state
^"'
A and B
it
is
IX
Rearranging,
conditions.
initial
or in operator form,
[a:^-(a+l+Si5):+l]X_i
= -Ap-B^o^-"
X., = Cpl-'+Dpr'
P1+P2 =
where
and
P1P2
(a
XI
+ l + si5)/a
XII
XIII
1/of
The
particular solutions for the separate terms on the right hand side of
be found by the inverse operator method described in Section 9.6.2.
Thus for the first term
X can
a-a-l-sj5 + l
X = Cp\ + Dpi
or
XV
-4-
Fir/~^
XVI
= N+l,
Xo = X,,
0,
X;v+i=0,
.'.
.'.
Xo =
X^^,=0
555
VIII to eliminate
X,ls
A and
Xp
XVI and
]
>
XVII
using equations
B, gives
^ ^ + A+B = ^
-=C
C+D +
+D
X'o
XVIII
MATHEMATICAL METHODS
346
and
CHEMICAL ENGINEERING
IN
cpr^+^pr^+
Cp^,^'+Dp''2-''
^^^'
XIX
N+\
Pi
Pi
into
_ PiN+l Pin
XX
p^'-pV'
are determined
To
re-'^,
p^+i_p^+i ^
=
Hence f(s) has
singularities
when
P2
XXII
re''
J.N+l^^iN + l)i^_^-iN+l)ie-^
2ir^'-^sm(N + i)e
0,
XXIII
and when
(N+l)e = kn
where k
is
an
XXIV
integer.
Putting equations
XXII
2oircose
and XII
gives
XXV
1/a
= + l + sp
XXVI
(x
a + l-2Vacos[/c7r/(iV + l)]
^^^^^
(N+ 1),
XXVII gives a distinct set of values of 5 for /: = 0, 1,
but repeated values for integer values of k exceeding {N+ 1). When k = 0,
or (A^+ 1), equations XXII show that pi = P2, and an application of
L'Hopital's rule to equation XXI shows that/(5) remains finite as P2
PiTherefore /(5) has (A^'+l) simple poles:
Equation
one
and
at 5
A'^
0,
given by equation
XXVII
with k
2,
A^.
9.
347
FINITE DIFFERENCES
at 5
a"^
0,
Pi
P2
1,
0, gives at
XXVIII
Substituting equations
XXII
into equation
r"
^^^>
=7
-^^^
XXI
gives
sin(iV+l-n)e
^'^^^
sin(iV+l)e
sin(iV + l)0
sin
~s(iV+l)
_
~
*
cos(iV + l)0
Combining the
l)(a +
to simplify
[yv
.N+l-n
+ l-n
XXXI,
-(a + l-2Vacos0)n
^""^
l-2Vacos0)
residues as given
remainder of equation
XXXI
2(-l)^a-^"-^>/^sin0sin(iV+l-n)0
(7V
using
sm{N + l-n)e
e''
(N + l)cos(N + l)e{deids)
- r"
Using equations XXIV,
XXVI, and
by equation
(6.43)
XX,
r^N+l-n
+ l-n
r^/V
-i
-i
-]
^^^
2(-l)^a-("-^>/^sin^sin(iV+l~n)g
+ (Ap AoJL^
0/ z.
Jk=l
(iV
+ l)(a + l-2Vacos0)
^^
(iV+l)(a + l-27acos0)
+ -L^l .(X.-X,)L^z|^i^..
it
9(a
2yja cos 6)
XXXIII
^
MATHEMATICAL METHODS
348
IN
CHEMICAL ENGINEERING
=
=
knl9
a^
20
40
60
2
3
10159
1-868
3-087
4-384
5-603
6-596
7-245
80
0-3528
100
120
140
160
-0-3528
-1-0159
-1-5564
-1-9092
7
8
a-^/2^ 0-8956
2a-7/2 sin2^
sin2 d
9(a
0-2257
0-8743
0-544
1-9092
1-5564
4
6
+ mH
=
R
1-3278,
2 Va cos 6
20/c
mSi'R == 1-032
P
.-.
+ l-2Vacos
01170
01896
0-4132
0-7500
0-9699
0-9699
0-7500
0-4132
0-1729
0-1469
01170
00059
9)
01149
0809
0-0489
0-0230
lOOXg
Equation
XXXIV
XXXIV
culated values.
^8
2
3
4
6
8
0972
10
0-0975
0-1012
0-1107
0-1232
12
14
16
18
01470
01640
20
24
0-20
x%
0-1752
0-1824
01870
01899
0-1917
0-1929
0-1942
<i>-^
,^-c^
^-'^'''^''^
0-18
<o
o
O
/^
0-16 r
rf
U-14
012
0-10,
r^\
2
10
12
14
16
18.
20 22 24
Time
Fig. 9.9.
It
the
new
conditions.
it
down
to
Chapter 10
Introduction
The
10.2.
Graph Paper
method
(see
Chapter
11) a tabular
form
preferred.
349
MATHEMATICAL METHODS
350
IN
CHEMICAL ENGINEERING
is
used.
There are many types of graph paper which are described below and the
" The most desirable
correct type should be chosen for each problem.
shape for a curve is a straight line," and the scales should be chosen in such
a way that the major part of the curve is incHned at 45 to each axis. This
ensures equal accuracy in all regions of the graph both in plotting the curve
and reading
results
from
it.
10.2.1.
The equation of a
straight line
y
where
to
m is
0.
is
usually written
= mx + c
(10.1)
suppressed.
y=/(x)
is
satisfied.
By
(10.2)
Fig. 10.1.
Graphical differentiation
10.
351
slope.
X = a and x = b
readily be visualized by dividing the area into vertical strips of equal width
10.2.2.
In
strips
many
approach to
equation (1.29)
is
of the form
y^Ae-'""
(10.3)
change of
origin.
If
my = \nA-bx
Defining a
new dependent
variable
(10.4)
by
y=
ln>;
(10.5)
Y=-bx -{-In A
(10.6)
By comparison of equations
(10.1)
MATHEMATICAL METHODS
352
10.2.3.
IN
CHEMICAL ENGINEERING
Y=nX + c
where
Y=
X=
and
In C;
(10.8)
and
equation of a
straight Hne. Therefore, for plotting such equations as (10.8), graph paper
with both axes subdivided logarithmically is available. It is normal for the
logarithmic unit to be the same along each axis so that the gradient n can be
found by direct linear measurement. The intercept c is the value of Y when
J^ = 0. This can be found more easily as the value y = C when x = I.
The origin of linear scales can never be plotted on logarithmic graph
paper. If any point is referred to as the origin, the point x = I, y = 1,
corresponding to J\f = 0, 7 = 0, is usually meant. The intercept as described above is determined relative to axes through this origin.
Inspection of equation (10.7) shows that if n is positive, then the curve
will pass through the origin of Unear scales. If n is negative, the curve will
In y,
In x,
ji
Fig. 10.2.
this is the
10.
353
AP, BP, CP
The
Fig. 10.3.
PG
is
lie
drawn
on BC.
Triangles
parallel to
BPH, BEC
AB, and
Similarly, triangles
CPG, CFB
.-.
PGH, ABC
triangular diagram
is
drawn
parallel to
AC so that G and
PE:BE::HC:BC
C10.9)
are similar.
PF:CF::BG:BC
(10.10)
are similar
.-.
Adding equations
PH
are similar.
.-.
Also, triangles
ABC
PD:AD::GH:BC
(10.11)
Dropping perpendiculars
PE PF PD
= 1
+
+
BE CF AD
from P and B on to AC
BE
,^^,^,
(10.12)
^
at
and
shows that
BR
ABC.
Although the above proof is valid for any triangle, it is normal practice
to use an equilateral triangle for a symmetrical representation of the three
components. If printed triangular paper is not available, however, it is more
convenient to use rectangular graph paper and construct diagonals so that
an isosceles right-angle triangle can be used.
MATHEMATICAL METHODS
354
10.2.5.
IN
CHEMICAL ENGINEERING
There are many other types of graph paper available for special applicaFor example, the axes can be subdivided to a quadratic scale or a
tions.
10.3.
Whenever a
Theoretical Properties
set
The Origin
often possible to state with certainty the value of the dependent
when
10.3.2.
Starting Gradient
is
approached.
Examples of
mass
transfer coeflficient
near the front pole of a dissolving sphere. Not all dependent variables have
a vanishing derivative on the axis of a symmetrical system as may be seen
10.
355
4,
Section
8.5.4,
When
0, C
0,
but
vorticity
dC^jdd
0.
initially zero.
10.3.3.
Efficiencies
lot depends upon the context, but most efficiency curves either approach
a Hmit asymptotically, or pass through a maximum value before decaying to
zero. One thing is certain, however; an efficiency curve cannot be a straight
hne over an appreciable range. Any straight line, except a horizontal one,
must exceed 100% and fall below zero for some values of the independent
variable, and both types of behaviour are inconsistent with a properly
defined efficiency.
10.4.
It is
Contour Plots
that one variable can be altered through a range of values whilst all other
up rate
250lb/hr
Feed composition
Fig.
10.4.
used to illustrate the dependence of start-up time on boil-up rate and feed
composition for a distillation column.j The results are shown in Fig. 10.4
in the form of start-up time varying with feed composition, using the boil-up
rate as a parameter. It will be seen that very few experiments were performed
t Barker, P. E., Jenson, V.
G. and Rustin, A.
Inst. Pet. J.
(To be published).
356
at the exact boil-up rate, the actual rates being indicated adjacent to the
points.
as they
Propagation of Errors
10.5.
Any
any calculated
(i.e.
addition,
multiplication,
subtraction,
etc.),
and
If a quantity z
is
calculated
from
z
x-hy
(10.14)
where x and y are two measured variables, then any error in determining
X 01 y will result in an error in z. Equation (10.14) is assumed to be exactly
true and satisfied identically by the exact values of x, y, and z. But any
experimental reading {x') for the variable {x) will only approximate to the
true value and this is usually stated in the form
is
(10.15)
given by
\x'-x\<5x
(10.16)
dx is called the " absolute error " in x, has the same dimensions as x, and
is usually assigned by the observer with due regard to the manner in which
A similar
y-dy<y' <y + dy
The inequahties
(10.15)
and
(10.17)
forms
x'-6x<x<x'^-dx
y'-dy<y<y' + dy
Adding y
x'
and
x'
(10.18)
(10.19)
+ dx + y <
x'
+ y' + dx + dy
(10.20)
10.
Remembering
y\ 6x and
that
357
to give
x'
But
z' is
+ y'-dx-5y <
z'
Comparing
the
+ y' + 6x + dy
is
and
(10.22)
it
(10.22)
5x + 5y
(10.23)
z.
in the result
Assuming
that
= x-y
(10.24)
(10.21)
sum of
10.5.2.
x'
and hence
dz
is
<
the result obtained by putting the experimental values {x' and y')
where dz
set
of inequalities
x' -\-dx
{y' dy)
(10.25)
But
z'
:.
z'-{6x + 6y)
.-.
dz
x'-y'
<z< z'-\-{dx^-dy)
(10.26)
(10.27)
dx + dy
results
is
the
sum of the
involving addition and subtraction only. Thus, the absolute error in the result
of any calculation involving only addition and subtraction is the sum of the
absolute errors in the constituent parts.
It should be noted that each operation increases the absolute error, but
any subtraction reduces the result. Hence the " relative error", which is the
ratio of the absolute error to the result, will always increase during subtraction.
The
relative error
is
and
is
dimensionless.
10.5.3.
letting z
be determined from
= xy
(10.28)
the inequality
(x'
is
and
y' are
{x'
both positive.
(10.29
358
and
Sx/x'
y,
Sy/y'
x'y'(l-x,)(l-y,)
<
(10.30)
Provided the errors are small, products of two errors can be neglected by
comparison with the error itself. Since z' is the value calculated by substituting x' and y' into equation (10.28), (10.30) can be written in the form
z\l-x,-y,)<z<z\l + x,-\-y,)
which shows that
x,
+ yr
is
the
z,
(10.31)
sum of
constituent parts.
Starting with the inequaUty
x'-Sx
y
it
+3y
+ 5x
x'
y -oy
,.^^^x
is
also the
sum of
the
can be seen from the above calculations that the error in the calculated
is greatest when the individual readings are at the ends of the error
ranges. The terminology can be simpHfied by writing
It
result
x'
= x + dx
(10.33)
with the interpretation that x' is the poorest acceptable reading obtained
unknown true value x; and 3x can be either positive or negative. If
z is to be determined from the general expression
for the
z=f{x,y)
(10.34)
x' and y' for x and y^ then the value obtained (z') will
be in error as follows. Applying equation (8.9) to equation (10.34) gives
dz
= ^dx + ^dy
dx
(10.35)
dy
Provided the errors Sx and Sy are small, dx and dy can be replaced by them
in equation (10.35). Thus
dz
= ^Sx + ^Sy
ox
(10.36)
dy
Equation (10.36) can also be obtained from the generaHzed form of Taylor's
theorem by neglecting products of errors in comparison with the errors
themselves. The equation can be apphed to functions of any number of
variables and is the general law for propagation of errors.
10.
359
Example 1
If z = xy" with n known and x and y determined experimentally, determine the relative error in z in terms of the relative errors in
.
X and
y.
(x,
>')
df
J-
df
/=/
dx
.-.
xy"
nxy"-'
II
oy
Sz
y"Sx-{- nxy"~'^Sy
(bx
z,
.'.
The
special case n
n Sy\
x,-hnyr
III
either sign, if n
written
z,
Hence,
if
= x,-ny,
IV
is
the
sum of
the relative
Example
2.
It
was shown
in the first
problem
chemical reaction
A->B
has a first order reaction rate constant /: hr~ \ the concentration of A leaving
a tubular reactor of length L ft with velocity u ft/h is given by
Applying equation
(10.36),
.-.
5f= --fSk +
^fSu
Since
/<
the
left
hand
to give
-df _du
5k
f\nf~V
"
Th
MATHEMATICAL METHODS
360
sign
IN
CHEMICAL ENGINEERING
-df
Su
Sk
/In/
Sources of Error
10.5.5.
There are many sources of error which should be assessed before quoting
They can be classified as follows.
Errors of measurement,
Precision errors,
Errors of method.
The
consequently an error
'*
is
is
of
10%
will
Curve Fitting
10.6.
If a set
+ bx''
(10.37)
10.
known
361
The
to
best
fit
curve which
is
In I
Fig. 10.5.
bx"
The approach to curve fitting in the earlier sections of this chapter has
been of a visual or graphical nature, but there are two analytical methods
available. However, it is still necessary to choose the appropriate type of
curve, but instead of determining the parameters graphically, they can be
found analytically by the method of averages, or the method of least squares.
10.6. 1
Method of Averages
Having chosen the type of curve which it is desired to fit to the experimental data, the problem becomes one of determining the values of certain
parameters in the equation so that the " best fit " is obtained. In graphical
methods, the best fit is a matter of opinion, but in the present method a set
of average points is defined and the best curve is the one passing through
the average points.
Suppose that eight experimental values of a variable y are available at
eight different known values of x, and the best curve of the type
y
is
= ^ + Bsinx + Ccosx
(10.38)
unlikely that any pair of values (x, y) will satisfy the best fit curve
Therefore, the experimental results are substituted into
(10.38) exactly.
it
is
is
unknown
error.
Thus
MATHEMATICAL METHODS
362
CHEMICAL ENGINEERING
IN
y^
A Bsmxi - Ccosx^ = R^
y2
A Bsinx2 CCOSX2 = R2
>'8
^sin X8
C cos Xg =
(10.39)
>
Ri
required,
333
Ri+i^2 + ^3
first
(10.40)
^ sinx-C ^ cosx =
X y-3A-B n=l
n=l
(10.41)
n=l
Vy
fi
sinxi +
+ y^
1 _ ^ _ ^
sinxj
(3) gives
sinx^
e
_ c_ cosx, +
C0SX2
cosx^
(10.42)
Thus
y^ + ys
>^6
+ >'7 + >^8
3
AB
.
sin
Xg
sin X7
sin
cosxg
Xg
C0SX7
cosxg
3
(10.44)
(ii)
(iii)
(iv)
(v)
10.
363
ko-(xT
is
TCQ
390
500
1000
1500
km
1-41
1-38
119
115
T and
determined between
25C
in kilo-erg/cm^ secC
cm
^.
Solution
It is first necessary to determine the relationship between k and the
point values of k. Considering unit cross-sectional area of a conductor of
length L and end temperatures T^ and 72, an elementary heat balance yields
the equation
I into
equation
II gives
-(kQ-ciT)dT = Kdx
-koT + i(xT^ = Kx + p
:.
III
at
=
=
T=Ti
0,
TV
X
L,
T = ^2
-koT,+iaT^ = P
-koT2 + iocTi = p + KL
at
.-.
and
VI
where T
is
= kJT2-T,)
IX
the end points.
/co-207-5a-l-41
/co-262-5a-l-38
2/co-470a
t I.C.T. 5, 86.
McGraw-Hill,
New York
VIII
ko-oiT
the arithmetic
VI
VII
gives
koiT2-T,)-\a{T2-T,)(T2 + T,)=^KL
.-.
-2-79
(1937).
=
=
=
A:
and
a.
Ri
i?2
MATHEMATICAL METHODS
364
IN
CHEMICAL ENGINEERING
/co-512-5a-M9 =
/co-762-5a-M5 =
and
hence,
/c
i?3
/?4
=~~
XI
gives
= 000056
1-526
l-526-0-00056r
into
XII
equation IX gives the
following comparison.
TCQ
390
500
1000
1500
km (experimental)
1-41
1-38
119
115
km (equation IX)
1-41
1-38
1-24
MO
= 88-9-0-0180r
/c
in
Btu/h
ft^
XIII
in
More
y
to
N pairs
= mx-^c
(10.1)
y.
unknown
error.
y,-mx,-c =
(10.45)
R may be either positive or negative, therefore, to obtain a positive representation for the errors, equation (10.45) is squared thus,
(1
.46)
10.
365
now added
together to give
n=l
n=l
n=l
n=l
n=l
n=l
(10.47)
Equation (10.47) gives an expression for the sum of the squares of the error
terms.
is a minimum.
be shown in Section 13.3 that the left-hand side of equation (10.47)
will have a turning value when its partial derivatives with respect to both
one for which the sum of the squares of the error terms
It will
and
Thus
c are zero.
2m
xl-2
n=l
xy+2c
2cJV - 2
(10.48)
n=
n=l
y + 2m
(10.49)
n=l
n=l
NY.xy-Y,xY,yn
(10.50)
where
all
The
best
the
to a third
Example
2. It
CO + Cl2-^COCl2
proceeds on the surface of an activated carbon catalyst after adsorption of
the two reactants. Each of the three substances are adsorbed to a different
extent, but the number of sites occupied by carbon monoxide is small
compared with sites otherwise occupied. Assuming that the process is
controlled by the surface reaction, which
is
(1951).
366
Reaction Rate
Partial Pressures
CO
Cl2
COCI2
0-406
0-396
0-310
0-287
0-253
0-610
0-352
0-363
0-320
0-333
0-218
0-118
0-608
0-226
0179
000414
0-231
00440
0-356
0-367
0-522
0-231
0-206
000241
0-00245
000157
0-00390
0-00200
Solution
used.
state specified
adsorption coefficient
k specific reaction rate constant
p partial pressure
r rate of reaction
Subscripts denote the following:
a carbon monoxide
b chlorine
c phosgene
V vacant site
total number of sites
/
The equilibrium of the three components between the catalyst and the
vapour phase can be expressed thus,
The
reaction rate
is
Ca
= KaPaC
C,
= K,p,C,
III
= kCXy
IV
given by
r
The
total
sites in
number of
each
state.
active sites
must be equal
to the
Therefore
Q = Q + C, + Q + C,
But
C,
Ehminating
V
and Q, hence
III to
ehminate
it
= kK,K,Clp,p,
can be
Q and Q
VI
and
II,
VII
Eliminating
Equation VIII
367
10.
is
VIII
of the form
l
+ ccx + Py-yz =
IX
Differentiating equation
partially with respect to
equating to zero gives the three equations
a, P,
and
y in turn,
+ lx + PY.^y-yl^nZ =
Ply'n + i:yn + oil^xy-yY^yz =
-yT.z'+Y^n + OcYXnZn + Plyn^n =
XI
Z^n'
XII
XIII
and
is
necessary
Inspection
of the given data indicates that there is a much higher level of inert gas in
is considered unHkely, and the result should be rejected.
However, the data is sparse and it has been assumed that an error has been
made which did not affect the proportions of the components present. This
result has therefore been scaled to the same order of inerts as the other
the sixth result. This
readings.
The preliminary
calculations are
shown
in Table 10.1.
Equations XI,
a,
j5,
and
+41-99
=
=
=0
(see
2-61,
i5=l-60,
2-61,
X,=
this
means
l-60,
0-393
that
qV/^' =
0-243
Putting these values into equation VIII, the final column in Table 10.1 can
be calculated to show the agreement between the experimental results and
the empirical equation.
It
10%
is
which corresponds to a
368
o
oo
r>
OS
op
uo
(N
f^
s
6
uo
vb
vb
i
(N
fsj
VO
uo
oo
'"'
fs
OO
OS
CO
6
VO
i.
CO
r~-
CO
wo
oo
wo
ON
WO
rr
wo
o
OS
WO
OO
(N
CO
OS
'"^
(N
VO
CO
o
fs
CO
"^
OO
CO
p
6>
CO
i
6
'"^
CO
wo
CO
9^
CO
vb
wo
CO
wo
CO
d^
wo
wo
VD
WO
VO
o
6
p
6
as
00
CO
o
6
?
=
o
6
VO
CO
^
-^
CO
Co
OO
wo
3
6
2
6
CO
oo
wo
un
\b
CO
OS
WO
wo
CO
VO
CO
wo
2
CO
6
CO
ro
CO
oo
CO
CO
wo
VO
oo
g
6
wo
?
en
6
in
6
s
'^
6
Tf
Tf
wo
CO
CO
?
"^
wo
rg
fS
00
CO
r-
8
6
'"^
?
^
wo
(N
oo
wo
CO
fs
cs
VO
en
<N
10.
which
fits
least
369
averages, which
is
10.7.
an adequate
result.
Numerical Integration
is
integration.
Fig. 10.6.
Polynomial
fit
for integration
MATHEMATICAL METHODS
370
IN
CHEMICAL ENGINEERING
and would
data,
cubic
is
10.7.1.
The
the
is
the easier to
it is
is
ao + a^x
(10.51)
only contains two parameters (^o ^^^ ^i) it gives the equation of the
straight hne joining two points. Taking two points (a'i, y^) and (xj, yi),
Gq and a^ can be evaluated as
Since
it
an
= X2yi-xiy2
yi-yi
(10.52)
x between x
x^ and
X2
gives
= jydx =
=
[aoX + ia,x^Y,]
ao{x2-Xi) + ia^(x2-Xi)(x2
+ x^)
(10.53)
= X2yi-xiy2+i(x2y2-x2yi+xiy2-xiyi)
= i(.x2y2+x2yi-xiy2-xiyi)
= i(>'2 + 3'i)x(^2-^i)
= average height x width
(10.54)
The value of
the
illustrates
It
Ax
Fig. 10.7.
The trapezium
rule
if
the curve
10.
371
still
further.
integral
can be written
I
(10.55)
10.7.2.
Simpson's Rule
and
this
can be
three terms
is
the quadratic
ao + aiX-{-a2X^
However,
(10.56)
it
will
now
be shown that
all
(10.57)
which pass through any three chosen points at equally spaced values of x,
all have the same area beneath them between the end ordinates. The three
ordinates and the area required are illustrated in Fig. 10.8, where h is the
increment of x.
Yn
y,
Fig. 10.8.
The algebra
Simpson's rule
is
(x-X2)lh
(10.58)
372
ydx =
j ydz
(10.59)
-1
Xl
where the
bs are functions
bo
of the
as.
(10.60)
the trapezium rule, the three values of z are substituted into equation (10.60)
with the corresponding ordinates. Thus
y,
= bo-b, + b2-b2
(10.61)
yi
bo
(10.62)
y^
bo
+ b, + b2 + b^
(10.63)
Substituting equation (10.60) into equation (10.59) and evaluating the integral
gives
1
(bo
-1
==h[boZ + ib,z'+ib2z'-hib,Z^]l,
=
Adding equations
h(2bo + ib2)
(10.61)
and
(10.64)
(10.65)
yi-2y2 + y3 = 2b2
(10.66)
h[2y2
+ i(y,-2y2 + y,)']
= i(^i+4j2 + y3)x2/i
= average height x width
(10.67)
two parameters
If the
10.
373
Thus
X7
= jydx =
+ 4ye + y,)x(x,-x,)
(10.68)
The average height in equation (10.68) is found by adding four times the
even ordinates, and twice the interior odd ordinates, to the end ordinates;
the sum being divided by the total number of times an ordinate has been
used.
Formula (10.68) gives twice as much weight to some of the interior points
than to others, and is not really satisfactory for this reason. It imphes that
some of the interior points should be measured more accurately than others.
Nevertheless, the results obtained from the use of the formula are quite
accurate
if sufficient
Gauss'
Method
The derivation of
It is
integral
rule.
I=jydx = 2y
(10.69)
-1
Assuming
ao + l^ + ^2^^
(10.70)
X =
or
ym
cio
+ ia2 +
(10.71)
62,
M.M.C.E.
13
374
It will
now
Denoting these three values by x^, ^2, X3, and the corresponding ordinates
by y^, y2, y-^, each pair of values must satisfy equation (10.70). Hence
=
=
=
^1
yi
yi
It is
now assumed
in the
(10.72)
(10.73)
flfo
ao
proportions K^
eliminated,
and
K2
(10.74)
added together
K^ so
(10.71).
Thus,
J^i
3^1
+ ^2 J2 + ^3 J^3 =
(^1
+ ^2 + K3K +
+ (XiXi+ 1^2X2+ 1^3X3)^1
+ {K^xl + K2xl + K:,xl)a2
+ {K^xl-\-K2xl + K^xl)a^
H^^A-^K2xt + K^xt)a^
+ {K^A + K2xl-K^xl)a,
(10.75)
and hence
K.-^X-^
-\-
Ki+X2 + K3 =
K.2X2 4" -^^3 X3 =
(10.76)
+ TC3 X3 =
K1X1+K2X2 + K2X2 = J
Kixl + K2xl + K^xl=0
(10.76)
is
a set of
six
equations in the six unknowns x^, ^2, X3, Kj^, K2, K2,
is tedious and proceeds according to
(iii)
(iv)
The
(i)
(ii)
three remaining equations show that Xj, X2, X3 can be interpreted as the roots of the cubic equation
5x3-3x =
(10.77
10.
= - Xj = V
Therefore X3
(v)
and X2
/5,
375
0.
(vi)
it
4/9,
and K^
= K^ =
5/18.
5>;i
ydx =
+ 8>;2
+ 5>;3
(10.78)
i j ydx
= iiyi+y2)
(10.79)
-1
at
0-5773; and
(10.80)
-1
are evaluated at
ya.
0-8611 respectively.
4
Example, Evaluate
(1
+x^)~^ dx by using
(a)
Analytical
(b)
Trapezium
Trapezium
(c)
(d)
(e)
(f)
(g)
rule (3 points)
rule (9 points)
Simpson's rule
Simpson's rule
(3 points)
(9 points)
Gauss 3 point.
Gauss 4 point.
Compare
Solution
(a)
Put X
sinh
z,
and hence dx
4
.-.
/=
f/.
\{l
J
cosh z dz.
a
coshzJz
2x-i
^dx= r\-j- 2-;
+ x^)
JV(H-smh2z)
T
= [z]S
= sinh-M
= 2-0947
132
MATHEMATICAL METHODS
376
(b)
(c)
(d)
From
From
1+^2
00
100
0-5
1-25
10
200
1-5
3-25
20
2-5
7-25
3
3-5
10 00
13-25
40
17 00
CHEMICAL ENGINEERING
>'=:(l+x2)-i
00
00000
0-89445
0-70711
0-55475
0-44722
0-37138
0-31623
0-27473
0-24254
2-1369
2-0936
+ 0-55475 +
+ 0-44722 + 0-37138 + 0-31623 + 0-274
3)
_
~
=
(e)
IN
2
3
2-0209
iVO'i
2-0941
-1
to
=
=
10.
(g)
377
=
=
4[0-1739(0-96351
2-0944
The above
results
Table
10,2.
Method
Trapezium
Result
rule (3 pts)
Simpson's
(9 pts)
(3 pts)
,,
(9 pts)
Gauss 3 point
Gauss 4 point
It
Absolute
Relative
error
error
-00011
2-0209
2-0941
-00006
(%)
21
005
00422
21369
20936
00738
3-5
21093
00146
0-03
0-7
2 0944
-00003
0-01
10.2.
method
is
is
methods. The reason why Simpson's rule is so poor for three points is illustrated in Fig. 10.9, where the true curve and the parabolic fit can be compared-
FiG. 10.9.
at
Comparison of Methods
In most cases, the four-point method of Gauss gives an accuracy equivaof Simpson's rule with nine points equally spaced across the
same range. Gauss' method is thus more economical in the use of data, but
lent to the use
378
little
the
more
difficult
weighting factors.
Gauss' method should have many applications to the investigation of
the behaviour of full scale production equipment, where it is necessary to
compress all readings into as short a time as possible due to plant fluctuareduction in the number of readings required without loss of
tions.
accuracy is an obvious advantage. Another example is obtaining a representative sample of a steady state process stream. It is much more efficient
Gauss intervals, mix them in the Gauss proportions and analyze the composite sample; than to take twice as many
samples at equal intervals and analyze each one separately or mix them all
to take a set of samples at the
An
ship between
Fig. 10.10.
straight
rule
and Simpson's
rule
of three equally spaced experimental points (a), (b) have been chosen so
that the total error in each group is zero, and these are the only two possible
groups which satisfy this condition (except for their mirror images in the
line AB). It is obvious from the group (a) that the parabolic fit seriously
under-estimates the area, whilst the two straight fines joining the points
give a closer approximation. For the group (b), the difference between the
straight fine area and the parabolic area is smafi, but does show a marginal
advantage in favour of the trapezium rule. It is thus apparent that the
trapezium rule is more satisfactory than Simpson's rule. This conclusion
is in direct contrast to the result demonstrated in Table 10.2, where the
higher polynomials gave the better results.
These two conflicting conclusions can be reconciled as foUows. For
evaluating analytical integrals or integrating accurate experimental data,
the methods of Gauss and Simpson's rule should be used; but if the data are
t McDermott, C.
Birmingham (1962).
10.
379
The question of
accurate the data must be to justify the use of Gauss' method or
Simpson's rule is a very difficult one, and the answer must depend upon the
For linear relationships the trapezium rule
type of curve being fitted.
inherently inaccurate, the trapezium rule should be used.
how
appears to be the best for all experimental data, and the simpHcity of the
However, this statement does not
is a further recommendation.
detract from the value of Gauss' method or Simpson's rule for integrating
accurate experimental or theoretical data; nor does it invahdate a planned
experiment to sample a process at the Gauss intervals.
method
Chapter
NUMERICAL METHODS
Introduction
11.1.
Simpson's rule and Gauss' method, which were described in Chapter 10,
can be interpreted as numerical solutions of the first order differential
equation
'=m
(11.1)
First
11.2.
In Section 2.3
if
not hnear and the variables will not separate, none of the
methods given can be applied. The problem is thus to solve
the equation
is
(11-2)
j^=fi^,y)
ax
Picard' s
It is first
at
is
is
algebraic,
and
Method
y=^b
a,
(11.3)
As a
first
11.
NUMERICAL METHODS
381
-j--=f(x,b)
Equation
(11.4)
can
now be
(11.4)
/'^
x giving
jf(x,b)dx
(11.5)
x.
Thus
jfix,/'')dx
(11.6)
/"+!)
J/(x,y"))Jx
(11.7)
After each integration (11.7), equation (11.3) must be used to evaluate the
constant of integration.
Example
1.
If
>^
when x =
dy
is satisfied,
Putting
>'
1,
x^-y
J
dx
y when x
2.
of equation
gives
d_y^_:^-\
dx
/i)
Integrating,
Ix
\dx
= ix^-lnx +
But y^^
when x =
Ci
II
= i + i^'-lnx
III
1,
.-.
C,
.'.
y^^
dj^ _
dx
J.
2x
Inx
Inx
2x
I gives
Integrating,
^(2)
^i^^2_^xnx + Kin xf + C2
IV
382
But /^^ =
when X =
I,
y^^^
:.
i-\-ix'
-iInx +
i(l
nx^
/2>
Putting
X =
= | + |x2-Jln x +
i(lnx)'--idnxf
VI
/!)
1-807
1-644
1-670
It is
apparent from these figures that a few further cycles of calculation are
lies within the range l-644-^ 1-670; nearer
An
is
analytical solution
linear.
so that at
is
X =
= ix^+ix-^
VII
2,
1-667
VIII
x-'
e-'
= '-'" 21-
SI-"'"
^(Inx)^
= l-lnx + -^^
^
(Inx)^^
^+
...
Comparing
ix' + i-i^rix
i(\nx)^-}(\nx)'
+ ...
IX
11.2.2.
it
The method
II.
NUMERICAL METHODS
383
Assuming that equation (11.2) is satisfied, and an initial conyo 2it X = Xq) is given, it is desired to find the value of y when
XQ + h where h is some given constant.
to Fig. 11.1.
dition (y
iQ+h
-I
Fig. 11.1.
hf(xo.yo)
(11.8)
obtained from the following reasoning. The gradient of the chord to the
curve between Xq and Xq + H should be approximately equal to the gradient
of the tangent to the curve at Xq + p. Unfortunately, at this stage of the
calculation, the position of the curve at Xo + ih is not known; however, an
approximate value for y at x = Xq + ^H is given by y = >^o + 2^i* This
point (xq + P, ^^0 + 2^i) liss on a different curve of the family as illustrated
by c in Fig. 11.1. The gradient of the tangent to curve c at (xq + ^h, j'o + i^i)
can be calculated from equation (11.2) and the length k2 constructed by
drawing a line parallel to this tangent through (xq, yo). Thus^
k2
hf(xo + iKyo
+ ik,)
(11.9)
384
the centre,
and one
at the end.
is
curve b, and to the curve c which lies below b. To compensate for the effect
of the latter tangent, the final tangent must be taken to a curve lying above
b. On the ordinate at ;c = Xq + H, y = ;^o + ^2 is approximately on curve b,
>'o
+ ^i
is
below
definitely
j
should be above
b.
b,
hence
>'o
+ /c2 + (/c2-/ci)
>^o
(11.10)
XQ
+h
to the curve
+ i(/ci+4/c2 + /c3)
(11.11)
hf(xo.yo)
k2
hf{xo
+ ih,yo + ik,)
k3
hf(xo
+ h,yo+2k2-k,)
(11.8)
(11.9)
(11.10)
"
This formula (11.11) is known as the " third order Runge-Kutta formula
because the term corresponding to the third derivative term in the Taylor
series for
To
y expanded about
given in example
Example
is
2.
of this method,
1.
If
>^
when x =
\,
dy
x^ y
dx
value of y when x = 2.
Using the above symbols, h = \; hence equation
/ci=/(l,l)
Equation (11.9)
now
(11.8) gives
II
gives
fc2=/(li.l)
(9/4) -1
3/2
-^
~ 6
Putting equations
II
and
III
4-2i
IV
NUMERICAL METHODS
11.
Substituting equations
II, III
and IV into
385
answer
= l + i(0 + 3Kf)
= 1J
variables
by
^
dy
"^
^2
^x
...2
(11.12)
etc.
W._i
dx n-1
and remove all derivatives from the original differential equation except
which is replaced by (dw_ildx).
The solution of the set of equations (11.12) with the original differential
(d"yldx")
equation is now very similar to the solution of a single first order equation,
provided that the boundary conditions are of initial value type (Section
8.4.5). In this case, at some value x = Xq, values for y, w^, W2
w_i,
will be available and an extension of the Runge-Kutta process can be used.
The formulae for the second order differential equation
.
g..(,2)
are as follows.
Putting
dy
dx
equation (11.13) becomes
^ = F{x,y,w)
t Piaggio,
".
G. Bell
(11.15)
&
MATHEMATICAL METHODS
386
IN
CHEMICAL ENGINEERING
From the initial values (xq, yQ, Wq) and the interval
be defined as before. Thus
k,
Xi =
(h) in x, k^
and K^ can
/zwo
(11.16)
/iF(xo,yo,Wo)
(11.17)
where k^ is the first approximation to the change in y and K^ is the corresponding change in w. Proceeding in a similar manner to the first order case,
k2
h{wo + \K,)
(11.18)
X3 =
(11.19)
h(wo + 2K2-K,)
(11.20)
(11.21)
at the
y = yo + i(ki+4k2 + k,)
w = Wo+iiK,+4K2 + K^)
Example
and the
initial
value of jv
Solution.
1.
Given the
diiferential
(11.23)
equation
x =
conditions that at
when x =
(11.22)
y =
0,
and dyldx
0,
find the
1.
Putting
dy
I
= \, Xq = 0, yg
used in succession. Thus
Since h
fci
x^vv 2>;^
Jx
II
Wq
0,
^1 =
kz
1,
^w
III
l(3^)=
-0.2500
= 1(0-0-1250)=
K2 _
-0-1250
IV
r(0-5)^(-0-125)-2(l)^-|
8
= -0-25391
2k,- k. = -0-2500
2K,-K, = -0-25782
fca = -0-25782
VI
VII
VIII
IX
NUMERICAL METHODS
11.
i^3
-0-17285
Equation (11.22)
now
-,
y
.-.
387
XI
at
and
at
=
=
0-5,
1-0,
>;
= 0-9687,
= 0-8779
w = -0-1230
XU
%,
0-878
is
11.3.1.
f(x,
+ h)
...
^^/"\xo) +
...
(11.24)
if fix)
Example
and the
of y
2.
initial
when x =
Given the
differential
conditions that at
1.
equation
0,
>^
and dyjdx
0, find the
value
388
Solution
At X
The
given that
0, it is
differential
y'
II
Using equations
and
II,
III
therefore
/'= -0-2500
IV
^y^^'^^x^f + lxy'-Ayy'
at
= x'>;'-2/
0,
atx =
.-.
Differentiating equation
8y(^)
8/5)
=
.-.
gives
+ 6x/^^ + 6/-4;;/^>-12>;V'
/^>= -0-1875
atx = 0,
;cV'^^
y
.-.
VI
VII
VIII
manner,
in this
8^6)
x^y^^^
.-.
Continuing
/2^
0,
IX
X
XI
XII
gives
= 1-0000-01250 + 0-0052-0-0016-0-0002
= 0-8784
XIII
The direct use of Taylor's theorem is apparently simpler than the RungeKutta method in this application, because both calculations have been done
manually. However, the successive differentiations performed above cannot
be done by a digital computer and a more complicated problem would favour
the use of a computer programmed for the Runge-Kutta method using
many
sub-intervals of integration.
11.4.
order equations.
NUMERICAL METHODS
11.
boundary conditions:
at
and
389
at
= Xo,
= x^,
yo
(11.25)
yN
(11.26)
N integration
where
it
If
where Tq
70,
/cq
88-9, a
0-0180,
and p
2-40.
are
at
0,
T=
2700
II
at
l,
T=
300
III
and the
H=
is
given by
dT
-16-4-
ax
IV
Solution
it is
= l-x
(^o-aT)^-a^^y-^(T-To) =
VI
390
at
and
at
=
=
0,
r=
300
VII
1,
T=
2700
VIII
From
equations VII and VIII the average temperature gradient is 2400, but
the gradient at x =
should be smaller than this because less heat reaches
the water cooler than leaves the furnace, and the conductivity is higher at
the lower temperature. Therefore, as a first approximation, put
r = 2000
7"
dz
Putting
atz
IX
>v
equation VI becomes
dw
oiw^
+ P(T-To)
XI
Uq-olT
dz
= 2000
= 2434
Xi =
^2 =
1673
2A:2-/ci=2868
1K2-K^=
2477
11 543
k^
A:2
= 4477
^3
.-.
T=
.-.
w=
1^3
868-9
=3002
5184
XII
XIII
and K2.
The
.-.
/.
first
interval gives
k^= 900
iCi = 352-5
k2= 988
1^2 = 476-9
k^ = 1201
X3 = 834-1
=1309
T(i)= 300 + ^(900+3952 + 1201)
w(i) = 1800 + -1(352-5 + 1907-6+ 834-1) = 2316
XIV
XV
interval,
/ci
/C2
k^
.-.
T(l)
.-.
w(l)
=
=
=
1158
Ki= 761-5
1348
K2 =
X3 =
2009
1232
3948
XVI
XVII
NUMERICAL METHODS
11.
391
now
U%
if
29000Btu/h
XVIII
This answer
the problem.
is
It
11.4.1
Methods
method of
yn^i =/(x+i)
=fM + hfXx)+ih'r(x) +
...
yn=f(x)
yn-i
(11.27)
(11.28)
(11.29)
chosen
sufficiently small,
fM = yn
/X^n)
(11.30)
^"^'^""/""'
^"--'^;;-^^"=
rfa) =
(11.31)
%:l
(11.32)
The
calculation details
a particular example.
is
more
392
0-3251
Fig. 11.2.
"-h(i^)1
the coordinate measured as shown in Fig. 11.2, and Uq, the axial
If the metal conductivity k = 0-107
has a value 100 cm/sec.
cals/sec cm^C cm~^, find the temperature distribution within the chamber
where z
is
velocity,
wall.
Solution
The shape of
coordinate
(x).
NUMERICAL METHODS
1.
393
I
Idealized metal section
Fig. 11.3.
in the section
ABFE
gives
d^T
h ,_
dx^
ks
_.
^^--(T-T,) +
Q
I
ks
d^T
0-8
0-00626 X 100^-^
0107
dx^
To simpUfy
X 0-1219
[i'llj
the arithmetic,
it is
57
II
0-107 X 0-1219
convenient to put
I'llX
III
e=T-Ts
IV
and
:,
Similarly, in the
(T-Ts) +
but heat
is
still
d^e
dX'
<:
4228
VI
2-1,
d'-e
18-5[l-(2-l-Xrp-'0
dX'
In the
finite diff'erence
BC is
VII
representation,
one
interval,
0+i-[2+O-3O8(l-X3)-]0 + 0_i
which
is
valid for
9.
The
finite difference
+ 7O-5 = O
which
in the following
manner.
:^
VIII
is
IX
20.
Point
= -\
is
exists
in a plane of
where 0_i
O^.
394
gradient
is
Similarly, 622
becomes an ordinary
IX
is
valid for
21.
The conditions
to first principles,
^9
6
V21SX
6in
10
^11-^10
difficult,
9i
lOJ
is
is
l-21dX
Heat balance
Fig. 11.4.
at
but returning
BF
SX =
-0-1219/c,,
1-21
,,
-0-2032/c,,
...^.
SX
V21dX
+\{e,o+e,)\'2i8xhL=,.,s
which
simplifies to
O-366609-(?io
1 1
+ O-6213^ii+26-3 =
XI
gives
0-4976010-^11 +0-4927^12
+ 10-5 =
XII
There are thus ten equations of type VIII, ten of type IX, plus equations
XI and XII which are to be solved for 0 where ^ ^ 21. The simplest
method of solution is to estimate values of 0 for odd values of n and solve
the equations directly for 0 at even values of n.
improved odd values can be calculated.
values,
From
By
coefficients of
11.
Table
11.1.
_
4
6
8
10
12
14
16
18
20
On-l
0-8665
0-4336
0-4363
0-4438
0-4601
0-6213
0-4842
0-4690
0-4616
0-4585
0-4577
0-4336
0-4363
0-4438
0-4601
0-3666
0-4842
0-4690
0-4616
0-4585
0-4577
coefficient of
plus
^n+l
On-X
395
coefficient of
NUMERICAL METHODS
30-5
30-6
30-8
31-3
32-4
26-3
9
11
13
15
17
19
21
plus
^n+l
0-4333
0-4345
0-4392
0-4504
0-4743
0-4927
0-4752
0-4646
0-4597
0-4579
0-4333
0-4345
0-4392
0-4504
0-4743
0-4976
0-4752
0-4646
0-4597
0-4579
0-9154
30-5
30-6
31-0
31-8
33-4
10-5
To
^^
= 250e-
4-25(X-l-l)
XIII
Evaluating equation XIII at the chosen points completes the estimate of the
temperature distribution.
The equations given in the left-hand half of Table 11.1 can be used to
calculate the values in the second row of Table 11.2. The calculation is thus
started and alternate use of the left- and right-hand halves of Table 11.1
gives the solution.
quicker way to the solution is by making a fresh estimate
at any stage, and this has been done on two rows of Table 1 1.2. The solution
given in the last row was obtained from eight further rows of calculation.
This solution will be fairly accurate in the metal immediately surrounding
the duct, but not very good in the weld section CKJBF. Taking a heat balance
over an element within this section gives
XIV
d^
or
1640
XV
dz'
Solving equation
-397
is
a plane of symmetry
gives
T = A-820(1 -397-2)2
XVI
'
396
-^
vn
r>
v^
*r)
IT)
wo
VO VO
wo
r-
(N
S
On
^^
00
oo
t^
S
o
CO
CO
^
oo
jq
OO
ON
(N
VO
O
ro
m
OO
S
<N
in
00
00
CO
<
Tf
CO
VO
WO
wo
VO
oo
CO
CO
?;
CO
CO
^5
<N
oo
ON
u-> CO
CO CO
<N rN
VO
CO
<N
VO
CO
>n
CO
w-^
wo
wo
wo
CO
CO
wo
s
ON
w^
CO
w-^ VO
CO CO
N
Tf
CO
<N
(N
CO
w-^
ON
00
CO
r^
ro
CO
wo
5
<N 3
5
(N
o
oo
oo
s
(N
?i
CO
00
00
VO
00
s
(N
VO
<N rN
CO
SS 8
CO CO
CO
CO
o
CO
P5
CO
CO
W-i
i
CO
CO
CO
ON <N
eN CO
CO CO
S
CO
!
(N CO
VO
<N
t^
CO
fN
r-
CO
ON
O
>n
as
CO
Tt
S
fN
^
S
<N
VO
<N
a\
CO
<N
?i
r(N
CO
r^i
t^
Tj-
VO
CO CO
CO
VO
VO
o
in
^
CO
co
en
vo
00
CO
oo
VO
VO
oo
00
r-
^
CO
S
CO
o
<N
p-
CO
oo
r-
en
VO
ON
W^
ON
OO
CO
oo
g
o Tt
^S
00
>o
VO
(N
SO
-CI
Si
00
wo
(N
wo
VO
00
w->
VO
ON
CO
CO
t^
wo wo
wo
,__
'^
r--
^
<N
Tt Tt
<N <N
r--
wo
(N
CO
uo
I
a\
^
r4
ON
'^
VO
CO
wo
oo
r-
00
^H
^^
VO
CO
^
00
^^ 1
Tf
<N
n- VO
wo w-^
CO
lo
oo
as
"^
r) tN
CO
o
oo
as
00
^
CO
r4
CO
CO
<N
wo
r~-
o
^
as as
(N
r-^
ON
9.
<N
-H
vo
as
OO
r-
CO
CO
00
JS
<N
?3
as
VO
VO
Tf
(S
CO
^
m
CO
VO
vo
OS
as
CO
vo
>r)
00
VO
VO
wo
ro
WO
ro
CO
"
NUMERICAL METHODS
11.
F (z = 1 -270) is
Ts + e = 130 + K309 + 256) = 412i
at point
T=
A=
.-.
397
XVII
426
have been plotted in Fig. 11.5, which shows that the hottest
from the corner of the coolant channel
is about 1-5
along the heated wall, and not at the centre of the uncooled weld. Because
the temperature drop across the metal wall has been neglected, the results
These
results
mm
500
400
Weld
L__<T---^
Exposed
wall
300
Rear
200
100
wall
^^--^"^
1
0-508
0-254
Fig. 11.5.
6
7
0-792
10
016
Temperature distribution
II
1-270
in cooling
duct
11.5.
In
is
many problems
it is
readily accomplished
Roots of
are
Algebraic Equations
+ c=:0
_ - feV(fe'-4ac)
""""
(11.33)
(11.34)
2a
Less frequently, a cubic equation needs to be solved, and this can also be
398
done
quartic equation
much
difficulty.
An
analytical solution of a
is
most
practical
tanx
are also insoluble analytically
Transcendental
(11.35)
/cx
for solving
11.5.1.
A method due to
Tartagha (1545)
ax^
have three
by putting
will
roots, the
the following.
is
+ 3hx^-V2>cx-\-d =
(11.36)
=X+
(11.37)
a
gives the equation
z^
+ 3Hz + G =
(11.38)
a^H = ac-b^
a^G = a^d-3abc + 2b^
and
To
where
t;
is
a function of u which
u^
Choosing
= Hju
is
made. That
is,
= u+v
is still
to be determined.
(11.39)
Hence
+ v^ + 3(uv + H)(u + v) + G =
will simplify
(11.40
equation (11.40) to
M^-H^ + Gw' =
Equation (11.41)
is
(11.41)
= -iGy(G' + 4H^)
(11.42)
= H,
six values
Equation (11.42) determines six values for u and since uv
of V are determined. Hence equation (11.39) appears to give six roots to the
cubic (11.38). However, there are only three distinct values for z because
each pair of values for u and v occurs twice, once a.s u + v and again as
v + u. Equation (11.37) transforms the values of z into the corresponding
values of a: which satisfy equation (11.36).
Example
1.
x^-4x^ + lx-5 =
Removing
= x-ii
II
NUMERICAL METHODS
399
27z^+45z-ll=0
z = u+v
27w^ + 27i;^ + (8lMi; + 45)(M + t;)-ll =
III
11.
gives
Putting
IV
Assuming that
8lMi;
+ 45 =
-=-'
9w
729m^--297m^-125
.-.
"
.-.
From
equation
is
VI
V
t;= -0-6364
VIII
II,
X
is
VII
IX
1-5698
I.
is
to divide equation I
by
x2-2-4302x + 3-1851=0
which has the roots
1-2151
+ 2-61431
XI
In general, if the cubic equation (1 1.36) has three real roots, G^ + 4H^<0
and equation (1 1.41) has complex roots. The cube root of equation (1 1.42) is
best evaluated in the
Argand diagram
Hence the
cubic equation.
roots.
11.5.2.
method
is
in this case.
When
In
the
400
Example
2.
tan X = kx
where k is a. constant.
Equation I can be resolved into two equations
and
>'
tan X
kx
II
III
shown
in Fig. 11.6.
"*y=tan x
Fig. 11.6.
kx
= ^71 and
then repeated indefinitely at intervals
of n along the x axis. Equation III is just the equation of a straight line and
the solutions of equation I are the points of intersection of the two curves.
The gradient of equation II at the origin is unity and therefore two possibilities arise. If k = ki<\, there is only one root on the principal branch;
but if k = k2>l, there are three roots on the principal branch. Altogether
there are an infinite number of roots which occur approximately at odd
multiples of in. As already mentioned, the first few roots near the origin
are a fair distance from the asymptotes and there may be one or three roots
near the origin, depending upon the value of k.
The
principal branch of
j^
11.5.3.
is
II.
NUMERICAL METHODS
401
consecutive results agree. Only one side of the equation can be used for the
evaluation step because the one side will give a convergent solution whereas
3.
15a^-68a^ + 95a-47
which
close to a
is
by
2-5.
z
into equation I
4 = a-l-5111
II
and rearranging,
z^
0-5170z + 0-4641
III
side of equation III has been plotted in Fig. 11.7 to show the location
of the root. The mechanism of the numerical method is also illustrated by
Each
0-5I7Z + 0-464I
Fig. 11.7.
ABCD.
Starting
z^, the
and
and a
It is
obvious from
would
and the subsequent evaluation of z from the right-hand
side of III would be further from the root than the original estimate.
The determination of which side of an equation to substitute into,
depends upon the nature of the two functions in the vicinity of the root.
the diagram that substituting into the left-hand side of equation III
give the point A',
Thus, the left-hand side of equation III is very sensitive to small changes in
z whereas the right-hand side is relatively insensitive. Hence, the approximate value is always put into the insensitive side, and the new root evaluated
from
402
0-5170zi +0-4641
Z2
.-.
0-5170Z2
to z
0-9811
1-0
from equation
II.
zf
0-9937
+ 0-4641 = 0-9778 =
Z3 = 0-9926
zl
.-.
0-5170Z3
+ 0-4641 = 0-9773 =
Z4 = 0-9924
zl
.-.
0-5170Z4 + 0-4641
Z5
.-.
0-5170Z5
0-97717
zl
0-99233
+ 0-4641 = 0-97713 =
zg = 0-99232
zl
.-.
Hence, by equation
is
close
root.
II,
2-5034
The idea in the above method is to divide the equation into two parts,
one very sensitive, and the other insensitive. This is why the second term
was removed from the original equation; otherwise it would have increased
the sensitivity of the right-hand side of equation
11.5.4.
Newton's Method
is
/(x)
is
III.
required,
(11.43)
in
equation
11.43) can be
f(x,
+ 3x)=f(x,) + 5xfXx,)
(11.44)
or
X2
=
(11.45)
x,-f(x,)ir(x,)
Thus
^3
= ^2-/fe)//'feX
etc.
NUMERICAL METHODS
n.
403
particles,
V,=^Vo{l-kc){i-Kc^l^)
where V^
is
Vq
is
is
the
A:,
From
the following data given in the paper, find the best values for k, K,
000333
00666
0010
0020
050
least squares.
F,(cm/sec)
K,(cm/sec)
00943
00815
00761
00740
00688
00612
010
015
00492
00397
00316
00234
00169
00125
0-20
0-25
0-30
0-35
Solution
Rearranging equation
experimental error,
+ pc- ajSc^/^ = R
= K, and j5 = Vok
Vs-Vo +
where
Vo ac^/3
II
III
gives
Fo(iV + a2^c2/3-2aXc^/3)
a(2/?FoZc^/'-^'Zc/^-Fo^Ec^/')
AZc2 + a'Ic/'-2a^c^/3)
= aXnc^/3 + FoSc-2aFoZc^/' + aVoZc^/'-Z^sC
where N = 12 is the number of experimental points, and each sum
over
all
points.
and VI
11.3,
VI
taken
can be
is
to give:
Ko(12 + 2-4949a2-9'5544a)
=
t Oliver,
D. R. Chem. Eng.
II
404
OpPPP'TiCSfncncpfOfp
66666666666
OfS"^Ooo<N(N'7'Op'^T-iCiO
^-H^^(S(S(N^'^'^6
QoorsivocnTtoo
ppppp6
,>-sQoOOO^<Nt1-VO
666666666
,
oo.F-(ONVoascom<Nfo
QOoo-^r-^mONO^
oopppppppppp
6666666666
'-^^OOOOOOOOO
OO'iTtoo>/-^o>no/^
0000<NO<NO<NOr^
ooooO'^rsTtvoosrN
pppOpppOpp'TH
X)
ooOT-Hvo^HfsooON"^m
Oppppppppp^'T'
ir>fOr4TtrfrJ-r^O/^oovo
Oopppppp'7''7ir^(N
for--ooooooooo
mvoooooooooo
C?opppP'7i'7'<NeNfpf^
^
^
&'
f~\
'-^
1
^
d)
<--'opoO'-^<NrN<^mTt'^
ON
-^
ON
tT
11.
NUMERICAL METHODS
405
+ l-7516Foi5-0-2270/?2
_
^(0-35055 + 0- 14854a2 0.4540a)
= 2-1103a-3-8445 + l-440Fo-l-7516aFo + 0-5488a2Fo
which are to be solved for
The
Vlll
18-093Fo-2-1103i5-4-7772Ko^
a, p,
and
IX
Vq.
0-75,
)S
18-98,
Fq
9-35
a
Unfortunately, there
is
0-747,
i5
18-67,
Fo
XI
9-21
0-747
+ x,
by a small amount
in error
i5=18-67 + >',
Fo
9-21
(x, y,
or
+z
z).
XII
=
p^ =
Vq^ =
oip =
(xVo =
pVo =
a^p =
(x^Vq =
olPVq =
aP^ =
aFo^ =
a^
+ 1-494X
348-57 + 37-37>^
0-55801
84-824+ 18-42Z
13-946+ 18-67x + 0-747>^
6-880 + 9-21x + 0-747z
171-95 + 9-21>'+18-67z
iO-418 + 27-89x + 0-558;^
5-1393 + 13-76x+0-558z
128-45 + 172-0x + 6-880>'+13-95z
260-4 + 348-6x+27-92j;
63-36 + 84-82x+13-76z
Putting the above linearized expressions into equations VII, VIII, and
simplifying, therefore
IX and
+ 0-438>^-6-255z =
74-61x-65-82>'-18-19z =
2-138x + 0-0944>;-0-438z =
18-19x
M.M.C.E.
0-029
XIII
0-15
XIV
XV
0-0029
14
406
00014,
a, ^,
-0-0006,
= -00006
XVI
and Vq are
0-748,
i?=
18-67,
Kq
9-21
XVll
III,
and remembering
the factor (100) introduced in Table 11.3, gives the final result
=
k =
K=
Vq
0-0921 cm/sec
2-027
0-748
Comparison of Methods
The method of
repeated
easiest
many
method
times,
and
if
the process
is
convergent, this
more
show up
is
probably the
in the following
Newton's method
algebraic manipulation.
11.6.
is
An
efficient
accurate solution
Difference-Differential Equations
The numerical solution of this type of equation follows directly from the
method given in Section 11.3. Considering the general form of equation
which
arises in
chemical engineering,
%"=f(yn-uyn,yn^i)
(11-46)
where the values of y are given at some value of / (say / = 0) and taking
an interval (h) in t, then the modified Runge-Kutta process can be performed
on equation (11.46) for each value of n. Thus, evaluating
K,t
for each value of ,
K,2 =
and
hf(y.y,y^,)
(11.47)
(11.48)
finally
K3 = hf(yn-i+^K-i,2-K-i.uyn+^K,2-K,uyn+i+^K+i,2-K+i.i)
(11.49)
11.
NUMERICAL METHODS
Equations
to k,
which
yn+i(k.,i+^k^2
is
is
407
given by
+ K,3)
(11.50)
from equation
(11.15) to equation
(1 1.47,
is
The method
just described
is
manual computation.
the following method
11.6.1.
Step-by 'Step
Method
The increment
Example L
gas absorption column contains six theoretical plates each
having a liquid hold-up of 10 lb. An inert gas passes through the absorber
between periods of continuous operation and the pure solvent is fed at a
reduced rate of 200 Ib/h. When the main process is restarted, gas containing
5 % by weight of the soluble component enters the base of the absorber at
1000 Ib/h. If the absorption coefficient is given by
y
what time
keep the
= 0-40x
exit gas
concentration below
must be increased to
0-2%?
Solution
Gy_,+Lx^,-Gy-Lx =
dx
H-^
II
at
kx
III
14-2
MATHEMATICAL METHODS
408
Flow through
Fig. 11.8.
to eliminate x
CHEMICAL ENGINEERING
IN
/7th
II.
Thus
(^yn-l+yn+l-OCyn-yn
where
Hdy
L dt
IV
= kGIL
Taking a time interval At and denoting the new gas composition above the
nth plate by y*, the derivative in equation IV can be replaced by a finite
difference form. Thus
TT
ccy-i+yn + i-{GC+l)y
= -(y*-y)
LAt
VI
LAr
LAt
VII
On
new
value y^*
is
expected to depend
upon
must be chosen to
satisfy
LAt
l-^(a + l)>0
VIII
At<HlL(oi + l)
or
IX
0-40x1000
^^
2-0
200
H
L(a +
Hence, At
is
1)
chosen to be 1/120 to
10
200x3-0
60
satisfy IX.
form
y:
= U2y-i+3yn+yn^i)
NUMERICAL METHODS
11.
are:
= 0,
= 0,
M = 7,
at
=
>'o =
^7 =
at
at
XI
The
409
0-05
XII
XIII
yo
2
3
4
5
6
7
8
9
10
11
2-500
5-000
5-000
5-000
5-000
5-000
5-000
5-000
5-000
5-000
5-000
5-000
11.4.
Gas Compositions
y^
yi
0-833
2-083
2-755
3-183
3-483
3-707
3-880
4-018
4-131
4-225
4-304
0-278
0-833
1-350
1-790
2-159
2-470
2-733
2-958
3-152
3-321
yz
0-093
0-324
0-617
0-926
1-227
1-512
1-776
2-018
2-240
in
y^.
y^
y^
0-031
0-123
0-269
0-451
0-653
0-865
1-080
1-291
0-010
0-046
0-113
0-210
0-330
0-469
0-620
0-003
0-017
0-046
0-093
0-156
0-234
7?
use of equation X.
11.7.
In Sections 11.3 and 11.4, it was shown that some methods of solving
ordinary dififerential equations were unsuitable for boundary value problems,
and others were unsuitable for initial value problems. It is again necessary
to present independent methods of solution for the same classification of
problems. Initial value problems were defined in Section 8.4.5 as those
410
11.7.1.
Method for
Step-by-step
Initial
Value Problems
dt
a^
(11.51)
dx'
in
Comparisons of equations
(11.46, 52)
now be
the
m,n-f
^m,n
2Ar
__i__(T
IT _L T"
^
" ^^^y^^m^Un-^^m,n^
^m-l.n)
or
11.
NUMERICAL METHODS
411
T and
shows
result, if
and any
is
only correct to
first
differences
^ ^m,n
is
-*m, n
+1
^m,n
^aa ca\
At
dt
(11.55)
M = a(A0/(Ax)2
(11.56)
termed the " modulus " of the equation, and its value determines the
" stabiHty " and " convergence " of the method.
Formulae do exist to
determine which methods are stable and convergent, but the statement above
that all coefficients in equation (1 1.55) should be positive for a stable solution
is both simple and effective. Hence
is
M^i
If the
temperature
is
known
(11.57)
at all values of
(or
m)
for a value of
(or ), then repeated appHcation of equation (11.55) will determine the comBefore the method
plete temperature distribution at time t + At (or
l).
can be started, values must be selected for Ax and At such that the condition
(11.57) is satisfied. The most convenient procedure is to choose Ax to be a
suitable fraction of the total range of x, and then choose
to satisfy (11.57)
and give the simplest coefficients in equation (11.55).
The simplest choice of value for Af is J so that equation (11.55) becomes
This value of
is on the limit of stabihty and equation (11.58) cannot be
expected to give answers of great accuracy, it does however have the merit
of simplicity and will give a good approximation to the answer if A;c is chosen
sufficiently small. The first known use of equation (11.58) was by Schmidtf
who used it as the basis of a graphical construction.
Boundary conditions were classified in Section 8.4. The first type will
simply fix the value of T^ at some value of
for all values of n. The
other two types both involve a derivative which must be replaced by a
finite difference expression. Equation (1 1.31) is the best one for this purpose,
but an equation analogous to (11.54) must frequently be used for speed of
calculation. Thus accuracy is sacrificed by using an expression correct to
t Schmidt, E.
'*
Foeppls Festschrift
",
Springer-Verlag
OHG,
Berlin (1924).
MATHEMATICAL METHODS
412
first
Because
differences only.
made
missible to
make
IN
this type
CHEMICAL ENGINEERING
of approximation has already been
(11.53),
it is
per-
conditions.
'c
^ (pe
where Pe
is
Ps
is
The reaction
rate constant
;^
is
of hydrogen (atm)
given by
= 12600exp(-11000/r)
II
III
T is the temperature in K.
each reaction tube has an internal diameter (2a = 4") and is to be
suppHed with 0-152 lb moles/h ethyl benzene and 1-52 lb moles/h steam at
600C, the total mass velocity will be 500 Ib/h ft^. The tube is heated by
flue gas which flows countercurrent to the reaction mixture at a rate (R =
287 Ib/h) and leaves at a temperature of 620C. The following data are also
where
If
supplied.
(p)
Ratio of effective
diff*usivity to
(Arf)
-2
Ib/ft^
atm
=0-52
(Cp)
90
=
=
=
=
is
ft"
ft
Btu/lb F
0-24 Btu/lb F
required to achieve 45
ft^
conversion
NUMERICAL METHODS
413
Solution
shown
benzene
is
consumed
at a rate
InrSrSz pr^
and heat
is
lb
moles/h
absorbed at a rate
6z
4u,c,T
c
Fig. 11.9.
Taking a balance of the mass flow rates of ethyl benzene through the element,
accounting for bulk flow in the axial direction, mass diffusion in the radial
direction, and losses by reaction, gives
InrSruc lnrSz
De
d(uc)
dr
2nr5ruc
is
(2nrSruc)5z
oz
+ 2nrSz
where
De
d(uc)
dr
InrSz
dr\
u
d
dr
Inrdrdzpr^
dr
and u is the
After cancellation of terms, this equation simplifies
to
DE(d\uc)
d{uc)
dz
It is
more convenient
volume element
GcXdr""
to
work
\d{uc)\
in
dr)
gives
GC^
414
converted which
denoted by
is
UqCq
(q)
d(uc)
.'.
= UoCQdx
Dr /d^x
dx
dx\
or.
-[-^'r--]--^^-^ =
oz
u \dr
VII
UqCq
r or I
coefficients in equations
data.
At
/c
0-26
GC^
500 X 0-52
00010
ft
^^^^
^ = 60000x90r,
^ 20
500x0-52
Ai/pr,
^,^
800r, F/ft
GCj,
= 00014
'
'
11600r, X/ft
ft
Hence equations
pr^
90r^X7r
UqCq
0-152x36
^^_^
dT
/d^T
- 00010 Id'-T
y +
dT\
+
rdr)
VIII
+ -'^l-51.7r. =
g- 0-0014^^
\d?^~rY)
IX
Yz
^^
^
Sl'lrAl
\dr^
/d^x
11 600r,
dx\
After the reaction mixture has passed a distance z through the bed, a fraction
{x) of the ethyl benzene will have been converted. Thus the reaction mixture
will consist of:
10
\x
X
X
ll+x
moles
moles
moles
moles
steam
ethyl benzene
styrene
hydrogen
total
is
reactants are:
1-2(1
-x)
l-2x
of the
Substituting equations II
415
NUMERICAL METHODS
II.
and
15100exp(-11000/r)[i:i^^-^i^]
K is
where
Two
when
0,
T=
and when
0,
or
The
XI
XII
873
XIII
third condition expresses the fact that the flue gas loses heat to the
dz,
-- = 2na bz kv -r
dr l^
dz
InakE dT
dT
XIV
or
dr
RC'p
XIV becomes
dT
dT
XV
= 0-0040-
dr
dz
for the
are,
when
0,
when
0.
XVI
XVII
dr
and when
XVIII
dr
its
m,n +
Az
^-
9T
-4-
0-0010
2m(Ajr?
+ 11600r, =
XIX
and
'm,n +
-X,
Az
0-0014
m-
l,n
^T i+l,fi~^m-l,n
2m(Ar)2
-51-7r,
XX
416
XIX and XX
Equations
Mn- jT^_i,-
11
600A2r,
XXI
and
m,
n+
M '(l+^)^.+
l.n
+ (l-2M'K. +
+ MYl-^^x,_i, + 51-7Azr,
M = 0-0010 Az/(Ar)^
where
M' =
XXII
XXIII
XXIV
0-0014 Az/(Ar)2
XXI and
XXII.
hm^ = -^
The
finite difference
ro.+i
Zo.+i
XXV
finite difference
XXVI
XXVII
become
andxi.
7^i.n=7^-i.n
x_i,
XXVIII
M = 0-179,
M' =
0-250
XXIX
Az = 0-310
Equations XXI, XXII,
T^.+i
0-179 (l
+ J-]
T+,
XXX
ft
+ 0-642r,. +
+ 0-179 ('-.y
l---r_i -3600r,
XXXI
11.
,+i
417
NUMERICAL METHODS
+ ^)x,+i. + 0-50x,, +
0-25 (l
XXXII
XXXIII
XXXIV
T^^q = 873,
=^i.n + 16-0r^
XVIII
is
at
4,
but with a
fictitious
row of points
at
5,
equation
gives
X^
5,n
XXXV
Xn3,n^
Ar
Az
or
T^,n^i
XXXVI
T4,+o-030(r4.-r3.)
is
Table
11.5.
coefficient
11.5.
of
coefficient
of
m
Tm-\,T\
2
3
0089
0134
0149
^ m,n
Tm+l,n
0-284
0-642
0-642
0-642
0-716
0-269
0-224
0-209
Xm-l,n
Xm,n
Xm+l,n
0125
0-500
0-500
0-500
0-500
0-375
0-313
0-292
1000
0-187
0-208
0-500
418
Fig. 11.10.
Conversion
11.
NUMERICAL METHODS
419
oooovomoor<^r~0"^r^ON
66666666666
OOOO'-^VOTfrNOOTj-r^iO
Tj-Tt-Hoor^-H^vooNOsrr--r^moomoo<Nnc'iTf
m
6
O "O
66
ON
o
66666666666
m
6
o
On
000\n-^VO<NO\<NO\00
TrTi-vooNONoo\oor-m
r^r^r^^o-^r^-HTj-vooN
OO
n
ro
<NvO
66666666666
66
o\
on
CT\
O Tt
66
^fcjo
tri-^
oooNONNor--ooo"^ooo
Tj-Tj-Nor-^r-HONOfNr-o
On
r-~r.tNNOOrovooo^^r-iNO
ro
ONr^^m
^hoo
66666666666
66
OOONONO^ONOOO\rfO\
Tj-Ttvor-^osTtONmr-ON
0
r-
Pp^'7'N<N<N<Nrpcnrp
p
6
66666666666
Om
66
^
vo
B*
.6
s,l
r^
|cn">^o^obo\'^fn'<i-vo
1
^
O 'onOnOnOnOnOnOOOO
OOOOOOOOOOOOOnONOnOn 6
ON
1-293
907-9
11-2
NO
rj
oo^oo<^Oooooooo\0<STf
O^HOOOOOOOOOOOOOOOOOOOO
^H vo
His
Hf^HN
oo'^"tr^<Noovo>o<ow-^NO
O^oooooooooooooooooooo
o
^
O
-*
-^
tNl
pNb:^
O'-HOOOOOOOOOOOOOOOOOOOO
NO
o O
OO
00
o
o Om
OO
i ^^2
O o n 00
Hn
00-^^000<Nr^Tj-fSOO\
o
so o '^ fn rg rq -^ ^ ^ ^ o
O ^
O^-HOOOOOOOOOOOOOOOOOOOO o
t
"O 00
<N
v^
^(.^tltff,^t,^t,^blK^tltl
0-300
2-5 809
420
/
X
is
given by
rxdr
XXXVII
^^
rdr
I
the numerator of which can be evaluated by Simpson's rule (Section 10.7.2).
Thus
12
XXXVIII
XXXIX
.'.
0-4324.
is
L=
10-7Az
XL
3ft4in.
The
difference equation correct to first order terms whereas the derivatives with
As noted
XV
correctly to
first
technique.
11.7.2.
Iteration
This is the correct name for an organized method of trial and error
which leads to the solution by obtaining successively improved values.
To improve the ordinary step-by-step method, all derivatives need to be
replaced by finite differences correct to second order terms. That is, equations
11.
(11.31, 32)
NUMERICAL METHODS
421
to equation (11.51)
and
its
stable finite
m,n
-1, n
"E
Fig. 11.11.
P
m,n+1
m-1,n+l
m+1,n+1
at the points B, C,
D.
Viz.
r,.,i
=Mr,^i.+(i-2M)r,.+Mr^.i.
M = (x{At)l(Axy
where
(11.55)
(11.56)
Equation (11.54) which was used to replace the time derivative is only correct
A, but is an adjusted form of equation
(11.31) correct to second differences at point E, mid-way between A and D.
Thus, if the differential equation is replaced by a difference equation vahd
at point E instead of point A, then an improvement should be apparent.
Using equation (11.32) at point D gives
to first order differences at point
d^T
T"^2
7T~T2(-^m+l,n+l~2T; +!
finite difference
+ r^_i
+i)
(11.59)
dx^
-2
E-2(Axy
^Tm,n
^Tjn,n+l)
(11.60)
By
is
and rearranging, a
finite
obtained.
+(i-M)r,,+iM(r,^i,+r,_i.)
(11.61
This is the form in which the equation is used, but there are two unknown
terms on the right-hand side within the first bracket. The use of equation
(1 1.61) is very similar to the method described in Section 1 1.5.3 for improving
a root of an algebraic equation, except that here, there is a set of simultaneous
equations to be solved. Therefore, a first approximation is guessed for
r^^n+i for all values of m. The right-hand side of equation (11.61) is next
evaluated to provide a better approximation for r + j. These new quantities
422
on the right-hand
further approximation.
method stable.
The treatment of boundary conditions
step-by-step
is little
altered in this
new method,
but equation (11.31) should always be used to replace any derivatives in the
boundary conditions, so that the whole process is correct to second order
differences. The details are best illustrated by an example, and the reactor
of the previous section will now be redesigned.
formulae gives
'm.n+l
0-0010
T^T
-*m-l,n
-'m+l,n
Az
,
-^m+l.n-H ~^-^m,n+l
-*m-l,n+l
-^m+l,n+l~-^m-l,n+l
^
,
2m(Ar)2
(Ar)2
+ 5800[r> + l) + r,(w)] =
XLI
and
Az
2
.
^m +
2m{^rf
(Ar)^
~ ^^m, n-H+^m-l.n+l
^m+l.f+l~^m-l,n+l
2m(Ar)^
(Ar)2
-25-85[r,(n
+ l) + r]=0
XLII
XXIV, and
treat-
11.
NUMERICAL METHODS
423
(l+M)T,.+i=iM
XLIII
+ U-^j(^m-l,n + ^m-l.n+l) +
+ (1 - M'K, + 25-85[r,(n + 1) + r,()] Az XLIV
(l+2M)ro.+i = 2M(Ti.+ri, + i) + (l-2M)ro,- 5800[r,(n + 1) + r,(n)] Az
XLV
(l+2M')xo. + = 2M'(xi, + Xi, + i) + (l-2M')xo. +
XLVI
+ 25-85[r,(n + 1) + rXn)] Az
Choosing M and M' to have the same values as given by equations
XXIX following the recommendation above, and selecting six radial
i
=
Az =
Ar
and hence
XLVI
Equations XLIII to
'/;.+!
=0-0758
:^
thus
1/36
become
(^m+l,n+ 'm+l,n+l) +
+0-697r,-678[r> +
.Vn-Kl= 0-100
XLVII
0-138
)(^m+l,fi
l)
+ r]
XLVIII
+ ^m+l,n+l) +
XLIX
L
LI
Boundary conditions XII, XVI, and XVIII are treated as before the last
by means of fictitious points. However, an equation correct to second
differences can now be used for equation XV as follows. The tube wall is
given by w = 6, hence, using equation (11.54),
;
LIT
dz
Az
424
(11.31), gives
-I
LIII
-^=^a7.+7^7.-fl-7^5.n-7^5.n+l)
Substituting equations LII
and LIII
10^
^7,n +
into equation
^5,n+^5,+l~^7,n
Ar
(^6, n+
~ ^6,n)
LIV
The high
/lO^ArM
OTTe,^,
/lO^ArM
LV
LVI
compounded according
Table
11.7.
Method
coefficient of
Tm-\,n
rp
Tm+i,n
lm+i,n+i
0-4740
0-6968
0-6968
0-6968
0-6968
0-6968
1-0212
0-2630
0-1137
0-0947
0-0884
0-0853
0-0834
m-i,n+i
0-0379
0569
0-0632
0-0663
0-0682
4
5
6 -0-0106
coefficient of
Xm-i,n
Xm-i,n+i
-589
-678
-678
-678
-678
-678
47-5
0-050
0-075
0-0833
0-0875
0-0900
0-2000
^m+i,n
^m+i,n+i
0-334
0-600
0-600
0-600
0-600
0-600
0-600
0-333
0-150
0-125
0-1167
0-1125
0-1100
2-37
2-85
2-85
2-85
2-85
2-85
2-85
The
Tg
calculation
893,
and xq
is
commenced by
0.
It
11.
NUMERICAL METHODS
(-11 000/r);
^^
11+x K{ii+xy
^J'^"^
^,
425
11.6,
the functions K;
available for calculating T^^ i and x^^ more accurately. These values are
then used in a repeat calculation of the above coefficients, and hence further
values are obtained for T^^i and x^i.
shortened version of the
The results are presented in Table 11.8.
iterations leading to the first step are given in the first nine Hnes and the
solution only is given thereafter. It can be seen that T^^ and x^^ were
each calculated three times due to a poor initial estimate, but in all other
cases only two iterations were ever necessary because the correct answer
could frequently be predicted by using an extrapolation formula from
Section 9.4.
The numerical work on this calculation took considerably
longer, but the increased accuracy and reUability is well worth the extra
effort. The amount of desk calculation required in the solution of this type
of problem is sometimes prohibitive, but the increased availabihty of digital
computers has ehminated this physical restriction. This subject will be
considered further in Chapter 14.
The required reactor length is predicted to be
L=
23-8Az
3ft4in
LVII
Although the agreement between this figure and that obtained previously
by the step-by-step method is perfect, it is considered to be fortuitous. A
more detailed comparison of the two solutions reveals a 4 discrepancy in
the centre line exit temperature and more seriously a factor of two discrepancy between the two quantities of heat taken up from the flue gas.
Nine increments in the z direction in the iterative solution are equivalent
to four increments in the step-by-step method, and Fig. 11.12 gives a
pictorial comparison of the two versions of the situation at directly comparable stages along the length of the reactor. The iterative solution gives
smaller conversions initially, but due to higher temperatures being maintained,
the rate of conversion does not fall away so rapidly. Hence, at 45
con-
two
version, the
effects
(Ax)^(^'"+".-2r'"."+^"-i.-)
C in
(11-62)
426
0666666666660066666660600666606
r^
-^ r-
rsj
rN>y-^fNiovovovovooor^ONO\<NoooN>OTfONOr--ONr^
\D
voosfN-^r^otN-^vooootNTj-ior-aNO
^ -^(NtNCNCNr-immmr'-imTiOOOOOOOOOO-
io vo r- c
"^ '^ "^ -^
ir->
6666666666666666666666666666666
<SOoof*^voovorNim'rf^r>oofNooOTfr^u->r^Tt'Or^Tt^^TtmooONr~--^
,mo^HO^H
<^^T-,osoom'or-r^r-vOTtr^ON'OfNoomoorvi'sOONfNr^oo
'pppppOOppp-7-7^'7|'7l'7fNfS(Nf^^<Nfn^pfnrpcpfprnr^^^T^
6666666666666666666666666666666
rNooooNTi-voo tnvo'^
no-^oscNvooNrvjior-^cs-^
rn
-- voooosOfNf'^'^^r^oooN
'OOOOOOOOO"P'Ti^'Ti'Ti'^f^rNlfSfSrMfSrSrnrncnrpfnrnfnfn'^
6666666666666666666666666666666
OiO'ic>ovooonaN'OvooeN
oor<-j\or--
roor-fNcxsrsiNOOt^r^OJNior^aNOfNmTf
'(N'^<N^rn-Hromooo<NTtvor-a\orsimiovor^a\0-^tNmiovot^oo
pppppppppP'7i'7'7^'7i'7i'7ifNfS<Nr^CNfSrSrnrpfnrpfp<^f<irp
6666666666666666666666666666666
(NOt~^osvDooooNOr^aNr->a\oo\oor^mTr-^
Tt -^ 0
^O"^t^oor^m^
mu^
^Ov^O^^Ooo<Nmr*^^ooT}o^m^~Om"|^-w^
'VI ^ -,>4^i^>^^^ _
O m in
-^N-^(Nf^HfnnooorqTfior-ooo^roTf>ovor^ONO
<NmTtmvo
pppppppppp-T'-T-i'Ti'T^-Ti'^CNlcSfSfSfNfSfSrsJf^cprnrpf^r-ifp
6666666666666666666666666666666
OOoooNV>r-^o\OesooovomosmTrr^ma\
-^ir)ONOCT\OONOoo(Nmfn-Hoomoo<Nmooo
"-,W^W,W^W^^^W>~V>,^,^.".^v.>^v,-,000NTt^O^-0^0'^(NNfn^*^
-Hr40(NOmOmoooorNi'^ior^ooo-^(NTt
-Hr40(NOmOmoooorNi'^ior^ooo-^(NTt^^r^ooON-^rsjmTf>y->>o
6666666666666666666666666666666
s.
s.
s.
s.
><
>i
H H H H
8868SSS88S
>i
H H H H H
0<^-7"f^p^n-yirn--rs)Tt^aNrNjuooo'yi'^oo<s>^op-^rt-r^prnr^pTj-r^^-i
On
On
00
On
00
On
00
-^-^^^''^^"<N<NfNrv|
OnOnOnOnOvOOOOOOOO'
oocooooooo^O^O^ONO^O^O^ONO^ONONONO\O^ONO^ONO^ON
O^OONtNO\00\or-~OooONTrmmvoootNOoor^vovor-ooorNjTtr^O
p-y^fnoot^oo^oo^'-(q^wo^^wooo^^^<^lnpr^lo^oO'^uppt^T^
rnfnt~^(NvbfS^fS^-^vorn6cbvbun'^fnrnr^fslf^
NO
NO
NO
NOVOOlOl^TtTtTt'<:fTtTfTtTt'^TfTtTfT}-rt'<^'<^TtTtTt
r^
ooooooooooooooooooooooooooocoooooooooooooooooooo
00
00
00
00
p<poo'^oorsit^fNjroNpr^'^vo-;^pfpoovor~p0'^qNqNpcsiuoqN^
r*^rnt^fM^fSvbfS^6'o6vbrn6obNb'<^fNj'^666NONOOOOONO^
NO
00
r--
00
O
00
VO
00
voNOvou^TtTt-Tt-rnfnrornrnrnrn(N<N(N(N(N(N<N(Nrnro
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOCOO
p-T'poo'^oorsr^fSfSoopr^qNvovoqNVONOoofsqNopqNr^r^'^fS'Ti-^fN
(NvbfSvOfS^6'^6o^obo(N6obNbofn<N'^-^6666666
00 00 00
poori-oofsr--r^<Nooo\"ovO'^ooqNrsqNO^^"^qsr^r^qsf^
^^fnr^fSbr^|Nbrsvb6'^d^wo^cbr^'^6^^r^^*^'^6^obr^
NO
NO
NONO>orJ-Tj-Tfmr-)r<^(NfN(N(NrN|''' -^-^'^''1-^^^
r~sO
00
00
00
000000000000000000000000000000000000000000000000
00
pr7-p'^^"^rsr^fNfSooq^wpNppr^r-pwprn'<^r;>fSop^;oop"<^^qNN^
HONNOTfcSOONt~^NOo/^rfr^rnfnc^
rOfSr^CSVOfSvbfS^6'^ONn-^00Tf
NO
NO
vo
NONOu^-^TtTfm<^mr^(NrNfsi<N '-H-^ ^
r^
,
00
^-
00
00
K. NO
-;
00
oo
NO
^-
b-^
00
oo
NO
S ^2
r-s
000000000000000000000000000000000000000000000000
5"
s'
S*
fc
s"
11.
NUMERICAL METHODS
427
right-hand side of equation (11.62) gives a value for dT^Jdt at the point A.
If equation (11.54) is now used to estimate r,+i at point D, the value
obtained will be identical with that from the ordinary step-by-step method.
This value
is
now
treated as a
improved as follows.
set
of
10
10
2-0
-^
Fig. 11.12.
first
first
Radius
Comparison of
in
step
2-0
inches
by step and
iteration solution
I.e.
5T
dt
\e
2\
dt
(11.63)
dt
L)
MATHEMATICAL METHODS
428
CHEMICAL ENGINEERING
IN
increments.
iterations
accuracy.
in
detail
and used
in
example 2
is
therefore
dx^
^=
(11.64)
dy
(11.32) to replace
both derivatives by
finite difference
expressions, gives
{^xy
{^yy
where
and n count the x and y increments respectively. Rearrangement of
equation (11.65) gives
where
= r,^i,+r_i,+/^2(T,^i + T,._i)
R = ^x|^y
network as shown
problem so that Ax and
2(i+i^2^r^,
(11.66)
(11.67)
in Fig.
11.13
is
J.
"Field Computations
in
( )
) i
( )
i>
()
{)
(J
()
ik
JE
i)
m-2 m-1
Fig. 11.13.
429
NUMERICAL METHODS
11.
n-1
m +2
m+1
Classification of points in
n+1
Liebmann's method
coordinate system to suit the boundary shapes so that most if not all of the
boundaries correspond to Unes of the lattice.
An alternative procedure for difficult boundary points is to use " irregular
stars " and derive special formulae for particular boundary points. Thus,
equations (11.31, 32) were derived from Taylor's theorem on the assumption
of equal intervals; without this assumption the following equations are
approximately true.
(11.68)
(11.69)
fXxo)
J"(Xo)
bf(xo
(11.70)
- a')f(xo)
ab(a + b)
(11.31, 32)
(11.71)
where appropriate.
(11.72)
Equation (11.72) will be satisfied at each point in the network when the
solution has been obtained; but originally, values T* etc. can only be
" Relaxation Methods in Engineering Science ". Oxford University
t Southwell, R. V.
Press (1940). Southwell, R. V. " Relaxation Methods in Theoretical Physics '\ Oxford
University Press (1946).
430
estimated, and substitution into equation (11.72) will leave an error term
/?^
''
called the
^m,n
r*
If
Thus
residual ".
r*
is
is
will
(11.73)
by adjusting the
be given by
dF
= --^dT:^
SR^^
(11.74)
dTlm,n
R^
is
one
coefficient
Example
Determine the
3.
rectangular duct.
is
The
ratio
2:1.
Solution
no external
becomes
are
all
forces acting,
--Vp + vV^u =
become
=
^
oy
r=o
OX
where a
is
II
gives
+ ^. +
III
a constant given by
1
dp
/i
oz
a=---/
IV
1.
NUMERICAL METHODS
431
" m,n +
i-2w + M m,n- 1
{Ayy
(Axy
Because the ratio of the lengths of the sides of the duct are in simple proHence equation V becomes
it is convenient to choose Ay = Ax,
portion,
+ w.
+ t/, +l
^m+l,n^^m-l,n"T-M^
,
where
+ M _1 4w^ + a(Ax)
i?
VI
f^2,1
f^u ^.1
Fig. 11.14.
The
velocity
Primary
must be zero on
"m,0
^3.1
lattice across
duct
boundaries; hence
all
Wm.2
\l
^2,1
"0.1
=0
="4.1
VII
= K,
VIII
To avoid decimals and yet obtain accurate values for the velocities, it is
convenient to choose a large value for ocL^. Dimensions have not been conand putting a numerical value for ocL^ amounts to using an
arbitrary set of units for velocity, length, etc.
This does not cause any
difficulty in the interpretation of the result as will be seen later. Therefore,
sidered here,
put
ocL?
The
set
3.i
i^i^i
+ Wi.i-4w2.i + 2000 =
i?2.i
+ 2000 =
i?3,i
2.i-4wi,i
not worth using the
is
2,i-4wi,i+2000
It is
IX
8000
full
relaxation
method at this
432
R2
/?3
The
0.
result is
"1,1
"3.1
714
^2^1
857
XI
These three point values are obviously not sufficient to represent the
Hence, Ax is put equal to \L so that
velocity distribution adequately.
equation VI becomes
Because both central planes through the duct are planes of symmetry, it is
only necessary to calculate the velocity distribution in a quarter of the duct.
The calculation is shown in full in Table 11.9.
Table
= Ay = iQ
Velocity Distribution in
Duct (Ax
(398)
(578)
(655)
400
430
580
655
675
670
570
645
em
11.9.
(677)
20
5
40
-5
515
-20
-40
UO
XI
760
715
-J0
-130
(398)
400
430
II
30
50
UO
-20
-60
840
60
-5
-5
(867)
10
(897)
(867)
895
865
$60
840
(759)
(514)
-20
10
35
25
(578)
580
570
10
-5
-10
-20
865
IV
III
IX
X
5
(677)
(655)
20
(655)
675
20
vn
890
860
10
655
40
670
655
-10
645
10
6m
645
VI
V
VIII
4 m-
The planes of symmetry across which the velocity gradient must vanish
= 2 and m = 4. It is therefore convenient to include an
extra row of points in each direction as shown. Firstly, the velocities 715
are defined by n
1.
433
and 860 are inserted at the appropriate points as given by the eariier solution
(equation XI). The velocities at the other nodes are estimated as follows.
If the axes of x and y were rotated through 45 and a lattice spacing
A;c = Aj' = Ljl was chosen, an equation identical to VI (with a different
Using this formula with
interpretation of m and n) would be satisfied.
aijUixf-
XIII
428J
first
NUMERICAL METHODS
3.1
This value
is
XIV
3,1
XV
645
11.9
and
Fig. 11.14.
By
if^.,n
l,
5R.n
5R.-Un =
5m+l,
5..-l
dR^\ =
Fig. 11.15.
Equations
shown
XVI
in Fig.
= -4
XVI
11.15.
shown by
the
is
the points.
It will
MATHEMATICAL METHODS
434
same
point.
IN
CHEMICAL ENGINEERING
points are of opposite sign to the one being relaxed, it shortens the calculation to " over-relax " the residuals by altering the velocity so much that
the sign of the residual
7?2.2
making
140
^1/2.2
is
reversed.
is
and
45.
The
it
is
over-relaxed by
XVI
obtained.
Table
11.10.
Velocity Distribution in
Duct (Ax
Ay
|L)
155
246
294
309
250
408
496
524
310
516
634
349
587
725
770
374
633
785
835
389
660
822
876
398
677
843
898
401
683
671
850
905
After all residuals have been reduced to zero with a nominal tolerance,
a technique called " residual balancing " should be used. This involves
all residuals and relaxing still further until this residual sum is
within the nominal tolerance of zero. The accuracy of the result is greatly
increased by this final step.
summing
The
calculations,
To
sufficiently accurate.
NUMERICAL METHODS
11.
The average
velocity across
"m
any
-hi^^m,
line at
is
given by
+ 2U, 2 + 4; 3. + . 4)
constant
435
is
in
XVII
XVIII
XVIII,
u
XIX
453-4
Therefore, to the accuracy of the calculation, the ratio of the peak velocity
to the average velocity is 2.00.
In order to calculate the pressure drop along the duct, dimensions must
be considered. Equation VIII shows that aL^ must have the same dimen-
sions as
^_4534
aL'
"
8000
dp
_
dz"
A-r-=
or
-8000/iti
453-4L2
XXI
35-3 fiu
dz
where
A is the cross sectional area of the duct and w is the superficial velocity.
= Snuu = 25'lfiu
A^
dz
is
XXII
Hence, the pressure drop per unit length of the rectangular duct of side
ratio 2:1 is 40 % greater than that along a cyUndrical duct of the same cross
sectional area with the same superficial velocity.
The solutions of Laplace's or Poisson's equations by relaxation methods
or Liebmann's method are comparatively simple because the coefficients in
the influence equations depicted in Fig. 11.15 are simple integers.
In more
equation of motion.
436
Chapter 12
MATRICES
12.1.
Introduction
In earlier chapters
it
treated as a single
further
has resulted in the simplification of special types of problems.
generalization of this idea leads to the consideration of greater numbers of
There is frequently a
variables as a single quantity called a " matrix ".
Thus
Pxx
^xy
^xz
hx
Pyy
hz
.^zx
Tz,
Pzz
was written
(7.6)
M.M.C.E.
437
15
438
The Matrix
12.2.
a 12
a 13
21
22
23
'ml
'ml
...
a In
2n
A=
where the
[a.v]
size
It is
stated
first
and
this is
^2
61
array
is
three columns.
will
12.2.1.
12.2.2.
A
'*
be written
12.
439
MATRICES
21
but because a vertical array of elements would occupy a larger space, such
a matrix would be written {^n ^21
^mi)- The brackets { } signify
that the elements are to be arranged in a vertical column.
12.2.3.
0"
1_
the unit matrix of order three. Furthermore the non-zero elements are
situated on the " principal diagonal ". The significance of the unit matrix
is
will
12.2.4.
all
zero
is
called a
and
is
Matrix Algebra
will
Matrix Addition
12.3.1
This operation can only be carried out on matrices of the same order.
Thus the sum of two matrices is obtained by adding together the corresponding elements of each matrix. For example, the sum of the matrices
"1
31
and
6'
is:
15-2
MATHEMATICAL METHODS
440
Similarly, subtraction
is
IN
CHEMICAL ENGINEERING
"2
13
_8
(12.1)
Thus
lie
negative addition.
2
1
-3
-1
(12.2)
Thus
2"
"3
+ 3m
2k + 7 m
4k + 5m
6k 2m
7"
/c
+m
6.
.5
-2
(12.3)
Both k and m are scalar quantities and each operates on a matrix. For this
reason such an operation is called '' scalar multiplication ". It should be
noted from the above illustration that the coefficients k and m multiply
each element within their respective matrix, and in this respect matrices
differ from determinants.
12.3.3.
Matrix Multiplication
The product of two matrices will exist only when the number of columns
of the first matrix is equal to the number of rows in the second matrix. When
"
this condition is satisfied the two matrices are said to be " conformable
and they yield a product. Thus if A is a matrix of order (m x n) and B is
a matrix of order (n xp) the product AB will exist and will be a matrix of
order (mxp). However the product BA will not exist since (nxp) is not
conformable with (m x n). The following example will make this point
clear.
Example
1.
-4
2"
3
"1
2"
8
7_
_7
9_
12.
-4
-1
2"
"1
7_
_7
441
MATRICES
2"
= (1x1)+
(2x4)+
(OxO) + (3x7)
(6x1)+
(5x4)+
(6x0) + (7x7)
9_
(1x2)+
(2x8)+
(0x4) + (3x9)
(6x2)+
(5x8)+
(6x4) + (7x9X
-12^
30
45
75
139
II
In the above example it will be seen that the first element in the final
matrix is obtained by multiplying corresponding elements from the first
row of the first matrix and the first column of the second matrix and summing
the products thus
;
-4
[3
-1
2]
{1
7}
= 3-16-0+14 =
(12.4)
This product of a row and a column is called an " inner product ".
It can also be seen that the first matrix in the above example is of order
(3 X 4) whereas the second matrix is of order (4 x 2) and the product matrix
is of order (3 x 2).
That is
(3xj4).(4ix2)
(3x2)
(12.5)
No
AB = C
is
a matrix of order
product
(mx\n).(n\xm)
(12.6)
= (mxm). On
of
BA = D
is
{nx
(12.7)
n).
square matrices, but even with these, the product will not be
the same in general. It is thus necessary to use terminology which specifies
will exist for
442
(ii)
C
C
is
is
obtained by pre-multiplying B by A.
obtained by post-multiplying A by B.
when
i.e.
AB = BA
(12.8)
commute, or be commutable.
In Section 12.2.3 the unit matrix was shown to be a diagonal matrix in
which the elements were unity. The significance of unity is that when it is
multiplied by a number or function, the value of the number or function
remains unchanged. Therefore the definition of the unit matrix must satisfy
this condition. Thus consider the unit matrix of order three to operate on a
third order column vector
the matrices are said to
0"
~^r
X2
(0
_^3_
1_
X Xi) + (0 X X2) + (1 X
(12.9)
JC3)_
L-^aJ
P=I
and again the reader
It is
is
(12.11)
Example
2.
A = -2
51
-1
-3
BA =
0_
22"
18
-1
-9
same
together where
6^
3
2
but
0'
AB
and
and
11
11_
difficulties
when
is
possible, as will be
shown
7.
defining a
However,
in Section 12.7.
MATRICES
12.
443
12.4.
is
|A|x|B|
|B|x|A|
say.
|C|
(12.12)
From
equation (12.12) it can be seen that the elements in |C| will be identical
with the corresponding elements in the matrix product AB. Hence the determinant of the product of two square matrices is equal to the product of their
determinants. That is,
|A| |B|
|AB|
|AB|
so that
and
|B| [A]
|BA|
(12.13)
|BA|
(12.14)
=0,
|A|
if
the matrix
|A| 5^ 0, the
is
matrix
called a
is
" non-
singular ".
12.5.
0'
"2
-1
A'
4'
(12.15)
-1
6
In a similar
column
A
and
manner
it
is
vector.
matrix and
its
if
AA' =
the matrix
12.5.1
is
(12.16)
AB = C
let
be a matrix of order
{n xp).
(12.17)
444
= Z
k=
^ij
^Ji
^jkbki
That
^kjf^'ik
k=l
(AB)'
clj
where
k=l
bik<j
(12.19)
k=l
all
B'A'
(12.20)
two matrices
row
(12.18)
<^ik^kj
/th
(ABC)'
12.6.
is
C'B'A'
(12.21)
Adjoint Matrices
A=
adj
(12.22)
[Aj,-]
3'
A = -2
L
adj
A=
14
12.7.
adj
Z
show
^ir^rj
(n
n).
(12.23)
that
(12.24)
r=X
12.
it
follows that
on
all
445
MATRICES
adj
except those
adj
= A
or
Since
is
adj
|A|
...
A=
(12.25)
|A|l
and
if
A-^ =
adj
A
(12.26)
A "Ms
(12.27)
Each element of
this reciprocal
matrix
is
obtained thus
Aji
(12.28)
''^=IA|
Hence matrix
division
is
must be
specified,
AA-'=I = A-'A
12.7.1.
(12.29)
order.
(AB)(B-^A-^) = AIA-'
Therefore
B"^A~^
is
(AB)-'
That
is,
=AA-^ =1
(12.30)
AB, or
=B-'A-i
(12.31)
square matrices
is
order.
matrices,
(ABC.XYZ)-^ =Z-'Y-'X-^..C-'B"'A-'
(12.32)
446
12.7.2.
In a
manner very
is
or
{k-')'
It is left
= (kr'
(12.33)
12.8.
Linear Dependence
x be
initially
;'l^l+P2^2+P3^3 + ---+Pn^n
(12.34)
where Pi, P2
This idea can be extended to matrices in the following way. Thus let
be a set of vectors of the same order, and the zero on the
right of equation (12.34) be a null matrix of order corresponding to the
vectors. Since Pi, Pz, P3^ etc. are not all zero the vectors are hnearly dependent. However, if equation (12.34) was satisfied only when the constants
were zero the vectors would be " linearly independent ".
The vectors x^, X2, etc. could be the n columns of a (mxn) matrix X,
and if there exists a set of n scalar constants p^, pj, etc. not all zero so that
equation (12.34) is satisfied, the columns of the matrix are hnearly dependent.
In particular if the matrix X is square, its columns will be linearly dependent
only if the determinant 1X| =0. Furthermore, if |X| =
Xi, X2, X3, etc.
|X|
|X'|
(12.35)
so that the rows of X will also be linearly dependent. To sum up, if the
rows or columns of a matrix are Hnearly dependent the matrix is singular.
12.8.2.
Let A be a matrix of order (m x n) in which m is less than n. The determinants formed from the m rows and any m of the n columns are called
'*
minors " of the matrix A. Furthermore if r is an integer which is less than
and all the minors of order r are zero, it follows that all the minors of order
greater than r will also be zero. Thus the value of the determinant of any
MATRICES
12.
447
minor of order (r+1) is the sum of the products of each element in the
(r+ l)th column and its cofactor. Since these cofactors are minors of order
r which are all zero, the minors of order (/+ 1) must all be zero. By repeating
this argument to the minors of order m it can be seen that all the minors of
order greater than r will be zero.
Minors of a matrix are often referred to as the first minor, second minor,
and so on. By this is meant that the minor of highest order is the first minor,
the next highest minor is the second minor, and so on to the minor that will
contain a single element only. For a square matrix of order {n x n) the first
minor will be the determinant of the matrix and of order n. The second
minor will be of order ( 1), and so on to the minor of order 1.
12.8.3.
Degeneracy
Example.
Show
-2'
4
.5
The determinant of
this
matrix
2.
is
4-2
Hence the matrix is singular. However, all the minors of order two are
non-vanishing so that the degeneracy is one, and therefore the columns of
the matrix are related by the single relationship
8{2
1[2
12.8.4.
4}-6{-2
5}-7{4
by a
-2] + l[3
2}
II
2]
III
single relationship
4]-l[5
is equal to the order of the highest order nonIn the above example, the rank of the matrix
448
-2'
.5
is
two.
to (n
2_
the rank
r,
is
equal
r).
From
it
will
be apparent that
all
matrices except
is
of order
4,
degeneracy
3,
and rank
1.
The Sub-matrix
12.9.
11
12
13
14
21
22
23
24
'Ai
A2"
31
32
33
34
A3
A4.
41
42
^43
44_
where
Ai
11
A,
21
The dotted
^22]
*'
13
14
L"23
^24
etc.
z.Xj
"T"
2xi
3x2 2x4
3x2
+ 2x3+
2x-y
4x-i + 2xA
X2
^^3
X4
(12.36)
12.
449
MATRICES
-2"
-3
or
more
X2
-4
^3
-3
-1_
.^4_
_6_
concisely
Ax =
where
"8"
"^r
A represents
vectors of order 4.
(12.37)
The
x and b
are each
column
is
= A-^b
(12.38)
"^r
X2
-0-11
0-06
-0-10
0-04
X3
012
0-22
-0-02
-0-24
_^4.
0-50
-0-02
-0-02
-0-21_
(12.39)
_6_
whic h
Xi
l-93;
X2
0-56;
X3
0-58;
X4
1-0
12.11.
Matrix
Series
Matrices can form series in much the same way as scalar variables, with
each term in the series containing powers of a matrix. Hence before discussing series it is proposed to consider the properties of powers of matrices.
12.11.1.
Powers of Matrices
is
will
if
only exist
m=
n.
AiA2A3A4...A
= A"
if
the
Thus the
When
(12.40)
MATHEMATICAL METHODS
450
IN
CHEMICAL ENGINEERING
For example:
'1
^3"
a^
4.
.^2
4.
'i
^3'
.^2
4.
al
+ a^a
2"3
ayQi
l3
+ Cli^A.
+ ^34
^2^3
+ ^4
(12.41)
The usual
A"xA" =
(A")'' =
and
exponent of a matrix
If the
matrix
be
(12.42)
A"^
(12.43)
is
may
A"^'"
is
Thus
it is
infinite,
Matrix Polynomials
Matrix
and these
example
series
series
floX"
X + flJ =
+ aiX"-' + fl2X""^+
(12.44)
In this series
typical.
is
is
finite
or
infinite
Sylvester's
However
It
is
theorem which
will
same manner as
by the following example.
X^-9X^ + 26X-24I
X=
where
The polynomial
X^-9X^ + 26X-24I
can be factorized:
(X-2I)(X-3I)(X-4I)
The
first
factor
II
is
"2
r
4
-2
0"
"0
1"
2_
^
1
III
MATRICES
12.
451
.3
0"
"3
-1
1"
4_
.0
3_
1.
"2
"4
0"
"-2
.3
4_
0.
and
IV
4
r
2_
.3
Finally
it is
-1
1"
-2
is
1"
-3
3"
=
3
1,
0.
-1
i_
3.
known
exponential function
X^
is
written
X'
(12.45)
where
is
a square matrix.
e\-^=l
Similarly
12.12.
(12.47)
Differentiation
variable,
be discussed.
12.12.1.
Differentiation
Consider a square matrix Y whose elements are functions of an independent variable x. A small change in the value of x will bring about a corresponding change in the value of the matrix Y, and the limit of the change in
Y for an infinitesimal change in x is the derivative of the matrix with respect
to X. This is written in the normal way (dY/dx).
The differential coefficient of the product of two or more matrices with
respect to an independent variable is obtained in a manner similar to that of
the differential coefficient of the product of scalar functions, but in the case
of the derivative of a matrix product the order of the matrices in the product
must be maintained. Thus
(XYZ) =
dx
^YZ4-X^Z+XYf
dx
dx
dx
(12.48)
452
iie--)
as
X+^+^ +
That
...=Xe'^'
is
is,
(12.49)
would be expected.
12.12.2. Integration
Jy
An
Jx= [J^oW^x]
(12.50)
known
which by
definition
is
MS(A) =
1 A(xi) dx^
Xl
X2
Xl
+ J A(xi) J
A(X2)
(12.51)
where MJ(A)
is
in equation (12.51)
is
where n
is
the matrix
the
number of integrals
in equation (12.51).
M5(A) =
becomes
^^^^ + ^'(^-''oy +
12.13.
(12.52)
n_
^A(.-x)
(12.53)
Lambda-Matrices
What
Example.
is
+A
A^
1X^-IX^\
matrix
is
this
/I
of rank
is
in
this
2.
any element
matrix
-1
2-3"
+A
-)}
2+
A^-3A+1
1-2
)}
A^+l
'1
)}
is
-1
is
"
0"
2^
-1
_-3
1_
"1
o_
_1
A
F(2)
-3"
-1
12.13.1.
is
2.
The expansion of
1-/1
A'
A+1
series.
of degree
-)?
and expand
When
453
MATRICES
12.
is
0_
I.
is
similar to
normally independent
and
f(2)F(2)
F(2)f(2)
A(2)I
(12.54)
=-
[F(2)f(2)]
=-[A(2)]
dX
dk
(12.55)
dX
(12.56)
and
its
roots which
may be
distinct
Thus let 2^ be a
matrix formed by substitution
will be singular.
However, if
is
a multiple root
f(2
454
(X-a)
'
(X-a)
(X-b)_
has a root X = b, and a double root X = a, but is of degeneracy one. When
of degeneracy one the adjoint F(Xp) is of unit rank.
When {(Xp) has a degeneracy of q, at least q roots of the determinantal
equation are equal. Furthermore the adjoint matrix and its derivatives up
to and including F^"^(Ap) are all null.
{(Xp) is
12.14.
let
Let A be a square matrix of order n whose elements are all constants, and
X be a column vector whose elements are related by the equation
Ax = Xx
where A is a
form thus
scalar coefficient.
is
and only
may be
Equation (12.57)
(A-;iI)x
where (A XT)
(12.57)
(12.58)
The
n.
solution to equation
if
|A-aI|=0
(12.59)
Hence X can only take values that will satisfy equation (12.59) and for this
reason equation (12.59) is called the " characteristic equation " of the matrix
A. Its roots Xp are called the " latent roots " or the " eigenvalues " (see
Section 8.7.1) of A.
When A- All
I
both
12.14.1.
and
its
is
is
zero,
and
since
(A XT)'
= A'-AI,
Also
Aki =
and
;iiki;
Ak2 = A,k2;
AK = KA
...;
AK = KK
(12.60)
(12.61)
12.
MATRICES
455
where
...
^1
k^
...
A=
(12.62)
A.
...
K-^AK = K-^KA = A
Therefore
(12.63)
Example
diagonal form.
The
"2-3
characteristic equation
r
3
-4_
|I>1-A|=0
from
Thus
in matrix
form
-r
1-2
-3
A-1
-3
-2
X+A
II
II
8]=0
A3 = -2
(;i-l)[(>l-2)(A + 4) +
from which
When
When
>li
Ai
^2
0,
-10
-10
-3
-3
11
11
1,
the adjoint
-6
^2
0;
the adjoint
-13
1;
is
-10"
-101
-3 =
"-10"
[-101
[1
1]
-3
IV
11_
11_
is
"-r
- 9"
=
13
III
9_
i_
[6
13
9]
456
and when I
From
A3
= - 2,
the adjoint
-12
-9
21
-1
-3
-9 =
[3
3]
VI
7_
matrix
is
-4"
-3
21_
andK"^ = ~
-3
11
"-4"
-12"
-10
is
3'
-12
-26
-18
-3
-1
-3
VII
6
'J
so that
2-3
1'
-5
-10
-4'
-3
-3
11
~ ~6
12.14.2.
01
1
-12
-26
-3
-2J
-1
3"
-18
VIII
-3
This theorem can be stated as follows: Any square matrix satisfies its
own characteristic equation.
The proof of this theorem will not be given however, any interested reader
is recommended to see " Elementary Matrices " by Fraser, Duncan, &
;
Collar.!
Here
it
above third
order matrix.
Example
satisfies its
The
2.
own
Show
2-3
-5
-4
characteristic equation.
|i;i-A|
By
is
=X{k-\){X + 2) =
A(A-I)(A-f2I)
t Fraser, R. A.,
Duncan, W.
J.
and Collar, A. R.
=
:
II
Elementary Matrices
",
Cambridge
MATRICES
12.
where
in equation II
2-3
is
That
-3
457
is,
-3
-4J \_-5
-5J [-5
ro
[0
calculate
Example
The
Calculate A"^
3.
if
characteristic equation
-1
.-2
III
0_
powers of matrices.
and rearranged
o"
000
-2J
>l
can be expanded
as illustrated below.
3"
is
\U-A\ = X^-3X + 2 =
Replacing 1 by
and rearranging
gives
A2 = 3A-2I
Multiplying by
II
gives
A^ = 3A2-2A =
9A-6I-2A
= 7A-6I
III
II gives
A^ = 15A-14I
Hence using equation
IV
I,
-29
45"
-30
46
12.15.
From
A"
where
Theorem
Sylvester's
it
will
.rt-2
= p,A"-'+p,A"-'+p,A"-'
+ ...+pJ
(12.64)
P(A)
/A-lA,)(A-U3)(...)(A-I^)
'
ai-A2)(Ai-A3)(...)(Ai-A)
p..
^
'^
(A-I^)(A-U3)(...)(A-U)
(^2-^l)(A2-^3)(..-)(^2-^)
458
ri(A-iA,)
Pi^iY^
(12.65)
(A - UiM^i)
since Xi
is
one
A(Xi)l
(12.67)
Further-
more,
A-Ui^O
andF(/l.)#0
(12.68)
Similarly,
(A-Ud n (A-Uj) =
where
it
(12.69)
n(A-IA,.)#0
(12.70)
f\{A-Uj) = CF(Xd
(12.71)
but
Hence
n (A-Uj) =
in equations (12.67)
n (A-lXj) = (-iy-'F(Xd = n
where n
is
(12.72)
fl
;=1
a- A) = (-1)" J=l
fl a-
A,.)
but
Hence
f(Xj)
Sylvester's
theorem becomes
{Ai)
(12.73)
(12.74)
12.
MATRICES
459
If
is
to
Finally,
when
theorem takes a much more compHcated form due to A'(>^,) vanishing for
the repeated roots. Equations (12.65) and (12.75) can be modified by using
L'Hopital's rule until the indeterminate fractions are resolved, but the work
involved shows no significant advantage over evaluating the original
polynomial (12.64) directly. However, this form is known as the " confluent
form " and is derived by Fraser, Duncan, & Collar.f
12.16.
Transformation of Matrices
and
particular problem.
(i)
(ii)
(iii)
more
12.16.1. Interchange
of Columns or Rows
by the
0"
"1
_o
0_
columns interchange
11
12
13
'21
22
23
32
33j
0"
0_
"ii
13
12
21
23
22
_31
33
(12.76)
a 32J
In equation (12.76) it can be seen that the second and third columns of the
matrix A have been interchanged. It will also be readily seen that if the second
and third rows of the unit matrix had been interchanged and the matrix A premultiplied by this modified unit matrix the result would have been the
interchange of the second and third rows of A.
t Fraser, R. A.,
Duncan, W.
J.
",
Cambridge
460
01
01
is
the
same
as
its
o^
(12.77)
unity.
It is
11
12
13
21
22
23
32
33.
0"
''a 11
(/^11+12)
13
!2i
(^21+22)
23
!31
(^5^31
+ ^32)
(12.78)
a 33.
on the left of
equation (12.78) had the effect of adding p times the first column to the
second column. Pre-multiplication of A by this matrix would have brought
about the addition of p times the first row to the second row.
The matrix which operates on A is a unit matrix to which has been
added the element ^ in its first row and second column. Its determinant is
Post-multiplication of the matrix
unity.
12.16.3.
Multiplication of any
Column
or
Row
by a Scalar
L"31
12
13
^22
23
32
33.
0'
y
1
'11
ycii2
13
2l
yaii
23
.31
732
33
(12.79)
J
second column of A has been multiby the scalar y. This was accomplished by exchanging the central unit
element for the scalar y. If the matrix A had been pre-multiplied by this
matrix the effect would have been to multiply the second row by the scalar y.
The determinant of the converted unit matrix is y.
The
plied
12.16.4.
Equivalent Matrices
Two
461
MATRICES
12.
and
will
[^1
Afi(A)B
(12.80)
Quadratic Form
12.17.
An
still
^3
^nj
11
12
fll3
21
22
23
31
32
33
-^1
^3
3n
(12.81)
n3
n2
!nl
form
".
It is
\a
a
ax^ + 2hxy-\-by^
[x
h'\
h
\x
y]
(12.82)
x'Ax
(12.83)
(12.84)
would be written
L^l
^2
^3
^nj
fll
...
^2
^3
xT^]x
0'
...
X2
...
X3
(12.85)
...
is
a diagonal matrix.
+ 3y^-2z^ + 4xy =
and evaluate the lengths of the semi axes and equations of the principal
planes.
462
The equation
z]
0'
latent roots of
14
= x'Ax
If
-2
The
from
are obtained
6-X
3-X
'=0
III
-(2 + X)
or
+ 2)(/1-2)(A-7) =
(a
IV
and the
AKj
= -2
/C21
-2_
Ai.
6kii+2k2i = -2/cii
or
2/C11
The
latent
column
/cn"
"^n"
1.
= '^'^l
Aj[ Kj^
0"
2
or
+ 3/C21 =
-2i;:2i
VI
^21
.^31_
VII
>
2/C31 = 2/C31
from which /c^j = /:2i = 0, and /tji is arbitrary. It is normal to choose orthogonal column vectors which satisfy equation (12. 16), and thus /csj = 1. Therefore, the latent column vector corresponding to the latent root X^ = 2 is
{0
1}.
root
X2
is
-2/V5
{l/\/5
0},
and
corresponding
to
to the latent
X^
is
r
1/V5
-2/V5
2/V5
i/Vs
o_
"6
0'
"0
I/V5
-2/V5
-2
_1
"-2
2/V5-
i/Vs
0'
2
_
7_
VI II
12.
463
MATRICES
= KX
=
X {X Y Z}
K KX = X
K'x
then
or
i/Vs
-2/V5
2/V5
i/Vs
X.
[X~
2x
Y'
XI
z\
-7-
^
=Z
-/-
XII
II
(KX)'A(KX)
and by Section
^-^=
IX
"xl
or
where
XIII
14
12.5.1
or
X'K'AKX = X'AX =
14
XIV
14
XV
or in standard form
X^
Y^
Z^
XVI
which
is
x-2y =
12.18.
0',
2x + j
0;
Hence the essential features of the application technique will be presented in this section.
Consider a system of linear differential equations expressing relationships
between a number of dependent variables y^, y2, yz,
y and an independent variable x. These equations can be written in conventional form
engineering problems.
/ii(^)yi+/i2W>'2 + .-.+/iWj
f2i(D)y,+f22(D)y2 + ...+f2niD)y
= Mx)
fni(D)y, +f2(D)y2
...
+fnn{D)y
(i>i(x)
(12.86)
= Ux)
(12.87)
MATHEMATICAL METHODS
464
CHEMICAL ENGINEERING
IN
{(D)
is
|f(Z))| is
and
is
in
is
said to be the
the method.
D^y^
+ {D^ + 3D-2)y2 =
D^y^ Dyj =
D^
(D'
-D
[y,
sinx
form thus
in matrix
+ 3Z)-2)1
P^
sm X
by
-D
-D
D^ + 2
II
gives
1
-D
D^
-D
D^ + 2
D^
(D'
+ 3D
2)'
>i
-D
-D
D^ + 2
III
2D'
-D
.y2
.)
(2D2 + 3D-2)
'yi'
-(2D^ + 3D')).
.yi.
{2D^ + ZD-2)y2
D sin X
IV
- cosx
2D^yi-2D^y2-3D^y2 = -1 + sinx
Solving equation
y2
smx
VI
Ae~^''-hBe^''-^x-l + ^(4cosx
3sinx)
VII
12.
Integrating equation
465
MATRICES
for yj
VII gives
y^
C-\-Ex ix'
where A, B, C, and
E are
VIII
-D
-D
D^ + 2
but guided by the aim that all but one of the dependent
variables were to be eliminated from one of the equations. This enabled
that variable to be evaluated and inserted into the other equation which was
subsequently solved by conventional methods. When there are a large number
of dependent variables it is necessary to convert the D-matrix into triangular
form by pre-multiphcation by another D-matrix whose determinant is a
constant. The transformed system must be of the type
was obtained by
7ii(o)
trial,
/12(D)
/13(D)
fln(D)
/22(D)
/23(D)
f2n(D)
/33(D)
yi
yz
(12.88)
In equation (12.88)
whilst the
12.19.
in
466
obtained by solving
when {^(x)}
is
The
That
zero.
f(D){y}
is
is
=
on the
"
said to contribute a " constituent solution
be considered separately.
Distinct latent roots. Let X^ be any distinct root of
by substituting X for D in the D-matrix. Then since
will
(i)
e^'^"
f(A,)F(A,)
F(A,)
A(>1)
obtained
(12.90)
X^ is
{MM
(12.91)
Then
an
Let
X^
if
Wo(x,4) =
^'^"F(A,)
WJx,A,) = ;g.e^-F(A.)]=e-(A^,yp(A.)
and
it
is
e'^'"^k^.
can be shown by a similar procedure to that given for distinct roots that
f(D){y}=f(D)W,(x,AJ
It is
(12.92)
where
...
x^F(A.)
(12.93)
and the
= {^i.W
/c2sW
U^)} e'^'
(12.94)
Zi(x,A,)
=
=
FW +
Zp(x, X,)
'(X,)
Zo(x,^.)
F(A,)
xF(A,)
^^^''
'
x'F(X,)
467
MATRICES
12.
/C12W
k22{x)
/C21W
k2n(x)
K(x)
and
is
known
(12.95)
as the "
modal matrix
".
distinct
...
,X2X
Mx
M(x) =
(12.96)
fA.fiX
and {C}
{y}
(12.97)
differential equations.
(D'-3D + 2)
(D'-l)
_-{D^ + D + 2)
The
>l-matrix obtained
rom which
The
in matrix
(D2
+ 4D + 3)J
form thus
[yr
is
-(A-1)(A-2)
(A-l)(A + l)j
.-(A2 + A + 2)
(A+1)(A + 3)J
A(A)
(A
[^2.
- 1)^ (A + 1) (A + 2)
II
= -1;
A2=-2;
^4
468
The
>?.i
and X^
'0'
0"
F(/i)
[1
III
.2
6,
_2_
-1
-3'
12.
"-r
[1
3]
IV
and the adjoints
for
F(A3)
and A4 are
y^.3
"8
"2"
0"
[4
=
_4
F'(^)
.1_
2A- 3_
-2"
'1
.3
-1.
.1.
[3
-1]
=
k4(x) =
k3(x)
{2
1}
{2
l}
-1
2(1
(1
.2
;.= i
2.
'6
VI
_2A +
and
0]
-2/'
"22 + 4
VII
l}x
{2
VIII
is
+ x)-
0'
-X
^-2x
+ ^).
rc.1
C2
IX
C^
e"
e'_
>;2
.Q.
is
X
XI
To complete
it is
be
{y,}
F(D)
f(D)-'{0(x)}
A(D)
{/-W}
(12.98)
Then
(n)
which
is
A((?) i= 0.
r(D)R,x^,.FW,
\{Dy
when ^(x)
(12.99)
A(0)
is
When
A{9)
469
MATRICES
12.
must be carried
out.
Let the
particular solution be
{y^}
where b
is
constant.
(12.100)
Then
f(D)b[F'(^)
+ xF(^)] e^* =
Re^*
(12.101)
from which
he'''{(D
(12.102)
Using Taylor's theorem to expand f(D-\-6), and operating with the powers
of
upon X
gives
=
f \e)F{e) + f{9W(0) =
f(^)F(0)
Since
and
Re'"
(12.103)
A(0)
A'(^)
Hence the
particular solution
{yp}
R/A'(0)
(12.104)
is
^^
[F'(0)
+ xF(0)] e'"
(12.105)
Other forms for (p(x) can be treated in a similar manner to the corresponding forms of (l>(x) in the inverse operator method (Section 2.5.5).
Finally, the complete solution is the sum of the complementary function
and the particular integral as for Hnear differential equations.
Example.
battery of A'' stirred tank reactors are arranged to operate
isothermally in series. Each reactor has a volume of V ft^ and is equipped
with a perfect agitator so that the composition of the reactor effluent is the
same as the tank contents. If initially the tanks contain pure solvent only,
and at a time designated ^o ^ ft^/min of a reactant A of concentration
Cq lb moles/ft^ are fed to the first tank, estimate the time required for the
Mh
concentration of
leaving the
tank to be
lb moles/ft^.
The stoichiometry of the reaction is represented by the equation
fci
k2
A:^B^t:C
k[
/C2
first order and the feed to the reactor does not contain
any product B or C, but is assumed to contain a catalyst that initiates the
reaction as soon as the feed enters the first reactor.
Solution
The concentration of A
The concentration of B
The concentration of C
M.M.C.E.
will
will
will
be written C^
be written C^
be written Q.
16
470
be
will
V^ = qC^.,-qC-rV
where r is the rate of chemical reaction.
For component A this gives
II
component B,
for
^^ =
^Q.-i-(^Q.n+^/c;Q+F/c2Q.-F/c,C^.-F/c,'Cc.)
at
III
and
for
component C,
qCrn-i-(qCrn+Vk',Cc,-Vk,CsJ
IV
dt
Dividing equations
holding time, gives
C^,
dC^,n
dt
dCn
-
II, III,
dt
and IV by
and calhng
{V/q), 9 the
nominal
p-(^+^l)Q.n + ^iQ.
^^ - Q +
k2
VI
and
dCc
-=
dt
VII
c A,n-l
CB.n
n-1
lQ.hj
C,
(iie+k,)
-k\
-k,
(iie-\-k2+k[)
-/C2
n-lj
'
-k'2
(l/^
+ /ci).
"Q,'
Q,
Cc.n\
VIII
or
more concisely
dC
C_i
dt
-GC
IX
where C and C_i are column vectors and G is a third order square matrix
Equation IX can be applied to the first reactor thus
dt
The
solution of equation
X is
C,=^" +
where K^
is
471
MATRICES
12.
XI
e-<='Ki
When
Cj
0,
/.
K,= -G-'Col9
/.
C,
XII
=\(l-e-^')G-'Co
XIII
Applying equation IX to the second tank and substituting the expression for
Ci given by equation XIII gives
C2=^^-^^'re-^+e-G'K2
When
0,
C2
XIV
and
K2
= G
C2
= ^(I-e"'^^-Gre-G0G-'Co
Cq/^
XV
^3
Extending
this to
r.
_..
(GO
tank
N by
Sylvester's
XVI
G-^Cn
2!
1!
By
(GO'
_^^,
,-^
XVI
the
is
e-Gr^_ y e-^^'^
XVIII
on the assumption that all the latent roots of G are distinct, and therefore
equation XVII can be written in the very useful form that
Equation XIX was initially derived by Acrivos and Amundsonf who also
present equations for the transient behaviour of plate extractors, absorbers,
and
472
mathematical methods
12.20.
in
chemical engineering
Conclusions
Chapter 13
OPTIMIZATION
13.1.
Introduction
maximum
minimum
the
the
f(slze
Fig. 13.1.
/ (size
of equipment), where
of equipment)
f (size
It
474
the
number of
stirred
maximum
output of a product
A-^B^C
(13.1)
was evaluated without cost data. This was possible because in the example
quoted the size of the reaction vessels was specified. If vessel size was
included as a parameter in the analysis, an economic balance would have been
necessary. That does not mean to say that in the example quoted a " non
problem " was solved because in the chemical industry it is possible that the
equipment will already exist, and the engineer is expected to find the optimum
operating conditions. Hence problems involving two variables are worth
considering initially, even though in the majority of problems encountered
more than two variables will be required to describe the process, or operation
However, before attempting this, it is necessary to classify
adequately.
diff'erent
types of optimization.
13.2.
Types of Optimization
Optimization in the chemical field can be divided into two classes which
have been defined by Himsworthf as
(i)
(ii)
13.2.1.
Static optimization
Dynamic
optimization.
Static Optimization
Static optimization
13.2.2.
Dynamic Optimization
Dynamic optimization
way
In reality
it
in
is
the process.
Himsworth,
F. R.
Trans. Inst.
(1962).
13.
13.3.
475
optimization
Analytical Procedures
When
consideration.
13.3.1.
On
optimum conditions of a
maxima of an equation containing
one independent and one dependent variable. For example the optimum
number of stirred tanks was evaluated by solution of such an equation in
Section 9.6.3 and has been referred to above. The reader will be famihar
with the technique of differentiating and equating to zero to find the maxima
rare occasions
it is
or minima and
it
optimum
specified arbitrarily.
13.3.2.
let
an operation
z=f{x,y)
(13.2)
where x and y are the two independent variables. Equation (13.2) can be
expressed in three dimensions by a surface in which the maximum value of
z will be represented by the peak of a mountain. Similarly the minimum will
be the lowest point of the bowl in the surface. Mathematically this means
that for z to be a maximum at a point (x, y) it is obvious that the function
f{x, y) must be a maximum for displacements away from the point in any
direction. That is, the conditions
dz
-=
ox
and
dz
(13.3)
oy
may be
a true
maximum
in the surface
where
all
sections exhibit a
maximum,
a true
MATHEMATICAL METHODS
476
Fig. 13.2
IN
CHEMICAL ENGINEERING
Saddle point
" saddle point " and is illustrated in Fig. 13.2. To ensure that a particular
point is actually a maximum or minimum, it is necessary to fulfil the conditions stated below.
Consider Fig. 13.3 in which z is represented as a function of position over
the xy plane. Let P be any point in the plane and let the value of z change
Fig. 13.3.
PQ
is
Directional derivatives
Q^P
in different directions.
in that direction
may
be defined as
r /(^>>')Q-/(^,y)p 1
I
PQ
(13.4)
J
477
OPTIMIZATION
13.
Then
PQ
Let this be
(13.5)
is
Hm
dz
Sz
But
dz
^
= Sx + Sy
oy
ox
dz
Q^p
ds
but from
Sz
dz Sx
dz Sy
ds
dx Ss
dy Ss
Fig. 13.3
= cos a
and
-^r-
sin
(13.7)
ds
Ss
dz
dz
dz
= - cosa + ^ sina
_^
hence
ox
^^
(13.8)
ds
oy
where dz/dx and dz/dy are the derivatives in the x and y directions. The
condition for a maximum or minimum is that equation (13.3) is satisfied
irrespective of the value of a. Differentiating equation (13.8) with respect to
s gives
d^z
^ 2
ds
d I
d fdz\
J /
^
ds\ds/
ds\
d^z dx
= cosa 2
dx
dz
sina
ox
d^z
dz
cosa +
oy
dy
dx dy ds
ds
dx dy ds
d (dz\
since ~T\'~r)
d^z dy
+ sina^:;-2
dx
d^z
+ cosa--r- + sina- -
oy
^ ^^
(13.9)
ds
dz
is
with respect to
-7-
But equations
s.
to s in terms of a,
therefore
^ =
For any value of
z to be a
of
a.
cos^a:
:^
>
a, d^zjds'^
maximum. That
Thus
2 sin a cos
is
|-
sin
a;-,
dxdy
dx^
ds^
for z to be a
minimum and
(13.10)
dy^
same
d'^zjds'^
<
for
letting
_d^
^""''dxdy'
^=
d^z
_^
_i!i
^"""ax^'
^''~dp
and dividing by
z^^ gives
[(cos a z^^
sin a
z^yf
+ iz^^Zyy-z^/) sin^ a]
(13.11)
'XX
It
if z^^Zy,,
> z^/
478
the square bracket will be greater than zero for all values of a,
will
be a maximum.
is
and d^z/ds^
z^^.
positive, z will be
minimum.
maximum
on a
Ib/h
solute-free basis.
Cost of feed
is
Cost of solvent
Similarly
product
if
the value of
is
-0 lb
is
yCX^
(13.12)
^B
(13.13)
is
IC{X^-X^)
and the hourly
profit
is
(13.14)
given by
is
related to
^N = ^0
[
where S
mB
and
(13.15)
Xq by
is
^J^rf ]
(13.16)
P = XCX
in
s^-i
U^+i-i_
and
N and
Jeffreys,
G. V.
[yCXo + aN + pB]
B.
Brit.
Chem. Eng.
6,
676 (1960).
(13.17)
is
obtained
479
OPTIMIZATION
13.
dP
dN
]'"S- =
= ACJoS^[
(si/l)2
(13.18)
From which
_
icJ^"
g
5^^(5-1)1115
(13.19)
(5'^-'^-l)'
and
dP
^^+1
i\cN-i_/'\r 1^/'c^^_1^c^ /-mS'\
N(S^^'-l)S^-'-(N+l)(S^-l)S"
l
I
,^^
_^
(13.20)
or
= ^
r(5^-'^+N-iV5-5)"
(13.21)
N+l
1\2
(5'"^^-l)
Am An
In equations (13.19) and (13.21) the cost terms have been separated from the
process terms. They are two complex simultaneous algebraic equations that
will be difficult to solve analytically, but since A'' is a whole number, an
approximate but sufficiently accurate solution can be obtained as follows.
The right-hand sides of equations (13.19) and (13.21) can be evaluated
for
5 and
aC^q
and
Hence by taking a
series
of
AtviXq
pairs of values of
drawn
the coordinates of the point of intersection give the modified solvent to feed
ratio
MATHEMATICAL METHODS
480
IN
CHEMICAL ENGINEERING
2-On
Fig. 13.4.
5
Fig. 13.5.
iO
15
10
20
(13.19)
20
15
(13.21)
3.
OPTIMIZATION
481
5%
toluene
is
8000 Ib/h of a
Solution
5%
CXo = 400
a
4s.
12
Xq
0-053.
Ib/h.
per day: p
Fig. 13.6.
Optimization chart
482
and
0-0072
XCXo
From
-^ =
0-251
hnXo
Fig. 13.6
N=
10 or 11 stages
S=0-9 =
13.3.3.
The
analytical procedure
variables.
That
is,
maximum
the
w=f(x,y,z)
(13.22)
dw =
when
df
^dx +
df
-:^dy
ox
oy
Thus
df
+ -fdz =
(13.23)
oz
the conditions
df
df
/ = 0;
/ = 0;
oy
ox
df
/=
(13.24)
oz
are satisfied.
of
this chapter.
In
a Restrictive Condition
relationship
must be
satisfied
by the
In vapour-Hquid equihbria for example, the temperature, pressure, and compositions of liquid and vapour are related by the
independent variables.
One
method
is
may
available.
g{x,y.z)
(13.25)
OX
^_^rf,
oy
+ ^?,, =
(13.26)
oz
the optimum point, equations (13.23) and (13.26) must be satisfied for
displacements in any direction, and in particular for dx = 0. Hence the
equations
At
^dy + ^dz =
(13.27)
oy
oz
^Idy +
=
fdz
dz
(13.28)
dy
OPTIMIZATION
13.
must be
consistent.
This
is
only possible
=
f + ,fi
oy
By
if
and|^ + A^-^=0
oz
oy
it
483
dx
(13.29)
oz
0,
0,
follows that
|^
OX
+ A^ =
13.30)
ox
W=f(x,y,z) + Xg(x,y,z)
when
the
optimum point
is
(13.31)
dx
ox
dy
dy
dz
dz
g{x, y,z)
(13.32)
which contain the four unknowns (x, y, z, X), X is known as a " Lagrange
The above method can be extended to two restrictive conditions by introducing two arbitrary multipliers.
multiplier ".
13.4.
form
;/
which
is
=/(xi,X2,X3,...,x)
(13.33)
".
G. E.
P.
and Wilson, K. B.
/. Statistical
Soc. 1,
B13
(1951).
MATHEMATICAL METHODS
484
IN
CHEMICAL ENGINEERING
XI
Response contour
Fig. 13.7.
However
it is
it
map
of the
optimum
maximum
is zero, and
becomes more
the gradient
as the
maximum
0-3
0-6
0-4
o
E
<
0-2
0-2
0-4
NaOCI
Fig. 13.8.
is
difficult to predict.
0-6
0-8
1-0
concentration
approached
Hence
this
13.
OPTIMIZATION
485
method alone will not locate the maximum but will rapidly show the engineer
the region of optimum conditions. This technique was employed by Jeffreys,
EUis and Whartonf in estabhshing the optimum conditions for the preparation of chloramine from sodium hypochlorite and ammonia. Some of
their results are shown in Fig. 13.8 where it can be seen that yield contours
have been drawn in between the experimental results denoted by points. It
can be seen that the
maximum
13.5.
yield
is
ammonia
This method is an extension of the steepest ascent method and was proposed by Himsworth.l It differs from the above method in that no attempt
is made to find the hnes of steepest ascent, but rather that a rapid determination is made of a direction which is steep although not necessarily the steepest,
so that moves are made frequently in a favourable direction.
For a process involving two variables the procedure is as follows. In
Fig. 13.9, three points are selected fairly close together in such a manner
Fig. 13.9.
The
sequential simplex
method of optimization
form the
that they
1, 2,
and
3.
after the first three trials the point giving the lowest results
is
rejected
and
t Jeffreys, G. V., Ellis, S. R. M. and Wharton, T. H. " Rashig Synthesis of Hydrazine ".
LE.C. (Process Design Section) to be published.
X Himsworth, F. R. Trans. Inst. Chem. Eng. 40, 345 (1962).
486
replaced by the mirror image point forming the second triangle. This conis repeated until the summit is reached. Thus as long as the
struction process
surface is sloping and reasonably plane over the area of a particular triangle,
each step in the construction leads to a more favourable region and the path
taken from the starting point will zig-zag about the line of steepest ascent.
For a system containing more than two variables, the procedure will be
similar except that (k + l) trial points will be made, where k is the number of
variables. The most favourable of these points is retained to replace the
appropriate member of the original set, thus completing a move towards the
optimum. The (A:+ 1) points correspond to the vertices of a regular simplex
in k dimensions. Hence the name of the optimizing technique.
It is claimed that this method has the following advantages:
(i)
The
statistical
(ii)
(iii)
(iv)
13.6.
Dynamic Programming
t Bellman, R., " Dynamic Programming ". Princetown University Press (1957).
" The Optimal Design of Chemical Reactors ". Academic Press (1960).
t Aris, R.,
13.
487
OPTIMIZATION
the selection of the process variables calls for decisions to be taken at each
".
varying the operating conditions of the first stage systematically and employing the optimal (A^ l)-stage policy for the remaining stages it will be
possible to find the optimum policy for all
By
stages of the process.
applying these concepts to a one-stage process, then a two-stage process and
so on until all the A'' stages have been considered, it is possible to estabhsh
the optimal pohcy for any number of stages in a process provided that there
is no feedback.
in this
way
is
that
it is
and the
difficulty of evaluating the state of the product from a stage for one
of conditions of the p operating variables is measured by a constant A
the determination of the optimum operating conditions for the whole process
for a given feed state will involve NA^ mathematical operations by dynamic
programming, whereas the classical solution of the same problem would
require A^^ mathematical operations. This constitutes considerable saving
of mathematical effort and computing time.
set
illustrated the principles of dynamic promanner by evaluating the minimum energy required
compression of a gas from Pq to P^f in an A^ stage compressor with
interstage coohng. Thus consider the operation of a gas compressor
Aris,
gramming
for the
perfect
in a simple
containing A'^ stages with perfect intercoohng so that the temperature of the
gas is the same at the entrance to each stage. Let the fixed charges on the
compressor depend on the number of stages, but be independent of the interstage pressures employed. Furthermore let the cost of coohng be a fixed
charge included as part of the stage cost. Then the problem becomes the
95 (1960).
".
56,
No.
31,
488
determination of the interstage pressure ratio for which the energy consumption is a minimum. Thus the total energy consumed by an TV stage
compressor
E,
is
nRTy
y-1 l\Po
(y-i)/y
K=
Let
(y-D/y
--(^)
(j)
nRTy
7-1
+
a
y-1
(13.34)
Pi
r,-
Pi-i
EN = K(^Y.Ji-N)
Also
(13.35)
ri rj r^
(13.36)
Po
i=l
^1,1= PnIPo
and
which
E,
is
= K{rl-l)
(13.37)
Pi
Po
and
The only
Pjv
2, 2
2. 1
Pi
(13.38)
-[^(S"variable
is
p^, hence
(13.39)
"
Pi \Pi/
LPi VPo/
^Pi
(13.40)
Po
Pi
The optimal
r,..-'-^
3.2
Po
^^3,3
>
3,1
P2
Pi
be
^^(^5.1-1)
(13.41)
but the optimal policy for the other two stages has already been determined,
and the optimal energy consumption is
{^<t)
13.
The optimal
489
OPTIMIZATION
from
where
rj
is
(13.42)
0]
For k stages.
The optimal poHcy for (kl) stages will have been determined, and the
optimal energy consumption for the latter (k 1) stages will be/^_ lirjr^^).
The energy consumed in the first stage will be
E,,,^K{r,^l-\)
(13.43)
A(r)
Min[X(r,, r-l)+A-i(r/r,. J\
(13.44)
solution
form
The equilibrium
B between
the phases
is
Solution
in the process
^(x_i-x)
Since the phases are immiscible q
Dodge,
B., "
etc.
W>'
x_i-x
so that
(1944).
is
is
r>;
of the solvent
is
let
III
".
McGraw
Hill,
New York
490
of the extract, the problem can be treated as one in which the quantity of
solvent fed to each stage is such that the profit is a maximum. That is the
profit
is
Pn(xq)
IV
1
V
1
VI
N
Now
P^{xo)=^MaxY,v(y-X)
let
Vn
VII
to the formalism of
dynamic
VIII
where
^1
and
From
Poixo)
=^0-1^1^1
yi
IX
equation IX,
mvi
+1
and yi
"
mui
Pi(xo)
mX(
"
XI
+l
laxkf^
= Max
XII
dvi
or
XIII
+l
(mi^i + l)^
I
mxo X(rnv^ + 1)^ =
\mvi
XIV
XV
mX(
Substituting the terms in equations
Pi(xo)
XV into
Xo - 2^l~xJJm
+ Xjm
N=
gives
XVI
13.
whence by
OPTIMIZATION
differentiating equation
XVII
in a
491
manner
presented,
"^^
1/^,--'
VmX m
and
F2(^o)
The flow
ratio V2
^>=
=
1/'
V m
^0 - 3
>'i
^lx~)?
.
v;;i^
IX
XVIII
XIX
is
composition x^.
shown
that
V
That
is,
nrX
for the two-stage policy the ratio of solvent to raffinate rate to each
Model
1103.
t Aris, R.,
Rudd, D.
F.
Sci. 12,
88 (1960).
Chapier 14
COMPUTERS
14.1.
Introduction
The
still
further.
comparing the
slide rule
492
14.
COMPUTERS
493
Passive
14.2.
Analogue Computers
is
by
common form
is
V\M
R
n+1
r^AAA
R
Fig. 14.1.
Fig.
Kirchoff's law
-e
o
^n+1o
K
or
o
e
-1
i^
"-e
o
=C
(14.1)
dt
= ^^(e+i
fe_^,-2e. +
2e
dt
Ao
de
e.^.')
en -i)
(14.2)
494
RC =
(Ax)2/a
(14.3)
Equation (14.3) is thus the equation linking the one dimensional heat conduction equation to its electrical analogue (Fig. 14.1), and both sides of
the equation have the dimensions of time. It is not essential that equation
(14.3) should be satisfied for the use of the analogue, but if
RC =
2(Ax)^/a
(14.4)
the electrical potentials will alter at half the rate of the corresponding temperatures. In moving from equation (14.3) to (14.4), the time scale of the
R/2
hMArrWA
5-
Fig. 14.2.
Analogue
C/2.
circuit for
boundary conditions
half value.
The analogue
the system.
14.
COMPUTERS
495
14.2.1.
Electrolytic
Tanks
V2r =
aV
ct
(14.5)
496
calculation.
14.3.
An
14.3.1. Basic
-AAAAr
S.J.
g^o
R
\MA/
e3o
v\^A^^
Fig. 14.3.
Amplifier
'^
Addition
circuit
for the operational amplifier is a triangle, and the diagram illustrates the
amplifier with a feed-back resistor {Rp) connecting its output potential {cq)
to its input at the " summing junction " (S.J.). Three input resistors of equal
value {R) connect the summing junction to three input potentials (^i, ^2, ^3).
Denoting the summing junction potential by e^ and the amplification
factor by /i, the following current balance can be obtained at the summing
junction.
COMPUTERS
14.
497
es^e,-e^^e^^eo-e_^^^
(14.6)
Rf
because the amplifier draws no current, and the amphfying factor equation
Eliminating
e^
eo= -
liCs
(14.6)
and
between equations
(14.7)
(14.7)
.o=-f(^. + ^a + .3)(l +
and rearranging,
~^')
^0=
-(^1
(14.8)
is
sufficiently large,
+ ^2 + ^3)
(14.9)
which shows that the output potential is equal to the sum of the input
potentials but of opposite polarity. Provided ^ > 10^, the error caused by
assuming that /i is infinite is less than one part in 10"".
A typical computer arrangement has a 1 megohm resistor in the feedback circuit, two 1 megohm resistors and two 100 kilohm resistors in the
input circuit. Thus the ratio R^jR = 10 in the latter case, resulting in the
insertion of a scale factor into the addition. Incidentally, this reduces the
accuracy of the addition by a factor of ten and hence ji is usually chosen to
exceed 10^.
The standard range of potentials for computing purposes
100 volts, hence equation (14.7) shows that
e,< 10"^
the
i.e.
summing junction
is
volts
is
usually
(14.10)
fortunate that equation (14.9) gives addition of the inputs with a sign
change, since this faciUtates subtraction. Putting a single input into the
It is
R = Rp, results in a sign change only. Hence to subone potential from another, its sign is changed by an ampUfier, and then
added in a second amplifier.
To
back
it is
eio
v^
Fig. 14.4.
^^0
SJ.
Integration circuit
where only one input is shown for simpUcity. Assuming that the summing
junction is still at earth potential due to the high amphfication factor, a
498
i--C^
(14.11)
^o
Choosing a
megohm
resistor
= ^Je,dt
(14.12)
gives
eo=-je,dt
(14.13)
in seconds.
The physical interpretation of equation
a constant potential, the output potential (^q) increases
in value by an amount e^ during each second of operation.
By connecting other inputs through resistors (R) to the summing junction
where
(14.13)
many
is
is
measured
that
if ^i is
14.3.3. Multiplication
by a Constant
in Fig. 14.5,
eo
ke,
(14.14)
provided no current is drawn from Cq. The elements in a computer installation are usually chosen so that a much larger current passes down the
(1-k)R
^^
oe
kR
Fig. 14.5.
resistor than
Multiplication by a constant
14.
4.3.4.
COMPUTERS
499
Multiplication by a Variable
multipher.
The
first is
effect
electronic.
is
will
The mark-space
wave of fixed
The height {h) is
Fig. 14.6.
Square wave
in
mark-space multiplier
determined by one variable, and the ratio {ajX) is fixed by the other variable.
Thus the average height of this curve is a measure of the product of the two
variables. Integration of the curve to determine the average height is also
performed electronically, and provided A is small, the output will be smooth
and
faithful.
An
is
algebraic identity
500
tractions
on the
right
hand
units for generating the square of a variable are the only new equipment
required. It will be shown in Section 14.3.5 that such a function can be
The
The other
variable potential
is
from
effect multiplier
is
must be shielded
With the exception of the simple trigonometrical and exponential funcwhich can be obtained by solving Hnear differential equations with
tions
will
14.
COMPUTERS
501
determined by both the position of the armature and the fixed negative
(K). The rate of change of Cq with respect to ej is independent
of K, therefore the slope of the output versus input line can be chosen by
positioning the armature of the potentiometer, and the starting point is then
fixed by the value of K. A combination of circuits similar to Fig. 14.7 all
feeding the summing junction of the same amplifier from the same source
ei results in Cq representing the sum of many straight Hne segments which
together will represent a functional relationship between Cq and ej. A unit
which utiHzes these ideas in a more efficient circuit is called a " diode function generator ", and to generate a given function it is only necessary to
represent the curve by a series of straight line segments and then to set two
potentiometers for each segment.
potential
was shown
Equations
Since there
is represented by time
which is of necessity an open range variable. Hence initial value problems
can be solved directly, but boundar>' value problems have to be solved by
trial and error using the method presented in Section 11.4. The method will
be illustrated by the following example of an initial value problem involving
is
differential equations
+ 2 + +
T^
dx^
dx
dx
3>;-7z
dz
at
0,
4,
l,
dy/dx
Solution
A signal representing
representing
its
>'
derivative.
representing y, z, dy/dx, dz/dx, and d^y/dx^ must be generated, and the first
three can be obtained by integration from the last two. Hence the differential
M.M.C.E.
j-7
502
Thus
2= -2i^dx
dx^
dz
-3y + lz
dx
_y_52 + 2
II
dx
constant, thus
it is
at
III
d^y
dy
dz
dr
dt
dt
-4 = -2a~-a~-3a^y + la^z
IV
dz
= ay 5az + 2a
dt
0-2t
^ .dy
-0-4
-f
X
d^y
2
dt^
III,
IV, and
V become
VI
^dz
^
-0-2-
dt
-0-12>; + 0-28z
VII
dt
= 0-2};-z + 0-4
^
dt
VIII
Thus
2
dt""
= -0-4-^ -
0-16y + 0-48z-008
IX
dt
COMPUTERS
14.
0-2
>
Potentiometer
503
I.e.
Initial
Summer
Fig. 14.8.
condition
Integrator
14.3.7. Application to
In the above sections, the operational amplifier has been shunted with a
feedback resistance (Rp) to give an addition operator, or with a condenser
(C) to give an integrating operator; but these two circuits can be combined
as
eo
R^R
+C
Taking the
dco
(14.15)
dt
17-
MATHEMATICAL METHODS
504
IN
CHEMICAL ENGINEERING
(D + a)eo= -bei
where
At
i?
this stage,
it
differential operator
l/K^ C
and b
(14.16)
= l/RC
(14.17)
AAAAr
'1o
AAAAr
-o^O
S.J.
Fig. 14.9.
initial
Putting
^[DYCO] =
s"f(s)
(14.18)
F(s)f{s)
(14.19)
nFiD)f(t)]
F{s).
(2.79)
is
initially
(14.20)
and the circuit of Fig. 14.9 represents the transfer function bl(s + a) with
an input signal (ej) and an output signal (eo). The response of the control
system characterized by the above transfer function can therefore be studied
by altering e^ in any desired manner.
Any control system can be simulated by combining circuits of the type
shown in Fig. 14.9, and the stability can be studied quickly on the analogue
computer. If the various resistors have adjustable values, the best settings for
the real control system can be determined by trial and error on the computer
without introducing any hazard into the real process.
14.
14.3.8. Application to
COMPUTERS
505
Simulation
It has been shown above that the analogue computer can simulate the
behaviour of a control system. This idea can be extended to any process
which can be represented in the form of ordinary differential equations.
useful application of this nature is to the study of reaction mechanisms and
If experimental curves are available to
the evaluation of rate constants.
exhibit the concentrations of the initial reactants, the intermediate products,
and the final products any proposed mechanism can be studied on the computer by displaying the various concentrations on an oscilloscope. By adjusting potentiometer ratios, the rate constants can be varied until the computer
gives results of similar appearance to the experimental results. The final
settings of the potentiometers will thus determine the reaction rate constants
Having determined the rate constants, the
in the proposed mechanism.
yield of any product can be maximized by trial and error, by feeding different
reaction mixtures to the system and allowing the reaction to proceed for
different lengths of time. Thus the computer can save time and expense in
the way of chemicals and analysis of samples after the initial investigation
has been performed experimentally.
14.4.
Digital Computers
them
and
following sub-sections.
506
14.4.1.
famiHarity.
equation:
723
(14.21)
This notation removes the necessity of having a different symbol for each
number by repeating the ten basic symbols in various orders, the position
of a digit implying the power of ten by which it is to be multiplied. To
store a decimal digit in a computer requires a device having ten distinct
There are many devices having two distinct
states which is inconvenient.
states such as off/on, or charged/discharged, and it is simpler to use these
devices for storing numbers. Each digit can only have two values in this
system, and the powers of two have to be used instead of the powers of ten.
Thus the quantity given in equation (14.21) is written
lOUOlOOU =
2^ + 2^
+ 2^ + 2^ + 2 + 1
(14.22)
723
0-723 X 10^
(14.23)
With the convention that the number written Hes between OT and 0-999,
and the fourth digit is the exponent, the number in equation (14.23) can be
stored as 7233. A number written in this form is known as its *' floating
point " form. Both the number and the exponent are written in the binary
notation, and a standard number consisting of 40 binary digits is interpreted
as follows. The first digit gives the sign of the number, the next 30 digits
express the number, the next digit gives the sign of the exponent, and the last
8 digits give the magnitude of the exponent of two. Thus any number in the
range
10-^^<|x|
can be stored to nine significant figures
ax
where
<
1,
<
10'^
in the
form
2"
|6|<256(=2')
14.
COMPUTERS
507
In floating point arithmetic, the quantity " zero " cannot exist! Whenever
the number zero arises, the computer represents it as 10"^^. This eUminates
the necessity for special treatment of the division process to reject zero as a
divisor because the case can never arise.
14.4.3.
Storage Echelons
accessible, the
portions.
If the main store is not large enough to hold the complete problem, part
of the program or data can be put on to magnetic tape to be read into the
main store as required by the program.
Such a facility is called a
" backing store ".
14.4.4. Input
MATHEMATICAL METHODS
508
IN
CHEMICAL ENGINEERING
Programs for such frequently used functions are usually permanently stored
within the computer as " sub-routines ". Whenever such a function has to
be evaluated, the appropriate sub-routine is called into the core, used to
evaluate the result, and then sent back to
special sub-routines can be written
its
own
storage location.
by the programmer
Other
to insert tables of
The
The Program
particular "
and
is
A further illustration has already been given in that a computer can calculate
a function by means of a sub-routine
table.
14.
COMPUTERS
509
require a fairly lengthy program and the sum of programming time and
computing time would be comparable with the manual calculation time.
The decision is Hkely to rest upon the availabiUty of a suitable computer
and the urgency of the problem; but if the diameter of the reactor tubes is to
be selected by repeat calculations for a range of tube diameters, a computer
program must be written. The programming time is a fixed charge which can
be likened to obtaining a photographic negative, and each calculation of a
similar set can be performed very economically, just as any number of
prints of any size can easily be obtained from a negative.
14.5.
510
MATHEMATICAL METHODS
IN
CHEMICAL ENGINEERING
in size,
and
digital
fields
correct or not.
PROBLEMS
1.
It is desired to produce a substance B from a raw material ^ in a continuous stirred tank reactor of effective volume Fft^. If Q ft^/min of a
solution of A of concentration Cq is fed to the empty reactor, and the
chemical reaction of A is represented by
A B-^C
in
which
of
all
show
order,
first
that the
number of moles
is
-IF^^-dT^^^'-^
P=
where
+ /c2 + /C3
/c^
C = QCok,
2.
dx
If ^
3.
when x =
7c/3,
differential
2 V tan a:
show
that
equation
= 4 sm x
"-'(!)"-'=
--0
At
4.
l,
-1
y =
dx
dx^
2 +
2>;
dx
*cosx
Birmingham 1962.
511
MATHEMATICAL METHODS
512
5.
IN
CHEMICAL ENGINEERING
^ +
2x
dx'^
2>'
dx
In
Birmingham 1960.
6.
A + B-^X
X + B-^Y
Y + B-^Z
2
3
7.
1,
^i
for reaction 2,
/:2
for reaction 3,
/tj
= 1-8 x 10""^
= 0*3xl0"'^
= 0*1 x 10"^
1/mole.min
1/mole.min
1/mole.min
as in (a) ?
(d) In (a), if the
hour,
if
fell
0-01%?
component A
hour
constituent
PROBLEMS
of /4 at a liquid depth d
film
is
513
is
where C^
Show
is
C^.iSinh[a((3-x)]
sinh(a(5)
and a = \/(k/D).
mass transfer through the surface
is
known
a dimensionless quantity
as
is
the
Hatta
tanh(a5)J
number.
9.
Two
(a)
in external diameter
in diameter
a heat transfer coefficient h Btu/h ft^ F, show that the equation giving
the temperature distribution in the flange is
/
d^T
dT\
6k{rj+-] = hr(T-T,)
V-d?-'Tr)
where
insulated
(i.e.
0)
and the
if
where
and determine the rim temperature
200F, Ti = 60F, and k = 200.
flanges only lose heat through the rim
M.Sc, Birmingham
10.
1961.
and
A + B-^C + D
feed streams enter the tank each at a rate of R lb mole/h, the one
stream contains ACq mole fraction of A, and the other contains 2Cq
mole fraction of B. Material leaves the tank continuously at a rate
2R lb mole/h so that the tank always contains
lb moles and V ft^ of
material. The specific reaction rate constant is k ft^/lb mole/h.
When the reactor is closed down, both feeds are stopped, the vessel
remains full, and the reaction goes to completion leaving Cq mole
fraction of A unreacted. If the reactor is started from this condition,
by turning on both feed streams simultaneously, perform the following
Two
calculations
(a)
actants
Show
two
re-
514
(b)
in the
(Note.
terms of a and
p.)
M.Sc, Birmingham
11.
As
1962.
(x)
given by
and a
straight line
= mx + b show
that
d^x
^372
dz^
where
dx
mGV
dz
Lzi
-y-.- -Tr-^Mvi^-^*) =
is
Zi is the distance
from the
inlet weir,
is
X*
is
which
is
Allowing for diff"usion in the entry section where no gas flows, find the
hquid composition at all points on the plate.
Andrew,
12.
S. P. S., Hutchinson,
surge tank of 20
are
two
inlet
M.Sc, Birmingham
1960.
PROBLEMS
13.
515
Two vertical cylindrical tanks of 6ft diameter and 4ft diameter are
joined at the base by a horizontal pipe 2 ft 6 in long and ^ in diameter.
The 6 ft diameter tank also has an outlet at the base consisting of a
horizontal tube 2 ft long and J in in diameter.
If the larger tank is filled with oil to a depth of 12 ft whilst the smaller
tank is empty, and both tubes are open simultaneously, prove that the
maximum depth of oil occurring in the smaller tank will be 4-81 ft.
Assume
is
losses.
14.
C LeRoy Carpenter,
Chem. Eng. Prog. 47, 211, 1951.)
by D. Q. Kern and
L3
1.3.5
'^**'
"^2.4"^
2.4.6
convergent or divergent ?
16.
Although the
it
17.
series
by removing
all
y^ -
is
divergent,
show
is
convergent,
from
i.e.
" Log-mean " temperature differences are frequently used and defined by
T2-T,
'""
In
(T^/ro
Given the
mean
1.
differential
equation
x^
+ fc^ + y =
dx^
dx
2
/c7^
(a) Use the method of Frobenius to find the roots of the indicial
equation and determine the recurrence relation.
(b) State without further calculation what form the complete solution
takes for all real values of k.
(c)
\.
Birmingham 1960.
MATHEMATICAL METHODS
516
19.
CHEMICAL ENGINEERING
x^ + (l-2x)^-2^ =
(a)
^(1-^)7Z^ + (3-7x)3^
(b)
20.
IN
9);
M.Sc, Birmingham
21. (a)
ae^^ to solve
d^
Use the substitution y
(b)
(Py
dx^
22.
Show
V> =
=
\vx~^ to solve
Idy
xdx
_p1
.2
x^
where z
cos (2nln)
1960.
1, z, z^,
...,
z"~S
sin (In/n).
where a
23.
is
any
if
is
not a factor of a
in
if
is
a.
factor of a
integer.
(c)
prove that
sinh"^a
+ sinh~*/} =
s\nh~^ (aJi
+ b^ + b\/l-\-a^)
PROBLEMS
24.
By putting
e'^,
show
517
that
/
where the integral is taken around a unit circle centred at the origin,
starting from the point e'*^.
If two circuits of the origin are permitted by allowing 6 to vary from
(/)
to
(t)
+ 4n, show
is
zero for
all
at
values of
making z~^
(p.
single valued
cj).)
around any
finite
origin.
.
26.
By
cosz
sinz
-^
(a)
-^
(b)
integrating e''"7(l+z^)
cosmx
+ x^
ax
71
sm
e'
of
-.
e'V~^ around
two
at the origin.
which
00
x~^ COS
xdx =
provided
29.
< a <
1.
gamma
function.
2'"-^7r-^r(n)r(n + i)
to the
to
Jtc,
MATHEMATICAL METHODS
518
30.
IN
satisfies Bessel's
Hence prove
cos
Show
x sin 0)^0
((/)
nJ(x)
cos bx
dx
/
e'" and
Show
an integer or zero.
that
cos ax
32.
is
that
I(x)
31.
CHEMICAL ENGINEERING
use the
Transform
^o(0
(i)
COS
cot
method of Section
5.5.3.)
of:
=
(s^
(ii)
="
+ l)^
s
CO
sin cot
(iii)
{s
s-1
(ii)
s(s
34.
Laplace Transforms.
sA + B
....
(i)
+ 2)
+ ay + co^
1
(iii)
(5 + ico) (5 ico)
rz is
(s2
+ 4)(52 + l)
s{s+a)"
35.
The diagram
mechanisms.
pletely filled
AP-^c
519
PROBLEMS
the piston B, oil is forced via the Une C through the valve
very narrow aperture so that the flow of oil is restricted.
the cylinder
D which has a
Consequently
A moves against the spring 5, but as the oil passes through the
its
original
position.
if
K
m
is
is
\dx
d^x
/ a
dr
\mK)
dt
is
is
the eff'ective
36.
oil
where
AP
initial
Xq.
is initially
A-^B
takes place.
When
concentration
^ ft^/min.
37.
in
is
initiated a solution of
of
is
is
vessel
is
is
expressed as
U=
kx-^
where k is constant.
Conduction within the hquid can be neglected and radial variation of
temperature can be assumed to be zero.
38.
The temperature of a
520
to
an immersion heater
in
T); where r is
heating element, and T is
maximum
temperature of the
is
propor-
the constant
the tempera-
of transient behaviour.
The effective mass of the immersion heater can be taken to be m and
the specific heat of the heater material s, the heat capacity of the liquid
Cp and its density p. Agitation in the vessel can be assumed to be perfect.
39,
The denominator of
can be represented by
6s^ + 5(a-l)s3
+ 5as2 + (a^-2a+l)s-(a-6) =
is
41.
stability
of the system
(5-l)(4s+l)
corners of a parallelogram.
(b) A cube has twelve edges, six of which form the corners at the
ends of one diagonal. Prove that the mid-points of the other six edges
form the corners of a regular hexagon.
42. (a)
i-\-2j2k.
coplanar.
43. (a)
Show
that
(AaB).{AaC) = A\B.C)-(A.B){A.C)
(b)
\4.
ir{AAB)A{AAD) =
A,
what
is
(AaB)a{Ba D)?
MaN
PROBLEMS
Hence show
that
MaN
45. If**
46.
is
AM
A.N
B.M
B.N
CM
C.N
(a) div
I-
(b) curi
I-
521
show
that:
r"r
(c)
[^,B,C]
div
(n-{-3)r"
CSS
surface,
and volume
integrals to
(i)
jU(l).dS
(ii)
S
(iii)
where
jUV.<l>d(7
J^.VA<^^a =
j(<^A^).</S
is
j<l>.VUd(j
<T
+ J<^.VA^J<7
a
and
a constant vector,
and
t/ is
variable scalar.
where
is the
porosity
written
u=
where gravity
(a)
(b)
48.
Show
Show
Show
is
neglected,
that for
is
Vp
the permeabiUty
an incompressible
fluid,
jj.
the viscosity.
0.
dp
dt
2^2
v>
alternative forms
du
(a)
and
V^ =
-maC=
ot
-V/ + vV^m
in the
MATHEMATICAL METHODS
522
^-aC=-Vx-vVaC
ot
(b)
49.
CHEMICAL ENGINEERING
IN
= WP + 2"^ + ^
where
and
F=-VQ
Two
Show
^l|^^%^^+
r=
nnl(b a).
where P
form
fi"sinm.-a)}e-^
initial
temperature distribution.
50.
T of any
perature
where
T.-T
__2
Ti-To
r is the radial
thermal
diffusivity,
Jo(ar)
^t'l
ocJi((xa)
coordinate, a
and
is
/ is
given by:
^.,,^.
Jo(aa)
is
of a tracer
is
the
=
M.Sc, Birmingham
51. If a liquid
K is
1962.
by the solution of
d^C
dx^
where
is
infinite
Removing x by
(x) only.
dC_dC
~^ dx~ dt
the substitution z
= x vt, and
assuming an
Show that the maximum concentration of tracer passing a downstream observation station arrives earlier than the residence time by an
amount
Ejv'^.
{See
J. J.
4, 367, 1958.)
PROBLEMS
52.
523
_ _d^_dilj
dx
dy
dy
dx
= Po-9py + PYf~^yf^y
dx^
dy""
p\d^'^ dy^)~~dt
Show
i/r
= Ae-^'"-"' cos Kx + My
= 5e-'"^+"'sinKx
m = s/K^ + (pnlfi)
if
(This
53.
(The solution
Trans.
54.
form
Assuming
tension
Am.
Inst.
(y) varies
is
is
reported by T. B. Drew,
Chem. Engrs.
interfacial
according to
y
cLCOsO
+P
a^g^p
where a
is
>
if
3a
and Ap
is
MATHEMATICAL METHODS
524
55.
CHEMICAL ENGINEERING
IN
The sudden closure of a valve generates a pressure wave within the liquid
flowing in the pipe leading to the valve. The passage of this wave causes
compression of the liquid and expansion of the pipe. Show that the
velocity of the liquid and the pressure are related by the equations
dp
p dv
dx
g dt
d'p
,d'p
^ = c^^
and
where
If
c
it
is
reservoir at
P(xJ)
x =
Po
to the valve at
4cpvo
^
2.
show
L,
.^nx
^sm(2n +
Tsm(2n + 1)
-IT
^.
net
7X
l)
56.
that
state thick-
57.
58.
X when x
0-328.
conductivity at 413F.
(ii)
ynyn+2
(iii)
>'+4-9yH-3 + 30>;+2-44>'n+i+24y
=
=
yn-^i
4''a
given that
^o
0;
>'i
3;
>^2
6;
^3
36
PROBLEMS
61.
525
G Ib/h
is
where
is
HXff.
from 135
lb
Y*
= 2X
reactors
64.
A reactant A
is
if
not to exceed 3
Ib/ft^.
526
65.
8000 Ib/h of a 5
in toluene
is
to be
column
The equiUbrium
where
y=
X=
relation
is
F=
2-2A^
stage can be
assumed to be constant
at
66.
A block of metal
12 in x 12 in x 2 in has
its
metal are
specific heat c
The following
density p
0-10,
4201b/ft^
Time(min)
Temperature CF)
200
10
15
20
25
30
35
40
186
173
161
151
141
133
125
119
coefficient.
Assuming
+ 1%;
p,
0-1%;
all
dimensions,
yV'
how
accurately
is
the
Birmingham 1961.
67.
y
which
68.
fits
= Asm(x + B)
A and B
are constant.
30
60
90
120
150
0-944
1-242
1-208
0-850
0-264
-0-392
least squares to
Nu =
fit
aPr"
527
PROBLEMS
Pr
Nu
Pr
0-46
0-53
0-63
0-74
4-2
5-6
24-8
100
26-5
17-7
3
5
Nu
Pr
Nu
84-5
32
140
127
189
245
315
380
31-6
70-3
58-5
115
115
150
170
165
193
340
590
95
245
55
28-5
18-6
300
25-3
60-3
41
69
58-4
70-7
370
93
185
480
195
69.
Time
(hours)
More
volatile
90
60
ponent (%)
Flow
rate (Ib/min)
(a)
(b)
70.
91
91
63
62
89
62
87
60
84
59
80
57
75
57
com92
62
The reaction
TCO
500
A:xl04(hr-i)
Use
the
method of
in the
equation
where
T is
701
least squares to
measured
89-4
45-4
7-34
1-08
1010
138
in degrees Kelvin.
X tan X
of
yields the
answer
far
of successive approximation
more
efficiently.
528
number of plates required to absorb 95 % mole of a component A from 500 lb moles/h of a gas containing 5 % of ^ by volume
using 600 lb moles/h of a 5 % mole solution of the absorbent B. A reacts
with B according to a second order irreversible reaction
r
If the liquid hold
= kC^Cs
up on each tray
is
is
show
73.
is
A mathematical model for the washing of a filter cake has been proposed
by M. T. Kuo (A.I.Ch.EJ. 6, 566, 1960). It is assumed that the wash
Hquor is in plug flow through the pores of the cake, and that a stagnant
film of filtrate remains on the pore walls. A mass transfer coefficient
governs the passage of solute across the boundary between the two Uquid
layers. Show that the process is described by the equations:
A2-^ =
hS(c,-C2)
del
dci
for
<
<
L;
t>xlU.
velocity of the
mass transfer
S
A
A2
Ci
C2
concentration of solute in
concentration of solute in
wash
liquor.
coefficient.
by wash hquor.
by filtrate.
wash liquor.
filtrate.
U=
hS/Aj^
74.
0-00682 sec"^
Initial
concentration of
An
bearing formation
oil
in shape.
L =
0-0030 in/sec
filtrate is
is
hS/A2
in
0-00475 sec"^
0-015 moles/ft^.
assumed
and circular
formation at a point midway
to be of uniform depth,
between the centre of the formation and its perimeter. If oil is withdrawn
at constant pressure, determine how the pressure distribution in the
formation changes, and the rate of production of oil as a function of time.
(The governing equation can be checked with Example 4, Section 8.8.)
PROBLEMS
75.
529
Two
If a
matrix
A=
-1
3"
write
A + B;
2_
_4
(iv)
AB"^
(ii)
AB;
(iii)
BA;
"2-3
1
-5
-4J
What
is
4-1"
VI
11
(i)
78.
-3
"1
down
(i)
77.
B=
and a matrix
7-1
and(ii)
-4
L-4
4_
is
to be cooled in a three-
Hot
acid at 174C
fed to tank
each tank rise if due to trouble in the supply, the cooling water suddenly
stopped for one hour?
On restoration of the water supply, water is put on the system at the
rate of 12,000 Ib/h. Calculate the acid discharge temperature after one
hour. The capacity of each tank is 8,000 lb of acid and the overall coefficient of heat transfer in tank 1 is 230 C.H.U/h.ft^ C, in tank 2 is
180 C.H.U/h.ft^ C and in tank 3 is 120 C.H.U/h.ft^ C which may be
assumed constant.
79.
A battery
in series.
of
is
equipped with a
same
is
the
pure solvent
530
only,
tion
and at a time designated tQ, q ft^/min of a reactant A of concentraCq lb moles/ft^ are fed to the first tank, estimate the time required
leaving the
Mh tank to be
It)
moles/ft^.
A B-^C
and
it
all
may
first
reactor.
aX
RX + PQ
dt
where
X2
= {X,
^6}
...
06
...
it
c
-/?*!
{^0
R= B
B
B,
A=
and
mH + h
L + mG
mH + h
C=
mG
mH + h
The symbols:
h
H=
L
liquid hold-up
PROBLEMS
531
written
where
Y=
is
and
liquid
may be
mX
0-7.
oil
on each
81. A'o lb of a solute/lb solute-free liquor is fed to the first stage of a iV stage
Ib/h on a solute-free basis.
crossflow extraction process at the rate of
If
B lb
is
of solution
is
extraction process.
quantity of solvent required if the capital and operating cost of each stage
including vessels, pumps and labour is estimated to be $7000 per annum.
is
0-86.
In question 81 above
it
will
variables
and process
by the equation
CP
VmXoJ
'^
N+l^\XmXo)\
APPENDIX
Table of Laplace Transforms
As)
fit)
5
1
j(n
\.2,...)
(n-\)\
1
4
\/7rr
S-*
s-^"-'^)(/i
^v^
=
2"t"-+
l,2,...
lx3x5...(2-l)V7i
7
T'-'
t*-'
e"
1
*/j'"
te
{s-af
10
V-a/"
= ''''
{n-\y.
t'-'e'"
11
-^-(e-'-e'")
12*
(s-a){s-b)
*
distinct constants.
1958,
McGraw-
APPENDIX
533
Ks)
1
(ae'^-^e")
13*
(s-a)(s-b)
1
14*
(a-b)(b-c)(c-a)
{s-a){s-b)(s-c)
1
sina^
15
s^
+ a'
s'
+ a'
cosaf
16
-sinh at
17
s^-a^
s
cosh a r
18
s'-a^
1
19
sis^
20
(1
+ a"")
1
sV + a')
a'
(at
21
{s'
+ aY
(s^
+ a'f
at cos at)
sina^
la
s'
23
sin at)
(s^
^(sina^
la^
+ a^
s
22
cosaO
a'
-ism at +
at cos at)
la
s'-a^
24
{s^
+ a'-y
s
25
{s^
+ a^){s^ + b^)
(a'
cos at
cos at
b')
cos bt
2
b^-a
26
e^'sinbt
{s-af + b^-
a
(s-a^2 + l2
e'
27
cos bt
Z?
Here
a, b,
and
18
534
Ks)
3a-
28
s^
+ a^
atyj?>
4a'
29
s^
/-
sin af
+ 4a^
cosh ar
cos at
sinarsinhaf
2a^
31
_1
_J.
^{smh at
smat)
J. jCcoshflt
cos at)
2a
32
s
a 4
2a
33
(1
+ a^/
(s'
+a
r) sin ar
ar cos a
d"
e'
34*
==6*^(1+2^0
35
(s-a)*
y/nt
1
36
\l s
\l s
2V t:^^
(e^'-O
37
/--fle''''erfc(aVO
Vs + a
"T^ + ae'^erfCaVO
38
Vs
39
s
+ a'
slnt
yjn
40
^/'s(s-a'')
-e'^'ediay/l)
a
41
a\ln
* L{t) is the
n.
flrV3\
smhat
30
v3sin^-
X [^^^-2
APPENDIX
535
Ks)
2
1
h''-a
e''[fc-aerf(aVO]
42
-te'''erfc(6V0
1__
43
e'^^'erfcCaV?)
\/s(Vs + a)
1
44
.^'gerf(a70-l]
45
Vs(5-fl')(Vs + 6)
46*
+ e^''erfc(feV7)
(1-5)"
nl
= i^2n(V0
(2n)ly/nt
n!
47
^2+l(V^)
-1
48t
4s
49
\/s
+ ay/s-\-b
TW
50
(s
b)t
-,(/c>0)
+ fl)H5 + ^)
.(^'-)
51
(s
te
+ ar(s + b)^
'"-[/.("-i^')
.(^^')]
52
\ls-\-2a
\Js
-e-''h(.at)
y/s
+ 2a+y/s
7'-'"""'.(^'')
(/c>0)
53
(V5 + a + Vs + 6)2*
/f(x)
t /(x)
is
/f(;c)
e'*^(e~'*).
536
f(s)
54
(Vs + g + Vs)-''^
(i;>-l)
-e-i"IXiat)
\/s\/s + a
1
55
56
Jo(at)
+ a^-sy
i^s'
{v>-\)
57
'
(/c>0)
r(/c)
58
59
{^|7^-sf{k>0)
{s-y/s^-ay
60
2\k
ka"
Uat)
(v>-l)
(k>0)
Y{k)
{)
^'-(^'
'
< <
when > k
when <t <k
lf-/c
fc
'0
ks
^(.>0)
whent>fc
when
rO
62
<t <k
when
JO
^'^'^-{l
61
63
J.-,iat)
{)
--^^
when
>
r(//)
<t < k
when > k
[0
S(k, t) = n when {n-\)k<t<
(i
64
when
65
s(l-e-*0
coth ^ks
'0
1
66
sie'^'-a)
when
+ a + a^ +
<t <k
g""^
.-. +
when nk
(m
<t<{n + i)k
1,2,...)
= (-ir-'
when 2/c(m-1) <t <2kn
M(2/c,0
67
- tanh ks
nk
(Fig. 6.4)
2s
1,2,...)
APPENDIX
537
68
5(1
/(O
iM(^,0 + i =
+^-''0
i-(-ir
when
(n
H{Kt) =
tanh \ks
69
F(t)
70
s
sinh ks
= 2(n-1)
when (2n -3)k<t< (2n - l)/c
(t>0)
1__
71
s
cosh ks
(r>0)
72
F(0 = 2n-1
when 2k{n-l)
- coth ks
s
k
73
s'
+ k"-
< <2kn
t
ns
coth
\s\nkt\
Ik
sin
1
74
2)n
< < {2n-\)n
when {2n -\)n<t < 2nn
when
(2rt
(s'
+ l)(l-e-'"0
75
Jo(2-Jki)
76
-T= Q0s2\l kt
yint
77
-j=cosh2\Jkt
yjnt
78
Jl^-(*/s)
sin 2\lkt
\Jnk
1
79
80
81
e-^'^/^H/i>0)
/,-i(2V^)
J_^fc/^
e''"{ii>0)
18*
538
lis)
82
e-'^'(k
>
exp
0)
(-S)
Isl nf
83
s
84
85
ae
(k^O)
86
ia
e^'e''
^'erfc(aV7+^)
+ yjs)
+ cdc(-K)
V2V/
(k^O)
87
y/s(a
e''^e"'^erfc(aVr
+ \/s)
^j
<t <
when >
when
88
\/s(s
+ a)
\e-^''Io(ia^/t''-k^)
-k^s2 + a^
\jQ(a\Jt^
k^s2-a2
<
<k
<t<k
when
fO
when
Jo
89
90
\lQ{ayJt'^-k^)
when
>
^-ki^s2+a2-s)
91
(k^O)
Jo(a^/t^
+ 2kt)
when
92
^-ks_^-k^s^ + a2
<t <
ak
J,(a^t'-k')
^t'-t
when
when
93
^-k^s^-a2_^-k5
>
<t <k
ak
^t'-t
I^{a^t^-e)
when
>
APPENDIX
539
Ks)
94
T. T-n
(i^>
<t<
when
'
fc
-1)
Vs' + a^CVs' + a^ + sV
when
95
r(l)
-logs
log
[r'(l)
>
= - 0-5772]
i3
96
-^logs(fc>0)
97*
s<>>
rrw
logn
e'^'lloga-Eii-at)']
logs
98*
s^
costSi(t)- sinfCi(0
+1
slogs
- sinrSi(0-cosrCi(0
99*
s^
+1
100* -log(l
+ fcs)(fc>0)
S-fl
101
+ kV)
103* -log(s2
104*
|(e''-0
102* -log(l
-K4)
+ a')(a>0)
4log(s^ + a^)(a>0)
-<3
-2Ci(aO
2 log a
2
- [ar log a +
sin ar
ar Ci
(at)'\
^,
-(1
cosaO
^,
- (1
105
log
106
log
107
arctan
cosh a
- sin kt
t
sine-integral functions
Ei(
/),
Ci(/),
540
As)
108
- arctan -
Si(fcO
109
e^"'\v{c{ks){k>0)
110
-e^'^'erfcCi^sX/oO)
111
e'''Qifcsfks{k>0)
-(i)
7r\/7(r
+ /c)
when^O<(</c
rO
112
r'
-7-erfc(V/5
\(7rO~^
when
>
113
-7-e''^erfc(V/cs)(;^>0)
Vs
114
115
V7r(r
+ /c)
-sin(2/cV0
J/-""G;)
116
Koiks)
117
Ko(ks/l)
118
-e'"Ki(ks)
JO
\(t2_j^2yi
/
when
0<t <k
whenf>/c
e\
^VK'+2/c)
119
,-K,(k^s)
120
7;--(')
,-Xo(2V2fer)
Vt"
r[l(2fe
121
e\
- 0] ~ * when
ne-^'Ioiks)
when
\.0
''"'
122
e-'^hiks)
< <
> 2k
(
whpnn<f<2fc
7r/cVK2/c-0
(o
2fc
when
>
2k
APPENDIX
541
lis)
123
(a>0)
-e'Ei{-as)
t^-a
1
-^(a>0)
124
a
125
{t
+ a)
1
7V\
SUBJECT INDEX
Associative law of Algebra, 51, 52, 206,
213
Autocode, 508
Average point, 362
Absolute convergence, 76
Absolute value of complex numbers, 75,
119
Absorption factor, 325, 326
Acetaldehyde, extraction of, 481-482
Acetic anhydride, hydrolysis of, 341-343
Acrivos and Amundson equation, 471
Addition of matrices, 439-440
Addition of vectors, 203-210
" Address " of numbers, 505
Adsorption coefficients, 365-369
Algebra, complex, 117-148; see also
under complex
matrix, 439-442
three basic laws, 51, 52, 206, 213
B
Benzene, batchwise chlorination
28
in
of,
26-
distillation
Benzoic acid
extraction
from toluene,
1, 2, 3, 5,
Algebraic equations
by matrices, 448-449
numerical methods of solving, 397406
Alternating series, 79
Ammonia vapour, pressure and density
of, 317-318
Amplifier
basic for addition, 496-497
linear, solution
modified, 110
second kind, 107-109
tables of (Chistova), 317
Bessel's interpolation formula, 319
Beta function, 154-155
argument of, 154
relation with gamma function, 156157
497^98
operational, 496
131-148
Arbitrary constant, 18, 42, 45, 290, 323
Argand diagram, 118-1 19, 120, 199, 200,
399
algebraic operations on, 120-123
Boundary conditions,
analogue
Argument of
complex number,
gamma function,
152
tion,
502
at fixed temperature, 19
Ascent, steepest
15
Bessel functions
first kind, 107
method
of optimiza-
483-485
259
543
SUBJECT INDEX
544
Boundary conditions
Columns
cont.
cont.
252-
253
in Sturm-Liouville equation,
271-
272
integro-differential,
third type,
257
257
Schliching, 267
Argand diagram
of,
428^29
method of solution
of,
429-
436
solution of higher order diff'erential
equations, 388-397
Branchcut, 137, 155, 185
Branchpoints, 134-137
inversion of Laplace transformation,
185,187-188
Branch principal, 137
184, 186
or
468
Prandtl, 267
Bromwich path,
divergent series, 76
Complementary
specified,
thermally insulated, 19
Boundary layer theory
relaxation
Commutative law of
265-267
second type, derivative
253-256
Argand
118-119
136
conjugate numbers, 123-124
De Moivre's theorem, 124-125, 323
imaginary part, 117
modulus and argument, 119
nth roots of unity, 125-126
principal values of, 1 19-120
argument
of,
79-82, 126-127
128
Cauchy 's
Cauchy
integral formula, 141, 142
theorem,
226
formula,
integral
141,
142
137,
144,
145,
186,
188,
132-147
branch points, 134-137
essential, 133-134
singularities of,
Code
Computers, 492-510
Clairaut substitutions, 33
application
tions,
to
509-510
equa-
differential
501-503
SUBJECT INDEX
Computers
cont.
active analogue
cont.
systems, 503-504
radius of, 80
498
function generation, 500-501
multfplication by a constant, 498
multiplication by a variable, 499-500
digital,
509-510
505-510
binary system, 506
digital, 492,
506-507
Conductor
transfer
radial
heat
through, 14, 199
temperature distribution in, 199
cylindrical,
flat,
545
Convergence
absolute, 76
of complex series, 126
1 1
Convergent series, 75
comparison test for, 76
Gauss' test for, 78
integral test for, 78
Raabe's
test for,
78
Convolution, 179-180
Coordinate systems, curvilinear, 228-231
Coordinates
cylindrical polar, 231
cylindrical polar with axial symmetry,
256
spherical polar, 228-231, 248, 250
Cosine integral, 158, 539
Countercurrent extractor, 343
Counter flow extraction, optimization
of, 479
Crank-Nicolson method, 422
Cross or vector product, 212-213
Contour
Derivative
158, 162
partial, 218,
182-188
Contour
plots,
Control systems
automatic, 188
closed loop, 190
192
stability criteria,
192-198
195-198
Control theory, automatic, 188-198
Control valve, response to varying air
pressure, 176-179
stability criteria (Nyquist),
239-242
substantive, 245
total,
355-356
of,
240
307
SUBJECT INDEX
546
DifFerence(s)
cont.
306,
of,
245-252
solution by
267
solution by numerical methods, 409-
436
338-348
by numerical methods,
406-^09
finite, 321-338
degree and order of, 321-322
linear finite, 322-331
complementary solution, 322-323
particular solution, 323-326
non-linear finite, 331-338
analytical, 335-338
graphical solution, 331-335
Riccati finite, 336, 337
simultaneous linear, 327-331
Difference formula, Newton's, 314-318
differential,
solution
33,41-66, 86-116
auxiliary equation
complex roots
equal roots
43-45
43-44
to,
to,
471
solution by numerical methods, 385-
Difference operator
J, 307, 308
,312-314
397
solution by series, 86-116
409-436
formulation
equations,
Differential
non-linear,
dependent
465^71
second
order,
33^1
variable
explicitly,
not
occuring
34
homogeneous, 35^1
problems of, 59-66
illustrative
of,
equations, simultaneous,
66-73, 465-472
Differential operator, 50-56
application to exponentials, 52-53
use in eliminating dependent variables
non-linear, 23
explicitly, 34, 35
Differential
from
simultaneous differential equations,
67,68
Bessel's
of
properties
Differential
equation, 115
Differential total, 240
238-240
SUBJECT INDEX
Diode, 500
column
variation
rate,
with feed
rate, 8
308,312,315
Dittus-Boelter equation, 392
Divergence, 220
Divergent series, 75
comparison
test for,
76
test for,
optimization, 486-491
Efficiencies,
355
38^1, 389-391
Electrolytic tanks,
78
integral test for, 78
Raabe's test for, 78
ratio test for, 77
Dot or scalar product, 211
Droplet, detailed concentration distribution around, 248
Duct, rectangular, velocity ratio of flow
through, 430-436
Dummy variable, 149, 151, 156
Dynamic function, 1 89
Dynamic programming method of
Gauss'
547
495^96
Elliptic integral
210
Error
absolute, 356
of measurement, 360
of method, 360
of precision, 360
relative, 357
Factor, integrating, 29
Feedback, 191, 496-498
Fictitious points, 417, 428
Finite differences, 307-348
difference quotient, 314-315
equations of, 321-348
of a product or quotient, 311
operator -J, 307-308
-E, 312-314
-Norlund,314,391
second and higher orders of, 308-309
tables of, 309, 310, 316, 317, 318
Fin, temperature distribution of, 100-103
Fixed bed catalytic reactor, 171-175,
412-420, 422-428
Floating point, 506-507
Fluid flow
equations
of, 231-236
235-236
ideal round sphere, 265-267
in packed column, 285-289
Stokes approximation, 232-235
ideal,
SUBJECT INDEX
548
Fluid flow
Gauss'
cont.
viscous,
Geometrical
206-210
transforms, 303-305
Frobenius method, 90-109, 277, 298, 492
Functions, orthogonal, 269-289
Functions, potential, 223, 236
Functions and definite integrals, 149-162
function
beta, 154-155
convergent or divergent
278
applications of vectors,
test for
series, 78,
error, 149-151
evaluation of B{\-q,
q),
155
gamma, 151-154
between
relationship
beta
and
gamma, 156-157
functions,
tegrals,
157-159
integral(s)
Gamma function,
157
Gas absorption
application of series to, 84-86
in falling film,
297-302
eff'ect,
500
multiplier, 499
159
in
Hall
of,
325-326
Heat loss
from fin, 100-103
in simple water
still,
1 1
SUBJECT INDEX
Heat transfer
coefficient, 19,
549
Interpolation formula
256
319
Heaviside, 163
Bessel's,
Newton's, 315-318
26-28
Hydrolysis
of acetic anhydride, 341-343
of animal fat in spray column, 62-66,
32B-331
of tallow in spray column, 6266
Hyperbolic and trigonometric inverse
functions, 81
Images, method
of,
166, 167-170,
179-188
by contour integration, 182-188
convolution integral, 179
in
expansions
descending
power
series, 181
further elementary
methods
of,
180-
182
other series expansions, 182
solutions
ot
differential
equations,
169-170
equation, 116
Hyperbolic power
Inverse transformation,
in
solving partial
263-267
Index law of algebra, 308, 313, 315
Indicial equation, 91-100
differential equations,
420-428
Jet laminar,
Infinite series,
dynamics
of,
38
74-79
325, 326
115
Integrals
222
volume, of vectors, 224-225
line,
227
Integration, numerical, 369-379
problems,
166,258,302
step-by-step
solution,
method
of
410-428
methods, 385-388
Interpolation, 314, 315-321
321,457
Laguerre polynomial, 534
Lambda matrices, 452-454
Laplace equation, 236, 272, 276, 279,
281,428,435,495
Laplace operator, 163-167
Laplace transformation, 142, 157, 163198, 290-302, 338-348
application to
automatic control
theory, 188-198
control systems, 190-198
SUBJECT INDEX
550
Laplace transformation
convolution, 179-180
Mass
cont.
transfer
cont.
equation, 233
integro-differential
integral,
169-170
boundary
idealization of, 2
representation of,
444
adjoint,
equations, 463-471
augmented, 449
characteristic equations,
166-167
step functions, 174-179
staircase function, 175-176
unit step, 174-175
column, 438
commutable, 442
conformable, 440
D-, 464
degeneracy of, 446, 447
shifting theorem,
use
of,
con-
257
sign convention in, 20
with axial symmetry, 248-250
Mathematical principles, 1-22
dition,
176-179
454-457
466
differentiation
262,293,416
Liebmann's method for boundary Value
and
integration
of,
450-452
equivalent, 460-461
lambda, 452-454
linear dependence of, 446
matrix algebra, 439-442
matrix series, 449^51
minors of, 446-447
modal, 467
multiplication, 440-442
Loop
null,
non-singular, 443
439
orthogonal, 443
polynomial, 450-451
powers
of,
449-450
rank
M
Magnet,
field strength
by iron
filings,
218
Many- valued functions, 129, 133, 134,
136
Marching problem, 258
Mass
447^48
446
reciprocal of a transposed matrix, 446
row, 438
singular, 443
transfer
by molecular
of,
diffusion,
237
448-449
SUBJECT INDEX
Matrices
cont,
equations,
465^71
square, 439
sub-matrix, 448
subtraction, 440
Sylvester's theorem, 457-459
transformation of, 459-461
unit,
439
Matrizant, 452
Medians of triangle, concurrency, 207-
208
Mellin-Fourier theorem,,! 83, 184, 188
Mellin transform, 306
Method of formulation, summary,
higher
21
Modulus of
finite
differential
equations,
difference equation,
411
Moment
of a force, 212
Multiplier
hall effect,
380-385
order
385-397
134, 157
499
Murphree
551
plate efficiency, 84
N
Navier-Stokes equation, 232-237, 265,
430, 435
Neumann form of Bessel's equation,
108, 109
420-428
Liebmann's method for boundary
value problems, 428-429
partial differential equations, 409436
Picard's method, 380-382
relaxation methods for
boundary
value problems, 429-436
Runge-Kutta method, 382-388, 390391, 406-407
step-by-step method, 407-409, 410428
Null matrix, 439
Nyquist criteria of stability in automatic
control systems, 195-198
Nyquist diagram, 196
iteration,
Newton
formulae, 314-318
method of solving algebraic equations,
402-406
second law of motion, 201, 232
Nicotine, extraction of, 343-348
Norlund's operator, 314, 391
Number(s)
absolute value of, 75
" address " of, 505
Offset, 192
Oilfield, exploitation of,
295-297
403
Operator
diff'erential,
50-56, 504
307-308, 311-315
finite difference,
Laplace, 163-167
Optimization, 473-491
analytical procedures, 475-483
involving 2 variables, 475
involving 3 variables, 475-482
SUBJECT INDEX
552
Optimization cont.
analytical procedures
cont.
involving 4 variables, 482
with are strictive condition, 482^83
dynamic, 474
dynamic programming, 486-491
method of steepest ascent, 483-485
sequential simplex method, 485-486
474
types, 474
Optimal policy, 487
cont.
compounding independent
variables
static,
Optimum
curtailed, 475
410-428
420-428
Laplace transform, 290-302
step-by-step, 410-420
mass transfer with axial symmetry,
248-250
numerical methods, 409-436
orthogonal functions, 269-272
Sturm-Liouville equation, 270-272
other transforms, 302-306
particular
solution
suggested
by
boundary conditions, 265-267
particular solutions, 259-269
separation of variables, 272-289
iteration,
eigen-functions
orthogonal,
not
283-289
Parameters, 17-18
of Beta function, 154
use in evaluation of definite integrals,
159
use in Laplace transformation, 163,
168,195,290,504
use in partial derivatives, 239
use in sine integration, 158
variation of, 56-59
Partial
derivatives,
interpretation
of,
239-245
Partial differential equations, 245-306,
409^36
boundary conditions, 252-259
1st type,
2nd
253-
256
equations involving
variables,
independent
281-283
symmetry, 276-281
unsteady state linear heat conduction, 246-248, 273-276
superposition of solutions, 261-263
Partial differentiation, 239-245
changing independent variables, 243
between independent
relationships
variables, 243-245
relationships between partial derivatives, 240-242
Partial fractions
boundary value
type, 258-259,
438, 508
428-
Picard's
method of solving
differential equations,
1st
380-382
order
SUBJECT INDEX
Ratio
Polar coordinates
cylindrical, 231
spherical, 228-231
in
complex
optimum volume
187-188
second order, 133
diff"usion
and chemical
series,
Laplace
transformation, 181
Powers of matrices, 449-450
Prandtl's " boundary layer theory ", 267
Residual, 430
Residual balancing, 434
Residues, 144, 156, 293, 302
evaluation of, 145-147
Response
Pre-multiplication, 442
Pressure distribution in
yield,
reaction in 59-61
Potentiometer, 498-505
by
maximum
412^20,422-428
simultaneous
79-86
descending, expansion
for
327-328, 474
Reactors, tubular
accuracy of rate of reaction, 359-360
dehydrogenation of ethyl benzene in,
Power
convergent or divergent
77
Reactors, tank
concentration of effluent from, 469-47
esterification of ethyl alcohol, 332-333
hydrolysis of acetic anhydride, 341343
test for
series,
Poles
first
553
oilfield,
295-297
Problems
in chemical engineering,
59-66
selected, 511-531
illustrative
contours, 484
function, 483
surface, 483
transform 1 89
338
Right-hand screw rule, 212, 214, 221,
224
Rocket motor cooling duct, temperature
distribution of, 392-397
Rodrigue's formula, 279
Routh-Hurwitz criteria of control system
stability,
of,
461-463
Routh's
192
rules, 193
Raabe's
convergent or divergent
78
Radial heat transfer through cylindrical
conductor, 14
Radius of convergence, 80, 90
Rank of a matrix, 446
Rank of a tensor, 200
test for
1st
series,
SUBJECT INDEX
554
Scalars,201,203
field, 218
Singularities
variables, 232
essential,
485-486
74-116
alternating, 79
478-482
Sphere(s)
boundary condition
tion,
83-86
Bessel's equation, 106-116, 173, 282,
287
example, heat loss through pipe
flanges. 111
of half-integer order,
116
functions of negative order, 116
modified, 110
properties, 113-116
comparison test, 76
convergent, 75
divergent, 75
Gauss' test, 78
indicial equation, 91-100
functions
infinite,
74-79
matrix, 449-51
power, 79-86
descending expansion, 181
Raabe's test, 78
ratio test, 77
simple solutions, 86-90
solution by method of Frobenius, 90105
Shifting
theorem,
166-167,
180,
182,
504
Sign conventions, 19-21
in fluid flow,
in heat flow,
in
at
porous surface,
257
Series,
20
20
mass transfer, 20
Step-by-step
of
429
method of solution
diff"erence-diff"erential
equations,
407^09
of initial value problems, 410-420
Step functions, 174-179
staircase function, 175-176
unit impulse, 175
unit step, 174-175
use of, 176-179
Stokes
approximation, 232-235
stream function, 234, 236
theorem, 137,225-226
Storage echelons, 507
Store
backing, 507
inner (core), 507
main (drum), 507
rapid access, 507
Stream function
for fluid flow, 236
Stokes', 234
Stress tensor, 201-203, 437
Sturm-Liouville equation, 270-272, 275
279, 283, 288
Sub-routine programs in computer, 507508
Subsidiary equation, 169
SUBJECT INDEX
Substantive time derivatives, 245
Successive approximation, improvement
of roots of algebraic equations by,
400-402
Sulphuric acid, acid discharge tempera-
68-72
ture in cooling,
Summing junction,
Suspensions
of
496, 503
spherical
Sylvester's
particles
403^06
555
Transforms
Fourier, 303-305
Hankel, 305
Laplace, 163-168
Laplace, elementary, 165
Laplace, table of, 532-541
Mellin, 306
response, 189
Transpose
of a matrix, 443-444
Tallow, continuous hydrolysis of, 62-66,
328-331
Tank system, output from, 338-341
Tartaglia's method of solution of cubic
equation, 398
Taylor's theorem,
221,
495
direct use of,
387-388
Temperature
surface variation with time in
245
Temperature distribution
in semi-iniinite slab, 260, 291
in transverse fin,
in wall, 264-265,
100-103
294-295
Thermal
diff'usivity,
Time increment
eff'ect
effect
of in salt accumulation, 12
of in unsteady state operation,
SUBJECT INDEX
556
Trigonometric functions
cont.
identities, 128
in half-integer Bessel's equations, 116
solution by digital computers, 507
Trigonometric and hyperbolic inverse
functions, 81
Trigonometric power
Triple product
scalar, 215
vector, 215-216
series, 81
u
Unit matrix, 439, 442
Unitvectors, 204, 214,240
divergence of, 230
Unity,
Unsteady
vectors
/2th
192-
469
of,
203-210
complex, 128-148
dependent, 17-22, 23, 25, 30, 34, 252,
307, 321, 354
elimination from different equations,
66-73
differentiation of,
216-218
dummy,
149,151, 156
independent, 17-22, 23, 25, 30, 34,
volume
integrals,
224-225
258
changing, 243
closed range, 258
compounding
into
one
variable,
259-261
elimination
from
differential
equations, 67
w
Water-Still, simple with preheated feed,
Weber form of
109
Work, done by
ment, 211
^^M
^mm^^^^^^^^ms^
::TsCTpgy^^c!^^^^^::^gr'Ti]Bi^^
^Ji^^p5^4-^7^^Tgl^^
aiiiiiii
CTi^t^^fflj!
Hi