lecture 2 the first law of thermodynamics (ch.1)gersh/351/lecture 2.pdflecture 2 the first law of...

21
Lecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe the state of a thermodynamic system (including temperature), the equation of state f (P,V,T) = 0, and linked the internal energy of the ideal gas to its temperature. Outline: 1. Internal Energy, Work, Heating 2. Energy Conservation – the First Law 3. Enthalpy 4. Heat Capacity

Upload: others

Post on 28-Sep-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Lecture 2 The First Law of Thermodynamics (Ch.1)

Lecture 1 - we introduced macroscopic parameters that describe the state of a thermodynamic system (including temperature), theequation of state f (P,V,T) = 0, and linked the internal energy of the ideal gas to its temperature.

Outline:1. Internal Energy, Work, Heating

2. Energy Conservation – the First Law

3. Enthalpy

4. Heat Capacity

Page 2: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Internal Energy

system U = kinetic + potentialsystem

boundary

“environment”

The internal energy of a system of particles, U, is the sum of the kinetic energy in the reference frame in which the center of mass is at rest and the potential energy arising from the forces of the particles on each other.

Difference between the total energy and the internal energy?

The internal energy is a state function – it depends only on the values of macroparameters (the state of a system), not on the method of preparation of this state (the “path” in the macroparameter space is irrelevant).

U = U (V, T)In equilibrium [ f (P,V,T)=0 ] :

U depends on the kinetic energy of particles in a system and an average inter-particle distance (~ V-1/3) – interactions.

P

V T A

B

For an ideal gas (no interactions) : U = U (T) - “pure” kinetic

Page 3: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Internal Energy of an Ideal Gas

The internal energy of an ideal gas with f degrees of freedom: TNkfU B2

=

f ⇒ 3 (monatomic), 5 (diatomic), 6 (polyatomic)

How does the internal energy of air in this (not-air-tight) room change with T if the external P = const?

PVfTk

PVNTkNfUB

roominBroomin 22=⎥

⎤⎢⎣

⎡===

(here we consider only trans.+rotat. degrees of freedom, and neglect the vibrational ones that can be excited at very high temperatures)

- does not change at all, an increase of the kinetic energy of individual molecules with T is compensated by a decrease of their number.

Page 4: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Work and Heating (“Heat”)

We are often interested in ΔU , not U. ΔU is due to: Q - energy flow between a system and its

environment due to ΔT across a boundary and a finite thermal conductivity of the boundary

– heating (Q > 0) /cooling (Q < 0)(there is no such physical quantity as “heat”; to emphasize this fact, it is better to use the term “heating” rather than “heat”)

W - any other kind of energy transfer across boundary - work

Heating/cooling processes:conduction: the energy transfer by molecular contact – fast-moving

molecules transfer energy to slow-moving molecules by collisions;convection: by macroscopic motion of gas or liquidradiation: by emission/absorption of electromagnetic radiation.

HEATING

WORK

Work and Heating are both defined to describe energy transferacross a system boundary.

Page 5: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

The First Law

For a cyclic process (Ui = Uf) ⇒ Q = - W.If, in addition, Q = 0 then W = 0

The first law of thermodynamics: the internal energy of a system can be changed by doing work on it or by heating/cooling it.

Perpetual motion machines come in two types: type 1 violates the 1st Law (energy would be created from nothing), type 2 violates the 2nd Law (the energy is extracted from a reservoir in a way that

causes the net entropy of the machine+reservoir to decrease).

ΔU = Q + WFrom the microscopic point of view, this statement is equivalent to

a statement of conservation of energy.

P

V TAn equivalent formulation:

Perpetual motion machines of the first type do not exist.

Sign convention: we consider Q and W to be positive if energy flows into the system.

Page 6: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Quasi-Static Processes

Quasi-static (quasi-equilibrium) processes – sufficiently slow processes, any intermediate state can be considered as an equilibrium state (the macroparamers are well-defined for all intermediate states).

Examples of quasi-equilibrium processes:

isochoric: V = constisobaric: P = constisothermal: T = constadiabatic: Q = 0

For quasi-equilibrium processes, P, V, T are well-defined – the “path” between two states is a continuous lines in the P, V, T space.

P

V T

1

2

Advantage: the state of a system that participates in a quasi-equilibrium process can be described with the same (small) number of macro parameters as for a system in equilibrium (e.g., for an ideal gas in quasi-equilibrium processes, this could be T and P). By contrast, for non-equilibrium processes (e.g. turbulent flow of gas), we need a huge number of macro parameters.

Page 7: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Work

The sign: if the volume is decreased, W is positive (by compressing gas, we increase its internal energy); if the volume is increased, W is negative (the gas decreases its internal energy by doing some work on the environment).

∫−=−2

1

),(21

V

VdVVTPW

The work done by an external force on a gas enclosed within a cylinder fitted with a piston:

W = (PA) dx = P (Adx) = - PdV

Δx

P

W = - PdV - applies to any shape of system boundary

The work is not necessarily associated with the volume changes – e.g., in the Joule’s experiments on determining the “mechanical equivalent of heat”, the system (water) was heated by stirring.

dU = Q – PdV

A – the piston area

force

Page 8: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

W and Q are not State Functions

P

V

P2

P1

V1 V2

A B

CD- the work is negative for the “clockwise” cycle; if the cyclic process were carried out in the reverse order (counterclockwise), the net work done on the gas would be positive.

( ) ( )( )( ) 01212

211122

<−−−=−−−−=+=

VVPPVVPVVPWWW CDABnet

∫−=−2

1

),(21

V

VdVVTPW

- we can bring the system from state 1 to state 2 along infinite # of paths, and for each path P(T,V) will be different.

U is a state function, W - is not ⇒thus, Q is not a state function either.

ΔU = Q + W

Since the work done on a system depends not only on the initial and final states, but also on the intermediate states, it is not a state function.

PV diagram

P

V T

1

2

Page 9: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Comment on State FunctionsU, P, T, and V are the state functions, Q and W are not. Specifying an initial and final states of a system does not fix the values of Q and W, we need to know the whole process (the intermediate states). Analogy: in classical mechanics, if a force is not conservative (e.g., friction), the initial and final positions do not determine the work, the entire path must be specified.

x

y z(x1,y1)

z(x2,y2)

dyyzdx

xzzd

xy⎟⎟⎠

⎞⎜⎜⎝

⎛∂∂

+⎟⎠⎞

⎜⎝⎛∂∂

=

( ) ( )dyyxAdxyxAad yx ,, += - it is an exact differential if it is

( ) ( )x

yxAy

yxA yx

∂=

∂∂ ,,

( ) ( )yxzdyydxxzad ,, −++=the difference between the values of some (state) function z(x,y) at these points:

A necessary and sufficient condition for this:

If this conditionholds: ( ) ( ) ( ) ( )

yyxzyxA

xyxzyxA yx ∂

∂=

∂∂

=,,,,

e.g., for an ideal gas: ⎟⎠⎞

⎜⎝⎛ +=+= dV

VTdTfNkPdVdUQ B 2

δ - cross derivativesare not equal

dVPSdTUd −=

U

V S- an exact differential

In math terms, Q and W are not exact differentials of some functions of macroparameters. To emphasize that W and Q are NOT the state functions, we will use sometimes the curled symbols δ (instead of d)for their increments (δQ and δW).

Page 10: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Problem

Imagine that an ideal monatomic gas is taken from its initial state A to state B by an isothermal process, from B to C by an isobaric process, and from C back to its initial state A by an isochoric process. Fill in the signs of Q, W, and ΔU for each step.

V, m3

P, 105 Pa

A

BC

Step Q W ΔU

A → B

B → C

C → A

2

1

1 2

+ -- 0

-- + --

+ 0 +

T=const

Page 11: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Another ProblemDuring the ascent of a meteorological helium-gas filled balloon, its volume increases from Vi = 1 m3 to Vf = 1.8 m3, and the pressure inside the balloon decreases from 1 bar (=105 N/m2) to 0.5 bar. Assume that the pressure changes linearly with volume between Vi and Vf.(a) If the initial T is 300K, what is the final T?(b) How much work is done by the gas in the balloon?(c) How much “heat” does the gas absorb, if any?

P

V

Pf

Pi

Vi Vf

K2701mbar11.8mbar5.0K300 3

3

=××

====ii

ffif

BB VP

VPTT

NkPVTTNkPV(a)

(b) ∫−=f

i

V

VON dVVPW )(δ

(c) ONWQU

( ) bar625.1bar/m625.0 3 +×−= VVP

δδ +=Δ

( ) Jmbarmbarmbar 333 41066.04.05.08.05.0)( ⋅=⋅=⋅×+⋅×== ∫f

i

V

VBY dVVPWδ

- work done on a system ∫=f

i

V

VBY dVVPW )(δ - work done by a system

BYON WW δδ −=

( ) ( ) JJJ 445 105.41061.0105.1123

23

⋅=⋅+−×⋅=+⎟⎟⎠

⎞⎜⎜⎝

⎛−=−−=−Δ= BY

i

fiiONifBON W

TT

VPWTTNkWUQ δδδ

Page 12: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Quasistatic Processes in an Ideal Gas

isochoric ( V = const )

isobaric ( P = const )

021 =→W

( ) ( )TCTTNkQ VB Δ=>−=→ 023

1221

( ) 0),( 12

2

121 <−−=−= ∫→ VVPdVTVPW

( ) ( )TCTTNkQ PB Δ=>−=→ 025

1221

21→=QdU

2121 →→ += QWdU

V

P

V1,2

PV= NkBT1

PV= NkBT21

2

V

P

V1

PV= NkBT1

PV= NkBT212

V2

(see the last slide)

Page 13: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Isothermal Process in an Ideal Gas

1

221 ln),(

2

1

2

1VVTNk

VdVTNkdVTVPW B

V

VB

V

V

−=−=−= ∫∫→

f

iBfi V

VTNkW ln=−

Wi-f > 0 if Vi >Vf (compression)

Wi-f < 0 if Vi <Vf (expansion)

isothermal ( T = const ) :

V

P

PV= NkBT

V1V2

W

2121 →→ −= WQ

0=dU

Page 14: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Adiabatic Process in an Ideal Gas

adiabatic (thermally isolated system)

PdVdTNkfdUTNkfU BB −==⇒=22

( f – the # of “unfrozen” degrees of freedom )

dTNkVdPPdVTNkPV BB =+⇒= PVPdVf

VdPPdV ÷−=+2

fPdP

fVdV 21,021 +==+⎟⎟

⎞⎜⎜⎝

⎛+ ∫ γ

constVPPVPP

VV

==⇒⎟⎠⎞

⎜⎝⎛=⎟⎟

⎞⎜⎜⎝

⎛ γγγ

111

1

lnln

The amount of work needed to change the state of a thermally isolated system depends only on the initial and final states and not on the intermediate states.

021 =→Q 21→=WdU

to calculate W1-2 , we need to know P (V,T)for an adiabatic process

∫−=→

2

1

),(21

V

V

dVTVPW

011

=+ ∫∫P

P

V

V PdP

VdVγ

V

P

V1

PV= NkBT1

PV= NkBT21

2

V2

Page 15: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Adiabatic Process in an Ideal Gas (cont.)

V

P

V1

PV= NkBT1

PV= NkBT21

2

⎟⎟⎠

⎞⎜⎜⎝

⎛−

−=

−=−=

−−

→ ∫∫

11

12

11

1121

111

1

),(2

1

2

1

γγγ

γ

γ

γ VVVP

dVVVPdVTVPW

V

V

V

V

⇒ 1+2/3≈1.67 (monatomic), 1+2/5 =1.4 (diatomic), 1+2/6 ≈1.33 (polyatomic)γ(again, neglecting the vibrational degrees of freedom)

constVPPV == γγ11

An adiabata is “steeper” than an isotherma: in an adiabatic process, the work flowing out of the gas comes at the expense of its thermal energy ⇒ its temperature will decrease.V2

Page 16: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Problem

Imagine that we rapidly compress a sample of air whose initial pressure is 105 Pa and temperature is 220C (= 295 K) to a volume that is a quarter of its original volume (e.g., pumping bike’s tire). What is its final temperature?

γγ2211

222

111

VPVP

TNkVPTNkVP

B

B

=

==

1

2

1

2

12

1

1121

2

11

2

112 T

TVVT

TVPTNk

VVP

VVPP B =⎟⎟

⎞⎜⎜⎝

⎛⇒===

γ

γ

γ

γ

γ

constVTVT == −− 122

111

γγ

KKKVVTT 51474.12954295 4.0

1

2

112 ≈×≈×=⎟⎟

⎞⎜⎜⎝

⎛=

−γconstTP =− γγ /1also

- poor approx. for a bike pump, works better for diesel engines

For adiabatic processes:

Rapid compression – approx. adiabatic, no time for the energy exchange with the environment due to thermal conductivity

Page 17: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Non-equilibrium Adiabatic Processes

- applies only to quasi-equilibrium processes !!!

constTV =−1γ

2. On the other hand, ΔU = Q + W = 0U ~ T ⇒ T – unchanged (agrees with experimental finding)

Contradiction – because approach #1 cannot be justified – violent expansion of gas is not a quasi-static process. T must remain the same.

(Joule’s Free-Expansion Experiment)

constTV =−1γ1. V – increases⇒ T – decreases (cooling)

Page 18: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

The EnthalpyIsobaric processes (P = const):

dU = Q - PΔV = Q -Δ(PV) ⇒ Q = Δ U + Δ(PV)

The enthalpy is a state function, because U, P, and V are state functions. In isobaric processes, the energy received by a system by heating equals to the change in enthalpy.

Q = Δ H

isochoric:

isobaric:

in both cases, Qdoes not depend on the path from 1 to 2.

Consequence: the energy released (absorbed) in chemical reactions at constant volume (pressure) depends only on the initial and final states of a system.

H ≡ U + PV - the enthalpy⇒

The enthalpy of an ideal gas:(depends on T only)

TNkfTNkTNkfPVUH BBB ⎟⎠⎞

⎜⎝⎛ +=+=+= 1

22

Q = Δ U

Page 19: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

Heat Capacity

TQCΔ

≡δThe heat capacity of a system - the amount of energy

transfer due to heating required to produce a unit temperature rise in that system

C is NOT a state function (since Q is not a state function) – it depends on the path between two states of a system ⇒

T

V

T1

T1+dT

i

f1 f2 f3

The specific heat capacitymCc ≡

( isothermic – C = ∞, adiabatic – C = 0 )

Page 20: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

CV and CP

dTPdVdU

dTQC +==

δV = const

P = const

VV T

UC ⎟⎠⎞

⎜⎝⎛∂∂

= the heat capacity at constant volume

the heat capacity at constant pressure

PP T

HC ⎟⎠⎞

⎜⎝⎛∂∂

=

To find CP and CV, we need f (P,V,T) = 0 and U = U (V,T)

dTdVP

VU

TU

dVVUdT

TUdU

dTPdVdUC

TV

TV

⎥⎦

⎤⎢⎣

⎡+⎟

⎠⎞

⎜⎝⎛∂∂

+⎟⎠⎞

⎜⎝⎛∂∂

=

⎥⎦

⎤⎢⎣

⎡⎟⎠⎞

⎜⎝⎛∂∂

+⎟⎠⎞

⎜⎝⎛∂∂

==+

=

PTVP dT

dVPVUCC ⎟

⎠⎞

⎜⎝⎛⎥⎦

⎤⎢⎣

⎡+⎟

⎠⎞

⎜⎝⎛∂∂

=−

Page 21: Lecture 2 The First Law of Thermodynamics (Ch.1)gersh/351/Lecture 2.pdfLecture 2 The First Law of Thermodynamics (Ch.1) Lecture 1 - we introduced macroscopic parameters that describe

CV and CP for an Ideal Gas

nRfNkfC BV 22==

CV = dU/dT

3/2NkB

5/2NkB

7/2NkB

10 100 1000 T, K

Translation

Rotation

Vibration

CV of one mole of H2

R

NkP

NkPdTdVP

VUCC B

B

PTVP

=

==⎟⎠⎞

⎜⎝⎛⎥⎦

⎤⎢⎣

⎡+⎟

⎠⎞

⎜⎝⎛∂∂

=−

( for one mole )0 nRf

NkfNkCC BBVP

⎟⎠⎞

⎜⎝⎛ +=

⎟⎠⎞

⎜⎝⎛ +=+=

12

12

For an ideal gas

TNkfU B2=

# of moles

For one mole of a monatomic ideal gas: RCRC PV 25

23

==