12
Chapter 3 Work, heat and the rst law of thermodynamics 3.1 Mechanical work Mechanical work is dened as an energy transfer to the system through the change of an external parameter. Work is the only energy which is transferred to the system through external macroscopic forces. Example : consider the mechanical work performed on a gas due to an innitesimal volume change (reversible transfor- mation) dV = adx , where a is the active area of the piston. In equilibrium, the external force F is related to pressure P as F = Pa. For an innitesimal process, the change of the position of the wall by dx results in per- forming work δ W : δ W = F dx = PdV, δ W = P adx . (3.1) For a transformation of the system along a nite reversible path in the equation-of-state space (viz for a process with nite change of volume), the total work performed is ΔW = V 2 V 1 PdV. Note: Mechanical work is positive when it is performed on the system. δW is not an exact dierential, i.e., W (P, V ) does not dene any state property. ΔW depends on the path connecting A (V 1 ) and B (V 2 ). 21

Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

Embed Size (px)

Citation preview

Page 1: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

Chapter 3

Work, heat and the first law ofthermodynamics

3.1 Mechanical work

Mechanical work is defined as an energy transfer to the system through the change of anexternal parameter. Work is the only energy which is transferred to the system throughexternal macroscopic forces.

Example: consider the mechanical work performed on a gasdue to an infinitesimal volume change (reversible transfor-mation)

dV = adx ,

where a is the active area of the piston. In equilibrium, theexternal force F is related to pressure P as

F = −Pa .

For an infinitesimal process, the change of the position of the wall by dx results in per-forming work δW :

δW = Fdx = −PdV, δW = −Padx . (3.1)

For a transformation of the system along a finite reversible path in the equation-of-statespace (viz for a process with finite change of volume), the total work performed is

ΔW = −� V2

V1

PdV.

Note:

• Mechanical work is positive when it is performed on the system.

• δW is not an exact differential, i.e., W (P, V ) does not define any state property.

• ΔW depends on the path connecting A (V1) and B (V2).

21

Page 2: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

22 CHAPTER 3. WORK, HEAT AND THE FIRST LAW OF THERMODYNAMICS

Cyclic process. During a cyclic process the path inthe equation-of-state space is a closed loop; the workdone is along a closed cycle on the equation-of-statesurface f(P, V, T ) = 0:

W = −�

PdV.

3.2 Heat

Energy is transferred in a system in the from of heat when no mechanical work is exerted,viz when δW = −PdV vanishes. Compare (3.1). Other forms of energy (magnetic,electric, gravitational, ...) are also considered to be constant.

Heat transfer is a thermodynamic process representing the transfer of energy in the formof thermal agitation of the constituent particles. In practice one needs heating elementsto do the job, f.i. a flame.

As an example of a process where only heat is transferred, we consider two isolated systemswith temperatures TA and TB such that TA > TB. The two systems are brought togetherwithout moving the wall between them. Due to the temperature difference, the energy istransferred through the static wall without any change of the systems’ volume (no workis done). Under such conditions, the transferred energy from A to B is heat.

Heat capacity. If a system absorbs an amount of heat ΔQ, its temperature rises pro-portionally by an amount ΔT :

ΔQ = CΔT . (3.2)

The proportionality constant C is the heat capacity of the substance (Warmekapazitat).It is an extensive quantity.

Specific heat. The intensive heat capacity c may take various forms:

per particle : C/Nper mole : C/n

per unit volume : C/V

The unit of heat is calorie or, equivalently, Joule

1 cal ≡ 4.184 J .

Page 3: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

3.3. EXACT DIFFERENTIALS 23

Thermodynamic processes. Heat may be absorbed by a body retaining one of itsdefining variables constant. The various possible processes are:

isothermal : T = const.

isobaric : P = const.

isochoric : V = const.

adiabatic : ΔQ = 0 (no heat is transferred)

A corresponding subscript is used to distinguish the various types of paths. For example,

CV – for the heat capacity at constant volume,

CP – for the heat capacity at constant pressure.

Thermodynamic response coefficients. Examples of other thermodynamic coeffi-cients measuring the linear response of the system to an external source are

compressibility : κ = − 1

V

ΔV

ΔP

the coefficient of thermal expansion : α =1

V

ΔV

ΔT.

Sign convention. We remind that the convention is that

δQ > 0

when heat is transferred to the system

δW > 0

when work is done on the system, with δW = −PdV .

3.3 Exact differentials

A function f = f(x, y) of two variables has the differential

df = Adx + Bdy, A =∂f

∂x, B =

∂f

∂y.

Reversely one says that Adx+ Bdy is an exact differential if

∂A

∂y=

∂B

∂x,

∂2f

∂x∂y=

∂2f

∂y∂x.

An example from classical example is the potential energy Φ(x, y). For all exact differen-tials dΦ the path of integration is irrelevant,

Φ(x2, y2) = Φ(x1, y1) +

� (x2,y2)

(x1,y1)

dΦ .

Page 4: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

24 CHAPTER 3. WORK, HEAT AND THE FIRST LAW OF THERMODYNAMICS

Any path connecting (x1, y1) to (x2, y2) results in the same Φ(x2, y2).

Stirling cycle. Heat and work are both –not– exact differentials. This is an experimentalfact which can be illustrated by any reversible cyclic process. As an example we considerhere the Stirling cycle, which consist of four sub-processes.

(1) Isothermal expansion. The heat Q1 delivered to the gas makes it expand at constanttemperature.

(2) Isochoric cooling. The volume of the piston is kept constant while the gas coolsdown. The transferred heat and work are Q2 and W2.

(3) Isothermal compression. The heat Q3 removed makes the gas contract at constanttemperature.

(4) Isochoric heating. The volume of the piston is kept constant while is heated up.The transferred heat and work are Q4 and W4.

The experimental fact that the Stirling cycle can be used either as an engine (W2+W4 <0), or as an heat pump (W2 + W4 > 0), proves that work and heat cannot be exactdifferentials, viz that �

δQ �= 0 .

3.4 First law of thermodynamics – internal energy

The first law of thermodynamics expresses that energy is conserved, when all forms ofenergy, including heat, are taken into account.

Definition 1. For a closed thermodynamic system, there exists a function of state, theinternal energy U , whose change ΔU in any thermodynamic transformation is given by

ΔU = ΔQ+ΔW + . . . , (3.3)

where ΔQ is heat transferred to the system and ΔW is mechanical work performed onthe system. If present, other forms of energy transfer processes need to taken into accounton the RHS of (3.3).

ΔU is independent of the path of transformation, although ΔQ and ΔW are path-dependent. Correspondingly, in a reversible infinitesimal transformation, the infinitesimal

Page 5: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

3.4. FIRST LAW OF THERMODYNAMICS – INTERNAL ENERGY 25

δQ and δW are not exact differentials (in the sense that they do not represent the changesof definite functions of state), but

dU = δQ+ δW , dU = CV dT − PdV (3.4)

is an exact differential. For the second part of (3.4) we have used (3.2) and (3.1), namelythat δQ = CV dT (when the volume V is constant) and that δW = −PdV .

Definition 2. Energy cannot be created out of nothing in a closed cycle process:�

dU = 0 ⇒ ΔQ = −ΔW .

Statistical mechanics. The iternal energy U is a key quantity in statistical mechanics,as it is given microscopically by the sum of kinetic and potential energy of the constituentparticles of the system

U = E =1

2m

N�

i=1

p2i +N�

i=1

φ(�ri) +1

2

N�

i�=j

V (�ri − �rj) ,

where φ(�ri) is the external potential and V (�ri − �rj) is the potential of the interactionbetween particles (f.i. the Coulomb interaction potential between charged particles).

3.4.1 Internal energy of an ideal gas

y

x

z

L

We consider N molecules, i.e. n = N/NA moles, in a cubicbox of side L and volume V = L3. A particle hitting a givenwall changes its momentum by

Δpx = 2mvx, Δt = 2L/vx

where m is the mass, vx the velocity in x−direction and Δtthe average time between collisions. The momentum hencechanges on the average as

ΔpxΔt

=2mvx2L/vx

=mv2xL

=mv2

3L=

2

3LEkin ,

where Ekin = mv2/2 is the kinetic energy of the moleculeand v2 = v2x + v2y + v2z .

Newton’s law. Newton’s law, dp/dt = F, tells us that the total force Ftot on the wall is2NEkin/(3L). We then obtain for the pressure

P =Ftot

L2=

2

3

N

L3Ekin, Ekin =

m

2v2 .

Assuming the ideal gas relation (1.3) we find consequently

P =N

VkBT =

2

3

N

L3Ekin, Ekin =

3

2kBT (3.5)

Page 6: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

26 CHAPTER 3. WORK, HEAT AND THE FIRST LAW OF THERMODYNAMICS

for the kinetic energy Ekin of a single molecule. The internal energy is then, with φ(�ri) =V (�ri − �rj) = 0,

U =3

2NkBT =

3

2nRT =

3

2PV , (3.6)

where R = 8.314 J/(molK) is the gas constant.

3.5 Energy and heat capacity for various processes

In this section we shall analyze various heat transfer processes and derive the correspond-ing heat capacities with the help of the first law of thermodynamics.

3.5.1 Isochoric process

An isochoric process is a constant volume pro-cess. We have hence

dV = 0, δW = 0, dU |V = δQ|V ,

and�δQ

dT

V

=

�dU

dT

V

= CV (3.7)

for the heat capacity at constant volume CV .

Ideal gas. An ideal gas containing n moles is defined by its equation of state,

PV = NkBT , NkB = nR . (3.8)

Using the internal energy (3.6),

U =3

2NkBT =

3

2nRT, dU =

3

2nRdT ,

we obtain

CV =3

2nR =

3

2

PV

T(3.9)

for the heat capacity of the ideal gas at constant volume.

3.5.2 Isobaric process

Page 7: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

3.5. ENERGY AND HEAT CAPACITY FOR VARIOUS PROCESSES 27

An isobaric process is a constant pressure pro-cess. In order to evaluate CP we consider

δQ|P = dU |P + PdV |P ,

which, under an infinitesimal increment of tem-perature, is written as

δQ|P =

�∂U

∂T

P

dT + P

�∂V

∂T

P

dT

≡ CP dT.

The specific heat at constant pressure,

CP =

�∂U

∂T

P

+ P

�∂V

∂T

P

, (3.10)

reduces then for an ideal gas, for which U = 3nRT/2 and PV = nRT , to

CP =3

2nR + nR =

5

2nR = CV +NkB . (3.11)

Mayer’s relation between CP and CV . In order to evaluate the partial derivative(∂U/∂T )P entering the definition (3.10) of the specific heat at constant pressure we notethat the equation of state f(P, V, T ) = 0 determines the interrelation between P , V andT . A constant pressure P defines hence a functional dependence between V and T . Wetherefore have �

∂U

∂T

P

=

�∂U

∂T

V� �� �= CV

�∂T

∂T

P� �� �= 1

+

�∂U

∂V

T

�∂V

∂T

P

and hence with

CP = CV +

�P +

�∂U

∂V

T

��∂V

∂T

P

(3.12)

the Mayer relation. In Sect. 4.5 we will connect the partial derivatives entering (3.12)with measurable quantities.

3.5.3 Isothermal processes for the ideal gas

An isothermal process takes place at constant temper-ature. The work performed

ΔW = −� V2

V1

dV P

Page 8: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

28 CHAPTER 3. WORK, HEAT AND THE FIRST LAW OF THERMODYNAMICS

is hence given by the area below P = P (T, V )|T . Usingthe equation-of-state relation PV = nRT of the idealgas we obtain

ΔW = −nRT

� V2

V1

dV

V= −nRT ln

V2

V1

= −ΔQ ,

where the last relation follow from the first law, ΔU = ΔQ+ΔW , and from the fact thatthe internal energy U = 3nRT/2 of the ideal gas remains constant during the isothermalprocess. ΔW > 0 for V1 > V2, viz when the gas is compressed.

Note. Heat cannot be transformed in work forever, as we will discuss in the next chapter.

3.5.4 Free expansion of an ideal gas

A classical experiment, as performed first by Joule, consist of allowing a thermally isolatedideal gas to expand freely into an isolated chamber, which had been initially empty. Aftera new equilibrium state was established, in which the gas fills both compartments, thefinal temperature of the gas is found to be identical to the initial temperature.

The expansion process is overall isolated. Neither heat nor work is transferred into thesystem,

ΔW = 0, ΔQ = 0, ΔU = 0 ,

and internal energy U stay constant

Ideal gas. The internal energy

U =3

2nRT,

of the ideal gas with a contant number n of mols depends only on the temperature T , andnot on the volume V . The kinetic energy Ekin = 3kBT/2 of the constitutent particles isnot contingent on the enclosing volume. We hence have

�∂T

∂V

U

= 0, T2 = T1 .

Which means that for the ideal gas the free expansion is an isothermal expansion, inagreement with Joule’s findings.

Page 9: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

3.6. ENTHALPY 29

3.5.5 Adiabatic processes for the ideal gas

An adiabatic process happens without heat transfer:

δQ = 0, dU = −PdV ,

where the second relation follows from the first law of thermodynamics, dU = δQ+ δW .

For the ideal gas we have PV = nRT , U = 3nRT/2 = 3PV/2 and hence

dU =3

2

�PdV + V dP

�= −PdV,

5

2

dV

V= −3

2

dP

P,

which can be solved as

γ log

�V

V0

�= log

�P0

P

�, PV γ = const. , γ = 5/3 .

Using the ideal gas equation of state, PV =nRT , we may write equivalently

TV γ−1 = const. .

Since γ > 1, an adiabatic path has a steeperslope than an isotherm in a P − V diagram.

3.6 Enthalpy

The internal energy is a continuous differentiable state function for which the relations

dU = δQ− PdV, δQ = CV dT, CV =

�∂U

∂T

V

hold. One can define equivalently with

H ≡ U + PV , (3.13)

a state function H, denote the enthalpy, which obeys

dH = δQ+ V dP, δQ = CPdT, CP =

�∂H

∂T

P

. (3.14)

Note that P , V and T determine each others in pairs via the equation-of-state functionf(P, V, T ) = 0.

Derivation. We have

dH = dU + PdV + V dP = δQ− PdV + PdV + V dP

= δQ+ V dP ,

in accordance with and (3.14), and�∂H

∂T

P

=

�∂(U + PV )

∂T

P

=

�∂U

∂T

P

+ P

�∂V

∂T

P

= CP

in agreement with the definition (3.10) of the specific heat CP at constant pressure.

Page 10: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

30 CHAPTER 3. WORK, HEAT AND THE FIRST LAW OF THERMODYNAMICS

3.7 Magnetic systems

We now discuss how the concepts developed hitherto for a mono-atomic and non-magneticgas can be generalized to for which either a magnetization M and/or a magnetic field His present.

- H: magnetic field (intensive, generated by external currents)

- M : magnetization (extensive, produced by ordered local moments)

Magnetic work. The magnetic work done on the system is HdM , as derived in electro-dynamics. The modified first law of thermodynamics then takes the form,

dU = δQ+ δW, δW = HdM , (3.15)

when the volume V is assumed to be constant. All results previously for the PV T systemcan be written into HMT variables when using

H ↔ −P, M ↔ V .

Susceptibility. A magnetic field H induces in general a magnetization density M/V ,which is given for a paramagnetic substance by Curie’s law

M

V= χ(T )H , χ(t) =

c0T

.

χ = χ(T ) is denoted the magnetic susceptibility.

Phase transitions. Ferromagnetic systems order spontaneously below the Curie temper-ature Tc, becoming such a permanent magnet with a finite magnetization M . The phasetransition is washed-out for any finite field H �= 0, which induces a finite magnetizationat all temperatures.

Hysteresis.

Page 11: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

3.7. MAGNETIC SYSTEMS 31

Impurities and lattice imperfections induce magnetic do-mains, which are then stabilized by minimizing the mag-netic energy of the surface fields. The resulting domainwalls may move in response to the change of H. This is adissipative process which leads to hysteresis.

Page 12: Chapter 3 Work, heat and the first law of thermodynamicsgros/Vorlesungen/TD/3_Work_heat... · Chapter 3 Work, heat and the first law of thermodynamics 3.1 Mechanical work Mechanical

32 CHAPTER 3. WORK, HEAT AND THE FIRST LAW OF THERMODYNAMICS