4 - Formal Structure of Thermodynamics
4 - Formal Structure of Thermodynamics
4 - Formal Structure of Thermodynamics
dU TdS PdV
1
P
dS dU dV
T
T
Q TdS
y dx
i
energy representation
yi
1
dS dU dxi
T
i T
entropy representation
Equations of state
dU TdS PdV
T T ( S ,V )
1
P
1 1
dS dU dV
( S ,V )
T
T
T T
P P( S ,V )
P P
( S ,V )
T T
N i S ,V ,...
S
i
T
N i S ,V ,...
Wc i dN i
dU TdS PdV i dN i
N
i T , P , N
xi
j
( j i )
V
partial molar volume
N
i T , P , N
V i
j
( j i )
Euler relation
is a constant
U
i
U ( x1 , x2 ,..., xi ,...) ( xi )
U ( x1 , x2 ,..., xi ,...)
xi
( xi )
( xi )
i
U ( x1 , x2 ,..., xi ,...)
xi yi xi
( xi )
i
i
i
1
P
U
TS
PV
N
S
Ni
Simple systems
i i i
T
T
i T
Let = 1 U
Gibbs-Duhem relation
U TS PV i N i dU d (TS ) d ( PV ) d ( i N i )
i
SdT VdP N i d i 0
i
i
1
P
Ud ( ) Vd ( ) N i d ( ) 0
T
T
T
i
in simple systems
U NcV T
P R
T v
1 cV
T u
1
P
d ( ) u d ( ) v d ( )
T
T
T
du
dv
cV ( ) R ( )
u
v
1
T
P
T
u
v
s cP ( )0 s0 cV ln( ) R ln( )
T
u0
v0
S
0
x U
2 S
0
2
x U
When dS = 0, U is minimized
in equilibrium
2
0
x S
U
0
2
x S
2
x U
S
Start with
0
x U
S
U
S
x U
T
x S
x
x
2U
2 S
T
2
2
x S
x
0
U
0
U
dStot
T1
T2
U tot U1 U 2 is a constant Q2 Q1
S1
S 2
1
dS1 dS 2
dU1
dU 2 Q1 (
T1
U1
U 2
T1 T2
1
)
T2
thermal equilibrium
Now, instead of the enclosure condition (dU = 0), lets start from
the new constraint that dStot = dS1 + dS2 = 0
dU tot
U1
U
2
dU1 dU 2
dS1
dS 2 dS1 (T1 T2 )
S 2
S1
T1 T2
dU mgdx Fdx 0
mg F kx
Legendre transformations
Enthalpy H(S, P, N) = U + PV = TS + N
Heat
reservoir at T
Q
System
State A B: dF
G
N
G
xi i
Multi-component systems:
N
i
v A
i
partial molar
Gibbs potential
0
dN i
dG SdT VdP dN v d N
0
const d N
i i i i i i
dvi
v
i
Constraints
Thermodynamic
potential
Extremum
principle
Example
U, V constant
dU = 0, dV = 0
S max
dS = 0, d2S < 0
Isolated systems
S, V constant
dS = 0, dV = 0
U(S, V, N) = TS - PV + N
dU = TdS - PdV + dN
U min
dU = 0, d2U > 0
Simple mechanical
systems consisting of
rigid bodies
S, P constant
dS = 0, dP = 0
H(S, P, N) = TS + N
dH = TdS + VdP + dN
H min
dH = 0, d2H > 0
T, V constant
dT = 0, dV = 0
F(S, V, N) = - PV + N
dF = - SdT - PdV + dN
F min
dF = 0, d2F > 0
Reactions in a rigid,
diathermal container at
room temperature
T, P constant
dT = 0, dP = 0
G(T, P, N) = N
dG = - SdT + VdP + dN
G min
dG = 0, d2G > 0
Experiments performed
at room temperature and
atmospheric pressure
General case
dU TdS dN
i x, y,z
V0 ii d ii
wall
wall
Beam
d d (U TS V0 xx xx V0 yy yy )
SdT dN V0 zz d zz V0 xx d xx V0 yy d yy
z
x
T, N1
T ,N2
T , P are constants
N tot N1 N 2 is a constant dN 2 dN1
G1
G
2
Gibbs potential minimization: dGtot
dN1
dN 2
N1
N
2
dN1 ( 1 2 ) 0
1 2 chemical equilibrium
Pr
Coupled equilibrium
+ +
+
+
+
+
+ +
G1
G
1
G1
G1
dGtot
1 dq2
dN1
dN 2 dq
N1
N
2
q1
q2
dN1 ( 1 2 ) dq1 (Ve ,1
Ve ,2 ) dN1 (1 2 ) dq
1
Ve
Constraints: dN1 dN 2
dq1 dq2
dq1 Ze dN1
Electrochemical potential
Describes the equilibrium condition of charged
chemical species (ions, electrons)
Chemical potential:
Electrochemical potential: ZeVe
where Z is the valence number
of the ion (dimensionless), e is
the elementary charge, and V
is the local electrical potential