Thermodynamics Concepts and Laws
Thermodynamics Concepts and Laws
Lectures 4-6
"Thermodynamics is a funny subject.
The first time you go through it, you don't understand it at all.
The second time you go through it, you think you understand it,
except for one or two small points.
The third time you go through it, you know you don't understand
it, but by then you are so used to it, it doesn't bother you any
more."
-Arnold Sommerfeld
German physicist
T T
dT dp dVm p Vm T
p Vm Vm p 1
Vm T T p p Vm
p p
dp dT dVm
T Vm Vm T
2T 2T 1
V V for ideal gas
dV m m dT m dp pVm Vmp R
T p p T
1 𝜕𝑉 1 𝜕𝑉
𝛼 𝜅
𝑉 𝜕𝑇 𝑉 𝜕𝑝
How fast the (fraction of)
volume increases with
Expansion coefficient Isothermal compressibility temperature and decreases
with pressure
p Vm / T p (T , p )
For ideal gas
T Vm Vm / p T (T , p ) 1/T and 1/p
𝝏𝑼
• 𝒅𝑼 𝑪𝑽 𝒅𝑻 𝝅𝑻 𝐝𝐕 where 𝝅𝑻 𝝁𝑱 𝑪𝑽
𝝏𝑽 𝑻
𝝏𝑼
• For an ideal gas, 𝝅𝑻 𝟎 and 𝑼 𝑼 𝑻 (closed system).
𝝏𝑽 𝑻
Change in enthalpy 𝑯 𝑯 𝑻, 𝒑
∆𝑯 𝑸𝒑 𝑪𝒑 ∆𝑻
Constant pressure process
∆𝑯 𝝁𝑱𝑻 𝑪𝒑 ∆𝒑
Constant temperature process
πT has the same dimensions as pressure but arises from the interactions between the
molecules within the sample, it is called the internal pressure:
U f (V , T );U f (T , V );U f ( P, V )
Of the three thermodynamic variables, only two are U U
dU dV dT
independent. It is convenient to choose V and T as V T T V
the independent variables for U.
dU is an exact differential
• Path from initial to final state has a functional Upath1 = Upath2 = Uf -Ui
dependence
– For U work may be done, heat may flow or both
– Equations that describe how you get to final state q initial,path
final
dq
are path functions
dq dq is an inexact differential
• Path functions are path specific
Joule coefficient 𝝏𝑻
𝝁𝑱
𝝏𝑽 𝑼
Joule coefficient 𝝏𝑻
𝝁𝑱
𝝏𝑽 𝑼
The first law assures us that the total energy of system plus
surroundings remains constant during the reaction. Energy can be
transferred/transformed, keeping the total energy fixed.
1 cal = 4.184 J
Joule’s Mechanical Equivalent of Heat
A heat engine draws heat from a hot reservoir, converts some heat
to work, and releases some heat to a cold reservoir.
Experiments suggested:
A heat engine 𝒘
• draws heat from a hot reservoir,
• converts some heat to work, and
• releases some heat to a cold 𝑸𝒄
reservoir.
𝒘 𝑸𝒉 𝑸𝒄 𝑸𝒄
⇒ 𝜼 𝟏
𝑸𝒄 𝑸𝒄 𝑸𝒄 𝑸𝒉
∴𝜼 𝟏 as 𝑸𝒄 𝟎
Carnot Engine
A reversible cycle using an ideal gas as the working substance
A→
B
D→A B→
𝑸𝒉 C
C→D
𝑸𝒄
U 0
q V
nRTH ln B
VA
qrev
T
0 nR ln(VD/VC) 0 0
(qrev/ T) nR ln(VB/VA)
𝒘 𝑸𝒉 𝑸𝒄 𝑸𝒄
Thus, by definition 𝜼 i.e. 𝜼 𝟏
𝑸𝒉 𝑸𝒉 𝑸𝒉
𝑽𝑩 𝑽𝑩
𝑸𝑯 𝒏𝑹𝑻𝒉 𝒍𝒏 and 𝒘 𝒏𝑹 𝑻𝒉 𝑻𝒄 𝒍𝒏
𝑽𝑨 𝑽𝑨
𝒘 𝑻𝒉 𝑻𝒄 𝑻𝒄
∴𝜼 i.e. 𝜼 𝟏
𝑸𝑯 𝑻𝒉 𝑻𝒉
𝑸𝒄 𝑻𝒄 𝑸𝒉 𝑸𝒄
Note: 𝟏 𝟏 ⇒ 𝟎
𝑸𝒉 𝑻𝒉 𝑻𝒉 𝑻𝒄
Isothermal, absorption of heat at 𝑻𝒉 Isothermal, release of heat at 𝑻𝒄
Entropy
ð𝒒𝒓𝒆𝒗 𝑸𝒉 𝑸𝒄
• Over one cycle of Carnot Engine, ∮ 𝟎
𝑻 𝑻𝒉 𝑻𝒄
𝒃 𝒃 ð𝒒𝒓𝒆𝒗
∆𝑺 𝑺𝒃 𝑺𝒂 𝒂
𝒅𝑺 𝒂 𝑻
is independent of the path
Consider an irreversible engine that At the end of the cycle, the working
system is restored to its initial state
• absorbs 𝑸𝒉 ∗ heat at 𝑻𝒉
• undergoes an irreversible isothermal ∆𝑺𝒔𝒚𝒔 𝟎
expansion at 𝑻𝒉
𝑸𝒉 ∗ 𝑸𝒄
• has the same steps as Carnot engine ∆𝑺𝒔𝒖𝒓𝒓 𝟎
otherwise 𝑻𝒉 𝑻𝒄
𝑸 𝒉 ∗ 𝑸𝒄
𝟎 ∴ ∆𝑺𝒖𝒏𝒊𝒗𝒆𝒓𝒔𝒆 𝟎
𝑻𝒉 𝑻𝒄
Spontaneity:
For surroundings,
Large change in entropy
dSsurr = - dq/Tsurr
occurs when heat is
dissipated to
q
S surr surrounding at low
Tsurr temperature.
dSsurr = - dq / Tsurr S q
surr
Tsurr
Calculate the actual q for the process from state 1 to state 2 and apply the above formula
For system
• Find out state 1 and state 2
• Construct reversible pathway(s) from state 1 and state 2
• Apply the formula
2
dq
S rev
1
T
ð𝒒𝒓𝒆𝒗 𝟐 ð𝒒𝒓𝒆𝒗
By definition 𝒅𝑺 and ∆𝑺 𝟏 𝑻
𝑻
ð𝒘𝒓𝒆𝒗 𝟎 ⇒ 𝒅𝑼 ð𝒒𝑽 𝑪𝑽 𝒅𝑻
𝟐 𝟐
ð𝒒𝑽 𝒅𝑻
∆𝑺 𝑪𝑽
𝟏 𝑻 𝟏 𝑻
𝑻𝟐
∴ ∆𝑺 𝑪𝑽 𝒍𝒏
𝑻𝟏
𝑪𝑽 𝑹
𝒅𝑺 𝒅𝑻 𝒅𝑽
𝑻 𝑽
𝟐 𝑻𝟐 𝑽𝟐
𝒅𝑻 𝒅𝑽
𝒅𝑺 𝑺𝟐 𝑺𝟏 ∆𝑺 𝑪𝑽 𝑹
𝟏 𝑻𝟏 𝑻 𝑽𝟏 𝑽
𝑻𝟐 𝑽𝟐
∆𝑺 𝑪𝑽 𝒍𝒏 𝑹 𝒍𝒏
𝑻𝟏 𝑽𝟏
𝑻𝟐 𝑽𝟐
∆𝑺 𝑪𝑽 𝒍𝒏 𝑹 𝒍𝒏
𝑻𝟏 𝑽𝟏
This is because
entropy 𝑺 is a state function and
∆𝑺 is independent of the path connecting the two states
Cp T2
S p dT C p ln
T T1
CV T2
SV dT CV ln
T T1
Reversible
Reversible
heating at
cooling at
constant
constant
pressure, S1
pressure, S3
Reversible phase
Liquid Water at 0 change at constant
0C, 1 atm Temperature and Ice at 0 0C, 1 atm
pressure, S2
T U / CV
Reversible Reversible
heating at isothermal
constant expansion
volume V
S 2 nR ln 2
S1 CV ln
T2 V1
T1
p’,V1,T2
dT dV
dS CV nR
T V
S k B ln W
kB is Boltzmann’s constant
W is number of different ways in which the energy of the system can be arranged
(number of microstates)
W = 21 X 20 X 19 = 7,980 W = 63 X 62 X 61 = 2,38,266
𝒘𝒓𝒆𝒗 𝑻𝒄
𝜼𝒓𝒆𝒗 𝟏
𝑸𝒉 𝑻𝒉
• For any arbitrary engine (NOT reversible) operating between the same
two temperatures 𝑻𝒉 and 𝑻𝒄 , with the same input of 𝑸𝒉
𝑸𝒄 𝑻𝒄 𝑸𝒉 𝑸𝒄 ð𝒒
∴𝟏 𝟏 ⇒ 𝟎⇒ 𝟎
𝑸𝒉 𝑻𝒉 𝑻𝒉 𝑻𝒄 𝑻
ð𝒒
For any irreversible cycle ∮ 𝟎
𝑻
Irreversible Reversible
State 1 State 2 State 1
𝟐 𝟏
ð𝒒𝒊𝒓𝒓 ð𝒒𝒓𝒆𝒗
∴ 𝟎
𝟏 𝑻 𝟐 𝑻
𝟐 𝟐 𝟐
ð𝒒𝒊𝒓𝒓 ð𝒒𝒊𝒓𝒓
𝒅𝑺 𝟎 ⇒ ∆𝑺 𝑺𝟐 𝑺𝟏
𝟏 𝑻 𝟏 𝟏 𝑻
ð𝒒
𝒅𝑺
𝑻
ð𝒒𝒊𝒓𝒓𝒆𝒗 𝟎⇒ 𝒅𝑺 0
Isothermal Isothermal
irreversible irreversible
compression expansion
∆𝑺 𝟎 if 𝑽𝒇 𝑽𝒊
𝑽𝒇
∆𝑺 𝑹 𝒍𝒏
𝑽𝒊 The ideal gas will spontaneously expand
under the given experimental condition
Isothermal
irreversible
expansion
𝑽𝒇𝒊𝒏𝒂𝒍
The change in entropy, ∆𝑺 𝒏𝑹 𝒍𝒏 is maximum when the
𝑽𝟏
final volume, 𝑽𝒇𝒊𝒏𝒂𝒍 is maximum
Irreversible mixing
of gases S=?
p, T, V1 +V2, n1 + n2
p, T, V1, n1 p, T, V2, n2
Reversible,
isothermal
expansion
T, V1 +V2, n2
T, V1 +V2, n1
V1 V2 V1 V2
S1 n1 R ln S 2 n 2 R ln S mix S1 S 2
V1 V2
Irreversible mixing
of gases
Δ𝑆mix Δ𝑆 Δ𝑆
p, T, V1 +V2, n1 + n2
𝑉 𝑉 𝑉 𝑉
Δ𝑆 𝑛 𝑅 ln , Δ𝑆 𝑛 𝑅 ln
𝑉 𝑉
𝑛 𝑅𝑇
𝑉 𝑝 𝑛
𝑥
𝑉 𝑉 𝑛 𝑅𝑇 𝑛 𝑅𝑇 𝑛 𝑛
𝑝 𝑝
Find out x1 for which
Smix is maximum Δ𝑆mix 𝑛 𝑅 ln 𝑥 𝑛 𝑅 ln 𝑥
𝑛𝑅 𝑥 ln 𝑥 𝑥 ln 𝑥