Exact differential for the thermodynamics Masatsugu Sei Suzuki Department of Physics, SUNY at Binghamton Binghamton, NY 13902-6000 (date: September 05, 2018)
1. Exact differential We work in two dimensions, with similar definitions holding in any other number of dimensions. In two dimensions, a form of the type
A yx ),( dx B yx ),( dy
is called a differential form. This form is called exact if there exists some scalar function Q yx ),(
Q Q dQ dx dy Adx Bdy , x y y x
if and only if
A B y x x y or
Q Q y x x y y x x y
The vector field A,( B ) is a conservative vector field, with corresponding potential Q. When a differential Q is exact, the function Q exist,
f dQ Q( f ) Q i)( , i
independent of the oath followed. In thermodynamics, when d Q is exact, the function Q is a state function of the system. The thermodynamics functions, E (or U) , S, H, F (or A), and G are state functions. An exact differential is sometimes also called a total differential or a full differential.
2. Jacobian We consider two functions u and v such that
u u yx ),( , v yxv ),(
The Jacobian is defined as
u u vu ),( x y . yx ),( v v x y
It clearly has the following properties
uv ),( vu ),( yx ),( yx ),(
u u u u u y),( x y u x y . yx ),( y y x 0 1 y x y
The following relations also hold:
yz ),( 1 yx ),( yx ),( vz ),(
yz ),( z z yz ),( yt ),( t y x yx ),( yx ),( x y yt ),( t y
yz ),( zx ),( xy ),( 1 yx ),( zy ),( xz ),(
u u y),( x y yx ),( u x),( u y),( xy ),( u x),(
u x),( uy ),( xy ),( ux ),( u y y x x u
3. Expression of CP and CV The heat capacity:
S V ),( S V ),( S S V ),( T P),( T,( P) CV T T T T T T,( V ) T V ),( V V T P),( P T or
S S T T P C P T V V V V P T T P P T T S V S V [ ] V T P P T P T T P P T S V T S P T T T P T V P P T
Using the Maxwell’s relation
S V P T T P
and the relation
V V T),( 1 1 P P T),( P T ),( P T V T ),( V T
Then we get
V 2 T T P V 2 P CV CP CP T V T V P T P T
or
V 2 P CP CV T T P V T
For the ideal gas we have the Mayer relation
CP CV R
This is one of the most important equations of thermodynamics, and it shows that:
P (a) 0 , leading to CP CV V T
(b) As T 0 , CP CV
V (c) CP CV when 0 . T P s
For example, at 4°C at which the density of water is maximum, CP CV . Using the volume expansion and isothermal compressibility
1 V 1 V 1 1 , V T V P V P P T V T
We may write the equation in the form
TV 2 C C P V
4. Legendre transformation Legendre transforms appear in two places in a standard undergraduate physics curriculum: (i) in classical mechanics and (ii) in thermodynamics. The Legendre transform simply changes the independent variables in a function of two variables by application of the product rule.
We start with the expression for the internal energy U as
dU TdS PdV
(a) Helmholtz free energy: F Using the relation
dU d(TS) SdT PdV we have
d(U TS) SdT PdV
Here we introduce the Helmholtz free energy F as
F U ST
Thus we have the relation
dF SdT PdV
(b) Enthalpy: H From the relation
dU TdS PdV
TdS d(PV ) VdP
we have
d(U PV ) TdS VdP
Here we introduce the enthalpy H as
H U PV
Thus we have
dH TdS VdP
(c) Gibbs Free energy: Using the relation
dF SdT PdV
SdT d(PV ) VdP we have \ d(F PV ) SdT VdP
We introduce the Gibbs free energy G as
G F PV with
dG SdT VdP
5. Thermodynamic potential
S
H E
P V
G F
T
Fig. Born diagram. E U (internal energy). A F (Helmholtz free energy).
(a) The internal energy U U S,( V ) For an infinitesimal reversible process, we have
dU TdS PdV
showing that
U U T , P S V V S
and
T P (Maxwell’s equation) V S S V
(b) The enthalpy H H S,( P) The enthalpy H is defined as
H U PV
For an infinitesimal reversible process,
dH dU PdV VdP but
dU TdS PdV
Therefore we have
dH TdS VdP
showing that
H H T , V S P P S and
T V . (Maxwell’s equation ) P S S P
(c) The Helmholtz free energy F F T V ),( The Helmholtz free energy is defined as
F U ST
For an infinitesimal reversible process,
dF dU SdT TdS TdS PdV SdT TdS SdT PdV
or
dF SdT PdV
showing that
F F S , P T V V T
S P (Maxwell’s equation ) V T T V
We note that
F 2 F U F ST F T T [ ]V (Gibbs-Helmholtz equation ) T V T T
(d) The Gibbs free energy G G T P),( The Gibbs free energy is defined as
G F PV H TS
For an infinitesimal reversible process,
dG dH SdT TdS TdS VdP SdT TdS SdT VdP
or
dG SdT VdP with
dH TdS VdP ,
showing that
G G S , V T P P T and
S V (Maxwell’s equation) P T T P
We note that
G G H G TS G T T 2 (Gibbs-Helmholtz equation ) T P T T P
6. Relations between the derivatives of thermodynamic quantities
(a) First energy equation
dU TdS PdV
U (TdS PdV ) V V T T S T P V T
S P Using the Maxwell’s relation , we get V T T V
U P T P (First energy equation ) V T T V
which is called the first energy equation. For the ideal gas ( PV NkBT ), we can make a proof of the Joule’s law.
U 0 V T
In other words, U is independent of V: U CV T (Joule’s law for ideal gas)
(b) Second energy equation
dU TdS PdV
U (TdS PdV ) P P T T S V T P P T P T
S V Using the Maxwell’s relation , we get P T T P
U V V T P (second energy equation ) P T T P P T
which is called the second energy equation. For an ideal gas,
U R RT T P (2 ) 0 P T P P
In other words, U is independent of P: U CV T (Joule’s law for ideal gas)
7. Generalized susceptibility
1 V P ; isobaric expansivity V T P
1 V S ; adiabatic expansivity V T S
1 V T ; isothermal compressibility V P T
1 V S ; adiabatic compressibility V P S
C 8. The ratio P CV
V P T T V S P S V T),( P S),( P T),( V S),(
V T),( P S),( V S),( P T ),( P S),( P T ),( V S),( V T ),( or
V P T T V S P S V T ),( P S),( P T ),( V S),(
V T ),( P S),( V S),( P T ),( P S),( P T),( V S),( V T),( or
S,( P) S T T,( P) T C T P P S,( V ) S C S T V T,( V ) T V
9. Mayer’s relation
P 2 T (a) Relation C C T V P V P V T
The thermodynamics first law:
dU TdS PdV
Q S CP T T P T P
Transforming CP to the variable T and P,
S S,( P) T P T,( P) S P),( T,( V ) T,( P) T,( V ) S S 1 T V V T P P P V T T V V T 1 S P S P [ ] P T V V T V T T V V T S P S V T T V T P V V T
Here we use the Maxwell’s relation,
S P V T T V
Thus we get
P 2 S S T T T T V T T P P V V T or
P 2 T C C T V P V P V T
Note that
P P T),( 1 1 V V T),( V T ),( V T P T ),( P T
P V ),( V P P V ),( T P),( T P T T,( V ) T V ),( V V T P),( P T
Then we have
V 2 T 2 C C T P VT P P V V T P T
V 2 T (b) Relation C C T P P V V P T
Similarly, transforming CV to the variable T and V, S S V ),( T V T,( V ) S,( V ) T P),( T V ),( T P),( S S 1 T P P T V V V P T T P P T 1 S V S V [ ] V T P P T P T T P P T S V S P T T P T V P P T
Using the Maxwell’s relation
S V P T T P we have
V T[ ]2 S S T T T P T T V V P P T or
V [ ]2 T 2 C C T P VT P P V V T P T
10. Derivative of CV with respect to T (Reif, Blundell)
C S V [T ] V T V T T V 2S T VT 2S T TV S T T V V T S T T V V T
Using the Maxwell’s relation
S P V T T V
we get
C P 2P V T T 2 V T T V T V T V
11. Derivative of CP with respect to P (Reif, Blundell)
C S P [T ] P T P T T P 2S T PT 2S T TP S T T P P T S T T P P T
Using the Maxwell’s relation
S V P T T P we get
C V 2V P T T 2 P T T P T P T P
12. Joule-Thomson expansion
T T,( H ) P H P,( H ) T,( H ) P T ),( P,( H ) P T ),( H P T H T P
Note that
dH TdS VdP
So we get
H (TdS VdP) P T P T S T V P T V T V T T
H (TdS VdP ) T P T P S T T P
CP
Thus we have
T 1 V [T V ] P H CP T T
REFERENCES L.D. Landau and E.M. Lifshitz, Statistical Physics, 3 rd edition, revised and enlarged (Pergamon, 1980). F. Reif, Fundamentals of Statistical and Thermal Physics (McGraw-Hill, 1965). S. Blundel and K. Blundel, Concepts of Thermal Physics (Oxford, 2015).
APPENDIX Stokes theorem and conservative force
1 Conservative force 1.1 Path integral The work done by a conservative force on a particle moving between any two points is independent of the path taken by the particle.
Fc dr Fc dr Fc dr Path 1 Path 2 Path 3 for any path connecting two points A and B.
1.2 Path integral along the closed path The work done by a conservative force on a particle moving through any closed path is zero. (A closed path is one for which the beginning point and the endpoint are identical).
F dr 0, for any closed path c
2 Potential energy U
The quantity Fc dr can be expressed in the form of a perfect differential
dU Wc Fc dr
where the function U(r) depends only on the position vector r and does not depend explicitly on the velocity and time. A force Fc is conservative and U is known as the potential energy.
B B F dr dU U(A) U(B) c A A
which does not depend on the path of integration but only on the initial and final positions. It is clear that the integral over a closed path is zero
F dr 0 (1) c which is a different way of saying that the force field is conservative
Using Stoke’s theorem;
For any vector A,
Adr ( A)da .
Since F dr ( F )da 0 c c we have
Fc 0, (2) where is a differential operator called del or nabla. The operator can be written in n terms of the Cartesian components x, y, z in the form
iˆ ˆj kˆ x y z
In this case, Fc can be expressed by
Fc U or U U U Fc , , x y z which leads to the relation
F F cx cy y x F F cy cz . z y F F cz cx x z
This relation can be used to decide whether a force is conservative or not on physical grounds. We note that
iˆ ˆj kˆ ˆ ˆ ˆ Fc i y z j x z k x y x y z F F Fcy Fcz cx cz Fcx Fcy Fcx Fcy Fcz F F ˆ Fcz cy ˆ Fcz Fcx ˆ cy Fcx i j k y z x z x y
3 Stoke’s theorem Stokes' theorem (or Stokes's theorem) in differential geometry is a statement about the integration of differential forms which generalizes several theorems from vector calculus . It is named after Sir George Gabriel Stokes (1819 –1903 ), although the first known statement of the theorem is by William Thomson (Lord Kelvin) and appears in a letter of his to Stokes. The theorem acquired its name from Stokes' habit of including it in the Cambridge prize examinations. In 1854, he asked his students to prove the theorem on an examination. It is unknown if anyone was able to do so.
Let’s start off with the following surface with the indicated orientation.
Around the edge of this surface we have a curve C. This curve is called the boundary curve . The orientation of the surface S will induce the positive orientation of C. To get the positive orientation of C think of yourself as walking along the curve. While you are walking along the curve if your head is pointing in the same direction as the unit normal vectors while the surface is on the left then you are walking in the positive direction on C. Now that we have this curve definition out of the way we can give Stokes’ Theorem.
Stokes’ Theorem Let S be an oriented smooth surface that is bounded by a simple, closed, smooth boundary curve C with positive orientation. Also let F be a vector field, then
F dr ( F) da ( F) nda
In this theorem note that the surface S can actually be any surface so long as its boundary curve is given by C. This is something that can be used to our advantage to simplify the surface integral on occasion.
4. Path integral and conservative force (( Example )) Serway Problem 7-15 A force acting on a particle moving in the x y plane is given by
F 2( iyˆ 2 ˆjx )N , where x and y are in meters. The particle moves from the origin to a final position having coordinates x = 5.00 m and y = 5.00 m as in Fig. Calculate the work done by F along (a) OAC, (b) OBC, (c) OC. (d) Is F conservative or nonconservative? Explain.
(( Solution ))
2 F dr Fx dx Fy dy 2ydx x dy
Path OAC On the path OA; x = 0 – 5, y = 0; F 2 ˆjx and d y = 0.
A F. dr 0 O
On the path AC; x = 5, y = 0 - 5; F 52 ˆj 25 ˆj
C 5 F.dr 25 dy 125 A 0
Then we have
C F. dr 125J for the path OAC O
Path OBC On the path OB; x = 0, y = 0 - 5;
F dr 2ydx and d x = 0
or
B F dr 0 O
On the path BC; x = 0 - 5, y = 5; F dr 2 ydx 10dx
C 5 F dr 10dx 50 B 0
Then we have
C F dr 50 J for the path OBC O
Path OC x = t, y = t for t = 0 – 5.
2ydx x2dy 2tdt t 2dt (t 2 t)2 dt
C 5 125 52 200 F dr (t 2 t)2 dt 2 J O 0 3 2 3 for the path OC line. Then the force is non-conservative.
(( Note ))
F 2( yiˆ x2 jˆ)N
F x 2 y
F y 2x x
This implies that the force is not conservative.