Professional Documents
Culture Documents
SMBlinder Reference Material
SMBlinder Reference Material
Blinder* 1
Mathematical Methods in
University of Michigan
Ann Arbor
Elementary Thermodynamics
Thermodynamics is the study of the view some of the more useful results from the theory
laws which govern transformations of matter and of functions of several independent variables.
energy during physical and chemical changes. These Consider first a single-valued function z of two in-
laws have their most rigorous and concise formulation dependent variables x and y. The functional relation,
in terms of certain specialized mathematical constructs, written z z(x,y), expresses the fact that
See https://pubs.acs.org/sharingguidelines for options on how to legitimately share published articles.
f(x,y) or 2
= =
including partial derivatives, linear differential forms, for a pair of numbers x, y (perhaps within a restricted
Downloaded via INDIAN INST OF TECH PATNA on April 23, 2020 at 04:53:13 (UTC).
and line integrals. This paper contains a condensed range) there exists a unique value for 2. Geometri-
treatment of some of the mathematical techniques cally, the functional relation may be represented by a
relevant to the study of thermodynamics. It has been surface in three-dimensional space.4 If one of the in-
the writer’s experience in teaching physical chemistry dependent variables is constrained to a constant value,
and thermodynamics courses that prior familiarity z can be considered a function of the other variable
with this mathematics greatly facilitates the student’s alone. Partial derivatives can then be defined:
subsequent progress. For then he should be able to
concentrate more on physical principles, unencumbered /hf \ ^ lim z(x
+ Ax,y) -
z(x,y)
j
\bx)y /u—o Ax I
by irrelevant mathematical difficulties. In addition, and \ (1)
the student will become more aware of the distinction
/dz\ z(x,y + Ay) -
z(x,y) I
between physical inference and mathematical manipula- .
a"™0 Ay J
Mathematics provides a compact language for con- The subscripts x or y can be omitted, but only if there
veying quantitative ideas. A mathematical symbol is no ambiguity in what is being kept constant. A par-
can express something which would take many pages to tial derivative, like an ordinary derivative, can be
say in words. By use of mathematics, a train of ab- interpreted geometrically as the instantaneous slope of
stract thought can be broken down into a series of
short manageable steps. Otherwise, a complex logical
sequence might be beyond comprehension.
The stress in our approach is on intuitive conceptual-
ization rather than on mathematical rigor. The
reader is referred elsewhere for more rigorous treatment
of the topics covered.2
Partial Derivatives
published by Macmillan Co., New York. Partial derivatives are evaluated by the rules for
1
Guggenheim Fellow, 1965-66, at University College, London.
See, for example, Widder, D. V., “Advanced Calculus,”
2
ential and Integral Calculus,” Ginn and Co., Boston, Mass., 1957. (x1 + y2)1'2 by a sphere.
Volume 43, Number 2, February 1966 / 85
ordinary differentiation, treating the appropriate vari- + (12)
ables as constants. For examples, the pressure P of one
mole of an ideal gas is given by Extension of the above theory to functions of more
P RT/V (2) = than two variables is straightforward. For a function
where V is the volume, T is the absolute temperature,
u of r variables, u f (xj, x2, ..., xr), there are r first
=
©dxi
+
(£) ***+
(ibP/bT)v R/V (4) =
+ (13)
Since the partial derivatives are also functions of the ©
independent variables, they may themselves be differ- Other properties have obvious analogies and need not
entiated to yield second (and higher) derivatives.
be remarked upon further.
These are written
Several useful relationships among partial derivatives
(Fz _
J> /dz\
°r
rd /dz \ "I can be obtained from (12). Suppose, for example, that
dx2 dx \dx/ Ldx \dx/jJ„ z(x>y) constant. Then dz
=
0 and =
(5)
d fbz\ fd /dz\ "I
(IWd),*-0
d2z
01 6 C‘
bybx
~~
When the function and its derivatives are single-valued Rearranging we find
and continuous, the order of differentiation in the mixed
derivatives is immaterial and dy _
_
(bz/bx)v
dx (bz/by)x
d2z b/z_
=
(6 But the ratio of dy to dx means, in this instance, (d,?//-
bxby bybx
dx)2, sincez is constrained to a constant value. Thus
This is always the case in thermodynamic applications. we arrive at the important identity
For the above example.
(d2P/dF2)r -2 RT/V3 (7)
/a= (bz/bx)v
=
\bx), (bz/by)t
(d2P/dP2)r =
0 (8)
This relationship often enables us to evaluate physical
/b(bP/bV)T\ (b(bP/bT)v\ R
_
vided that the same variables are held fixed. Two use- which agrees with (6T/'dV)P calculated directly, after
ful identities are solving the ideal gas equation for T. Making use of
eqn. (11), eqn. (15) can be rearranged to
mm. -
m. bx
(17)
and ©,(!),( bz )v
In the preceding discussion, the relationship among
(S).(g).-1 -
(g).
=
<sk <">
the three variables x, y, z has been given in explicit
Thus far we have considered changes in z(x,y) brought form, i.e., z f(x,y). Solving for x or y, one could
=
about by changing only one of the independent varia- alternatively write x g(y,z) or y h{z,x). Thus the
= =
bles at a time. The more general case involves simul- ideal gas equation could be written in any of three
taneous variation of x and y. This could be represented ways:
by the slope of the surface z f(x,y) along a direction =
RT
P
RT
T
PV
V (18)
not, in general, parallel to either coordinate axis. For a P’
’
V R
function of a single independent variable y /(x), the =
increment in y brought about by an infinitesimal change In many applications it is more desirable to express
the functional relationship among x, y, and z in a more
in x is given by dy (dy/dx)dx. When 2 =
f(x,y), the =
dy = 0 (20)
@).©.
+
®).®).-1
(£).(s).-<-(*).(£).-» <33>
This method is useful when it is impossible or in- Dividing eqn. (12) by dx at constant u, we obtain1
convenient to solve the implicit relation for y or x.
To illustrate, suppose we wish to evaluate (dV/dT)P (!). (!).+®).(2).
=
<33>
(bz\ _
_
,
where a and b are two additional empirical constants. \d*/„ \ds/a \by) x(bu/by)x
Eqn. (22) cannot be solved in closed form for either Thus if the internal energy E is given as a function of T
V or T. But defining and V, (dE/bT) P can easily be evaluated from
F(P,V,T) = P(V -
b)e‘IRTV -
RT = 0 (23)
we have*5 (I),=(iX+Qf MS), <»>
a(^r~2&)]
e«'Rry (25)
/(X*t, ..\xr) =
\Nf(Xl, ..xr) (36)
Whence by (21), after simplification using (22),
where X arbitrary number. Thus/(x,y) x2 + y2,
is an =
(dV\
\bTjp
__
(bF/bT)v,P
\
a
/( RT
\
TV) l VT B
a_\
V1)
f(x,y) =
(x2 + y2)^1, and f(x,y) = y/x are homogeneous
(bF/bV)T.P -
bui bX
(38)
For a function of r independent variables u(xi, x2, while the right-hand side gives simply
xr), the chain rule generalizes to
bu _
bu bXi
(20)
^ =
XkH-'fix,, ..
., xr) (30)
dependent variables. It is seen that z could equally Homogeneous functions of degree 0 and 1 are impor-
well be regarded as a function of the new variables u and tant in thermodynamics, especially in the study of
v, namely z g(u,v). The total differential can be ex-
= multicomponent systems. Corresponding to the vari-
pressed as ables xt are usually the component mole numbers nt.
Thermodynamic quantities homogeneous of degree
*= + m 0 are known as intensive variables. These do not
(M),du ©„dv
change in value when the mole numbers are increased
after writing the total differentials dx and dy in terms in proportion, i.e.,
of du and dv, and eliminating among eqns. (12), (27),
and (28). /(Xrei, • •
X?ir) =
f(nh . .
nr) (40)
dy dydx’ dx dxdy
nr)
gi(ni..., nr) (42) but as discussed earlier, mixed second derivatives of
k(ni, ...,
=
Thus density (mass/volume) is intensive, as are various as a necessary condition for exactness. It is also a suffi-
molar quantities, e.g., molar volume (volume/number cient condition and can thus be used as a test for exact-
of moles). ness. That is to say, if eqn. (50) applies to X(x,y) and
Euler’s theorem is useful in relating extensive Y(x,y), then eqn. (45) is an exact differential and there
thermodynamic variables to the corresponding partial exists some function F(x,y)9 which satisfies eqn. (46).
molal properties. To illustrate, the volume of a mix- Note however that the reciprocity criterion neither
ture of two liquids at a fixed temperature and pressure requires nor identifies the function F(x,y).
depends on the mole numbers ni and n2, V V(n\,n2). =
To illustrate, let us test the differential expression
By Euler’s theorem, eqn. (37), with N 1, =
y dx Y x dy (51)
dV dF V
V— »1 +,
V— «2 (44) for exactness. Here X(x,y) y and Y(x,y) x, and = =
drii dn-t
bX/by bY/bx=
1. Thus by eqn. (50), (51) must
=
The quantities bV/bni and dV/dn2 (more precisely represent the total differential of some function of x
(dV/6n1)T,p,„!! and (bV/bn2)r.p,n-) are_known as partial and y. The latter is easily identified by inspection as
molal volumes (usually abbreviated Vi and ¥ >) The
F(x,y) xy since d{xy)
=
y dx + x dy. Again, con-
=
first of these represents, for example, the change in sider the differential
volume per mole when a small amount of component 1 is
added to a mixture of n, moles of component 1 plus n2 ~{RT/P*)dP + (R/P)dT (52)
moles of component 2. Other extensive variables like- The reciprocity condition is again fulfilled since
wise have partial molal analogs, the partial molal free
energy (7; being especially important in the derivation
of thermodynamic principles.
&(-5)],-D&
and eqn. (52) is found to represent the total derivative
Differential Expressions of V(P,T) RT/P. =
Differential quantities of the type Two differential expressions for which the reciprocity
test fails are
dq{x,y) =
X(x,y)dx + Y{x,y)dy (45)
y dx —
x dy (54)
known as Pfaff differential expressions, are of central
and
importance in thermodynamics. Two cases are to be (RT/P)dP -
RdT (55)
distinguished: (1) in which there exists some function
F(x,y) for which eqn. (45) is the total differential, and These are consequently inexact differentials. There
(2) in which there exists no function of x and y which exist no functions which have total differentials (54) or
yields (45) upon differentiation. In case (1), dq is said (55).
to be an exact differential (or complete differential or An inexact differential expression X dx + Y dy
(bX/by ^ bY/bx) can be converted into an exact one
perfect differential) and we can write
by means of an integrating factor M(x,y). In that case
dF(x,y) =
X(x,y)dx + Y(x,y)dy (46)
M(X dx + Y dy) becomes exact, i.e.,
In case (2), dq is called an inexact (incomplete, im-
d(MX) d{MY)
perfect) differential.® dy
=
“dS- (°6)
A differential expression can be tested for exactness
without explicit reference to the function F(x,y). Con- For example, (54) can be converted into an exact differ-
sider first the case in which eqn. (45) is exact and F(x,y) ential by choosing M(x,y) l/:c2. It is easily verified
=
8
As a proof of sufficiency, the function
8
Some authors use the notation dq or Dq when the differential F(x,y) fX(x,y)dx + fY{x,y)dy f fd{x/dy)dxdy
= —
is inexact but we shall not make this distinction. satisfies eqn. (48) provided that eqn. (50) holds.
dq = -—-
= - -
(57)
resented by a surface in ?’-dimensional space. Cara-
satisfies (50) and that it is the total differential of thcodory’s principle is now stated without proof:10
f(x,y) =
—y/x. Alternatively, the integrating factor Let/(xi, . .
Xr) = constant be one of a family of solutions to
1 /y2 converts (54) to d(x/y). Likewise, multiplication
by P turns (55) into the exact differential (52). An
— the differential equation
*==1
^ Xtdxt = 0 and let each solution be
integrating factor can always be found for an inexact represented by a surface. If there exist points P'{xY, xr’) ..
differential expression in two independent variables. and P"(xi", ., xr") in r-dimensional space which cannot be con-
. .
Evidently, the choice of M{x,y) is not unique. In fact, nected by some one of these surfaces, then the differential expres-
M(x,y) times any function of F(x,y) is also an integrat- integrating factor.
sion dQ —
^2 Xidxt possesses an
ing factor.
The concept of exact differential is especially impor-
tant in the formulation of the first and second laws of In the thermodynamic application of Carath^odory’s
thermodynamics. Thus, the first law postulates that principle, dQ represents an increment of heat gained by a
dE =
dQ + dW is an exact differential even though dQ, thermodynamic system, each point P', P”, etc., repre-
the increment of heat gained by a system, and dW, the sents a possible state of the system, and each surface
increment of work done on a system, are individually in- represents a manifold of states accessible one from
exact. This constitutes a definition of the internal another by adiabatic processes (those in which no heat
is transferred). The experimental fact that there exist
energy E. The second law postulates that l/T, the re-
ciprocal of the absolute temperature, is an integrating thermodynamic states inaccessible by adiabatic means
factor for dQ, Thus, dS from a given state thus implies the existence of an
dQ/T is exact, which de- =
fines the entropy S. integrating factor for dQ. This leads to a definition of
Many of the chemical applications of thermodynamics entropy and to a compact statement of the second law.
involve more than two independent variables. The To conclude this section, we describe a method for
linear differential expression in r independent variables modifying a differential expression in order to change its
is written independent variables. Such transformations are of
considerable importance in chemical thermodynamics.
Consider a differential
dq{xj, ...,Xr)= J] Xi(xi, . .
xr)dxi (58)
>‘= 1
df(x,y) =
X(x,y)dx + Y(x,y)dy (64)
where each of the functions X( depends on some or all
r and define a function
of the xi. Recalling that the total differential of a
g f ~
Xx (65)
function F(xi, ..., xr) of these r independent variables
—
df —
Xdx —
xdX (66)
(59)
>•=i °x‘ Substituting (64) for df we obtain
dg
—
Xdx 4- Ydy —
Xdx —
xdX (67)
we obtain, when (58) is exact,
The first and third terms cancel to give
dF
X< = 1"‘r (60)
§? dg =
Ydy -
xdX (68)
From (GO) wc obtain, in analogy with (50), r(r l)/2 The differential (68) is appropriate for a function g g =
reciprocity relations (one for each pair i,j) (y,X) dependent upon y and X as independent variables.
Analogously one could define
dXi dXj 1.. .r
. .
Xdx —
ydY (70)
As in the ease of two independent variables, an in-
tegrating factor M(xh ..xT) can convert an inexact showing that h h(x,Y). It is also possible to carry
=
differential expression into an exact one. In contrast out a transformation in which both independent vari-
to the former case, however, an integrating factor does ables are changed, for
not always exist. A criterion for the existence of an =/ m —
Xx —
Yy (71)
integrating factor for eqn. (58) forms the basis of has a total differential
Caratheodory’s formulation of the second law of thermo-
dynamics. Before stating this important principle, du =
—xdX ydY (72)
—
dE =
TdS -
F(xs-1)
lim f(xt) (83)
A E TS Ajcf—*0 A Xi
= —
(76)
TdS -
SdT = -SdT -
PdV (77)
E IVixd -
Ffe-dl =
F(b) -
F(a) (84)
The remaining choice of independent variables, T and P,
leads to the Gibbs function or free energy which establishes (81). Also, using (82) in (81).
G E + PV TS =
H TS = A + PV (78) *b
f
= - -
dF(x) =
F(b) -
F(a) (85)
with total differential
dG = -SdT -f VdP (79) which expresses the definite integral entirely in terms of
The four functions, E, II, A, and G are known collec- the boundary values of a function.
tively as thermodynamic potentials. General condi- An extension of the concept of integration to the case
tions for chemical equilibrium can be formulated in terms of a function of more than one independent variable
of them. involves continuous summation of a differential ex-
pression dq{x,y) along a specified curve. For the case of
Line Integrals two independent variables, we define a line integral as
Finite quantities known as line integrals (or follows (Fig. 3)
curvilinear integrals) derive from differential expressions
by integration along curves in space. Before taking up \X(x,y)dx + Y(x,y)dy ]
=
x'y
11
The student familiar with analytical mechanics will recognize
that the Lagrangian and the Hamiltonian functions are connected
lim
n— ® all
lim
A#i—>-0
lim
all Ayi— ()
E lX(.Xi,yi)Axi + Y(xi,yi)&yi] (86)
R(To --
2’„) (94)
A line integral, like a Riemann integral, depends on
the sense (direction) of integration. From the defini- To evaluate XWC, we eliminate T using the equation of
tion (86) it follows that the linear patii C
r*xft,y" f*x',y' Ti -
To
dq(x,y) = -
I dq(x,y) (88) (95)
| P0 ~
x',yr CJ x",y"
whence
It should however be noted that, in contrast to a
Riemann integral, a line integral is not represented in
any obvious way by an area.
T ~T- +
ibAfy -
p-> (96)
and
It is readily verified that (86) reduces to a Riemann
To
integral (80) when the path of integration is parallel to dT = dP (97)
Pi -
Po
either coordinate axis. For example, along the linear
path y y0 =
constant, (86) becomes
—
Thus
/*X*
AWc
-/,.']?R+(s^:)(p-ft>]-
=
Aqc X(x,y„)dx (89)
J
dP
(since dy 0). In general, when the curve
= G repre-
sents a functional relationship '
=
RT0 In (98)
y =
gix) (90)
7\Pp) P,
Riemann integral Pi -
Po Po
Vo (101)
To.pi[- "
A
!
i
[using V from the ideal gas law (2) ]. In fact, eqn. (100)
evaluated along any path between 7V,.P0 and 7V Pi gives
h,po
the same result. The independence of path stems from
the fact that we are integrating an exact differential
(52) [whereas (92) contains the inexact differential (55) ].
Figure 4. Three possible paths between the states Tq,Pq and T\,Pi of a
To prove the above statement, let dq in (86) be the
thermodynamic system. total differential of a function F(x,y). Then using (48)
we can write
AF(xi,yi) -
( bJ x',yf i-1
JTo.Po
F{x\y“) F{x’,y’) (103) = -
JJ
I RdT[ +
-
I
T(,,Po
independent of path, the differential must be exact.
Of particular importance are line integrals around
rF'\fdp-RdT\=RTl Ip.r
Ti,P\
JTo.Po
1 ’ f
r
closed paths, in which case the initial and final points
may be thought to coincide. For cyclic paths, the
rTi integral sign is usually written <f>, The closed curve
R
J To
dT =a
RTi In y ~
R{T, -
To) (93)
is bjr convention traversed in the counterclockwise
V
Figure 6. Representation of work as area.8
X
rFiV i
Figure 5. Line integral around closed path, as defined in equations (105) AWC - -
I PdV = -
I P(V)dV (109)
and (1 06). CJ PoVo J Vo
sense. If dq(x,y) is an exact differential, then where the path C determines P as a function of V.
Since the right hand side is a Itiemann integral it can be
c<f> dq(x,y) «*
cj> | X(x,y)dx + Y(x,y)dy} = 0 (104)
represented by an area (Fig. 6).
To summarize several of the interrelationships dealt
for an arbitrary closed path C. This is easily proved,
with in this section, for a Pfaff differential expression
for dividing C into two segments C' and C" connecting
x',y' with x",y" (Fig. 5), we have dq(x,y) =
X(x,y)dx + Y(x,y)dy
r x*.y" rx'y any of the following statements implies the other two:
cy dq = I dq + I dq (105) (1) There exists a function F{x,y) whose total derivative
C*y ’x*,y' C*J vx".y"
is dq(x,y) (dq is an exact differential); (2) (dX/d;/)* =
Both since both integrals on the right hand side are (dF/dx)j, (Euler’s reciprocity relation); and (3)cjf
independent of path by eqn. (103), and since one is the dq(x,y) 0 for an arbitrary closed path C.
=
negative of the other by eqn. (88), we obtain eqn. (104). Many of the mathematical abstractions encountered
When dq(x,y) is inexact, however, the cyclic integral in this paper have obvious analogs in thermodynamic
is, in general, different from zero. terms. A point in the xy plane can represent the state of
A final connection between differential expressions a thermodynamic system having two degrees of freedom.
and line integrals is provided by Green’s theorem12 The independent variables can be chosen from among P,
V, T, E, S, etc. A function F(x,y) corresponds to
c<j>
[X(x,y)dx + Y{x,y)dy\ =
PdV (107) which returns the system to its initial state. Clearly,
such a process leaves a function of state unchanged.
using eqn. (106) with P and V as independent variables
(noting that the coefficient of dP is 0), we find, for the
work done in a cyclic reversible process 1S
The work done in traversing the path C' from FoWo to Pi,Vi
is equal to the negative of the area under C’
dPdV
A Wc
c§ PdV (108)
= -
= -
f
'Pi, Vi
A Wc' PdV
The right hand side is clearly equal to the negative of J Pv,Vi
C'J P,
the area S enclosed by the path C. Note that the non- The work done in returning to the original state via path C" is
vanishing of (108) shows dW to be an inexact differ- equal to the area under C.
ential. Actually, since the dP term is lacking in eqn. o nPuV!
(107), AW can be represented by an area even for a non- PdV = PdV
J'Po.V
Pl.Vi C"J Po,T'ro
cyclic process. Thus we may write
The net work done in the cyclic process is given by