Docsity

Thermodynamics: Laws, Equilibrium, and Equations of State, Study Guides, Projects, Research of Thermodynamics

Toggle sidebar
bg1
I1Introduction .......................... 9
2The zeroth law of Thermodynamics . . . 11
2.1 Thermodynamical systems
2.2 Thermodynamical (macro) versus micro states
2.3 Thermodynamical equilibrium
2.4 Equation of state
2.5 The zeroth law
3The first law of Thermodynamics ...... 17
3.1 Thermodynamical change
3.2 The first law
3.3 Internal energy
3.4 Functions of state vs functions of path
3.5 Definition of work & heat
3.6 Constructing new thermodynamical quantities
4Thermodynamical processes & Carnot en-
gine ................................ 23
4.1 Quasi-static & reversible processes
4.2 The Carnot cycle
4.3 The Carnot engine
5The second law of Thermodynamics . . 31
5.1 Statements of the second law
5.2 Carnot’s theorem
5.3 Equivalence of Clausius’ & Kelvin’s statements
5.4 Engine driven backwards & real engines
5.5 Clausius’ theorem and entropy
5.6 Calculating entropy changes
6“Practical” Thermodynamics & free en-
ergy ................................ 47
6.1 The first law revisited
6.2 Thermodynamical potentials
6.3
General conditions for thermodynamic equilibrium
6.4 Maxwell’s relations
6.5 Thermodynamical coefficients
6.6 Generalisation to open systems
6.7 Thermodynamics beyond expansion work
Basics of Thermodynamics
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

Partial preview of the text

Download Thermodynamics: Laws, Equilibrium, and Equations of State and more Study Guides, Projects, Research Thermodynamics in PDF only on Docsity!

I

1 Introduction.......................... 9

2 The zeroth law of Thermodynamics... 11

2.1 Thermodynamical systems 2.2 Thermodynamical (macro) versus micro states 2.3 Thermodynamical equilibrium 2.4 Equation of state 2.5 The zeroth law

3 The first law of Thermodynamics...... 17

3.1 Thermodynamical change 3.2 The first law 3.3 Internal energy 3.4 Functions of state vs functions of path 3.5 Definition of work & heat 3.6 Constructing new thermodynamical quantities

4 Thermodynamical processes & Carnot en-

gine................................ 23

4.1 Quasi-static & reversible processes 4.2 The Carnot cycle 4.3 The Carnot engine

5 The second law of Thermodynamics.. 31

5.1 Statements of the second law 5.2 Carnot’s theorem 5.3 Equivalence of Clausius’ & Kelvin’s statements 5.4 Engine driven backwards & real engines 5.5 Clausius’ theorem and entropy 5.6 Calculating entropy changes

6 “Practical” Thermodynamics & free en-

ergy................................ 47

6.1 The first law revisited 6.2 Thermodynamical potentials 6.3 General conditions for thermodynamic equilibrium 6.4 Maxwell’s relations 6.5 Thermodynamical coefficients 6.6 Generalisation to open systems 6.7 Thermodynamics beyond expansion work

Basics of Thermodynamics

  1. The zeroth law of Thermodynamics

2.1 Thermodynamical systems

Before we embark on deriving the laws of thermodynamics, it is necessary to define the main vocabulary we will be using throughout these lectures. Definition 2.1.1 — ‘Thermodynamical system’ (or ‘system’). Whatever “macroscopic” part of the Universe we select for study.

“Macroscopic” here means made of a large number of particles, N , i.e. N NA ' 6. 02 ⇥ 1023 , with NA the Avogadro number. This is very important as some properties (eg. temperature) do not apply for single particles.

As an isolated system is not a very realistic concept (apart if one studies the Universe as a whole!), one is led to define the Definition 2.1.2 — ‘Surroundings of a system’ (or ‘surroundings’). This is simply the vicinity of a system.

Generally the surroundings will be much larger than the system itself, so will not be treated in the same way. The system and its surroundings are separated from one another by a boundary. Together, system and surroundings form what is called the Definition 2.1.3 — ‘Total system’. This is a thermodynamical system which can be con- sidered as isolated to a good approximation.

Graphically, one can summarise this definitions as follows:

2.4 Equation of state 13

  • well defined (i.e. they have the same value throughout the system: see Fig. 2.3 for an example)
  • do not vary with time (i.e. if external factors do not change. and you look at the system at two different time instants, p, V , T , will have the same values) Note that the micro states of the system will be different, as particles are not “frozen in place”, but their changes compensate. One therefore says that micro states are not functions of state.

6 ?

State 1

p 1 , V 1 , T 1

system

p^ p^ p p

p p

p p

surroundings

State 2

p^ p^2 ,^ V^2 ,^ T^2

p (^) p

p

p p

p p

piston goes up & down oscillating

in equilibrium in equilibrium

out of equilibrium

remove one weight instanta – neously

piston settles in new p, V , T position not well defined

well defined

well defined

p^ p^ p p

p p

p p

p p

p

p

p

p p

p

Figure 2.3: Example of a system in and out of equilibrium: gas is enclosed in a container whose top is a piston initially balanced by two identical weights. One of the weights is then removed instantaneously.

One way to visualise this is to draw a p V diagram (see Fig 2.4). We will be using these a lot!

6

State 2 p 2 r

V 2

State 1 p 1 r

V 1

p

0 V

Figure 2.4: p V diagram for the gas enclosed in the container presented in Fig 2.3. Whilst one can mark the two (well defined) macro states, it is impossible to draw the path taken by the system to go from State 1 to State 2!

R Micro^ states are always well defined as one can always specify the positions and momenta of all particles at any point in time, regardless of whether the system is in equilibrium. It is the macro states which are only well defined when the system is in thermodynamical equilibrium.

2.4 Equation of state

For systems in thermodynamical equilibrium, it has been established, both experimentally (Boyle’s law for gases) and via Statistical Mechanics (as you will see later in this course),

14 Chapter 2. The zeroth law of Thermodynamics

that only 2 of the 3 thermodynamical variables are independent. The third one can be determined by using the equation of state which is a single equation involving all 3 variables, and thus constrains their values. ⌅ Example 2.1 The ideal gas equation of state pV = nRT or pV = N kB T where n is the amount of substance in moles, R = 8. 314 J K^1 mol^1 the molar gas constant, and kB = R/NA = 1. 381 ⇥ 10 ^23 J K^1 the Boltzmann constant. ⌅

R The equation of state^ only^ applies to systems in thermodynamical equilibrium and does not favour one thermodynamical variable over another: the choice is yours!

2.5 The zeroth law

Using both the definition of thermodynamical equilibrium and of the equation of state previously given, one realises that there are essentially two ways for a system to be out of equilibrium:

  • p, V, T are well defined (they are the same throughout the system) but do not lie on the equation of state⇤
  • p or T vary from one point of the system to another Whenever a system gets out of equilibrium, it undergoes a spontaneous macroscopic change to reach a new thermodynamical equilibrium. Situation two (p and T differing in different part of the system) is the most common in thermodynamical problems.

?

sub-system 2

p 2 , T 2 , V 2

sub-system 1

p 1 , T 1 , V 1

new system

Figure 2.5: Schematic diagram of two thermodynamical sub-systems which are brought into contact (along the double arrows) and interact to form a new thermodynamical system.

Imagine two sub-systems each in a different thermodynamical equilibrium state initially, say with p 1 , V 1 , T 1 and p 2 , V 2 , T 2 respectively, as illustrated in Fig 2.5. When these two sub-systems are brought into contact and allowed to interact, they will form a single system which is out of equilibrium, as per situation two. A spontaneous change will ensue, so that the combined system achieves equilibrium. At this point, the sub-systems 1 and 2 will have the same p, V , T throughout but with values different from both p 1 , V 1 , T 1 and p 2 , V 2 , T 2. Now imagine that both sub-systems start with the same p, V , T values. When they are brought into contact, nothing happens because the combined system is already in ⇤This is the case, for instance of (transient) non-equilibrium states of a system which are close enough to the equilibrium state so that their pressure and temperature can be well defined, or of meta-stable non-equilibrium states. Examples of these latter are water with below freezing temperature at standard pressure, or diamond, which can co-exist at standard p, T alongside the true carbon equilibrium state in these conditions: graphite. We will discuss such non-equilibrium states in more detail when we study the liquid-gas phase transition at the end of these lectures.

  1. The first law of Thermodynamics

With the previous definitions in hand, we are now equipped to tackle the first law of thermodynamics.

3.1 Thermodynamical change

Because thermodynamical systems are generally in mechanical and/or thermal contact with their surroundings, nothing really happens until there is a change in external factors. Generally, this gives rise to a change in thermodynamical state: at least one of the two independent thermodynamical variables of the system will change its value. If we denote the initial value of a thermodynamical quantity X (function of state) by the subscript i and its final value by the subscript f , we will write the change ∆X = Xf Xi. Note that the function of state of the surroundings will also change. One of the major reasons why thermodynamical processes are complicated in general is that there are two independent variables⇤. So we need a description of what both variables are doing to be complete. However, thermodynamical changes often occur under the constraint that one variable is fixed. We will give a more mathematical description of thermodynamical changes later in the course.

3.2 The first law

Law 2 — The first law of Thermodynamics. The internal energy of an isolated system is conserved under any thermodynamical change.

R This is the macroscopic version of the familiar energy conservation law of physics. This law applies to an isolated system, i.e. according to our previous definitions to the total system constituted by the system plus its surroundings. In other words, whatever internal energy is gained by the system itself must be lost by its surroundings and vice-versa. ⇤This explains why we will often use p − V or p − T diagrams to mark states and path to states.

3.4 Functions of state vs functions of path 19

3.4 Functions of state vs functions of path

U like the other thermodynamical quantities (V, p, T, N ) is a function of state, in the sense that it only depends on the thermodynamical state of the system. By contrast, Q and W cannot be assigned to a state but only to thermodynamical processes, i.e. to changes of state. For this reason they are called functions of path. It makes absolutely no sense whatsoever to say that a system ‘has’ heat or work! A system exchanges heat or does work but it does not store work or heat: they are energy in transit! Mathematically, this means that for any function of state X, if the thermodynamical variables (V, p, T, N ) go from (Vi, pi, Ti, Ni) to (Vf , pf , Tf , Nf ), the change in X is:

∆X =

Z (^) Vf ,pf ,Tf ,Nf

Vi,pi,Ti,Ni

dX = X(Vf , pf , Tf , Nf ) X(Vi, pi, Ti, Ni)

i.e. the change depends only on the end points, the initial and final states of the system and not on the path the system took to get there. In other words, dX is an exact differential and functions of state have exact differentials.

R X^ can be trivial: a simple thermodynamical variable like^ V, p, T, N^.

Mathematical reminder: Let f 1 (x, y) dx + f 2 (x, y) dy be the change undergone by a function when its variables x and y change to x + dx and y + dy. This change is an exact differential if it can be written as the differential of a differentiable single-valued function f (x, y), i.e. f 1 (x, y) = (@f /@x)y and f 2 (x, y) = (@f /@y)x.

By contrast, a thermodynamical quantity X represented by an inexact differential will be noted dX. ⌅ Example 3.

  • f (x, y) = xy! df = d(xy) = x dy + y dx
  • dg = y dx Now consider a path going from (xi, yi) = (0, 0) to (xf , yf ) = (1, 1). The change in f is given by

∆f =

Z (1,1)

(0,0)

df =

Z (1,1)

(0,0)

d(xy) =

xy

(0,0)

no matter which path you decided to consider. In the same way, we can write that the change in g is

∆g =

Z (1,1)

(0,0)

y dx.

However, in this case, let us consider path (i) which is the straight line connecting (0, 0) to (1, 1), and path (ii) which first goes from (0, 0) to (1, 0) horizontally and then from (1, 0) to (1, 1) vertically (see Fig 3.1). In the first case, we have:

∆g(i)^ =

Z 1

0

x dx =

x^2 2

0

whilst in the second case,

∆g(ii)^ =

Z (1,0)

(0,0)

0 dx +

Z (1,1)

(1,0)

y dx = 0

since dx = 0 in the second integral, as x = 1 is fixed. ⌅

20 Chapter 3. The first law of Thermodynamics

y 6

0 x

r (xf , yf )

y 6

0 x

r (xf , yf )

Path (i)

✓

Path (ii)

6

Figure 3.1: Paths (i) and (ii) considered in Example 3.

R If you replace^ x^ by^ V^ and^ y^ by^ p^ in the previous example you get^ dg^ =^ p^ dV^ =^ dW^. This behaviour of functions of path will be extremely useful when we consider cycles (loops in p V diagrams), because Q and W will generally be non nil, which means work/heat will be produced every time the system goes around the loop!

This property leads us to rewrite the first law in differential form:

Law 4 — The first law of Thermodynamics (differential form). Under an infinitesimally small thermodynamical change, dU = dQ + dW

R Note that the term ‘infinitesimal change’ is only appropriate to describe what happens to U , not Q or W , because, as we said previously, changes in heat and work have no meaning! dQ and dW simply represent infinitesimal amounts of heat and work.

3.5 Definition of work & heat

According to the laws of mechanics, the infinitesimal amount of work done, when moving a macroscopic object against an opposing force, F~ , is given by dW = F~ · d~h, with d~h the infinitesimal displacement of the object. In Thermodynamics, F~ is imparted by the system’s surroundings and the macroscopic object is the separating wall (which can be set in motion if mechanical equilibrium is to be achieved). As pressure is force divided by surface area of the mobile wall, and displacement becomes volume when multiplied by this surface area, we obtain that dW = psurr dV ‡.

R There exists other kinds of work (electrical, magnetic) where we will have to go back to the previous, more general definition of dW = F~ · d~h, but in Thermodynamics, p dV work is the most common kind.

So for any thermodynamical process, we can define the (p dV or expansion) work as:

W ⌘

Z (^) Vf

Vi

psurr(V ) dV

‡Note the sign: dW > 0 if the volume is reduced! Also note the use of psurr, rather than p, because psurr is always well defined, unlike p (recall our example of the out-of-equilibrium cylinder when we removed one of the weights holding the piston down).

22 Chapter 3. The first law of Thermodynamics

R Obviously, the more of a substance you have, the more heat you will need, so a more fundamental quantity than C is the specific heat capacity, c ⌘ C/m, which is the heat capacity per unit mass. Also, given how we have defined heat, the definition of C is ambiguous: the amount of heat you will need will depend on whether you are doing work on the system, and if so, how much.

Plugging in the infinitesimal version of the first law in the definition of C, one gets:

C =

dU dW dT

Immediately, you see that even if U is a function of T alone (careful, this is not always the case!) work can be anything, so C as well! In practice though, two circumstances are more likely to arise than others:

  1. no work is done on or by the system, i.e. dW = 0, which usually means that the volume of the system does not change. In that case, C is called the heat capacity at constant volume and denoted CV ⌘ (@U/@T )V.
  2. the system expands and does work on its surroundings (this means dW < 0 and you will need to add more heat to compensate for the energy lost as work, so C > CV ), but psurr is constant. In that case, C is called the heat capacity at constant pressure and denoted Cp. If we assume the system remains in mechanical equilibrium with its surroundings, we can then write:

Cp = dU (pdV ) dT

@U

@T

p

  • p

@V

@T

p

R Note that in general^ (@U/@T^ )V^6 = (@U/@T^ )p^ (see Exercise 3.1 below)!

Exercise 3.1 From the definition of dU/dT in terms of the two independent variables (V, T ) and (p, T ) show that: ✓ @U @T

p

@U

@T

V

@U

@V

T

@V

@T

p ⌅

So we have that (using the result of Exercise 3.1):

Cp CV =

@U

@V

T

  • p

@V

@T

p

and

Cp CV

where is called the adiabatic index (we’ll see its usefulness later).

⌅ Example 3.2 Let us calculate CV and Cp for an ideal gas. In that case, the equation of state is pV = nRT and U (T ) is a function of T alone (you’ll prove it in statistical mechanics). If this ideal gas is mono-atomic (no structure, no EI ), then U = 3/ 2 nRT. We thus deduce straightforwardly that (@U/@V )T = 0 and (@V /@T )p = nR/p. This, in turn, yields Cp CV = nR and given that CV = (@U/@T )V = 3/ 2 nR, Cp = 5/ 2 nR and = 5/ 3. Note that one retrieves Cp > CV as expected. ⌅

  1. Thermodynamical processes & Carnot engine

4.1 Quasi-static & reversible processes

Let us go back to our example of a thermodynamical system in and out of equilibrium (Fig. 2.3). The removal of a large weight created an out of equilibrium situation where macro states were ill-defined, and one could not draw the path followed by the system on a p V diagram. Let us now replace the weights by piles of very fine pebbles⇤^ and proceed to remove them one-by-one, as illustrated in Fig. 4.1. The piston moves up infinitesimally. This is called a quasi-static process. It happens so slowly that the system stays in equilibrium and the thermodynamical variables remain well defined at all times.


State 1

p 1 , V 1 , T 1

system

p^ p^ p p

p p

p p

surroundings

State 2

p^ p^2 ,^ V^2 ,^ T^2

p (^) p

p

p p

p p

continue removing pebbles one-by-one

in equilibrium in equilibrium

series of successive equilibria

remove one pebble: piston goes up infini– tesimally

piston gently settles in new equilibrium position

p, V , T well defined

p, V , T well defined

well defined

well defined

p (^) p p p

p p

p p

p p

p

p

p

p p

p

bbbbbbbbbbbbbbb

b bbbbbbbbbbbbbbb

b

bbbbbbbbbbbbbbb

b

bbbbbbbbbbbbbbb

b bbbbbbbbbbbb bbbbbbbbb bbbb bbbbbbbbbbbbbbb

Figure 4.1: Example of a system undergoing a quasi-static process: gas is enclosed in a container whose top is a piston initially balanced by a given weight. Infinitesimal amounts of weight are then removed gradually.

R Strictly speaking, if the system stayed in the same equilibrium, nothing would happen. So this process is to be understood as the system going through a series of successive equilibria which are very close but different. The slowness at which these equilibria must take place can seem limiting (and certainly is) but if you consider the mechanical equilibrium of a gas for instance, the relaxation time of the system is comparable to ⇤This is a thought experiment, so you can make these pebbles as fine as you like.

4.2 The Carnot cycle 25

Mathematically, this writes as:

W =

X

pebbles

p dV =

Z (^) Vf

Vi

p(V ) dV < 0

If the process is reversible, by the same arguments, adding the pebbles back one by one, we will go back from the final state to the initial state along the same path (in the other direction), compressing the gas, so:

W =

X

pebbles

p (dV ) =

Z (^) Vi

Vf

p(V ) dV > 0

as expected, because work is done on the system. As a consequence, going back and forth on the same path, no work is done! Otherwise, if the path is not the same, the work done will be the area enclosed within the loop (see Fig.4.4).

6 @ @ @ @ @ @

@ @ 6 @@R

p 2 r State 2

V 2

State 1 p 1 r

V 1

p

0 V

Figure 4.4: Work done (orange hatched area) going from State 1 to State 2 and back to State 1, if two different paths are taken to go back and forth (follow the arrows). This is simply the difference between the areas under the forward path and the reverse path.

Note that ∆U = 0 no matter how many times you go back and forth, and no matter which path is taken, as long as you go back to the original state of the system. This is called a cycle and arguably the most famous and important one is named the Carnot cycle after the French engineer who discovered it whilst looking to optimise steam engines in the 19 th^ century.

4.2 The Carnot cycle

Let us go back to our piston and pebbles system depicted on Fig.4.1 and modify it as described on Fig 4.5.

26 Chapter 4. Thermodynamical processes & Carnot engine


6

State A

pA, VA TA = T 1

p^ p^ p p

p p

p p @@@@@@@@ T 1 @@@@@@@@

State C

@@@@@@@@ T 2 @@@@@@@@

pC, VC TC = T 2

p p

p

p

p

p p

p

State D

pD, VD TD = T 2

p

p (^) p

p

p p

p p

thermallly insulate container and put back the remaining pebbles

thermallly insulate container & continue removing pebbles

remove pebbles while in contact with hot reservoir @ T 1

put back pebbles while in contact with cold reservoir @ T 2

State B

pB, VB TB = T 1

p

p p p

p p

p p

bbbbbbbbbbbbbbb

b bbbbbbbbbbbbbbb

b bbbbbbbbbbbbbbb

bbbbbbbbbbbb b bbbb

6

R

]

R ?

State D? i

pD^ r

VD

pC r State C

VC

Q 2

State A pA^ r

VA

Q 1

pB r^ State B

VB

p

0 V

Q = 0

Q = 0

Figure 4.5: Carnot cycle for an ideal gas (top part of the figure) together with its p V diagram representation (bottom part).

As the system is in thermal contact with a reservoir†^ from State A to State B, its temperature remains constant on that path, and TB = T 1 = TA. It is called an isothermal process and given the equation of state of the ideal gas, it describes a hyperbola in the p V diagram (red curve in bottom part of Fig. 4.5 which is called an isotherm). As one is removing some pebbles on top of the piston, the gas expands, so that VB > VA and pB < pA. We have previously established that the amount of work done by the gas is the area under the path in the p V diagram, WAB < 0. For an ideal gas, the internal energy U is a function of the temperature alone, so the change in internal energy along an isothermal path, ∆U = 0. Therefore, the first law allows us to write that the amount of heat Q 1 = WAB > 0 (thick red arrow entering the cycle in Fig. 4.5). This is quite an intuitive result: the system must draw heat from the reservoir to do work if it is to operate at a constant temperature. From State B to State C, one continues to remove pebbles, but this time from a container which is thermally insulated rather than in contact with a reservoir. This means that Q = 0 on this path, and the process is called adiathermal. If it is also reversible (as is our †Basically this is a bath where one can dump/draw as much heat as one wants without changing its temperature. Oftentimes, it is also called a thermostat and we will use both terms interchangeably in these lectures.